:root {
    /* Color Palette */
    --primary: #D4AF37;
    /* Gold */
    --primary-dark: #a3811b;
    --accent: #B8941F;
    --bg-light: #FDFCF0;
    /* Warm Off-White */
    --text-dark: #1a1a1a;
    --text-muted: #666;
    --white: #ffffff;
    --shadow-subtle: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 10px 15px rgba(0, 0, 0, 0.1);

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;

    /* Layout */
    --container-max-width: 1200px;
    --header-height: 80px;
    --header-height-scroll: 60px;
}

/* Base Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Accessibility */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--primary);
    color: var(--white);
    padding: 10px 20px;
    z-index: 10000;
}

.skip-link:focus {
    top: 0;
}

/* Section Common */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-outline {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* Navigation */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

#header.scrolled {
    background: var(--white);
    height: var(--header-height-scroll);
    box-shadow: var(--shadow-subtle);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary-dark);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Responsive Nav */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-dark);
    display: block;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    background: linear-gradient(135deg, #fdfcf0 0%, #f7f3d9 100%);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-tagline {
    display: block;
    color: var(--primary-dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-ctas {
    display: flex;
    gap: 20px;
}

.hero-slideshow-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    aspect-ratio: 4/5;
}

.hero-slideshow {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slideshow-nav {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slideshow-nav button {
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    transition: all 0.3s ease;
}

.slideshow-nav button:hover {
    background: var(--primary);
    color: var(--white);
}


@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 900px) {
    .hero {
        min-height: 60vh;
        padding-top: 100px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-subtitle {
        margin: 0 auto 30px;
    }

    .hero-ctas {
        justify-content: center;
    }

    .hero-slideshow-container {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* Collections Section */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 900px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}

.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.product-image {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.quick-enquire {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    transition: all 0.3s ease;
    opacity: 0;
}

/* Hide action buttons in Collections section as per request */
.collections .quick-enquire {
    display: none !important;
}

.product-card:hover .quick-enquire {
    bottom: 20px;
    opacity: 1;
}

.product-info {
    padding: 20px;
    text-align: center;
    flex-grow: 1;
}

.product-name {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.product-specs {
    font-size: 0.9rem;
    color: var(--text-muted);
}

@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}

/* Modals */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-light);
    width: 100%;
    max-width: 800px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-dark);
    z-index: 10;
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.modal-product-image {
    aspect-ratio: 1/1;
}

.modal-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-form-container {
    padding: 40px;
}

.modal-subtitle {
    color: var(--text-muted);
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.w-100 {
    width: 100%;
}

@media (max-width: 768px) {
    .modal-body {
        grid-template-columns: 1fr;
    }

    .modal-product-image {
        height: 250px;
    }

    .modal-form-container {
        padding: 25px;
    }
}

/* Wholesale Section */
.wholesale {
    background-color: var(--white);
}

.wholesale-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: stretch;
}

.wholesale-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.wholesale-benefits {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.wholesale-benefits li {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.benefit-icon {
    width: 40px;
    height: 40px;
    color: var(--primary);
    flex-shrink: 0;
}

.wholesale-benefits h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.wholesale-info {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 40px;
    border-left: 4px solid var(--primary);
}

.wholesale-info p {
    margin-bottom: 10px;
}

.wholesale-info p:last-child {
    margin-bottom: 0;
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.wholesale-image {
    display: flex;
}

.wholesale-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 900px) {
    .wholesale-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .wholesale-image {
        order: -1;
    }
}


/* Lightbox Specific */
.lightbox {
    background: rgba(0, 0, 0, 0.95);
    padding: 0;
}

.lightbox-content {
    width: 90%;
    max-width: 1000px;
    height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

#lightbox-caption {
    color: var(--white);
    margin-top: 20px;
    font-size: 1.2rem;
    font-family: var(--font-heading);
}

.lightbox .close-modal {
    color: var(--white);
    top: 30px;
    right: 30px;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--white);
    font-size: 3rem;
    cursor: pointer;
    padding: 20px;
    transition: color 0.3s;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    color: var(--primary);
}

@media (max-width: 768px) {

    .lightbox-prev,
    .lightbox-next {
        font-size: 2rem;
        padding: 10px;
    }
}

/* About Section */
.about {
    background: var(--bg-light);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 80px;
}

.about-img {
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
}

.shop-details {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.detail-item strong {
    color: var(--primary-dark);
    display: block;
    margin-bottom: 5px;
}

.map-wrapper {
    margin-top: 60px;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.map-cta {
    text-align: center;
    margin-top: 30px;
}

/* Testimonials */
.testimonials {
    background: var(--white);
    overflow: hidden;
}

.testimonial-carousel {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 30px;
}

.testimonial-card {
    min-width: calc(33.33% - 20px);
    background: var(--bg-light);
    padding: 40px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: var(--shadow-subtle);
}

.stars {
    color: var(--primary);
    font-size: 1.2rem;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.testimonial-author strong {
    color: var(--text-dark);
}

.testimonial-author span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.source {
    color: var(--primary-dark);
    font-style: italic;
    font-size: 0.8rem;
}

/* Contact Section */
.container-narrow {
    max-width: 700px;
}

.contact-grid {
    display: block;
    max-width: 900px;
    margin: 0 auto;
}

.map-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.map-card:hover {
    transform: translateY(-5px);
}

.map-frame {
    border-radius: 12px;
    overflow: hidden;
    min-height: 450px;
    /* Explicit height for map */
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    display: block;
    min-height: 450px;
    /* Ensure iframe fills container */
}

.map-cta {
    margin-top: 30px;
    display: flex;
    flex-direction: row;
    /* Side by side on desktop */
    justify-content: center;
    gap: 20px;
}

.whatsapp-redirect,
.map-cta .btn {
    flex: 1;
    /* Equal width */
    max-width: 280px;
    /* Prevent over-stretching */
    justify-content: center;
    width: auto;
    /* Reset width */
}

.whatsapp-redirect {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
}

@media (max-width: 900px) {
    .contact-grid {
        max-width: 100%;
    }

    .map-card {
        padding: 25px;
    }

    .map-frame {
        min-height: 300px;
    }

    .map-frame iframe {
        min-height: 300px;
    }

    .map-cta {
        flex-direction: column;
        /* Stack on mobile */
    }

    .whatsapp-redirect,
    .map-cta .btn {
        max-width: 100%;
        width: 100%;
    }
}

/* Footer */
#footer {
    background: var(--text-dark);
    color: #eee;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    color: var(--primary);
    margin-bottom: 20px;
    display: inline-block;
}

.footer-brand p {
    color: #aaa;
    margin-bottom: 30px;
}

.footer-socials {
    display: flex;
    gap: 20px;
}

.footer-socials a {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.footer-socials a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    margin-bottom: 25px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: #aaa;
}

.footer-links ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact p {
    color: #aaa;
    margin-bottom: 15px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #777;
}

.designer-link:hover {
    text-decoration: underline !important;
    opacity: 0.8;
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    width: 50vw;
    /* Half screen width */
    height: 100vh;
    /* Full height */
    background: var(--bg-light);
    z-index: 1500;
    display: flex;
    /* Always flex, visibility handles show/hide */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    border-left: 2px solid var(--primary);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2);

    /* Animation Props */
    visibility: hidden;
    opacity: 0;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1),
        opacity 0.3s ease,
        visibility 0s linear 0.3s;
}

.mobile-nav-overlay.active {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
    transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1),
        opacity 0.3s ease,
        visibility 0s linear 0s;
}

@media (prefers-reduced-motion: reduce) {
    .mobile-nav-overlay {
        transition: none;
    }
}

.mobile-nav-links {
    text-align: center;
}

.mobile-nav-links li {
    margin-bottom: 25px;
}

.mobile-nav-links a {
    font-size: 1.8rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-dark);
}

/* Scroll To Top */
.scroll-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s;
}

.scroll-top.active {
    display: flex;
}

@media (max-width: 900px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .testimonial-card {
        min-width: calc(50% - 15px);
    }
}

@media (max-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "brand brand"
            "links contact";
        gap: 30px 20px;
        /* Vertical gap 30px, Horizontal 20px */
        text-align: left;
    }

    .footer-brand {
        grid-area: brand;
        padding-right: 0;
        margin-bottom: 10px;
    }

    .footer-links {
        grid-area: links;
    }

    .footer-contact {
        grid-area: contact;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .testimonial-card {
        min-width: 100%;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-tagline {
        font-size: 0.8rem;
    }
}