:root {
    --text-color: #2d3436;
    --bg-color: #fafafa;
    --accent-color: #000000; 
    --transition-slow: all 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    overflow-x: hidden;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 25px;
    color: var(--text-color);
    background-color: var(--bg-color);
    min-height: 100vh; 
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

header {
    padding: 40px 80px;
    position: relative;
    backdrop-filter: blur(5px);
    z-index: 100;
}

nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    gap: 60px;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 28px;
    font-weight: 400;
    position: relative;
    transition: var(--transition-slow);
}

nav a::after {
    content: '';
    position: absolute;
    width: 0px;
    height: 1px;
    bottom: -5px;
    left: 0px;
    background-color: var(--text-color);
    transition: width 400ms ease;
}

nav a.active::after {
    width: 100%;
    background-color: #000000;
}

nav a.active {
    color: var(--text-color);
    font-weight: 400; 
}

nav a:hover::after {
    width: 100%;
}

.hamburger-menu, .menu-toggle {
    display: none;
}

#logo {
    font-size: 56px;
    font-weight: 700;
    letter-spacing: -2px;
    margin: 0px 40px;
    transition: letter-spacing 500ms ease;
}

#logo:hover {
    letter-spacing: 1px;
}

main {
    width: 100%;
    flex-grow: 1; 
}

.image, .hero-banner {
    width: 100%;
    height: 500px;
    overflow: hidden;
    margin: 0px auto;
}

.image img, .hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: sepia(0.1) brightness(0.9);
    animation: slowBreath 25000ms infinite alternate ease-in-out;
}

.quote {
    text-align: center;
    padding: 100px 150px;
}

.quote p {
    font-weight: 300;
    font-style: italic;
    font-size: 35px;
    line-height: 55px;
    color: #636e72;
    animation: fadeInBlur 2000ms forwards;
}

footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 120px;
    border-top: 1px solid rgba(0,0,0,0.03);
    margin-top: auto; 
}

.social {
    display: flex;
    gap: 18px;
}

.social img {
    width: 22px;
    height: 22px;
    filter: grayscale(1) opacity(0.5);
    transition: var(--transition-slow);
}

.social img:hover {
    filter: grayscale(0) opacity(1);
    transform: translateY(-2px) scale(1.05);
}

small {
    font-size: 12px;
    letter-spacing: 0.5px;
    color: #b2bec3;
    text-transform: uppercase;
}

@keyframes slowBreath {
    from { transform: scale(1.05) translateY(0px); }
    to { transform: scale(1.15) translateY(-10px); }
}

@keyframes fadeInBlur {
    from { 
        opacity: 0;
        filter: blur(10px);
        transform: translateY(10px);
    }
    to { 
        opacity: 1;
        filter: blur(0px);
        transform: translateY(0px);
    }
}

@media (max-width: 768px) {
    header {
        padding: 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    body {
        min-height: 100vh;
        height: auto;
    }

    .menu-toggle {
        display: block; 
        font-size: 32px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 101;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%; 
        width: 70%;
        height: 100vh;
        background-color: var(--bg-color);
        transition: 0.4s ease-in-out;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);        
        visibility: hidden;
    }

    nav.active {
        right: 0;
        visibility: visible; 
        pointer-events: auto; 
    }

    nav ul {
        flex-direction: column;
        justify-content: center;
        height: 100%;
        gap: 30px;
    }

    #logo {
        margin: 10px 0;
        font-size: 40px;
        order: -1; 
    }

    .banner {
        height: 300px;
    }

    .quote {
        padding: 50px 20px; 
    }

    .quote p {
        font-size: 22px; 
        line-height: 34px;
    }

    footer {
        padding: 20px;
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}