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

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: #f5f5f5;
    color: #1a1a1a;
    min-height: 100vh;
}

/* Header */
.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem 2rem 2rem;
    position: relative;
}

.name {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 48px;
    font-weight: 500;
    letter-spacing: normal;
    color: #1a1a1a;
}

.subtitle {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 2.7px;
    color: #7f8c8d;
    margin-top: 0.5rem;
    text-transform: uppercase;
}

.instagram-link {
    position: absolute;
    top: 3rem;
    right: 2rem;
    color: #7f8c8d;
    text-decoration: none;
    transition: color 0.2s ease;
}

.instagram-link:hover {
    color: #2c3e50;
}

.instagram-icon {
    width: 24px;
    height: 24px;
}

/* Carousel Section */
.carousel-section {
    padding: 3rem 0;
    display: flex;
    justify-content: center;
}

.carousel {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.carousel::-webkit-scrollbar {
    display: none;
}

.carousel-track {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    padding-right: 3rem;
}

.carousel-image {
    flex-shrink: 0;
    width: 293px;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    scroll-snap-align: center;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.carousel-image:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

/* Footer / Quote */
.footer {
    padding: 2rem 3rem;
    text-align: right;
}

.quote {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 12px;
    font-style: italic;
    font-weight: 400;
    color: #7f8c8d;
}

/* Tablet breakpoint */
@media (max-width: 1024px) {
    .header {
        padding: 2.5rem 1.5rem 1.5rem;
    }

    .name {
        font-size: 40px;
    }

    .subtitle {
        font-size: 16px;
    }

    .instagram-link {
        top: 2.5rem;
        right: 1.5rem;
    }

    .carousel-track {
        padding: 1rem 0;
        padding-right: 2rem;
        gap: 0.875rem;
    }

    .carousel-image {
        width: 250px;
    }
}

/* Mobile breakpoint */
@media (max-width: 768px) {
    .header {
        padding: 2rem 1rem 1rem;
    }

    .name {
        font-size: 32px;
    }

    .subtitle {
        font-size: 14px;
        letter-spacing: 2px;
    }

    .instagram-link {
        top: 2rem;
        right: 1rem;
    }

    .instagram-icon {
        width: 20px;
        height: 20px;
    }

    .carousel-section {
        padding: 2rem 0;
    }

    .carousel-track {
        padding: 1rem 0;
        padding-right: 1.5rem;
        gap: 0.75rem;
    }

    .carousel-image {
        width: 200px;
        border-radius: 8px;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .name {
        font-size: 28px;
    }

    .subtitle {
        font-size: 12px;
        letter-spacing: 1.5px;
    }

    .carousel-image {
        width: 180px;
    }
}
