:root {
    --primary-color: #e6af61;
    --secondary-color: #3b2f2f;
    --accent-color: #a87e5b;
    --dark-gray: #2c2c2c;
    --white: #ffffff;
    --shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    --shadow-hover: 0 15px 30px rgba(0, 0, 0, 0.3);
    --font-inter: 'Inter', sans-serif;
}

body {
    font-family: var(--font-inter);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
}

.hero-container {
    position: relative;
    height: 98vh;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-gray) 50%, var(--secondary-color) 100%);
    overflow: hidden;
}

.hero-slides-wrapper {
    display: flex;
    width: 400%;
    height: 100%;
    transition: transform 1s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.hero-slide-content {
    position: relative;
    width: 100vw;
    flex-shrink: 0;
    height: 100%;
}

.hero-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;
    transition: opacity 2s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-background-overlay.full-opacity-bg {
    opacity: 1;
}

.hero-background-overlay::before {
    content: none;
}

.slide-1-bg {
    background:
        linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(44, 44, 44, 0.7) 100%),
        /* Overlay */
        linear-gradient(45deg, var(--primary-color), var(--accent-color), #f4d799),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="paisley1" patternUnits="userSpaceOnUse" width="20" height="20"><path d="M10,2 Q15,5 12,10 Q8,15 6,10 Q4,5 10,2" fill="%23ffffff" opacity="0.3"/><circle cx="15" cy="15" r="1" fill="%23ffffff" opacity="0.4"/></pattern></defs><rect width="100" height="100" fill="url(%23paisley1)"/></svg>');
}

.slide-2-bg {
    background:
        linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(44, 44, 44, 0.6) 100%),
        url('../img/saree1.jpg') no-repeat center center;
    background-size: cover;
}

.slide-3-bg {
    background:
        linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(44, 44, 44, 0.6) 100%),
        url('../img/saree2.jpg') no-repeat center center;
    background-size: cover;
}

.slide-4-bg {
    background:
        linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(44, 44, 44, 0.6) 100%),
        url('../img/saree3.jpeg') no-repeat center center;
    background-size: cover;
}


.hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-slide-content.full-image-slide .hero-content.full-width-content {
    max-width: none;
    width: 100%;
    padding: 0 4rem;
    justify-content: flex-start;
}


.hero-left {
    flex: 1;
    padding-right: 2rem;
}

.hero-slide-content.full-image-slide .hero-left.full-image-text-overlay {
    flex: none;
    width: 100%;
    height: 100%;
    max-width: 600px;
    padding: 4rem;
    background: rgba(0, 0, 0, 0.3);
    box-shadow: var(--shadow);
    text-align: left;
}

.hero-slide-content.full-image-slide .hero-left.full-image-text-overlay.text-right-align {
    margin-left: auto;
    margin-right: 0;
    padding-left: 2rem;
    padding-right: 4rem;
    text-align: right;
}

.hero-right {
    flex: 1;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.1em;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 3rem;
    font-weight: 300;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.shop-btn {
    width: auto;
}

/* .btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    background: linear-gradient(45deg, var(--accent-color), var(--primary-color));
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
} */

.hero-stats {
    display: flex;
    gap: 3rem;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    display: block;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

.sari-card-wrapper {
    display: flex;
    /* Ensure the single card is centered */
    align-items: center;
    justify-content: center;
    position: relative;
}

.sari-card {
    width: 500px;
    height: 400px;
    border-radius: 20px;

    box-shadow: var(--shadow-hover);
    transition: all 0.3s ease;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    cursor: pointer;
    transform: scale(0.9);
    opacity: 0.8;
}

/* Always make the sari card active within its visible slide */
.hero-slide-content.active .sari-card {
    transform: scale(1);
    opacity: 1;
    z-index: 10;
}

.sari-card:hover {
    transform: scale(1.05) rotateY(5deg);
    box-shadow: 0 25px 50px rgba(230, 175, 97, 0.3);
}

.hero-slide-content.active .sari-card:hover {
    transform: scale(1.1) rotateY(5deg);
}

.carousel-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.carousel-dot.active {
    background: var(--primary-color);
    border-color: var(--white);
    transform: scale(1.2);
}

.carousel-dot:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

/* Sari Image backgrounds for card */
.sari-image {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
}

.sari-image img {
    border-radius: 20px;
    height: 100%;
    width: 100%;
    object-fit: cover;
}


/* Individual sari image placeholders for cards */
.sari-image-1 {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 50%, #d4af37 100%);
}

.sari-image-2 {
    /* Not used in current HTML, but kept for consistency */
    background: linear-gradient(135deg, #a87e5b 0%, #e6af61 50%, #f4d799 100%);
}

.sari-image-3 {
    /* Not used in current HTML, but kept for consistency */
    background: linear-gradient(135deg, #f4d799 0%, #d4af37 50%, #a87e5b 100%);
}

.sari-image-4 {
    background: linear-gradient(135deg, #d4af37 0%, #e6af61 50%, #3b2f2f 100%);
}


.sari-info {
    padding: 1.5rem;
    height: 30%;
    background: var(--white);
    backdrop-filter: blur(10px);
}

.sari-name {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.sari-price {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: bold;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-element {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
    box-shadow: 0 0 15px var(--primary-color);
}

.floating-element:nth-child(1) {
    left: 10%;
    top: 20%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    left: 80%;
    top: 30%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    left: 20%;
    top: 60%;
    animation-delay: 4s;
}

.floating-element:nth-child(4) {
    left: 70%;
    top: 70%;
    animation-delay: 6s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) scale(1);
        opacity: 0.6;
    }

    50% {
        transform: translateY(-30px) scale(1.2);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        padding: 2rem 1rem;
        text-align: center;
    }

    /* Adjust for full-width content on small screens */
    .hero-slide-content.full-image-slide .hero-content.full-width-content {
        padding: 0 1rem;
        /* Smaller padding on mobile */
    }

    .hero-left {
        padding-right: 0;
        margin-bottom: 2rem;
    }

    /* Adjust for full-image text overlay on small screens */
    .hero-slide-content.full-image-slide .hero-left.full-image-text-overlay {
        max-width: 90%;
        /* Take more width on mobile */
        padding: 2rem;
        /* Reduce padding on mobile */
        margin: 0 auto;
        /* Center the text block */
    }

    .hero-slide-content.full-image-slide .hero-left.full-image-text-overlay.text-right-align {
        margin-left: auto;
        margin-right: auto;
        /* Re-center for mobile */
        text-align: center;
        /* Center text for better readability on small screens */
    }

    .hero-title {
        font-size: 2rem;
    }

    .brand-logo {
        font-size: 2rem;
        margin-top: 80px;
    }

    .sari-card {
        width: 250px;
        /* Adjusted for smaller screens */
        height: 350px;
        /* Adjusted for smaller screens */
    }

    .cta-buttons {
        justify-content: center;
        align-items: center;
    }

    .hero-stats {
        justify-content: center;
        gap: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .hero-right {
        display: none;
    }
}

@media (max-width: 500px) {
    .brand-logo {
        margin-top: 60px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }
}


.hero-right {
    position: relative;
    /* Ensure this exists for absolute positioning */
}

/* Floating Decorative Elements for Slide 1 Right Side */
.hero-slide-content:first-child .hero-right::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    background:
        /* Ornament 1 - Large glowing circle */
        radial-gradient(circle at 85% 15%, var(--primary-color) 2px, transparent 3px),
        /* Ornament 2 - Medium circle */
        radial-gradient(circle at 95% 25%, var(--accent-color) 1px, transparent 2px),
        /* Ornament 3 - Small sparkle */
        radial-gradient(circle at 80% 65%, #fff 1px, transparent 2px),
        /* Ornament 4 - Another sparkle */
        radial-gradient(circle at 92% 45%, #fff 0.5px, transparent 1px),
        /* Ornament 5 - Bottom sparkle */
        radial-gradient(circle at 88% 80%, var(--primary-color) 1px, transparent 2px);
    animation: floatDecorations 8s ease-in-out infinite;
}

/* Additional floating elements using pseudo-elements */
.hero-slide-content:first-child .hero-right::after {
    content: '';
    position: absolute;
    top: 10%;
    right: 15%;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(230, 175, 97, 0.3), transparent 70%);
    border-radius: 50%;
    animation: pulseGlow 4s ease-in-out infinite;
    z-index: 1;
}

/* Enhanced sari card with better attraction */
.hero-slide-content:first-child .sari-card {
    position: relative;
    transform: scale(0.95) rotateY(-3deg);
    transition: all 0.6s cubic-bezier(0.4, 0.0, 0.2, 1);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(230, 175, 97, 0.2);
}

.hero-slide-content.active:first-child .sari-card {
    transform: scale(1) rotateY(0deg);
    animation: cardEntrance 1.5s ease-out 0.8s both;
}

.hero-slide-content:first-child .sari-card:hover {
    transform: scale(1.05) rotateY(5deg) translateZ(20px);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.4),
        0 0 50px rgba(230, 175, 97, 0.4);
}

/* Add floating ornaments around the sari card */
.hero-slide-content:first-child .sari-card::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -15px;
    width: 30px;
    height: 30px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border-radius: 50% 50% 0 50%;
    opacity: 0;
    animation:
        ornamentFloat 3s ease-in-out infinite,
        fadeInOrnament 2s ease-out 1.2s forwards;
    z-index: 10;
}

.hero-slide-content:first-child .sari-card::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: -20px;
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    opacity: 0;
    animation:
        ornamentFloat 4s ease-in-out infinite reverse,
        fadeInOrnament 2s ease-out 1.8s forwards;
    z-index: 10;
}

/* Sparkle effects using CSS only */
.hero-slide-content:first-child .sari-image::before {
    content: '✦';
    position: absolute;
    top: 20%;
    right: -30px;
    color: #fff;
    font-size: 12px;
    opacity: 0;
    animation: sparkleEffect 3s ease-in-out infinite;
    z-index: 5;
}

.hero-slide-content:first-child .sari-image::after {
    content: '✧';
    position: absolute;
    bottom: 25%;
    left: -25px;
    color: var(--primary-color);
    font-size: 16px;
    opacity: 0;
    animation: sparkleEffect 3s ease-in-out infinite 1.5s;
    z-index: 5;
}

/* Golden thread lines */
.hero-slide-content:first-child .sari-card-wrapper::before {
    content: '';
    position: absolute;
    top: 30%;
    right: -40px;
    width: 80px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
    transform: rotate(15deg);
    opacity: 0;
    animation:
        threadGlow 4s ease-in-out infinite,
        fadeInThread 2s ease-out 2.5s forwards;
    z-index: 2;
}

.hero-slide-content:first-child .sari-card-wrapper::after {
    content: '';
    position: absolute;
    bottom: 35%;
    left: -50px;
    width: 60px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--accent-color), transparent);
    transform: rotate(-25deg);
    opacity: 0;
    animation:
        threadGlow 4s ease-in-out infinite 2s,
        fadeInThread 2s ease-out 3s forwards;
    z-index: 2;
}

/* Paisley pattern floating elements */
.hero-slide-content:first-child .hero-right {
    overflow: visible;
    /* Allow elements to float outside */
}

/* Additional floating particles */
.hero-slide-content:first-child .hero-right:hover::before {
    animation-duration: 4s;
    /* Speed up on hover */
}

/* Keyframe animations */
@keyframes cardEntrance {
    0% {
        opacity: 0.7;
        transform: scale(0.8) rotateY(-10deg) translateX(50px);
    }

    60% {
        transform: scale(1.02) rotateY(2deg) translateX(-5px);
    }

    100% {
        opacity: 1;
        transform: scale(1) rotateY(0deg) translateX(0);
    }
}

@keyframes floatDecorations {

    0%,
    100% {
        transform: translateY(0) scale(1);
        opacity: 0.6;
    }

    33% {
        transform: translateY(-10px) scale(1.1);
        opacity: 0.8;
    }

    66% {
        transform: translateY(5px) scale(0.95);
        opacity: 0.7;
    }
}

@keyframes pulseGlow {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.3;
        box-shadow: 0 0 20px rgba(230, 175, 97, 0.3);
    }

    50% {
        transform: scale(1.2);
        opacity: 0.6;
        box-shadow: 0 0 40px rgba(230, 175, 97, 0.6);
    }
}

@keyframes ornamentFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(180deg);
    }
}

@keyframes fadeInOrnament {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }

    100% {
        opacity: 0.8;
        transform: scale(1);
    }
}

@keyframes sparkleEffect {

    0%,
    100% {
        opacity: 0;
        transform: scale(0.5) rotate(0deg);
    }

    50% {
        opacity: 1;
        transform: scale(1.2) rotate(180deg);
    }
}

@keyframes threadGlow {

    0%,
    100% {
        opacity: 0.3;
        box-shadow: 0 0 5px var(--primary-color);
    }

    50% {
        opacity: 0.8;
        box-shadow: 0 0 15px var(--primary-color);
    }
}

@keyframes fadeInThread {
    0% {
        opacity: 0;
        transform: scale(0);
    }

    100% {
        opacity: 0.6;
        transform: scale(1);
    }
}

/* Mobile responsiveness for floating elements */
@media (max-width: 768px) {

    .hero-slide-content:first-child .hero-right::before,
    .hero-slide-content:first-child .hero-right::after,
    .hero-slide-content:first-child .sari-card::before,
    .hero-slide-content:first-child .sari-card::after,
    .hero-slide-content:first-child .sari-card-wrapper::before,
    .hero-slide-content:first-child .sari-card-wrapper::after {
        transform: scale(0.7);
        opacity: 0.5;
    }

    .hero-slide-content:first-child .sari-image::before,
    .hero-slide-content:first-child .sari-image::after {
        font-size: 8px;
    }
}