/* Variables & Design Tokens */
:root {
    /* Colors */
    --color-green-primary: #3d4a3e; /* Deep artisan green */
    --color-green-light: #516353;
    --color-green-dark: #2a332a;
    
    --color-wood-brown: #a67c52; /* Warm wood brown */
    --color-wood-dark: #8b6641;
    --color-wood-light: #c89d70;

    --color-bg-cream: #faf7f2; /* Light beige/cream background */
    --color-bg-white: #ffffff;
    --color-bg-alt: #f0ebe1;
    
    --color-text-main: #2c2c2c;
    --color-text-muted: #5e5e5e;
    --color-text-light: #faf7f2;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 2rem;
    --text-4xl: 2.5rem;
    --text-5xl: 3.5rem;
    --text-6xl: 4.5rem;

    /* Other */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 24px rgba(0,0,0,0.1);

    --transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-main);
    background-color: var(--color-bg-cream);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-green-primary);
    line-height: 1.2;
    font-weight: 500;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

li {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
}

/* Typography Utilities */
.text-center { text-align: center; }
.text-green { color: var(--color-green-primary); }
.text-brown { color: var(--color-wood-brown); }
.text-muted { color: var(--color-text-muted); }
.font-heading { font-family: var(--font-heading); }
.font-body { font-family: var(--font-body); }

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: var(--text-base);
    transition: all var(--transition);
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--color-green-primary);
    color: var(--color-bg-cream);
    border: 1px solid var(--color-green-primary);
}

.btn-primary:hover {
    background-color: var(--color-green-light);
    border-color: var(--color-green-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-green-primary);
    border: 1px solid var(--color-green-primary);
}

.btn-outline:hover {
    background-color: var(--color-green-primary);
    color: var(--color-bg-cream);
}

.btn-light {
    background-color: var(--color-bg-cream);
    color: var(--color-green-primary);
    border: 1px solid var(--color-bg-cream);
}

.btn-light:hover {
    background-color: transparent;
    color: var(--color-bg-cream);
}

.btn-outline-light {
    background-color: transparent;
    color: var(--color-bg-cream);
    border: 1px solid var(--color-bg-cream);
}

.btn-outline-light:hover {
    background-color: var(--color-bg-cream);
    color: var(--color-green-primary);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 0;
    transition: all var(--transition);
    background-color: transparent;
}

.navbar.scrolled {
    background-color: rgba(61, 74, 62, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-header{
    height: 80px;
}

.logo-mark {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-mark .dr-lorrs {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--color-bg-cream);
    line-height: 1;
}

.logo-mark .tagline {
    font-family: var(--font-body);
    font-size: 0.6rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-wood-light);
    margin-top: 5px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    font-size: var(--text-sm);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    color: var(--color-bg-cream);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-wood-light);
    transition: width var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    z-index: 101;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-bg-cream);
    transition: all var(--transition);
}

/* Animations (Animate on scroll) */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--color-green-primary);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        transition: right 0.4s cubic-bezier(0.77, 0.2, 0.05, 1);
        box-shadow: -5px 0 15px rgba(0,0,0,0.05);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-link {
        font-size: var(--text-lg);
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .section {
        padding: 4rem 0;
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(42, 51, 42, 0.85) 0%, rgba(139, 102, 65, 0.6) 100%);
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 10;
}

.text-bg-light {
    color: var(--color-bg-cream);
}

.hero-subtitle {
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    margin-bottom: 1.5rem;
    color: var(--color-bg-cream);
    line-height: 1.1;
}

.hero-desc {
    font-size: var(--text-lg);
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-title {
    font-size: var(--text-4xl);
    margin-bottom: 1.5rem;
}

.divider {
    width: 60px;
    height: 3px;
    background-color: var(--color-wood-brown);
    margin-bottom: 2rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: var(--text-lg);
    color: var(--color-text-muted);
}

.about-img-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: visible;
    padding: 20px;
}

.about-img-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    border: 2px solid var(--color-green-primary);
    border-radius: var(--radius-lg);
    z-index: -1;
    transition: transform var(--transition);
}

.about-img-wrapper:hover::before {
    transform: translate(10px, 10px);
}

.about-img {
    border-radius: var(--radius-lg);
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 1;
}

@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr;
    }
    
    .about-img {
        height: 400px;
    }
}
@media (max-width: 768px) {
    .hero-actions {
        flex-direction: column;
    }
}

/* Utilities Extended */
.bg-alt { background-color: var(--color-bg-alt); }
.bg-green { 
    background-color: var(--color-green-primary); 
    color: var(--color-bg-cream);
}
.bg-green .section-title { color: var(--color-bg-cream); }
.bg-green .section-subtitle,
.bg-green .about-text p,
.bg-green .studio-text p { color: var(--color-bg-alt); }
.bg-green .divider { background-color: var(--color-wood-light); }
.bg-green .about-img-wrapper::before { border-color: var(--color-wood-light); }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 3rem; }
.section-subtitle {
    font-size: var(--text-lg);
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Signature Rolls Section */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.product-card {
    background-color: var(--color-bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-img-wrapper {
    height: 250px;
    overflow: hidden;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.product-info {
    padding: 2rem 1.5rem;
    text-align: left;
}

.product-title {
    font-size: var(--text-xl);
    margin-bottom: 0.75rem;
    color: var(--color-green-dark);
}

.product-desc {
    font-size: var(--text-base);
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* Studio Section */
.studio-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.studio-img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.studio-text p {
    margin-bottom: 1.5rem;
    font-size: var(--text-lg);
    color: var(--color-text-muted);
}

@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .studio-container {
        grid-template-columns: 1fr;
    }
    
    .studio-img {
        height: 400px;
        order: 2; /* Move image below text on mobile if desired, or keep as is */
    }
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}

/* Visit Section */
.visit-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.info-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-label {
    font-size: var(--text-base);
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-wood-brown);
    margin-bottom: 0.5rem;
}

.info-item p {
    font-size: var(--text-lg);
    line-height: 1.6;
}

.map-placeholder {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 400px;
    box-shadow: var(--shadow-md);
}

.map-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(42, 51, 42, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}

.map-placeholder:hover .map-overlay {
    opacity: 1;
}

/* Footer */
.footer {
    background-color: var(--color-green-primary);
    color: var(--color-bg-cream);
    padding: 5rem 0 2rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-desc {
    margin-top: 1.5rem;
    color: var(--color-bg-alt);
    max-width: 300px;
    opacity: 0.8;
}

.footer-title {
    color: var(--color-bg-cream);
    font-family: var(--font-body);
    font-size: var(--text-base);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: var(--color-bg-alt);
    opacity: 0.8;
}

.footer-links a:hover {
    color: var(--color-bg-cream);
    opacity: 1;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(250, 247, 242, 0.3);
    color: var(--color-bg-cream);
    font-size: var(--text-sm);
    font-weight: 600;
}

.social-icons a:hover {
    background-color: var(--color-bg-cream);
    color: var(--color-green-primary);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(250, 247, 242, 0.1);
    font-size: var(--text-sm);
    opacity: 0.6;
}

@media (max-width: 992px) {
    .visit-container, .footer-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}
@media (max-width: 768px) {
    .footer-logo {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
