:root {
    /* Color Palette */
    --primary-bg: #FDFCF9;
    --primary-text: #333333;
    --secondary-text: #666666;
    --accent-gold-primary: #B8A27D;
    --accent-gold-light: #E0D7C6;
    --accent-dark-shadow: #4A4A4A;
}

/* Global Styles & Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px; /* Base for rem units */
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--primary-text);
    background-color: var(--primary-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Accessibility: Focus states */
*:focus {
    outline: 2px solid var(--accent-gold-primary);
    outline-offset: 2px;
}

/* Reusable Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Spacing */
.section-container {
    padding: 8rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-text);
    line-height: 1.2;
    letter-spacing: -0.03em;
}

h1 {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.05em;
}

h2 {
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin-bottom: 2.5rem;
}

h3 {
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1.3;
}

p {
    font-size: 1.1rem;
    line-height: 1.7;
    font-weight: 400;
    margin-bottom: 1rem;
}

p.subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary-bg);
    margin-top: 1rem;
    margin-bottom: 2rem;
}

/* Links */
a {
    color: var(--primary-text);
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

a:hover {
    color: var(--accent-gold-primary);
}

.text-link {
    color: var(--accent-gold-primary);
    font-weight: 600;
    display: inline-block;
    margin-top: 1rem;
    position: relative;
}

.text-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 1px;
    background-color: var(--accent-gold-primary);
    transition: width 0.3s ease-in-out;
}

.text-link:hover::after {
    width: 100%;
}

/* Buttons */
.button {
    display: inline-block;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 1rem 2.5rem;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    text-align: center;
}

.primary-button {
    background-color: var(--accent-gold-primary);
    color: var(--primary-bg);
    border: none;
}

.primary-button:hover {
    background-color: #A08F6B; /* Slightly darker gold */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-2px);
    color: var(--primary-bg);
}

.secondary-button {
    background: none;
    border: 1px solid var(--accent-gold-primary);
    color: var(--accent-gold-primary);
    padding: 0.8rem 2rem;
}

.secondary-button:hover {
    background-color: var(--accent-gold-primary);
    color: var(--primary-bg);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

/* Header */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    padding: 1rem 0;
    z-index: 1000;
    transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    height: 80px;
    display: flex;
    align-items: center;
}

#main-header.scrolled {
    background-color: var(--primary-bg);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

#main-header:not(.scrolled) .logo,
#main-header:not(.scrolled) #desktop-nav a,
#main-header:not(.scrolled) .hamburger-menu {
    color: #fff;
    text-shadow: 0 1px 8px rgba(0,0,0,0.55);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-text);
}

#desktop-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

#desktop-nav a {
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--primary-text);
    position: relative;
}

#desktop-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 1px;
    background-color: var(--accent-gold-primary);
    transition: width 0.3s ease-in-out;
}

#desktop-nav a:hover::after,
#desktop-nav a.active::after {
    width: 100%;
}

#desktop-nav a.active {
    color: var(--accent-gold-primary);
}

.hamburger-menu {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-text);
    cursor: pointer;
    padding: 0.5rem;
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-bg);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%); /* Start off-screen */
    transition: transform 0.4s ease-in-out;
}

.mobile-nav-overlay.open {
    transform: translateX(0);
}

.mobile-nav-overlay .close-menu {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--primary-text);
    cursor: pointer;
}

.mobile-nav-overlay ul {
    list-style: none;
    text-align: center;
}

.mobile-nav-overlay li {
    margin-bottom: 1.5rem;
}

.mobile-nav-overlay a {
    font-family: 'Lato', sans-serif;
    font-size: 1.8rem;
    font-weight: 400;
    text-transform: uppercase;
    color: var(--primary-text);
    display: block;
}

.mobile-nav-overlay a:hover {
    color: var(--accent-gold-primary);
}

/* Hero Section */
#hero {
    background-image: url('assests/shop-interior.webp');
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative; /* For overlay */
    padding: 10rem 2rem; /* Ensure space for header and content */
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(24,18,12,0.62), rgba(24,18,12,0.34));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--primary-bg);
}

.hero-content h1 {
    color: var(--primary-bg);
    margin-bottom: 1rem;
    text-wrap: balance;
    text-shadow: 0 2px 20px rgba(0,0,0,0.45);
}

/* About Section */
.about-content {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper {
    flex: 1;
    min-width: 40%;
}

.about-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;
    object-fit: cover;
}

.about-text-wrapper {
    flex: 1.2;
}

.about-text-wrapper h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

.about-text-wrapper p {
    margin-bottom: 1.5rem;
}

/* Collections Section */
#collections h2 {
    text-align: center;
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.collection-card {
    background-color: var(--primary-bg);
    border: 1px solid var(--accent-gold-light);
    border-radius: 5px;
    overflow: hidden;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.collection-card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transform: scale(1.02);
}

.collection-card img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 3px;
    margin-bottom: 1.5rem;
}

.collection-card h3 {
    margin-top: 0;
    margin-bottom: 0.8rem;
}

.collection-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--secondary-text);
    margin-bottom: 1rem;
    flex-grow: 1;
}

/* Gallery Section */
.full-width-gallery {
    padding: 8rem 0; /* Full width, but inner content has padding */
    background-color: var(--accent-gold-light); /* Subtle background for gallery */
}

.full-width-gallery h2 {
    text-align: center;
    margin-bottom: 3rem;
    padding: 0 2rem; /* Match container padding */
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(0.5rem, 1vw, 1rem);
    width: min(1400px, calc(100% - 2rem));
    margin: 0 auto;
}

.gallery-grid figure {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 4px;
    background: #d5c9b5;
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
    cursor: pointer;
}

.gallery-grid img:hover {
    transform: scale(1.03);
    filter: brightness(0.9); /* Subtle darken */
}

/* Store Info Section */
#store-info {
    text-align: center;
}

#store-info h2 {
    margin-bottom: 3rem;
}

.info-blocks {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.info-block {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
}

.info-block .info-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-text);
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}

.info-block .info-label i {
    margin-right: 0.5rem;
    color: var(--accent-gold-primary);
}

.info-block .info-value {
    font-size: 1.1rem;
    color: var(--primary-text);
    margin-bottom: 0.5rem;
}

.info-block .info-value a {
    color: var(--primary-text);
}

.info-block .info-value a:hover {
    color: var(--accent-gold-primary);
}

.consultation-cta {
    background-color: var(--accent-gold-light);
    padding: 3rem 2rem;
    border-radius: 5px;
    max-width: 800px;
    margin: 0 auto;
}

.consultation-cta h3 {
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.consultation-cta p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* Contact Section */
.contact-card {
    max-width: 780px;
    margin: 0 auto;
    padding: clamp(2.5rem, 6vw, 5rem);
    text-align: center;
    background-color: #fff;
    border: 1px solid var(--accent-gold-light);
    border-radius: 5px;
    box-shadow: 0 12px 35px rgba(52, 42, 27, 0.08);
}

.contact-card .eyebrow {
    margin-bottom: 0.8rem;
    color: var(--accent-gold-primary);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact-card h2 {
    margin-bottom: 1.25rem;
}

.contact-card > p:not(.eyebrow) {
    max-width: 590px;
    margin: 0 auto 2rem;
    color: var(--secondary-text);
}

.contact-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-form {
    margin-top: 2.25rem;
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.45rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--accent-gold-light);
    border-radius: 3px;
    background: var(--primary-bg);
    color: var(--primary-text);
    font: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-gold-primary);
    box-shadow: 0 0 0 3px rgba(184, 162, 125, 0.2);
    outline: none;
}

.form-group textarea {
    resize: vertical;
}

.contact-form .contact-actions {
    margin-top: 0.5rem;
}

.contact-form button[disabled] {
    cursor: wait;
    opacity: 0.7;
}

.contact-status {
    min-height: 1.7em;
    margin: 1rem 0 0;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
}

.contact-status.success {
    color: #34623f;
}

.contact-status.error {
    color: #9b2c2c;
}

/* Footer */
#main-footer {
    background-color: var(--accent-gold-light);
    padding-top: 6rem;
    padding-bottom: 2rem;
    color: var(--secondary-text);
    font-size: 0.9rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.footer-col h4 {
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--primary-text);
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a,
.footer-col p {
    color: var(--secondary-text);
    font-size: 0.9rem;
}

.footer-col ul li a:hover {
    color: var(--accent-gold-primary);
}

.footer-brand .logo {
    font-size: 1.5rem;
    color: var(--primary-text);
    display: block;
    margin-bottom: 0.5rem;
}

.footer-brand .tagline {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--secondary-text);
}

.social-icons a {
    font-size: 1.5rem;
    color: var(--secondary-text);
    margin-right: 1rem;
}

.social-icons a:hover {
    color: var(--accent-gold-primary);
}

.copyright {
    text-align: center;
    margin-top: 3rem;
    font-size: 0.8rem;
    color: var(--secondary-text);
}

/* Animations */
.js .animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.js .animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Specific hero animations */
#hero .hero-content h1.is-visible {
    transition-delay: 0.1s;
}
#hero .hero-content .subtitle.is-visible {
    transition-delay: 0.2s;
}
#hero .hero-content .primary-button.is-visible {
    transition-delay: 0.3s;
}

/* Responsive Design */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    html {
        font-size: 15px;
    }

    .container {
        padding: 0 1.5rem;
    }

    .section-container {
        padding: 6rem 1.5rem;
    }

    h1 {
        font-size: 3.8rem;
    }

    h2 {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }

    h3 {
        font-size: 1.6rem;
    }

    p {
        font-size: 1rem;
    }

    /* Header */
    #desktop-nav {
        display: none;
    }

    .hamburger-menu {
        display: block;
    }

    #main-header {
        height: 70px;
    }

    .logo {
        font-size: 1.6rem;
    }

    .header-content {
        justify-content: space-between;
    }

    /* Hero */
    #hero {
        min-height: 70vh;
        padding: 8rem 1.5rem;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .hero-content .subtitle {
        font-size: 1.3rem;
    }

    /* About */
    .about-content {
        flex-direction: column;
        gap: 3rem;
    }

    .about-image-wrapper, .about-text-wrapper {
        flex: none;
        width: 100%;
    }

    .about-text-wrapper h2 {
        text-align: center;
    }

    /* Collections */
    .collection-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    /* Store Info */
    .info-blocks {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .info-block {
        max-width: 100%;
        text-align: center;
    }

    .info-block .info-label {
        margin-top: 1.5rem;
    }

    .consultation-cta h3 {
        font-size: 1.8rem;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .footer-col {
        text-align: center;
    }

    .footer-col h4 {
        margin-bottom: 1rem;
    }

    .footer-brand .logo {
        text-align: center;
    }

    .footer-nav ul, .footer-contact p, .social-icons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .social-icons a {
        margin-right: 0;
    }
}

/* Mobile (less than 768px) */
@media (max-width: 767px) {
    html {
        font-size: 14px;
    }

    .section-container {
        padding: 4rem 1rem;
    }

    h1 {
        font-size: 2.8rem;
        line-height: 1.2;
        letter-spacing: -0.03em;
    }

    h2 {
        font-size: 2rem;
        line-height: 1.2;
        letter-spacing: -0.02em;
        margin-bottom: 1.5rem;
    }

    h3 {
        font-size: 1.4rem;
        line-height: 1.3;
    }

    p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    /* Header */
    #main-header {
        height: 60px;
        padding: 0.5rem 0;
    }

    .header-content {
        padding: 0 1rem;
    }

    .logo {
        font-size: 1.4rem;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .hamburger-menu {
        font-size: 1.3rem;
        padding: 0.3rem;
    }

    .mobile-nav-overlay .close-menu {
        top: 1.5rem;
        right: 1.5rem;
        font-size: 1.8rem;
    }

    .mobile-nav-overlay a {
        font-size: 1.5rem;
    }

    /* Hero */
    #hero {
        min-height: 60vh;
        padding: 6rem 1rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content .subtitle {
        font-size: 1rem;
    }

    .button {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }

    /* About */
    .about-image-wrapper img {
        aspect-ratio: 3/4; /* Portrait on mobile */
    }

    /* Collections */
    .collection-grid {
        grid-template-columns: 1fr;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: min(100% - 2rem, 680px);
    }

    /* Store Info */
    .info-blocks {
        gap: 1.5rem;
    }

    .consultation-cta {
        padding: 2rem 1.5rem;
    }

    .consultation-cta h3 {
        font-size: 1.5rem;
    }

    /* Contact */
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-actions {
        flex-direction: column;
    }

    .contact-actions .button {
        width: 100%;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-col {
        align-items: center;
    }

    .footer-nav ul, .footer-contact p {
        align-items: center;
    }

    .footer-brand .logo {
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    .copyright {
        margin-top: 2rem;
    }
}
