@import url(reset.css);

:root {
    --color-dark: #0F0E0E;
    --color-light: #f8f8f8;
    --color-text-dark: #ffffff;
    --color-text-light: #0F0E0E;
    --color-accent: #4ade80;
    --color-text-muted: #a3a3a3;
    --section-padding: clamp(2rem, 15vw, 12rem);
    --section-padding-sm: clamp(2rem, 5vw, 8vw);
}


:root {
    font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-feature-settings: 'liga' 1,  'calt' 1, "ss07" 1, "ss08" 1; 
}

  @supports (font-variation-settings: normal) {
    :root { font-family: InterVariable, sans-serif; }
}

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

html {
    font-size: clamp(16px, 1.5vw, 20px);
}

body {
    background-color: var(--color-light);
    line-height: 1.6;
    font-weight: 400;
}

/* Container for consistent margins */
.container {
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--section-padding);
    padding-right: var(--section-padding);
    max-width: 2000px;
}

/* Hero Section */

.hero {
    display: relative;
    background-color: var(--color-dark);
    color: var(--color-text-dark);
    padding-top: clamp(1.5rem, 4vw, 3rem);
    padding-bottom: clamp(1.5rem, 4vw, 3rem);
}

.header {
    margin-bottom: clamp(4rem, 8vw, 8rem);
}

.logo {
    width: clamp(2rem, 4vw, 3rem);
    height: clamp(2rem, 4vw, 3rem);
}
/* 
.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: none;
} */

.hero-title {
    font-size: clamp(3.5rem, 6vw, 5rem);
    font-weight: 200;
    line-height: 1.1;
    margin-bottom: clamp(2rem, 5vw, 3rem);
    letter-spacing: -0.01em;
}

.hero-description {
    font-size: clamp(1.3rem, 1.9vw, 1.4rem);
    max-width: 50ch;
    line-height: 1.6;
    font-weight: 200;
    margin-bottom: clamp(4rem, 8vw, 8rem);
}

/* Footer Section */
.footer {
    background-color: var(--color-light);
    color: var(--color-text-light);
    padding-top: clamp(3rem, 3vw, 4rem);
    padding-bottom: clamp(1.5rem, 3vw, 2rem);
    position: relative;
    overflow: hidden;
}

.footer-logo {
    width: clamp(8rem, 10rem, 12rem);
    height: auto;
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
}

.footer-locations {
    font-size: clamp(1.3rem, 4vw, 1.5rem);
    margin-bottom: clamp(2rem, 4vw, 3rem);
    font-weight: 200;
    line-height: 1;
    letter-spacing: -0.01em;
}

.footer-locations div:first-child {
    margin-bottom: 0.25rem;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: clamp(1rem, 3vw, 2rem);
    position: relative;
    padding-top: clamp(1.5rem, 3vw, 2rem);
    border-top: 1px solid var(--color-text-muted);
}

.footer-links {
    display: flex;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--color-text-light);
    text-decoration: none;
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    font-weight: 300;
}

.footer-links a:hover {
    opacity: 0.7;
}

.footer-copyright {
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    color: var(--color-text-light);
    font-weight: 300;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .container {
        padding-left: 8vw;
        padding-right: 8vw;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .footer-links {
        gap: 1rem;
    }
}

@media (min-width: 1800px) {
    html {
        font-size: clamp(20px, 1.5vw, 22px);
    }
}

/* Simple fade-in animation */

/* The main fade-in class */
.fade-in {
    opacity: 0;
    animation: fadeInSequential 1s ease-in forwards;
}

/* Sequential delays for each element */
.fade-in:nth-child(1) { animation-delay: 0.4s; }
.fade-in:nth-child(2) { animation-delay: 0.6s; }
.fade-in:nth-child(3) { animation-delay: 0.8s; }
.fade-in:nth-child(4) { animation-delay: 1.0s; }
.fade-in:nth-child(5) { animation-delay: 1.2s; }
.fade-in:nth-child(6) { animation-delay: 1.4s; }
.fade-in:nth-child(7) { animation-delay: 1.6s; }
.fade-in:nth-child(8) { animation-delay: 1.8s; }
.fade-in:nth-child(9) { animation-delay: 2.0s; }

/* Keyframe animation */
@keyframes fadeInSequential {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
