@font-face {
    font-family: 'Lovelace';
    src: url('Lovelace-Script-Medium-trial.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

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

body {
    font-family: 'Futura', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #f5f5f0;
    color: #2c2c2c;
    line-height: 1.6;
}

/* === NAVIGATION === */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.2rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

.nav-container {
    max-width: 1800px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5rem;
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: #2c2c2c;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #2c2c2c;
    font-size: 1rem;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #4a7ba7;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 32px;
    height: 28px;
    cursor: pointer;
    position: relative;
}

.hamburger span {
    height: 3px;
    width: 100%;
    background: #2c2c2c;
    border-radius: 2px;
    transition: all 0.3s ease;
    position: absolute;
    left: 0;
}

.hamburger span:nth-child(1) { top: 6px; }
.hamburger span:nth-child(2) { top: 13px; }
.hamburger span:nth-child(3) { top: 20px; }

/* === HERO SECTION === */
.hero {
    margin-top: 80px;
    height: 75vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('resources/michelangelo.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0 1.5rem;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-content {
    text-align: center;
    z-index: 2;
    padding: 2rem;
    max-width: 90%;
}

.hero h1 {
    font-family: 'Lovelace', 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 8vw, 6rem);
    font-weight: 500;
    letter-spacing: 3px;
    margin-bottom: 3rem;
    color: #fff;
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
}

.hero-subtitle {
    font-size: clamp(0.9rem, 3vw, 1.7rem);
    letter-spacing: 2.5px;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
}

/* === BIOGRAPHY === */
.biography {
    padding: 8rem;
}

.bio-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
}

.bio-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 500;
    margin-bottom: 2rem;
    color: #2c2c2c;
    letter-spacing: 1.5px;
}

.gallery-subtitle {
    font-family: 'Futura', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2.5rem;
    letter-spacing: 0.5px;
    text-align: left;
    max-width: 700px;
}

.bio-text p {
    font-family: 'Futura', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #444;
    line-height: 1.9;
    margin-bottom: 1.6rem;
    font-size: 1.05rem;
    text-align: left;
}

.bio-text em {
    font-style: italic;
    color: #4a7ba7;
}

.bio-image {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.bio-image img {
    width: 100%;
    height: auto;
    max-width: 420px;
    max-height: 480px;
    object-fit: cover;
    object-position: top;
    border-radius: 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* === GALLERY === */
.gallery-section {
    background-color: #e5e3db;
    padding: 8rem;
}

.gallery-container {
    max-width: 1400px;
    margin: 0 auto;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    margin-top: 2.5rem;
}

.carousel-track {
    display: flex;
    gap: 24px;
    transition: transform 0.45s cubic-bezier(.25, .8, .25, 1);
    will-change: transform;
}

.carousel-slide {
    flex: 0 0 calc(33.333% - 16px);
    background: #fafafa;
    border: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    border-radius: 0;
}

.carousel-slide img {
    height: 260px;
    object-fit: cover;
    border-radius: 0;
}

.work-caption {
    padding: 1rem 1.2rem 1.4rem;
    font-size: 0.9rem;
}

.work-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 0.4rem;
}

.work-meta {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.work-material {
    color: #4a7ba7;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.08);
    width: 42px;
    height: 42px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
    z-index: 10;
}

.carousel-arrow.prev { left: 12px; }
.carousel-arrow.next { right: 12px; }

/* === APPROACH SECTION === */
.approach-section {
    background-color: #f5f5f0;
    padding: 8rem;
}

.approach-container {
    max-width: 1400px;
    margin: 0 auto;
}

.approach-subtitle {
    font-family: 'Futura', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.15rem;
    color: #4a4a4a;
    margin-bottom: 3.5rem;
    line-height: 1.85;
    letter-spacing: 0.4px;
    text-align: left;
}

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

.approach-card {
    background: #fafafa;
    border: 1px solid #e0e0e0;
    padding: 1.8rem 2rem 2rem;
    border-radius: 0;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.03);
}

.approach-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.55rem;
    font-weight: 600;
    color: #4a7ba7;
    margin-bottom: 0.9rem;
    letter-spacing: 0.7px;
}

.approach-card p {
    font-family: 'Futura', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.05rem;
    color: #3a3a3a;
    line-height: 1.85;
    margin-bottom: 1rem;
}

.approach-card p strong {
    color: #222;
    font-weight: 600;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1024px) {
    .biography,
    .gallery-section,
    .approach-section {
        padding: 5rem 3rem;
    }

    .bio-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .bio-title {
        font-size: 2.4rem;
        margin-bottom: 1.5rem;
    }

    .bio-image {
        justify-content: center;
    }

    .bio-image img {
        max-width: 340px;
        max-height: 320px;
    }

    .carousel-slide {
        flex: 0 0 calc(50% - 12px);
    }

    .approach-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {
    .nav-container {
        padding: 0 2rem;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        right: 0;
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(8px);
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        padding: 1.2rem 1.5rem;
        width: 45%;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        box-shadow: -4px 6px 18px rgba(0, 0, 0, 0.1);
    }

    .nav-links.open {
        transform: translateX(0);
    }

    .nav-links a {
        font-size: 1rem;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg);
        top: 13px;
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg);
        top: 13px;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 75vh;
    }
}

@media (max-width: 640px) {
    .biography,
    .gallery-section,
    .approach-section {
        padding: 4rem 2rem;
    }

    .bio-title {
        font-size: 2rem;
    }

    .bio-text p {
        font-size: 1rem;
    }

    .bio-image img {
        max-width: 300px;
        max-height: 280px;
    }

    .carousel-slide {
        flex: 0 0 100%;
    }

    .approach-grid {
        grid-template-columns: 1fr;
    }

    .approach-subtitle {
        font-size: 1.05rem;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 65vh;
        padding: 0 1rem;
    }

    .hero-subtitle {
        letter-spacing: 1px;
    }
}