/* Base Styles & Variables */
:root {
    /* Light Mode */
    --bg-color: #faf9f6;
    --bg-alt: #f0eee6;
    --text-color: #2c2a29;
    --text-muted: #5e5b58;
    --accent: #b48e5d; /* Muted Bronze / Gold */
    --accent-hover: #9c7849;
    --border-color: #e2dfd8;
    --card-bg: #ffffff;
    --nav-bg: rgba(250, 249, 246, 0.95);
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-theme: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease;
    --transition-fast: all 0.2s ease;
}

[data-theme="dark"] {
    --bg-color: #1a1a1a;
    --bg-alt: #222222;
    --text-color: #f4f4f4;
    --text-muted: #a0a0a0;
    --accent: #d2a970;
    --accent-hover: #e5be85;
    --border-color: #333333;
    --card-bg: #262626;
    --nav-bg: rgba(26, 26, 26, 0.95);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
    transition: var(--transition-theme);
    font-size: 1.05rem;
}

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

em {
    font-style: italic;
    color: var(--accent);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

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

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 8rem 0;
    position: relative;
    z-index: 10;
}

.alt-bg {
    background-color: var(--bg-alt);
    transition: var(--transition-theme);
}

.text-center { text-align: center; }
.mt-12 { margin-top: 4rem; }

/* Noise Background (Subtle Texture) */
.noise-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: var(--nav-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid transparent;
    transition: background-color 0.4s ease, border-color 0.4s ease;
}

.navbar.scrolled {
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
}

.logo-mark {
    font-size: 2rem;
    font-style: italic;
    color: var(--accent);
    line-height: 1;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

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

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s ease;
}

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

.theme-toggle, .mobile-menu-btn {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.theme-toggle:hover {
    color: var(--accent);
}

[data-theme="dark"] .moon-icon { display: none; }
[data-theme="light"] .sun-icon { display: none; }

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: var(--transition-fast);
    font-family: var(--font-body);
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    background: var(--accent-hover);
}

.btn-text {
    background: transparent;
    color: var(--text-color);
    padding: 1rem 0;
    border-bottom: 1px solid var(--text-color);
}

.btn-text:hover {
    color: var(--accent);
    border-color: var(--accent);
    gap: 0.8rem; /* Pushes the arrow */
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 90px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-kicker {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 2rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 90%;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

/* Hero Artistic Image Frame */
.artistic-frame {
    position: relative;
    padding: 2rem;
}

.hero-img {
    position: relative;
    z-index: 2;
    aspect-ratio: 3/4;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.frame-decoration {
    position: absolute;
    width: 60%;
    height: 60%;
    border: 1px solid var(--accent);
    z-index: 1;
}

.top-left {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

.bottom-right {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
    background-color: var(--bg-alt);
    z-index: 0;
}

/* Typography & Headers */
.section-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.section-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.subsection-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 5rem;
    align-items: center;
}

.image-stack {
    position: relative;
}

.image-stack .img-front {
    position: relative;
    z-index: 2;
    aspect-ratio: 4/5;
    object-fit: cover;
}

.image-stack .accent-block {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    background-color: var(--accent);
    opacity: 0.1;
    z-index: 1;
}

.lead-text {
    font-size: 1.3rem;
    font-family: var(--font-heading);
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.about-text p:not(.lead-text) {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.stats-row {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 0.2rem;
}

.stat-item span {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

/* Mission & Values */
.mission-header {
    margin-bottom: 5rem;
}

.mission-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.editorial-card {
    background: var(--card-bg);
    padding: 4rem 3rem;
    border: 1px solid var(--border-color);
    position: relative;
    transition: var(--transition-theme);
}

.card-number {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--accent);
    opacity: 0.2;
    line-height: 1;
}

.editorial-card h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.editorial-card p {
    color: var(--text-muted);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.value-item {
    text-align: center;
    padding: 2rem;
}

.value-item i {
    color: var(--accent);
    width: 40px;
    height: 40px;
    margin-bottom: 1.5rem;
}

.value-item h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-family: var(--font-body);
    font-weight: 600;
}

.value-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Services Section */
.services-intro {
    text-align: center;
    margin-bottom: 5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    padding: 3rem 2rem;
    border-top: 2px solid var(--border-color);
    transition: var(--transition-theme), transform 0.3s ease;
}

.service-card:hover {
    border-top-color: var(--accent);
    transform: translateY(-5px);
}

.service-icon {
    margin-bottom: 2rem;
    color: var(--accent);
}

.service-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.service-list {
    list-style: none;
}

.service-list li {
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-color);
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background-color: var(--accent);
    border-radius: 50%;
}

/* Testimonial Highlight */
.testimonial-highlight {
    padding: 6rem 0;
}

.highlight-wrapper {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.quote-mark {
    width: 40px;
    height: 40px;
    color: var(--accent);
    margin-bottom: 2rem;
    opacity: 0.5;
}

.highlight-wrapper blockquote {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    line-height: 1.4;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.highlight-author strong {
    display: block;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.highlight-author span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Contact */
.contact-header {
    margin-bottom: 4rem;
}

.artistic-contact-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-card {
    display: flex;
    align-items: center;
    padding: 2.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(180, 142, 93, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.contact-card.interactive:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--accent);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.contact-card.interactive:hover::before {
    opacity: 1;
}

.contact-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bg-alt);
    color: var(--accent);
    margin-right: 1.5rem;
    transition: all 0.4s ease;
    flex-shrink: 0;
}

.contact-card.interactive:hover .contact-icon-wrapper {
    background: var(--accent);
    color: #fff;
}

.contact-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.contact-info strong {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
    font-family: var(--font-body);
}

.contact-info span {
    font-size: 1.25rem;
    font-weight: 500;
    font-family: var(--font-heading);
}

.contact-action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateX(-10px);
}

.contact-card.interactive:hover .contact-action {
    opacity: 1;
    transform: translateX(0);
    border-color: var(--accent);
    background: var(--accent);
    color: #fff;
}

.contact-card.static-card {
    cursor: default;
}

/* Footer */
.footer {
    background: var(--bg-alt);
    padding: 6rem 0 2rem;
    border-top: 1px solid var(--border-color);
    transition: var(--transition-theme);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4rem;
}

.footer-brand .logo-text {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-muted);
    max-width: 300px;
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    gap: 3rem;
}

.footer-links a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a:hover {
    color: var(--accent);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .hero-title { font-size: 3.5rem; }
    
    .mission-cards,
    .values-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-row {
        flex-wrap: wrap;
    }
    
    .footer-top {
        flex-direction: column;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 90px);
        background: var(--nav-bg);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: left 0.4s ease;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-title { font-size: 2.8rem; }
    .section-title { font-size: 2.5rem; }
    
    .highlight-wrapper blockquote { font-size: 1.6rem; }
    
    .footer-links {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .artistic-contact-container {
        grid-template-columns: 1fr;
    }
}
