/* CSS Variables */
:root {
    --background: hsl(0, 0%, 100%);
    --foreground: hsl(220, 10%, 20%);
    --card: hsl(0, 0%, 100%);
    --card-foreground: hsl(220, 10%, 20%);
    --muted: hsl(30, 5%, 96%);
    --muted-foreground: hsl(220, 5%, 50%);
    --border: hsl(30, 10%, 90%);
    --taupe: hsl(25, 15%, 55%);
    --taupe-light: hsl(30, 12%, 75%);
    
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', system-ui, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--background);
    color: var(--foreground);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.5;
}

/* Container */
.container {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 3rem;
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: hsla(0, 0%, 100%, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 3rem;
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.lang-btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--muted-foreground);
    text-decoration: none;
    transition: color 0.2s;
}

.lang-btn:hover,
.lang-btn.active {
    color: var(--foreground);
}

/* Hero */
.hero {
    padding-top: 5rem;
    padding-bottom: 3rem;
}

@media (min-width: 768px) {
    .hero {
        padding-top: 6rem;
        padding-bottom: 4rem;
    }
}

.hero-content {
    max-width: 48rem;
    margin: 0 auto;
    text-align: center;
}

.hero-logo {
    height: 3.5rem;
    width: auto;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .hero-logo {
        height: 5rem;
        margin-bottom: 2rem;
    }
}

@media (min-width: 1024px) {
    .hero-logo {
        height: 6rem;
    }
}

.eyebrow {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--taupe);
    font-weight: 500;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .eyebrow {
        font-size: 0.875rem;
    }
}

.headline {
    font-family: var(--font-display);
    font-size: 1.875rem;
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.2;
    color: var(--foreground);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .headline {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .headline {
        font-size: 3rem;
    }
}

.subheadline {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--muted-foreground);
    max-width: 42rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .subheadline {
        font-size: 1.125rem;
    }
}

/* Sections */
.section {
    scroll-margin-top: 4rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.025em;
    color: var(--foreground);
    padding-top: 2rem;
    padding-bottom: 1rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 1.875rem;
        padding-top: 3rem;
        padding-bottom: 1.5rem;
    }
}

/* Cards Grid */
.cards-grid {
    display: grid;
    gap: 1rem;
    padding-bottom: 2rem;
}

@media (min-width: 768px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding-bottom: 3rem;
    }
}

.card {
    display: block;
    padding: 1.5rem;
    border: 1px solid var(--border);
    background-color: var(--card);
    text-decoration: none;
    transition: border-color 0.2s;
}

@media (min-width: 768px) {
    .card {
        padding: 2rem;
    }
}

.card:hover {
    border-color: var(--taupe-light);
}

.card-logo {
    height: 2.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.card-logo img {
    height: 1.75rem;
    width: auto;
}

@media (min-width: 768px) {
    .card-logo img {
        height: 2rem;
    }
}

.card-text {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
    transition: color 0.2s;
}

.card:hover .card-link {
    color: var(--taupe);
}

/* About */
.about-content {
    padding-bottom: 2rem;
}

@media (min-width: 768px) {
    .about-content {
        padding-bottom: 3rem;
    }
}

.about-text {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--muted-foreground);
    max-width: 48rem;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    gap: 1rem;
    padding-bottom: 3rem;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding-bottom: 4rem;
    }
}

.contact-tile {
    padding: 1.5rem;
    background-color: var(--muted);
    border: 1px solid var(--border);
}

@media (min-width: 768px) {
    .contact-tile {
        padding: 2rem;
    }
}

.contact-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--muted-foreground);
}

.contact-label span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-value {
    font-size: 1rem;
    font-weight: 500;
    color: var(--foreground);
    text-decoration: none;
    transition: color 0.2s;
}

@media (min-width: 768px) {
    .contact-value {
        font-size: 1.125rem;
    }
}

a.contact-value:hover {
    color: var(--taupe);
}

/* Footer */
.footer {
    padding: 2rem 0;
    border-top: 1px solid var(--border);
}

.footer-text {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    text-align: center;
}

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

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