/* ============================================
   CHEMICAL PEELS PAGE STYLES
   ============================================ */

/* Hero Cover Section */
.procedure-hero {
    position: relative;
    width: 100%;
    height: 90vh;
    min-height: 600px;
    max-height: 900px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-cover-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-cover-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.hero-content-wrapper {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1600px;
    height: 100%;
    margin: 0 auto;
    padding: 3rem 5rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

/* ============================================
   THREE LOGOS HERO LAYOUT - CORNER POSITIONING
   ============================================ */

/* Top Left Logo */
.hero-logo-topleft {
    position: absolute;
    top: 3rem;
    left: 5rem;
    max-width: 320px;
    z-index: 3;
    animation: fadeInLeft 1s ease-out;
}

.hero-logo-topleft img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.3));
}

/* Top Right Logo */
.hero-logo-topright {
    position: absolute;
    top: 3rem;
    right: 5rem;
    max-width: 320px;
    z-index: 3;
    animation: fadeInRight 1s ease-out;
}

.hero-logo-topright img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.3));
}

/* Bottom Left Logo */
.hero-logo-bottomleft {
    position: absolute;
    bottom: 3rem;
    left: 5rem;
    max-width: 320px;
    z-index: 3;
    animation: fadeInLeft 1s ease-out;
}

.hero-logo-bottomleft img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.3));
}

/* Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================
   TITLE SECTION
   ============================================ */

.title-section {
    padding: 3rem 3rem;
    background: #fff;
    text-align: center;
}

.title-section .container {
    max-width: 1000px;
    margin: 0 auto;
}

/* ============================================
   PRODUCT SECTIONS
   ============================================ */

.product-section {
    padding: 2rem 3rem;
    background: #fff;
}

.product-section:nth-child(even) {
    background: #f8f9fa;
}

.product-section .container {
    max-width: 1400px;
    margin: auto;
}

/* Product Title Styling */
.product-title {
    font-size: 1.6rem;
    color: white;
    font-weight: 700;
    margin: 0 0 1.2rem 0;
    text-align: left;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0;
    align-items: stretch;
}

.benefits-grid > img {
    display: block;
    width: auto;
    max-width: 750px;
    height: auto;
    border-radius: 15px 0 0 15px;
}

.benefit-card {
    background: linear-gradient(135deg, #c9a961 0%, #b4944d 100%);
    padding: 1.5rem 1.5rem;
    border-radius: 0 15px 15px 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
    justify-content: center;
    transition: all 0.3s ease;
}

/* Benefit Text Blocks */
.benefit-text-block p {
    font-size: 0.95rem;
    color: white;
    font-weight: 500;
    line-height: 1.7;
    margin: 0;
}

.benefit-text-block h3 {
    font-size: 1.1rem;
    color: white;
    font-weight: 700;
    margin: 0 0 0.4rem 0;
}

/* Benefit Subsections */
.benefit-subsection {
    width: 100%;
}

.benefit-subsection h3 {
    font-size: 1.1rem;
    color: white;
    font-weight: 700;
    margin: 0 0 0.8rem 0;
}

/* Highlight text styling */
.highlight-text {
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Reversed layout: card left, image right */
.benefits-grid--reversed {
    grid-template-columns: 1fr auto;
    background: #fff;
    border-radius: 15px;
}

.benefits-grid--reversed .benefit-card {
    border-radius: 15px 0 0 15px;
    min-width: unset;
}

.benefits-grid--reversed > img {
    display: block;
    width: auto;
    max-width: 750px;
    height: auto;
    border-radius: 0 15px 15px 0;
}

/* IMPROVED BULLET POINTS */
.benefit-list-items {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0.4rem;
}

.benefit-list-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.85rem 1.1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.benefit-list-item:hover {
    background: rgba(255, 255, 255, 0.15);
    border-left-color: rgba(255, 255, 255, 0.6);
    transform: translateX(5px);
}

.benefit-list-item::before {
    content: "✓";
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.95);
    color: #b4944d;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    margin-top: 2px;
    flex-shrink: 0;
}

.benefit-list-item span {
    font-size: 0.95rem;
    color: white;
    font-weight: 500;
    line-height: 1.5;
    flex: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* ============================================
   RESPONSIVE DESIGN - TABLET
   ============================================ */

@media (max-width: 1315px) {
    /* Three Logos Hero - Corners */
    .hero-logo-topleft {
        left: 3rem;
        top: 2.5rem;
        max-width: 250px;
    }
    
    .hero-logo-topright {
        right: 3rem;
        top: 2.5rem;
        max-width: 250px;
    }
    
    .hero-logo-bottomleft {
        bottom: 2.5rem;
        left: 3rem;
        max-width: 250px;
    }

    /* All Product Sections */
    .product-section .benefits-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid > img {
        min-width: 100%;
        height: auto;
        border-radius: 15px 15px 0 0;
    }

    .benefit-card {
        border-radius: 0 0 15px 15px;
        padding: 2.5rem 2rem;
        min-width: unset;
    }

    .benefits-grid--reversed {
        grid-template-columns: 1fr;
    }

    .benefits-grid--reversed .benefit-card {
        order: 2;
        border-radius: 0 0 15px 15px;
        min-width: unset;
    }

    .benefits-grid--reversed > img {
        order: 1;
        min-width: 100%;
        height: auto;
        border-radius: 15px 15px 0 0;
    }

    .benefit-list-item {
        padding: 0.9rem 1.1rem;
    }

    .benefit-list-item span {
        font-size: 0.95rem;
    }
}

/* ============================================
   RESPONSIVE DESIGN - MOBILE
   ============================================ */

@media (max-width: 768px) {
    /* Hero Section */
    .procedure-hero {
        height: 60vh;
        min-height: 400px;
        max-height: 500px;
    }

    .hero-cover-image img {
        object-position: center 30%;
    }

    .hero-content-wrapper {
        padding: 2rem 1.5rem;
    }

    /* Three Logos Hero - Mobile */
    .hero-logo-topleft {
        position: absolute;
        left: 1.5rem;
        top: 2rem;
        max-width: 140px;
    }
    
    .hero-logo-topright {
        position: absolute;
        right: 1.5rem;
        top: 2rem;
        max-width: 140px;
    }
    
    .hero-logo-bottomleft {
        position: absolute;
        bottom: 2rem;
        left: 1.5rem;
        max-width: 140px;
    }

    /* Title Section */
    .title-section {
        padding: 4rem 2rem;
    }

    /* Product Sections - Mobile Optimized */
    .product-section {
        padding: 4rem 1.5rem;
    }

    .product-title {
        font-size: 1.5rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        gap: 0;
    }

    .benefits-grid > img {
        min-width: 100%;
        height: auto;
        border-radius: 15px 15px 0 0;
    }

    .benefit-card {
        border-radius: 0 0 15px 15px;
        padding: 2rem 1.5rem;
        min-width: 100%;
        gap: 1.5rem;
    }

    .benefit-text-block p {
        font-size: 0.95rem;
    }

    .benefit-subsection h3 {
        font-size: 1.1rem;
    }

    .benefits-grid--reversed {
        grid-template-columns: 1fr;
    }

    .benefits-grid--reversed .benefit-card {
        order: 2;
        border-radius: 0 0 15px 15px;
    }

    .benefits-grid--reversed > img {
        order: 1;
        min-width: 100%;
        height: auto;
        margin: 0 auto;
        display: block;
        border-radius: 15px 15px 0 0;
    }

    /* Improved Bullet Points for Mobile */
    .benefit-list-items {
        gap: 0.6rem;
    }

    .benefit-list-item {
        padding: 0.85rem 1rem;
        gap: 0.85rem;
    }

    .benefit-list-item::before {
        min-width: 22px;
        width: 22px;
        height: 22px;
        font-size: 0.85rem;
    }

    .benefit-list-item span {
        font-size: 0.92rem;
        line-height: 1.5;
    }
}

/* ============================================
   RESPONSIVE DESIGN - SMALL MOBILE
   ============================================ */

@media (max-width: 480px) {
    /* Hero Section */
    .procedure-hero {
        height: 50vh;
        min-height: 350px;
        max-height: 400px;
    }

    .hero-content-wrapper {
        padding: 1.5rem 1rem;
    }

    /* Three Logos Hero - Small Mobile */
    .hero-logo-topleft {
        left: 1rem;
        top: 1.5rem;
        max-width: 110px;
    }
    
    .hero-logo-topright {
        right: 1rem;
        top: 1.5rem;
        max-width: 110px;
    }
    
    .hero-logo-bottomleft {
        bottom: 1.5rem;
        max-width: 110px;
    }

    /* Title Section */
    .title-section {
        padding: 3rem 1.5rem;
    }

    /* Product Sections - Small Mobile */
    .product-section {
        padding: 3rem 1rem;
    }

    .product-title {
        font-size: 1.3rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .benefits-grid > img {
        width: 100%;
        height: auto;
    }

    .benefit-card {
        padding: 1.75rem 1.25rem;
        gap: 1.25rem;
    }

    .benefit-text-block p {
        font-size: 0.9rem;
    }

    .benefit-subsection h3 {
        font-size: 1rem;
    }

    .benefits-grid--reversed > img {
        order: 1;
        width: 100%;
        height: auto;
        margin: 0 auto;
        display: block;
        border-radius: 15px 15px 0 0;
    }

    .benefits-grid--reversed .benefit-card {
        order: 2;
        border-radius: 0 0 15px 15px;
    }

    /* Compact Bullet Points for Small Mobile */
    .benefit-list-items {
        gap: 0.5rem;
    }

    .benefit-list-item {
        padding: 0.75rem 0.85rem;
        gap: 0.75rem;
    }

    .benefit-list-item::before {
        min-width: 20px;
        width: 20px;
        height: 20px;
        font-size: 0.8rem;
    }

    .benefit-list-item span {
        font-size: 0.88rem;
        line-height: 1.45;
    }
}

/* ============================================
   LANDSCAPE ORIENTATION FIX FOR MOBILE
   ============================================ */

@media (max-width: 968px) and (orientation: landscape) {
    
    .procedure-hero {
        height: 70vh;
        min-height: 400px;
        max-height: 500px;
    }

    .hero-content-wrapper {
        padding: 2rem;
    }

    /* Three Logos Hero - Landscape */
    .hero-logo-topleft {
        left: 2rem;
        top: 2rem;
        max-width: 130px;
    }
    
    .hero-logo-topright {
        right: 2rem;
        top: 2rem;
        max-width: 130px;
    }
    
    .hero-logo-bottomleft {
        bottom: 2rem;
        max-width: 130px;
    }

    /* Product Section Landscape */
    .benefit-card {
        padding: 2rem 1.5rem;
    }

    .benefit-list-item {
        padding: 0.7rem 0.9rem;
    }
}