/* Home Page Styles */

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: #fff9e7;
}

/* Hero Slider Wrapper */
.hero-slider-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.hero-slider-wrapper .carousel,
.hero-slider-wrapper .carousel-inner,
.hero-slider-wrapper .carousel-item {
    height: 100vh;
}

.hero-slider-wrapper .carousel-item {
    backface-visibility: hidden;
}

/* Hero Slide */
.hero-slide {
    width: 100%;
    height: 100vh;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.hero-slide-video {
    background-image: none !important;
    overflow: hidden;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-slide-video .hero-overlay,
.hero-slide-video .hero-content {
    z-index: 1;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6{
    font-family: "Felipa", serif;
}

/* Fallback gradients when images are not available */
.hero-gradient-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero-gradient-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.hero-gradient-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    color: #ffffff;
    padding: 20px;
    max-width: 600px;
    margin-left: 8%;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
}

.carousel-item.active .hero-content {
    opacity: 1;
    transform: translateY(0);
}

.hero-title {
    font-size: 4rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    margin-bottom: 30px;
    text-transform: capitalize;
    font-family: "Felipa", serif;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 0.02em;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: 0;
    margin-right: 0;
    line-height: 1.6;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-btn {
    display: inline-block;
    padding: 14px 45px;
    border: 2px solid #ffffff;
    background: transparent;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-btn:hover {
    background: #ffffff;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    z-index: 4;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-slider-wrapper:hover .carousel-control-prev,
.hero-slider-wrapper:hover .carousel-control-next {
    opacity: 0.8;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 30px;
    height: 30px;
}

.carousel-indicators {
    z-index: 4;
    margin-bottom: 30px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.carousel-indicators button.active {
    opacity: 1;
}

/* Carousel fade transition */
.carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.carousel-fade .carousel-item.active {
    opacity: 1;
}

/* Main Content */
.main-content {
    padding: 60px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.container h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 20px;
    text-align: center;
}

.container p {
    font-size: 1.125rem;
    color: #666666;
    text-align: center;
    line-height: 1.6;
}

/* ================================
   Home Editorial Section
   ================================ */
.home-editorial-section {
    width: 100%;
    /* background: #ffffff; */
}

.home-editorial-wrapper {
    display: flex;
    width: 100%;
    min-height: 75vh;
}

.home-editorial-image {
    flex: 1;
    overflow: hidden;
}

.home-editorial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.home-editorial-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background: #f5edd6; */
    padding: 60px;
}

.home-editorial-box {
    border: 1px solid #e5aa03;
    padding: 60px 50px;
    text-align: center;
    max-width: 420px;
    width: 100%;
}

.home-editorial-heading {
    font-family: 'Felipa', cursive, serif;
    font-size: 2.8rem;
    font-weight: 400;
    color: #e5aa03;
    margin-bottom: 12px;
    line-height: 1.2;
}

.home-editorial-subtitle {
    font-family: 'Georgia', serif;
    font-size: 0.75rem;
    font-weight: 500;
    color: #e5aa03;
    letter-spacing: 0.3em;
    margin-bottom: 20px;
}

.home-editorial-ornament {
    display: block;
    font-size: 1rem;
    color: #e5aa03;
    margin-bottom: 28px;
}

.home-editorial-btn {
    display: inline-block;
    padding: 12px 40px;
    border: 1px solid #e5aa03;
    color: #e5aa03;
    font-family: 'Georgia', serif;
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.home-editorial-btn:hover {
    background: #e5aa03;
    color: #f5edd6;
}

/* ================================
   Home Collections Section
   ================================ */
.home-collections-section {
    padding: 0px 0;
    /* background: #ffffff; */
}

h2.home-section-title{
    font-family: "Felipa", serif;
    font-size: 3rem;
    color: #e5aa03;
    padding: 10px 0;
}

.home-collections-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.home-collections-viewport {
    overflow: hidden;
    width: 100%;
}

.home-collections-track {
    display: flex;
    gap: 4px;
    transition: transform 0.5s ease;
}

.home-collection-card {
    display: block;
    text-decoration: none;
    overflow: hidden;
    min-width: calc(25% - 3px);
    flex-shrink: 0;
    position: relative;
}

.home-collection-img-wrapper {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    position: relative;
}

.home-collection-img-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent);
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.home-collection-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
}

.home-collection-card:hover .home-collection-img-wrapper img {
    transform: scale(1.06);
}

.home-collection-card:hover .home-collection-img-wrapper::after {
    opacity: 0.8;
}

.home-collection-name {
   position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    text-align: center;
    padding: 24px 10px;
    font-size: 1.5rem;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-family: "Noto Serif", serif;
    transition: transform 0.4s ease, letter-spacing 0.4s ease;
}

.home-collection-card:hover .home-collection-name {
    color: #ffffff;
    transform: translateY(-4px);
    letter-spacing: 0.3em;
}

/* Collection Slider Arrows */
.collections-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.85);
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    opacity: 0;
}

.home-collections-slider-wrapper:hover .collections-arrow {
    opacity: 1;
}

.collections-arrow:hover {
    background: #fff;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
}

.collections-arrow-left {
    left: 12px;
}

.collections-arrow-right {
    right: 12px;
}

/* ================================
   Home Tagline Section
   ================================ */
.home-tagline-section {
    width: 100%;
    /* background: #fdf8f3; */
    padding: 100px 20px;
}

.home-tagline-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.home-tagline-heading {
    font-family: 'Georgia', serif;
    font-size: 2.6rem;
    font-weight: 400;
    color: #e5aa03;
    letter-spacing: 0.08em;
    line-height: 1.3;
    margin-bottom: 24px;
}

.home-tagline-script {
    font-family: 'Felipa', cursive, serif;
    font-size: 3.2rem;
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0;
}

.home-tagline-divider {
    width: 60px;
    height: 1px;
    background: #e5aa03;
    margin: 0 auto 24px;
}

.home-tagline-description {
    font-family: 'Georgia', serif;
    font-size: 0.82rem;
    font-weight: 400;
    color: #e5aa03;
    line-height: 1.8;
    letter-spacing: 0.02em;
    margin-bottom: 30px;
}

.home-tagline-link {
    display: inline-block;
    font-family: 'Georgia', serif;
    font-size: 0.68rem;
    font-weight: 700;
    color: #e5aa03;
    letter-spacing: 0.3em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.home-tagline-link:hover {
    color: #e5aa03;
}

/* ================================
   Home Featured Products Section
   ================================ */
.home-products-section {
    /* padding: 60px 0; */
    /* background: #ffffff; */
    margin-bottom: 2rem;
}

.home-products-container {
    max-width: 100%;
    margin: 0 auto;
    /* padding: 0 20px; */
}

.home-products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
}

/* Sale Badge overlaid on product image */
.home-sale-image-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #e5aa03;
    color: #fff;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6px 7px;
    border-radius: 4px;
    font-size: 0.62rem;
    font-weight: 700;
    min-width: 42px;
    text-align: center;
    gap: 2px;
    line-height: 1.2;
    font-family: "Noto Serif", serif;
    pointer-events: none;
}

.home-sale-image-badge svg {
    stroke: #fff;
}

.home-product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.home-product-card {
    position: relative;
    overflow: hidden;
}

.home-product-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: #f5f5f5;
}

/* Product Image Slider */
.home-product-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.home-slide-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.home-slide-img.active {
    opacity: 1;
}

.home-slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 3;
}

.home-slider-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.home-slider-dot.active {
    background: #ffffff;
}

.home-slider-dot:hover {
    background: rgba(255, 255, 255, 0.85);
}

/* Slider Navigation Arrows */
.home-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    opacity: 0;
    transition: opacity 0.3s ease, background 0.2s ease;
    padding: 0;
}

.home-product-card:hover .home-slider-arrow {
    opacity: 1;
}

.home-slider-arrow:hover {
    background: rgba(255, 255, 255, 1);
}

.home-slider-prev {
    left: 8px;
}

.home-slider-next {
    right: 8px;
}

.home-slider-arrow svg {
    color: #333;
}

.home-product-info {
    padding: 14px 10px 20px;
}

.home-product-colors {
    display: flex;
    gap: 6px;
    margin-bottom: 8px;
}

.home-color-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.home-product-name {
    font-size: 0.9rem;
    font-weight: 600;
    /* letter-spacing: 0.08em; */
    color: #e5aa03;
    margin: 0 0 4px;
    font-family: "Noto Serif", serif;
}


.home-product-price {
    font-size: 1rem;
    font-weight: 500;
    color: #e5aa03;
    margin: 0;
    /* letter-spacing: 0.03em; */
    font-family: "Noto Serif", serif;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.home-product-price .sale-price {
    color: #e5aa03;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.home-product-price .original-price {
    color: #999;
    font-size: 0.85rem;
    text-decoration: line-through;
    display: flex;
    align-items: center;
    gap: 3px;
}

.home-product-price .discount-badge {
    background: #ff4444;
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 3px;
    letter-spacing: 0.03em;
}

.aed-icon {
    height: 14px;
    width: auto;
    vertical-align: middle;
}

.aed-icon-small {
    height: 11px;
    width: auto;
    vertical-align: middle;
}

/* Size Options */
.home-size-options {
    display: flex;
    gap: 5px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.home-size-btn {
    min-width: 28px;
    height: 24px;
    padding: 0 6px;
    border: 1px solid #e5aa03;
    background: #fff9e7;
    color: #000000;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
}

.home-size-btn:hover {
    border-color: #e5aa03;
    color: #e5aa03;
}

.home-size-btn.selected {
    background: #e5aa03;
    border-color: #e5aa03;
    color: #fff;
}

/* Add to Cart button on image */
.home-add-to-cart-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: #e5aa03;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.home-add-to-cart-btn:hover {
    background: #d49b02;
}

.home-product-card.size-selected .home-add-to-cart-btn {
    opacity: 1;
    transform: translateY(0);
}

/* ================================
   Home Banner Section
   ================================ */
.home-banner-section {
    width: 100%;
    overflow: hidden;
}

.home-banner {
    width: 100%;
    height: 100vh;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    position: relative;
    display: flex;
    align-items: center;
    /* justify-content: center; */
}

.home-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25);
    z-index: 1;
}

.home-banner-content {
    position: relative;
    z-index: 2;
    text-align: left;
    color: #ffffff;
    padding: 60px 20px 60px 80px;
    max-width: 900px;
    margin-left: 0;
}

.home-banner-title {
    font-size: 4rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    margin-bottom: 30px;
    text-transform: capitalize;
    /* font-family: 'Georgia', serif; */
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.home-banner-description {
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 0.02em;
    margin-bottom: 30px;
    max-width: 700px;
    line-height: 1.6;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.home-banner-btn {
    display: inline-block;
    padding: 14px 45px;
    border: 2px solid #ffffff;
    background: transparent;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.home-banner-btn:hover {
    background: #ffffff;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 992px) {
    .home-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .hero-btn {
        padding: 12px 35px;
        font-size: 0.8125rem;
    }
}

@media (max-width: 768px) {
    .home-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-slide {
        height: 70vh;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 25px;
    }

    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 20px;
        padding: 0 15px;
    }

    .hero-btn {
        padding: 11px 30px;
        font-size: 0.75rem;
    }

    .home-banner {
        height: 70vh;
    }

    .home-banner-content {
        padding: 50px 20px 50px 40px;
    }

    .home-banner-title {
        font-size: 2.5rem;
    }

    .home-banner-description {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .home-banner-btn {
        padding: 11px 30px;
        font-size: 0.75rem;
    }

    .main-content {
        padding: 30px 16px;
    }

    .container h1 {
        font-size: 2rem;
    }

    .container p {
        font-size: 1rem;
    }

    .home-editorial-wrapper {
        flex-direction: column;
    }

    .home-editorial-image {
        min-height: 50vh;
    }

    .home-editorial-content {
        padding: 40px 20px;
    }

    .home-editorial-heading {
        font-size: 2.2rem;
    }

    .home-tagline-section {
        padding: 60px 20px;
    }

    .home-tagline-heading {
        font-size: 1.8rem;
    }

    .home-tagline-script {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .home-collection-name {
        font-size: 0.7rem;
        padding: 12px 5px;
        letter-spacing: 0.1em;
    }

    .home-editorial-box {
        padding: 40px 25px;
    }

    .home-editorial-heading {
        font-size: 1.8rem;
    }

    .home-tagline-section {
        padding: 50px 16px;
    }

    .home-tagline-heading {
        font-size: 1.4rem;
    }

    .home-tagline-script {
        font-size: 1.8rem;
    }

    .home-tagline-description {
        font-size: 0.75rem;
    }

    .home-banner {
        height: 60vh;
    }

    .home-banner-content {
        padding: 40px 20px 40px 30px;
    }

    .home-banner-title {
        font-size: 2rem;
    }

    .home-banner-description {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .home-banner-btn {
        padding: 10px 25px;
        font-size: 0.6875rem;
        letter-spacing: 0.1em;
    }

    .home-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-products-section {
        padding: 30px 0;
    }

    .hero-slide {
        height: 60vh;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .hero-description {
        font-size: 0.85rem;
        margin-bottom: 18px;
        padding: 0 20px;
    }

    .hero-btn {
        padding: 10px 25px;
        font-size: 0.6875rem;
        letter-spacing: 0.1em;
    }

    .main-content {
        padding: 20px 12px;
    }

    .container h1 {
        font-size: 1.75rem;
    }

    .container p {
        font-size: 0.9375rem;
    }
}
