/* ====================================================
   PINK & WHITE LUXURY HERO SLIDER
   Palette: Pink (#e8a2c0), White (#ffffff), Dark Text (#333)
==================================================== */

:root {
    --pink-primary: #e8a2c0;
    --pink-dark: #d489ad;
    --text-dark: #333333;
    --text-light: #ffffff;
    --overlay-color: rgba(0, 0, 0, 0.2);
    /* Slight dark overlay for white text readability */
}

/* Container */
.hero-slider-pink {
    position: relative;
    width: 100%;
    height: 85vh;
    /* Immersive height */
    min-height: 600px;
    overflow: hidden;
    background: #fdf5f8;
    /* Very faint pink background fallback */
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Image Handling */
.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.05);
    transition: transform 6s ease;
    /* Subtle zoom effect */
}

.hero-slide.active .hero-image {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 60%);
    /* Gradient for text readability */
}

/* Content Styling */
.hero-content {
    position: absolute;
    top: 20%;
    /* Moved to top */
    left: 5%;
    transform: translateY(0);
    /* Removed centering transform */
    max-width: 450px;
    z-index: 3;
    color: var(--text-light);
    /* White text */
    text-align: left;
    /* Removed card styles */
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 8px 16px;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 25px;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    /* Restored shadow */
    animation: fadeInUp 0.8s ease forwards 0.2s;
    opacity: 0;
}

.hero-title span {
    color: var(--pink-primary);
    font-style: italic;
}

.hero-description {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.9;
    color: white;
    /* Restored white text */
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease forwards 0.4s;
    opacity: 0;
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 20px;
    animation: fadeInUp 0.8s ease forwards 0.6s;
    opacity: 0;
}

.btn-luxury-pink {
    background: var(--pink-primary);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: 2px solid var(--pink-primary);
    box-shadow: 0 5px 20px rgba(232, 162, 192, 0.4);
}

.btn-luxury-pink:hover {
    background: var(--pink-dark);
    border-color: var(--pink-dark);
    transform: translateY(-3px);
    color: white;
    box-shadow: 0 8px 25px rgba(232, 162, 192, 0.6);
}

.btn-luxury-outline-white {
    background: transparent;
    color: white;
    /* Restored white */
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.6);
    /* Restored white border */
}

.btn-luxury-outline-white:hover {
    background: white;
    color: var(--pink-dark);
    border-color: white;
    transform: translateY(-3px);
}

/* Controls */
.slider-controls {
    position: absolute;
    bottom: 50px;
    right: 50px;
    display: flex;
    gap: 15px;
    z-index: 10;
}

.slider-arrow {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
}

.slider-arrow:hover {
    background: var(--pink-primary);
    border-color: var(--pink-primary);
    transform: scale(1.1);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    gap: 10px;
    opacity: 0.8;
}

.scroll-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-icon {
    animation: bounce 2s infinite;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* ====================================================
   RESPONSIVE STYLES - Enhanced Mobile Experience
==================================================== */

/* Tablet Landscape */
@media (max-width: 1199px) {
    .hero-slider-pink {
        height: 75vh;
        min-height: 550px;
    }

    .hero-content {
        max-width: 400px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .slider-controls {
        bottom: 40px;
        right: 40px;
    }

    .slider-arrow {
        width: 50px;
        height: 50px;
    }
}

/* Tablet Portrait */
@media (max-width: 991px) {
    .hero-slider-pink {
        height: 70vh;
        min-height: 500px;
    }

    .hero-content {
        left: 5%;
        right: 5%;
        max-width: 90%;
        top: 15%;
        text-align: left;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 25px;
        line-height: 1.5;
    }

    .hero-overlay {
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.5) 100%);
    }

    .hero-buttons {
        justify-content: flex-start;
        gap: 12px;
    }

    .btn-luxury-pink,
    .btn-luxury-outline-white {
        padding: 12px 30px;
        font-size: 13px;
    }

    .slider-controls {
        bottom: 20px;
        right: 20px;
        gap: 10px;
    }

    .slider-arrow {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }

    .scroll-indicator {
        display: none;
    }
}

/* Large Phones (Landscape) */
@media (max-width: 768px) {
    .hero-slider-pink {
        height: 65vh;
        min-height: 450px;
    }

    .hero-content {
        top: 12%;
        left: 4%;
        right: 4%;
        max-width: 92%;
    }

    .hero-badge {
        font-size: 10px;
        padding: 6px 12px;
        margin-bottom: 15px;
        letter-spacing: 1.5px;
    }

    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }

    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 20px;
        /* Limit text lines on mobile */
        display: -webkit-box;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .hero-buttons {
        flex-wrap: wrap;
        gap: 10px;
    }

    .btn-luxury-pink,
    .btn-luxury-outline-white {
        padding: 11px 24px;
        font-size: 12px;
        flex: 1 1 auto;
        min-width: 130px;
        text-align: center;
    }

    .slider-controls {
        bottom: 15px;
        right: 15px;
        left: auto;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}

/* Standard Phones - STACKED LAYOUT */
@media (max-width: 576px) {
    .hero-slider-pink {
        height: 750px;
        /* Fixed height to accommodate stacked layout */
        min-height: unset;
        max-height: unset;
        background: #ffffff;
    }

    .hero-slide {
        background: #ffffff;
    }

    .hero-image-container {
        height: 55%;
        /* Top 55% for Image */
        border-radius: 0 0 30px 30px;
        /* Premium Curve */
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        z-index: 1;
    }

    .hero-content {
        top: 55%;
        /* Start exactly after image */
        bottom: auto;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        padding: 30px 20px;
        transform: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        z-index: 2;
    }

    .hero-badge {
        background: rgba(232, 162, 192, 0.15);
        color: var(--pink-primary);
        border: 1px solid rgba(232, 162, 192, 0.3);
        box-shadow: none;
        font-weight: 700;
        padding: 6px 14px;
        margin-bottom: 15px;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 12px;
        color: #2c2c2c;
        /* Dark Text */
        text-shadow: none;
        /* Remove shadow */
    }

    .hero-description {
        font-size: 0.95rem;
        color: #666666;
        /* Grey Text */
        margin-bottom: 25px;
        text-shadow: none;
        -webkit-line-clamp: 3;
        line-clamp: 3;
    }

    .hero-overlay {
        display: none;
        /* No overlay on image needed */
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .btn-luxury-pink {
        width: 100%;
        background: var(--pink-primary);
        color: white;
        box-shadow: 0 5px 15px rgba(232, 162, 192, 0.3);
    }

    .btn-luxury-outline-white {
        width: 100%;
        border-color: #2c2c2c;
        color: #2c2c2c;
        /* Dark Text Button */
    }

    .btn-luxury-outline-white:hover {
        background: #2c2c2c;
        color: white;
    }

    /* Adjust controls position */
    .slider-controls {
        top: 27.5%;
        /* Center of image area (55% / 2) */
        transform: translateY(-50%);
        width: 100%;
        left: 0;
        justify-content: space-between;
        padding: 0 10px;
        pointer-events: none;
        z-index: 100 !important;
        /* Ensure on top of everything */
    }

    .slider-arrow {
        width: 50px;
        /* Larger touch target */
        height: 50px;
        font-size: 16px;
        pointer-events: auto;
        background: rgba(255, 255, 255, 0.9);
        color: var(--pink-primary);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Small Phones */
@media (max-width: 400px) {
    .hero-slider-pink {
        height: 700px;
        /* Slightly shorter */
    }

    .hero-image-container {
        height: 50%;
    }

    .hero-content {
        top: 50%;
        padding: 20px 15px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-badge {
        font-size: 9px;
        padding: 5px 10px;
    }

    .slider-controls {
        top: 25%;
    }
}

/* Very Small Phones / SE */
@media (max-width: 350px) {
    .hero-slider-pink {
        height: 650px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-description {
        -webkit-line-clamp: 2;
        line-clamp: 2;
        font-size: 0.85rem;
    }

    .btn-luxury-pink,
    .btn-luxury-outline-white {
        padding: 10px;
        font-size: 11px;
    }
}

/* Landscape Mode Phones */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-slider-pink {
        height: 100vh;
        min-height: 280px;
    }

    .hero-content {
        top: 10%;
        bottom: auto;
        left: 5%;
        max-width: 50%;
    }

    .hero-badge {
        margin-bottom: 8px;
    }

    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }

    .hero-description {
        font-size: 0.8rem;
        margin-bottom: 12px;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    .hero-buttons {
        flex-direction: row;
        gap: 8px;
    }

    .btn-luxury-pink,
    .btn-luxury-outline-white {
        padding: 8px 16px;
        font-size: 10px;
        width: auto;
    }

    .slider-controls {
        bottom: 10px;
        right: 10px;
        top: auto;
        transform: none;
        left: auto;
    }

    .slider-arrow {
        width: 30px;
        height: 30px;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .slider-arrow {
        opacity: 0.8;
    }

    .slider-arrow:hover {
        transform: none;
    }

    .slider-arrow:active {
        transform: scale(0.95);
        background: var(--pink-primary);
    }

    .btn-luxury-pink:hover,
    .btn-luxury-outline-white:hover {
        transform: none;
    }

    .btn-luxury-pink:active,
    .btn-luxury-outline-white:active {
        transform: scale(0.98);
    }
}