@charset "utf-8";
/* CSS Document 

TemplateMo 611 Maison Doree

https://templatemo.com/tm-611-maison-doree

*/

:root {
	--color-cream: #FFFBF5;
	--color-ivory: #F7F3ED;
	--color-warm-white: #FEFCF9;
	--color-gold: #B8860B;
	--color-gold-light: #D4A853;
	--color-gold-dark: #8B6914;
	--color-charcoal: #1c1c1c;
	--color-charcoal-soft: #3A3A3A;
	--color-taupe: #A69080;
	--color-taupe-light: #C4B5A5;

	--font-display: 'Cormorant Garamond', Georgia, serif;
	--font-body: 'DM Sans', -apple-system, sans-serif;

	--space-xs: 0.5rem;
	--space-sm: 1rem;
	--space-md: 2rem;
	--space-lg: 4rem;
	--space-xl: 6rem;
	--space-2xl: 10rem;
}

*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-body);
	font-size: 18px;
	line-height: 1.6;
	color: var(--color-charcoal);
	background-color: var(--color-cream);
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}

/* Typography */
.heading-display {
	font-family: var(--font-display);
	font-weight: 300;
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.heading-editorial {
	font-family: var(--font-display);
	font-weight: 400;
	font-style: italic;
	line-height: 1.2;
}

.text-label {
	font-family: var(--font-body);
	font-size: 0.85rem;
	font-weight: 500;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--color-taupe);
}

.text-body {
	font-family: var(--font-body);
	font-size: 1.1rem;
	line-height: 1.7;
	color: var(--color-charcoal-soft);
}

/* Layout Utilities */
.container {
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 var(--space-md);
}

.container--narrow {
	max-width: 900px;
}

.container--wide {
	max-width: 1600px;
}

/* ========================================
   HEADER / NAVIGATION (SMALLER & CLEAN)
   ======================================== */

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	padding: 0.25rem 0; /* ⬅️ reduced a lot */
	background: linear-gradient(to right, #ffffff, #A34318);
	transition: background 0.4s ease, padding 0.4s ease;
}

.site-header {
	filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.12));
}

/* remove overlay */
.site-header::before {
	display: none;
}

/* scrolled state */
.site-header.scrolled {
	background-color: #ffffff;
	padding: 0.2rem 0; /* ⬅️ even smaller on scroll */
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

/* inner header layout */
.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

/* ========================================
   LOGO
   ======================================== */

.logo {
	display: flex;
	align-items: center;
	gap: 10px;                       /* ⬅️ reduced gap */
	text-decoration: none;
	padding: 2px 6px;                /* ⬅️ reduced padding */
	font-family: var(--font-display);
}

.logo img {
	height: 56px;                    /* ⬅️ BIGGEST FIX (was 80px) */
	width: auto;
	filter: drop-shadow(0 3px 6px rgba(75, 43, 25, 0.25));
}

/* logo text */
.logo-text {
	font-size: 22px;                 /* ⬅️ reduced */
	font-weight: 700;
	letter-spacing: 0.4px;
	color: #4b2b19;
	line-height: 1.05;
}

.logo-text span {
	display: block;
	font-size: 15px;                 /* ⬅️ reduced */
	font-weight: 600;
	letter-spacing: 0.8px;
	color: #6b3f24;
}


/* ========================================
   NAVIGATION
   ======================================== */

.nav-main {
	display: flex;
	align-items: center;
	gap: 3.0rem;                     /* ⬅️ tighter spacing */
	height: auto;
}

/* right nav links */
.nav-main a {
	color: #ffffff;
	font-size: 15px;        /* ⬅️ smaller text */
}

/* hover */
.nav-main a:not(.nav-cta):hover {
	color: rgba(255, 255, 255, 0.85);
}

/* Keeps the dropdown aligned with other links */
.dropdown {
    display: inline-block;
    position: relative;
}

/* The actual menu box */
.dropdown-content {
    display: none; /* Hidden by default */
    position: absolute;
    background-color: #8d583e; /* Matches your header's warm brown */
    min-width: 180px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    z-index: 1000;
    border-radius: 0 0 4px 4px; /* Rounded bottom corners only */
}

/* Links inside the dropdown */
.dropdown-content a {
    color: white !important; /* Forces white text like your nav */
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.1); /* Subtle divider */
}

/* Hover effect for dropdown items */
.dropdown-content a:hover {
    background-color: #6e432f; /* Slightly darker brown on hover */
}

/* The Trigger: Show the menu when hovering over the container */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Ensures the main link stays white on hover */
.dropdown:hover .dropbtn {
    opacity: 0.8;
}

/* CTA button */
.nav-cta {
	font-family: var(--font-body);
	font-size: 2;              /* ⬅️ smaller */
	font-weight: 1000;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 0.45rem 0.9rem;         /* ⬅️ reduced padding */
	color: #ffffff;
	border: 2px solid #ffffff;
	transition: all 0.3s ease;
}

/* CTA hover */
.nav-cta:hover {
	background-color: #ffffff;
	color: #A34318;
}

/* ========================================
   MOBILE NAV
======================================== */

/* Hamburger Button */

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1002;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

/* Dropdown submenu */

.mobile-submenu {
    display: none;
    list-style: none;
    padding-left: 20px;
    margin-top: 10px;
}

.mobile-submenu.active {
    display: block;
}

.arrow {
    font-size: 0.8em;
    transition: transform 0.3s;
    display: inline-block;
}

.rotate-arrow {
    transform: rotate(180deg);
}

/* Mobile Navigation Panel */

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: #ffffff;
    z-index: 1001;

    display: flex;
    flex-direction: column;

    padding: 80px 40px;

    transition: right 0.4s cubic-bezier(0.16,1,0.3,1);

    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
}

.mobile-nav.active {
    right: 0;
}

/* Navigation Links */

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-links li {
    margin-bottom: 25px;
}

.mobile-nav-links a {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--color-charcoal);
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-nav-links a:hover {
    color: #A34318;
}

/* Close Button */

.mobile-nav-close {
    position: absolute;
    top: 25px;
    right: 25px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--color-charcoal);
}

/* Overlay */

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;

    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(4px);

    z-index: 1000;

    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive */

@media (max-width: 991px) {

    .nav-main {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

}

/* ========================================
   GLOBAL/SHARED BACKGROUND
   ======================================== */
body {
    margin: 0;
    padding: 0;
    /* This background now covers everything */
    background-image: url('images/marble-texture-background_38679-1053.avif'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed; 
    background-repeat: no-repeat;
}

/* ========================================
   CUSTOM HERO SECTION
   ======================================== */

.hero-custom {
    padding-top: 100px; 
    padding-bottom: 20px;
    position: relative;
    width: 100%;
    
    /* REMOVED: Individual background-image and color */
    background: transparent; 
}

/* --- SMALLER HEADING --- */
.hero-title {
    text-align: center;
    margin-bottom: var(--space-lg);
    color: #4b1b06; 
    font-weight: 800; 
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    
    position: relative;
    display: inline-block;
    padding: 15px 30px; 
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.hero-title::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border: 2px solid #823210;
    mask-image: linear-gradient(45deg, black 15%, transparent 15%, transparent 85%, black 85%);
    -webkit-mask-image: linear-gradient(45deg, black 15%, transparent 15%, transparent 85%, black 85%);
}

.hero-content-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.hero-text-side {
    padding-left: var(--space-md);
    border-left: 3px solid #4b1b06 !important; 
}

.hero-text-side p {
    color: #4b1b06 !important; 
    font-weight: 600; 
    line-height: 1.6;
    margin: 0;
    
    /* Keep the semi-transparent box so text is readable over the new background */
    background-color: rgba(255, 255, 255, 0.6); 
    padding: 25px;
    border-radius: 4px;
    backdrop-filter: blur(8px); 
}

/* --- IMAGE STYLING --- */
.hero-images-row {
    display: flex;
    gap: var(--space-sm);
    align-items: center; 
}

.hero-image-wrapper {
    flex: 1;
    aspect-ratio: 3/4;
    overflow: hidden;
    transition: all 0.5s ease;
}

.hero-image-wrapper:nth-child(1),
.hero-image-wrapper:nth-child(3) {
    background-color: transparent;
    box-shadow: none;
}

.hero-image-wrapper:nth-child(2) {
    background-color: #ffffff;
    padding: 10px; 
    border: 2px solid #823210; 
    box-shadow: 0 15px 35px rgba(75, 27, 6, 0.25); 
    transform: scale(1.08); 
    z-index: 5;
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
    .hero-content-grid {
        grid-template-columns: 1fr;
    }
    .hero-text-side {
        padding-left: 0;
        border-left: none;
        border-top: 3px solid #4b1b06 !important; 
        padding-top: var(--space-md);
        margin-top: var(--space-md);
    }
}

/* ========================================
   SECTION
======================================== */
.gallery-grid {
    max-width: 1200px;
    margin: 0 auto;
}

/* ========================================
   TOP ROW (3 IMAGES)
======================================== */
.gallery-top {
    display: grid;
    grid-template-columns: repeat(3, 280px); /* 👈 fixed smaller width */
    justify-content: center; /* center the row */
    gap: 30px; /* slightly reduced spacing */
    margin-bottom: 40px;
}

/* Container size */
.gallery-top .gallery-item {
    width: 280px;
    aspect-ratio: 1024 / 1536;
}

/* Image styling */
.gallery-top img {
    width: 100%;
    height: 100%;
    padding-top: 30px; /* slightly reduced */
    object-fit: cover;
    display: block;
}

/* 🔥 Remove frame, border, shadow for 1st & 3rd */
.gallery-top .gallery-item:nth-child(1),
.gallery-top .gallery-item:nth-child(3) {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* Remove any inner borders */
.gallery-top .gallery-item:nth-child(1) *,
.gallery-top .gallery-item:nth-child(3) * {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* Remove top spacing for side images */
.gallery-top .gallery-item:nth-child(1) img,
.gallery-top .gallery-item:nth-child(3) img {
    padding-top: 0 !important;
    margin: 0 !important;
}

/* ========================================
   PINTEREST MASONRY
======================================== */
.gallery-masonry {
    column-count: 3;
    column-gap: 40px;
}

.gallery-masonry .gallery-item {
    break-inside: avoid;
    margin-bottom: 40px;
}

/* ========================================
   CARD STYLE
======================================== */
.gallery-item {
    background-color: #fff; 
    border: 12px solid #5D4037; 
    outline: 1px solid #D7CCC8; 
    outline-offset: -12px;
    padding: 20px; 
    box-shadow: 0 15px 35px rgba(0,0,0,0.3); 
    overflow: hidden;
    transition: transform 0.3s ease;
}

/* ========================================
   IMAGE
======================================== */
.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    border: 1px solid #3E2723;
    filter: grayscale(15%);
    transition: transform 0.4s ease, filter 0.3s ease;

    border-radius: 0;
}

/* ========================================
   HOVER
======================================== */
.gallery-item:hover {
    transform: translateY(-8px);
}

.gallery-item:hover img {
    transform: scale(1.08);
    filter: grayscale(0%);
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 1024px) {
    .gallery-top {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-masonry {
        column-count: 2;
    }
}

@media (max-width: 768px) {
    .gallery-top {
        grid-template-columns: 1fr;
    }

    .gallery-masonry {
        column-count: 1;
    }
}

/* ========================================
            FOOTER - Full Updated
   ======================================== */
.site-footer {
    margin-top: 30px; 
    
    /* 1. BACKGROUND IMAGE SETUP */
    background: linear-gradient(rgba(255, 255, 245, 0.479), rgba(255, 255, 245, 0.425)), 
                url('images/stucco-stained-surface_1194-7708.avif'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    /* 2. BASE TEXT COLOR (Dark Brown) */
    color: #3D2B1F; 
    padding: 40px;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: var(--space-lg);
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(61, 43, 31, 0.15);
}

/* Column 1: Brand & Logo Alignment */
.footer-brand {
    padding-right: var(--space-md);
    display: flex;
    flex-direction: column;
}

/* NEW: Flex container for side-by-side layout */
.footer-logo-container {
    display: flex;
    align-items: center;    /* Vertically centers logo with text */
    gap: 15px;              /* Space between image and text */
    margin-bottom: 20px;    /* Space before tagline */
}

.footer-logo-img {
    height: 60px;           /* Adjust as needed */
    width: auto;
    display: block;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.03em;
    margin-bottom: 0;       /* Removed margin to align with logo image */
    color: #3D2B1F;
    line-height: 1;         /* Improves vertical centering */
}

.footer-logo span {
    color: #5C4033;
}

/* Rest of the styling */
.footer-tagline {
    font-size: 1rem;
    color: #5C4033;
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.footer-contact-info p {
    font-size: 0.95rem;
    color: #5C4033;
    margin-bottom: var(--space-xs);
}

.footer-contact-info a {
    color: #3D2B1F;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-info a:hover {
    color: #8B4513;
}

/* Column Headers */
.footer-column-title {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600; /* Increased weight for visibility */
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #3D2B1F; 
    margin-bottom: var(--space-md);
}

/* Column Links */
.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    font-size: 1rem;
    color: #5C4033;
    transition: color 0.3s ease;
    text-decoration: none;
}

.footer-links a:hover {
    color: #3D2B1F;
    font-weight: 500;
}

/* Column 4: About Website */
.footer-about p {
    font-size: 0.95rem;
    color: #5C4033;
    line-height: 1.7;
    margin-bottom: var(--space-sm);
}

.footer-about a {
    color: #3D2B1F;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-about a:hover {
    color: #8B4513;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    font-size: 0.85rem;
    color: #5C4033;
}

.footer-copyright a {
    color: #3D2B1F;
    transition: color 0.3s ease;
}

.footer-social {
    display: flex;
    gap: var(--space-md);
}

.footer-social a {
    font-size: 0.9rem;
    color: #3D2B1F;
    transition: transform 0.3s ease, color 0.3s ease;
}

.footer-social a:hover {
    color: #8B4513;
    transform: translateY(-2px);
}

/* ========================================
            RESPONSIVE STYLES
   ======================================== */
@media (max-width: 1200px) {
    .hero { grid-template-columns: 1fr 1fr; }
    .hero-content {
        padding: var(--space-md) var(--space-md);
        padding-left: var(--space-lg);
    }
    .collections-grid { grid-template-columns: repeat(6, 1fr); }
    .collection-item:nth-child(1) { grid-column: 1 / 4; grid-row: 1 / 2; }
    .collection-item:nth-child(2) { grid-column: 4 / 7; grid-row: 1 / 2; }
    .collection-item:nth-child(3) { grid-column: 1 / 3; grid-row: 2 / 3; }
    .collection-item:nth-child(4) { grid-column: 3 / 5; grid-row: 2 / 3; }
    .collection-item:nth-child(5) { grid-column: 5 / 7; grid-row: 2 / 3; }
    .collection-item:nth-child(1) .collection-image { min-height: 350px; }
}

@media (max-width: 1100px) {
    .logo { font-size: 1.5rem; }
    .nav-main { gap: var(--space-md); }
    .nav-main a:not(.nav-cta) { font-size: 0.85rem; }
    .nav-cta { font-size: 0.75rem; padding: 0.7rem 1rem; }
    .craft-stats {
        gap: var(--space-md);
        padding: var(--space-sm) var(--space-md);
        left: var(--space-md);
        right: var(--space-md);
    }
}

@media (max-width: 860px) {
    .nav-main { display: none; }
    .menu-toggle { display: flex; }
    .hero { grid-template-columns: 1fr; height: auto; max-height: none; }
    .hero-content { padding: calc(var(--space-lg) + 60px) var(--space-md) var(--space-lg); order: 2; }
    .hero-image { order: 1; height: 400px; clip-path: none; }
    .hero-image-overlay { display: none; }
    .featured-grid, .story-grid, .craft-grid, .contact-grid { grid-template-columns: 1fr; }
    .featured-content { padding-right: 0; order: 2; }
    .featured-image-wrapper { order: 1; }
    .story-content { padding-right: 0; }
    .craft-content { order: 2; }
    .craft-image-wrapper { order: 1; }
    .craft-stats { position: static; margin-top: var(--space-md); justify-content: center; }
    .testimonials-grid { grid-template-columns: 1fr; gap: var(--space-md); }
    .contact-content { padding-right: 0; }
    
    .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
    .footer-brand { grid-column: 1 / -1; padding-right: 0; }
    .footer-bottom { flex-direction: column; gap: var(--space-md); text-align: center; }
}

@media (max-width: 768px) {
    .collections-grid { grid-template-columns: 1fr 1fr; }
    .collection-item:nth-child(1) { grid-column: 1 / -1; grid-row: auto; }
    .collection-item:nth-child(2), .collection-item:nth-child(3), 
    .collection-item:nth-child(4), .collection-item:nth-child(5) { grid-column: auto; grid-row: auto; }
    .collection-item:nth-child(1) .collection-image { min-height: 300px; }
    .collection-overlay { opacity: 1; }
    .story-images { grid-template-columns: 1fr; gap: var(--space-sm); }
    .story-image:first-child { margin-top: 0; }
    .section-header { flex-direction: column; align-items: flex-start; gap: var(--space-md); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonial-card:nth-child(3) { grid-column: 1 / -1; }
}

@media (max-width: 576px) {
    :root {
        --space-lg: 3rem;
        --space-xl: 4rem;
        --space-2xl: 6rem;
    }
    .site-footer { margin-top: var(--space-xl); }
    .hero-actions { flex-direction: column; align-items: flex-start; }
    .collections-grid { grid-template-columns: 1fr; }
    .collection-item:nth-child(n) { grid-column: 1; }
    .craft-stats { flex-direction: column; gap: var(--space-md); }
    .testimonials-grid { grid-template-columns: 1fr; }
    .testimonial-card:nth-child(3) { grid-column: auto; }
    .footer-grid { grid-template-columns: 1fr; }
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    height: 100dvh;
    background-color: var(--color-warm-white);
    z-index: 2000;
    padding: var(--space-xl) var(--space-md);
    transition: right 0.4s ease;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.mobile-nav.active { right: 0; }
.mobile-nav-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-charcoal);
}

.mobile-nav-links { list-style: none; margin-top: var(--space-xl); }
.mobile-nav-links li { margin-bottom: var(--space-md); }
.mobile-nav-links a {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    color: var(--color-charcoal);
    transition: color 0.3s ease;
}

.mobile-nav-links a:hover { color: var(--color-gold); }
.mobile-nav-cta { margin-top: var(--space-xl); padding-bottom: var(--space-md); }

.mobile-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-overlay.active { opacity: 1; visibility: visible; }