/* ============================================
   Heritage From Above - Modern Minimalist
   ============================================ */

:root {
    /* Light Theme */
    --bg-primary: #f6f6f6;
    --bg-secondary: #ffffff;
    --bg-banner: #f5f3ef;
    --text-primary: #2e3338;
    --text-secondary: #5a5d61;
    --text-muted: #8a8d91;
    --accent: #2e3338;
    --accent-gold: #c6a769;
    --accent-badge: #c6a769;
    --accent-badge-bg: #f8f5ef;
    --border: #e5e5e5;
    --shadow: rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] {
    --bg-primary: #0c0c0c;
    --bg-secondary: #151515;
    --bg-banner: #1a1a1a;
    --text-primary: #f5f5f5;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;
    --accent: #ffffff;
    --accent-gold: #c6a769;
    --accent-badge: #c6a769;
    --accent-badge-bg: #2a2520;
    --border: #2a2a2a;
    --shadow: rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    background: transparent;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

.navbar.scrolled {
    background: var(--bg-secondary);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 var(--border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
    transition: opacity 0.3s ease;
}

.logo-dark {
    display: none;
}

[data-theme="dark"] .logo-light {
    display: none;
}

[data-theme="dark"] .logo-dark {
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-links a {
    text-decoration: none;
    text-transform: uppercase;
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.theme-toggle:hover {
    color: var(--text-primary);
}

/* Nav Controls */
.nav-controls {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Language Selector */
.lang-selector {
    position: relative;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 0.4rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    letter-spacing: 0.02em;
    transition: all 0.2s ease;
}

.lang-current:hover {
    color: var(--text-primary);
    border-color: var(--text-muted);
}

.lang-current svg {
    transition: transform 0.2s ease;
}

.lang-selector.open .lang-current svg {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    display: flex;
    flex-direction: column;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px var(--shadow);
    z-index: 100;
}

.lang-selector.open .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-btn {
    background: transparent;
    border: none;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    letter-spacing: 0.02em;
    transition: all 0.2s ease;
    text-align: left;
}

.lang-btn:hover {
    background: var(--bg-primary);
    color: var(--text-primary);
}

.lang-btn.active {
    color: var(--accent-gold);
}

.sun-icon {
    display: none;
}

[data-theme="dark"] .sun-icon {
    display: block;
}

[data-theme="dark"] .moon-icon {
    display: none;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 6rem 2rem;
    position: relative;
}

.hero-content {
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    padding: 0;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 5rem;
}

.hero-title-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.hero-logo {
    height: 150px;
    width: auto;
}

.hero-logo-dark {
    display: none;
}

[data-theme="dark"] .hero-logo-light {
    display: none;
}

[data-theme="dark"] .hero-logo-dark {
    display: block;
}

.hero-title {
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.hero-title-main {
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.1em;
    color: var(--text-primary);
}

.hero-title-sub {
    font-size: clamp(1rem, 3vw, 2rem);
    font-weight: 500;
    letter-spacing: 0.35em;
    color: var(--accent-gold);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 5rem auto 3rem;
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--accent-gold);
    color: #2e3338;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 4px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    background: #b8994f;
}

.hero-scroll {
    position: absolute;
    bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.hero-scroll span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted);
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--text-muted), transparent);
    animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Sections */
.section {
    padding: 8rem 0;
}

.section-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.section-title {
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 500;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
}

/* About Section */
.about {
    background: var(--bg-secondary);
}

.about-content {
    max-width: 700px;
}

.about-content .lead {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--accent-gold);
}

.about-content p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Banner Section */
.banner {
    background: var(--bg-banner);
    padding: 5rem 0;
}

.banner-quote {
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 400;
    font-style: italic;
    text-align: center;
    color: var(--text-primary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    border: none;
}

/* Practice Section */
.practice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.practice-card {
    padding: 2rem 0;
    border-top: 2px solid var(--accent-gold);
}

.practice-number {
    font-size: 0.75rem;
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.practice-card h3 {
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.practice-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.practice-summary {
    margin-top: 3rem;
    color: var(--text-secondary);
}

/* Contact Section */
.contact {
    background: var(--bg-secondary);
    text-align: center;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.contact-link {
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    font-size: 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
    border-bottom: 2px solid var(--accent-gold);
    padding-bottom: 0.25rem;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.contact-link:hover {
    color: var(--accent-gold);
}

.contact-content p.reassurance {
    color: var(--text-muted);
    margin-bottom: 2rem;
    margin-top: 4rem;
}

/* Footer */
.footer {
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid var(--border);
}

.footer p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-controls {
        gap: 1rem;
    }

    .hero {
        padding: 4rem 1.5rem;
    }

    .section {
        padding: 5rem 0;
    }

    .practice-grid {
        gap: 2rem;
    }

    .banner {
        padding: 4rem 0;
    }
}

/* Hide scroll indicator on short screens to prevent overlap */
@media (max-height: 950px) {
    .hero-scroll {
        display: none;
    }
    
    .hero {
        padding: 5rem 2rem 2rem;
    }
}

@media (max-height: 600px) {
    .hero-subtitle {
        margin: 2rem auto 2rem;
    }
    
    .hero-badge {
        margin-bottom: 2rem;
    }
}
