:root {
    --primary-brown: #6B4226;
    --secondary-brown: #8B5E3C;
    --bg-beige: #F5E6D3;
    --soft-cream: #FAF3E8;
    --dark-text: #2E1A12;
    --accent-green: #3E5C3A;
    --whatsapp-green: #1F7A3E;
    --whatsapp-hover: #145A2A;
    --white: #FFFFFF;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', 'Open Sans', sans-serif;
    background-color: var(--bg-beige);
    color: var(--dark-text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    text-transform: uppercase;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 0;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 5px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--primary-brown);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--secondary-brown);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: var(--whatsapp-green);
    color: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-whatsapp:hover {
    background-color: var(--whatsapp-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

/* Header & Nav */
header {
    background-color: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    margin: 0 auto;
}

.logo {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--primary-brown);
    letter-spacing: 1px;
    white-space: nowrap;
    text-decoration: none;
}

/* Hamburger Menu Toggle */
.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle .bar {
    height: 3px;
    width: 100%;
    background-color: var(--primary-brown);
    border-radius: 10px;
    transition: var(--transition);
}

.nav-links {
    position: fixed;
    top: 70px;
    /* Height of header */
    right: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 50px;
    gap: 2.5rem;
    transition: 0.4s ease-in-out;
    display: flex;
    z-index: 999;
}

.nav-links.active {
    right: 0;
}

.nav-links li a {
    font-size: 1.25rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Mobile Header Fix – hamburger flush to right edge */
@media (max-width: 767px) {
    .nav-container {
        width: 100%;
        padding: 0;
        justify-content: flex-start;
    }

    .logo {
        padding-left: 16px;
    }

    .menu-toggle {
        margin-left: auto; /* pushes toggle to the right edge */
        margin-right: 8px; /* tiny gap from screen edge */
    }
}


/* Hamburger Animation */
.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Hero Section - Mobile First */
.hero {
    min-height: 450px;
    padding: 80px 0;
    /* Vertical padding for breathing room */
    background: linear-gradient(rgba(46, 26, 18, 0.65), rgba(46, 26, 18, 0.85)), url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
}

.hero h1 {
    font-size: 1.55rem;
    line-height: 1.4;
    margin-bottom: 20px;
    /* Space to subheading */
    width: 90%;
    max-width: 320px;
    text-shadow: none;
    font-weight: 700;
}

.hero p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 30px;
    /* Space to buttons */
    width: 90%;
    max-width: 300px;
    opacity: 0.85;
    /* Reduced visual weight */
}

.hero-btns {
    width: 90%;
    margin: 10px auto 0;
    /* Align and add top margin */
    display: flex;
    flex-direction: column;
    gap: 16px;
    /* Gap between buttons */
    max-width: 320px;
}

.hero-btns .btn {
    padding: 12px 20px;
    /* Reduced padding */
    font-size: 0.95rem;
}

/* ============================= */
/* Craftsman Section */
/* ============================= */

.craftsman-section {
    background-color: #f8f3ec;
    padding: 100px 20px;
}

.craftsman-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
}

/* Text Column */
.craftsman-text-col {
    flex: 1;
}

.craftsman-title {
    font-size: 2.6rem;
    font-family: 'Playfair Display', serif;
    color: #5a3e2b;
    /* primary brown */
    line-height: 1.2;
    margin-bottom: 20px;
}

.craftsman-desc {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #7a5a3a;
    /* secondary brown */
    max-width: 520px;
}

/* Image Column */
.craftsman-img-col {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.craftsman-img {
    width: 450px;
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.18));
}

/* ============================= */
/* Mobile Responsive */
/* ============================= */

@media (max-width: 768px) {

    .craftsman-section {
        padding: 60px 20px;
    }

    .craftsman-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .craftsman-title {
        font-size: 1.8rem;
    }

    .craftsman-desc {
        font-size: 1rem;
        max-width: 100%;
    }

    .craftsman-img-col {
        justify-content: center;
    }

    .craftsman-img {
        width: 75%;
    }
}

/* About Section */
.about {
    background-color: var(--soft-cream);
}

.about h2 {
    color: var(--primary-brown);
    margin-bottom: 1.5rem;
    text-align: center;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Products Section */
.products h2 {
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--primary-brown);
}

.product-carousel-container {
    position: relative;
    padding: 0 0 20px;
    margin: 0 -15px;
    overflow: hidden;
}

.product-grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 20px 15px;
    scrollbar-width: none;
    /* Hide scrollbar for clean look */
}

.product-grid::-webkit-scrollbar {
    display: none;
}

.product-card {
    flex: 0 0 85%;
    /* 85% width to show part of next card on mobile */
    scroll-snap-align: center;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.product-img {
    height: 200px;
    background-color: #ddd;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.product-info p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    min-height: 3rem;
    /* Keep text heights consistent for carousel */
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #E6D5C3;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--primary-brown);
    width: 20px;
    border-radius: 10px;
}

/* Why Choose Us */
.features {
    background-color: var(--primary-brown);
    color: var(--white);
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    /* More space for better readability */
}

.feature-item {
    text-align: center;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Gallery */
#gallery {
    padding-top: 2.5rem;
    padding-bottom: 0.5rem;
}

.section-title {
    margin-top: 0;
    margin-bottom: 0.3rem;
}

.gallery-carousel-container {
    position: relative;
    margin: 0 -15px;
    overflow: hidden;
}

.gallery-grid {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 5px 15px 20px;
    scrollbar-width: none;
}

.gallery-grid::-webkit-scrollbar {
    display: none;
}

.gallery-item {
    flex: 0 0 80%;
    scroll-snap-align: center;
    background-color: var(--white);
    padding: 14px;
    border: 1px solid #E6D5C3;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    overflow: hidden;
    /* Initial state for reveal animation */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
        transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
        box-shadow 0.3s ease;
}

.gallery-item.reveal {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Delays for sequential reveal */
.gallery-item:nth-child(1) {
    transition-delay: 0.1s;
}

.gallery-item:nth-child(2) {
    transition-delay: 0.2s;
}

.gallery-item:nth-child(3) {
    transition-delay: 0.3s;
}

.gallery-item:nth-child(4) {
    transition-delay: 0.4s;
}

.gallery-item:nth-child(5) {
    transition-delay: 0.5s;
}

.gallery-item:nth-child(6) {
    transition-delay: 0.6s;
}

/* Integrated Gallery More Card */
.gallery-more-item {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.gallery-more-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: var(--primary-brown);
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 1.4rem;
    transition: var(--transition);
    text-align: center;
}

.gallery-more-card i {
    font-size: 1.6rem;
    transition: transform 0.3s ease;
}

.gallery-more-card:hover {
    color: var(--secondary-brown);
}

.gallery-more-card:hover i {
    transform: translateX(5px);
}

/* Testimonials */
.testimonial-carousel-container {
    position: relative;
    margin: 0 -15px;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 20px 15px;
    scrollbar-width: none;
}

.testimonial-track::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    flex: 0 0 85%;
    scroll-snap-align: center;
    background-color: var(--white);
    padding: 3rem 2rem;
    border-radius: 20px;
    border: 1px solid #E6D5C3;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 1.2rem;
    position: relative;
    aspect-ratio: auto;
    min-height: 400px;
}

@media (max-width: 480px) {
    .testimonial-card {
        aspect-ratio: auto;
        /* Remove fixed ratio on tiny screens to prevent text cut-off */
        padding: 2.5rem 1.5rem;
    }
}

.quote-icon {
    font-size: 2rem;
    color: var(--primary-brown);
    opacity: 0.2;
}

.stars {
    color: #D4AF37;
    /* Warm gold */
    font-size: 0.9rem;
}

.testimonial-text {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.5;
    color: var(--dark-text);
}

.testimonial-author {
    margin-top: auto;
    display: flex;
    flex-direction: column;
}

.testimonial-author strong {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-brown);
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--secondary-brown);
}

/* Flex & Banner Services */
.banner-carousel-container {
    position: relative;
    margin: 0 -15px;
    overflow: hidden;
}

.banner-track {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 20px 15px;
    scrollbar-width: none;
}

.banner-track::-webkit-scrollbar {
    display: none;
}

.banner-card {
    flex: 0 0 75%;
    scroll-snap-align: center;
    background-color: var(--white);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid #E6D5C3;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.2rem;
    transition: var(--transition);
    aspect-ratio: auto;
    min-height: 320px;
}

.banner-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-brown);
}

.banner-icon {
    font-size: 2.5rem;
    color: var(--primary-brown);
    margin-bottom: 0.5rem;
}

.banner-card h3 {
    font-size: 1.25rem;
    color: var(--primary-brown);
    font-family: 'Cinzel', serif;
}

.banner-card p {
    font-size: 0.95rem;
    color: var(--dark-text);
    line-height: 1.5;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    transition: 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.gallery-item:hover img {
    transform: scale(1.03);
}

/* Custom Idea Product Card */
.custom-idea-card {
    background: linear-gradient(135deg, var(--white) 0%, #fef8f0 100%) !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 2px dashed #e9dfd3 !important;
    padding: 2rem !important;
}

.custom-idea-card .product-info {
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.custom-card-icon {
    font-size: 2.5rem;
    color: var(--primary-brown);
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.custom-idea-card h3 {
    font-size: 1.3rem !important;
    color: var(--primary-brown);
    font-family: 'Cinzel', serif;
}

.custom-idea-card p {
    color: var(--secondary-brown) !important;
    font-size: 0.95rem;
    min-height: auto !important;
    margin-bottom: 1.5rem !important;
}

.custom-idea-card .btn-whatsapp {
    width: 100%;
}

/* --- Minimalist Contact Section Redesign --- */
.contact-section {
    background: linear-gradient(rgba(248, 243, 236, 0.85), rgba(248, 243, 236, 0.85)),
        url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 100px 0;
    border-top: 1px solid #e9dfd3;
}

.contact-header-minimal {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.contact-header-minimal h2 {
    font-family: 'Cinzel', serif;
    font-size: 2.2rem;
    color: var(--primary-brown);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.contact-header-minimal p {
    font-family: 'Montserrat', sans-serif;
    color: var(--secondary-brown);
    font-size: 1.1rem;
    line-height: 1.6;
}

.contact-grid-minimal {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

/* Contact Info Block */
.contact-info-minimal {
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
    padding: 0 20px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.info-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--secondary-brown);
    letter-spacing: 1px;
}

.info-value {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.1rem;
    color: var(--dark-text);
}

.btn-whatsapp-primary-minimal {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #1f7a3f;
    /* Dark Green */
    color: var(--white);
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    transition: transform 0.3s ease, background-color 0.3s ease;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(31, 122, 63, 0.2);
}

.btn-whatsapp-primary-minimal:hover {
    background-color: #165c2f;
    transform: translateY(-2px);
}

/* Quote Card - Styled as a small square panel */
.quote-card-minimal {
    background: var(--white);
    padding: 30px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    max-width: 400px;
    /* More compact */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border: 1px solid #f1e6d8;
}

@media (max-width: 480px) {

    /* Compact Contact Section for Mobile */
    .contact-section {
        padding: 40px 0;
    }

    .contact-header-minimal {
        margin-bottom: 25px;
        padding: 0 15px;
    }

    .contact-header-minimal h2 {
        font-size: 1.6rem;
        margin-bottom: 0.5rem;
    }

    .contact-header-minimal p {
        font-size: 0.95rem;
    }

    .contact-grid-minimal {
        gap: 20px;
    }

    .contact-info-minimal {
        gap: 12px;
        padding-bottom: 15px;
        border-bottom: 1px dashed #e9dfd3;
    }

    .info-item {
        gap: 2px;
    }

    .info-label {
        font-size: 0.75rem;
    }

    .info-value {
        font-size: 0.95rem;
    }

    .btn-whatsapp-primary-minimal {
        padding: 12px 25px;
        font-size: 0.9rem;
        margin-top: 10px;
    }

    .quote-card-minimal {
        padding: 20px;
        border-radius: 18px;
        max-width: 100%;
        margin: 0 10px;
    }

    .quote-card-minimal h3 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }

    .minimal-form {
        gap: 10px;
    }

    .minimal-form .form-group input,
    .minimal-form .form-group textarea {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .btn-submit-minimal {
        padding: 12px;
        font-size: 0.9rem;
        margin-top: 5px;
    }
}

.quote-card-minimal h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: var(--primary-brown);
    text-align: center;
    margin-bottom: 25px;
    line-height: 1.2;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-family: 'Cinzel', serif;
    color: inherit;
    /* Respects parent section color */
}

.minimal-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.minimal-form .form-group input,
.minimal-form .form-group textarea {
    width: 100%;
    padding: 12px 18px;
    border: 1px solid #e9dfd3;
    border-radius: 14px;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95rem;
    background-color: #fdfdfd;
    transition: all 0.3s ease;
}

.minimal-form .form-group input:focus,
.minimal-form .form-group textarea:focus {
    outline: none;
    border-color: #1f7a3f;
}

.btn-submit-minimal {
    background-color: #1f7a3f;
    color: var(--white);
    padding: 15px;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
    margin-top: 5px;
}

.btn-submit-minimal:hover {
    background-color: #165c2f;
}

/* Map frame simple */
.map-minimal-frame {
    margin-top: 60px;
    border-radius: 20px;
    overflow: hidden;
    height: 300px;
    border: 1px solid #e9dfd3;
}

.map-placeholder-clean {
    height: 100%;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--secondary-brown);
    font-style: italic;
}

/* Sticky Mobile Bar */
.sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.sticky-btn {
    flex: 1;
    padding: 15px;
    text-align: center;
    font-weight: 700;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
}

.sticky-call {
    background-color: var(--primary-brown);
    color: var(--white);
}

.sticky-whatsapp {
    background-color: #1f7a3f;
    color: var(--white);
}

/* Hide Sticky Bar on Desktop */
@media (min-width: 768px) {
    .sticky-bar {
        display: none;
    }
}

/* --- Gallery Page Specific Styles --- */
.gallery-page {
    background-color: var(--soft-cream);
}

.gallery-hero {
    background: linear-gradient(rgba(245, 230, 211, 0.82), rgba(245, 230, 211, 0.95)),
        url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 60px 0 30px;
    text-align: center;
    border-bottom: 1px solid #E6D5C3;
}

.gallery-hero h1 {
    font-size: 2rem;
    color: var(--dark-text);
    margin-bottom: 0.6rem;
    font-family: 'Cinzel', serif;
}

.gallery-hero p {
    font-size: 0.95rem;
    color: var(--secondary-brown);
    max-width: 500px;
    margin: 0 auto;
    font-family: 'Montserrat', sans-serif;
}

/* Main Gallery Grid – Mobile First: 2 columns */
.gallery-main {
    padding: 20px 12px 80px;
}

.gallery-grid-main {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Tablet: 3 columns */
@media (min-width: 768px) {
    .gallery-grid-main {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    .gallery-main {
        padding: 24px 16px 80px;
    }
    .gallery-hero h1 {
        font-size: 2.5rem;
    }
    .gallery-hero p {
        font-size: 1.05rem;
    }
}

/* Desktop: 4 columns */
@media (min-width: 1100px) {
    .gallery-grid-main {
        grid-template-columns: repeat(4, 1fr);
        gap: 14px;
    }
    .gallery-main {
        padding: 28px 20px 100px;
    }
}

/* Product Card – image fills edge-to-edge */
.gallery-card-main {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    background: var(--white);
    padding: 0;
    border: 1.5px solid #dcc9b0;
    box-shadow: 0 2px 8px rgba(107, 66, 38, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
}

.gallery-card-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    transition: transform 0.35s ease;
}

/* Tap/hover zoom – image only, card stays stable */
.gallery-card-main:hover {
    box-shadow: 0 6px 20px rgba(107, 66, 38, 0.18);
    transform: translateY(-2px);
}

.gallery-card-main:hover img {
    transform: scale(1.06);
}

/* Subtle zoom-icon overlay on hover */
.gallery-card-main::after {
    content: '\f00e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(46, 26, 18, 0.28);
    opacity: 0;
    transition: opacity 0.25s ease;
    border-radius: 8px;
}

.gallery-card-main:hover::after {
    opacity: 1;
}

/* ===== Gallery CTA Card ===== */
.gallery-cta-card {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
    padding: 16px 14px;
    background: linear-gradient(145deg, #fef8f0 0%, #f5e9d6 60%, #ecdcc8 100%);
    position: relative;
    overflow: hidden; /* hard clip — nothing escapes the square */
}

/* Disable the image-zoom pseudo-element on the CTA card */
.gallery-cta-card::after {
    display: none !important;
}

/* Subtle woodgrain texture lines */
.gallery-cta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -55deg,
        transparent,
        transparent 18px,
        rgba(107, 66, 38, 0.03) 18px,
        rgba(107, 66, 38, 0.03) 19px
    );
    pointer-events: none;
    border-radius: 8px;
}

.gallery-cta-icon {
    font-size: clamp(1.4rem, 4.5vw, 2.2rem);
    line-height: 1;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(107, 66, 38, 0.2));
}

.gallery-cta-label {
    font-family: 'Cinzel', serif;
    font-weight: 900;
    font-size: clamp(0.48rem, 1.8vw, 0.78rem);
    letter-spacing: 1px;
    color: var(--primary-brown);
    text-transform: uppercase;
    line-height: 1.15;
}

.gallery-cta-desc {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(0.5rem, 1.6vw, 0.7rem);
    color: var(--secondary-brown);
    line-height: 1.35;
    margin: 1px 0 2px;
    /* Hidden on small mobile — shown on tablet+ */
    display: none;
}

@media (min-width: 480px) {
    .gallery-cta-desc {
        display: block;
    }
}

.gallery-cta-btn {
    display: inline-block;
    background-color: var(--primary-brown);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: clamp(0.45rem, 1.5vw, 0.68rem);
    letter-spacing: 0.6px;
    padding: 5px 11px;
    border-radius: 50px;
    text-transform: uppercase;
    flex-shrink: 0;
    transition: background-color 0.25s ease, transform 0.2s ease;
    position: relative;
    z-index: 1;
}

.gallery-cta-card:hover {
    background: linear-gradient(145deg, #fdf3e7 0%, #f0dfc8 60%, #e5d0b5 100%);
    box-shadow: 0 8px 24px rgba(107, 66, 38, 0.22);
    transform: translateY(-3px);
}

.gallery-cta-card:hover .gallery-cta-btn {
    background-color: var(--secondary-brown);
    transform: scale(1.04);
}

/* ===== Lightbox Modal ===== */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    inset: 0;
    background-color: rgba(20, 10, 5, 0.93);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 16px;
}

.lightbox.active {
    opacity: 1;
}

.lightbox-content {
    max-width: 94vw;
    max-height: 88vh;
    border-radius: 8px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
    transform: scale(0.88);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    object-fit: contain;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

/* Close button – large tap target for mobile */
.lightbox-close {
    position: absolute;
    top: 14px;
    right: 18px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    color: #f5f0eb;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    border: 1px solid rgba(255,255,255,0.2);
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.lightbox-close:hover,
.lightbox-close:active {
    background: rgba(255, 255, 255, 0.24);
    transform: scale(1.1);
}

/* Nav Link Active State */
.nav-links a.active {
    color: var(--primary-brown);
    border-bottom: 2px solid var(--primary-brown);
}

/* Professional Icon Styles */
.feature-icon i {
    color: var(--white);
    /* Visible against brown background */
}

.premium-icon i {
    color: var(--primary-brown);
}

.sticky-btn i {
    margin-right: 8px;
}

/* Footer */
footer {
    background: linear-gradient(rgba(46, 26, 18, 0.95), rgba(46, 26, 18, 0.95)),
        url('images/workshop.jpg');
    /* Local background texture or workshop image */
    background-size: cover;
    background-position: center;
    color: var(--soft-cream);
    padding: 5rem 0;
    /* Increased padding for breathing space */
    text-align: center;
    position: relative;
    border-top: 3px solid #D4AF37;
    /* Gold/Beige accent line at the very top */
}

footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-links {
    width: 100%;
    max-width: 800px;
    margin-bottom: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(250, 243, 232, 0.2);
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem 2.5rem;
}

.footer-links a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 1.1rem;
    letter-spacing: 1px;
    color: var(--soft-cream);
    text-transform: uppercase;
    position: relative;
    padding-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    /* Soft shadow for depth */
}

.footer-links a:hover {
    color: var(--bg-beige);
}

/* Subtle underline animation from left to right */
.footer-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #D4AF37;
    /* Gold accent */
    transition: width 0.3s ease;
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-seo {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 1.5rem;
    max-width: 800px;
}

.footer-copyright {
    font-size: 0.85rem;
    opacity: 0.6;
}

/* Desktop Responsiveness */
@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }

    .nav-links {
        position: static;
        width: auto;
        height: auto;
        background-color: transparent;
        flex-direction: row;
        padding-top: 0;
        gap: 2rem;
        display: flex;
    }

    .nav-links li a {
        font-size: 1rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .hero {
        height: 80vh;
        padding: 0 2rem;
    }

    .hero h1 {
        font-size: 3.5rem;
        max-width: 900px;
        line-height: 1.2;
        margin-bottom: 2rem;
        text-shadow: none;
        /* Keep clean and sharp */
    }

    .hero p {
        font-size: 1.2rem;
        max-width: 700px;
        margin-bottom: 3rem;
    }

    .hero-btns {
        flex-direction: row;
        max-width: none;
        justify-content: center;
        gap: 2rem;
        margin-top: 0;
    }

    .hero-btns .btn {
        padding: 15px 30px;
    }

    .product-carousel-container {
        margin: 0;
        overflow: visible;
    }

    .product-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        overflow-x: visible;
        padding: 0;
        scroll-snap-type: none;
    }

    .product-card {
        flex: none;
    }

    .feature-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-carousel-container {
        margin: 0;
        overflow: visible;
    }

    .gallery-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        overflow-x: visible;
        padding: 0;
        scroll-snap-type: none;
    }

    .gallery-item {
        flex: none;
    }

    .contact-grid-minimal {
        flex-direction: row;
        align-items: center;
        /* Center vertically on desktop */
        justify-content: center;
        /* Center horizontally */
        gap: 80px;
    }

    .contact-info-minimal {
        flex: 0 1 auto;
        /* Don't stretch */
        align-items: flex-start;
        text-align: left;
        padding: 0;
    }

    .quote-card-minimal {
        flex: 0 1 400px;
        /* Fixed width basis */
        margin: 0;
    }

    .footer-links {
        flex-direction: row;
        justify-content: center;
        gap: 3rem;
    }

    .sticky-bar {
        display: none;
        /* Hide on desktop */
    }

    .testimonial-carousel-container {
        margin: 0;
        overflow: visible;
    }

    .testimonial-track {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 30px;
        overflow-x: visible;
        padding: 0;
        scroll-snap-type: none;
    }

    .testimonial-card {
        flex: none;
    }

    .banner-carousel-container {
        margin: 0;
        overflow: visible;
    }

    .banner-track {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
        overflow-x: visible;
        padding: 0;
        scroll-snap-type: none;
    }

    .banner-card {
        flex: none;
    }
}

@media (max-width: 480px) {
    .banner-card {
        padding: 1.5rem;
        gap: 0.8rem;
    }

    .banner-icon {
        font-size: 2rem;
    }

    .banner-card h3 {
        font-size: 1.1rem;
    }

    .banner-card p {
        font-size: 0.85rem;
    }
}

@media (min-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}