:root {
    --black: #0a0a0a;
    --white: #fafafa;
    --gray: #888;
    --accent: #222;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--white);
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Landing Overlay */
.landing-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.landing-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.landing-content {
    text-align: center;
    animation: fadeInUp 1s ease-out;
    padding: 0 1rem;
}

.landing-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 300;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    color: var(--white);
}

.landing-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    font-weight: 200;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3rem;
}

.landing-title {
    font-size: clamp(1.2rem, 4vw, 2.5rem);
    font-weight: 200;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3rem;
    max-width: 95%;
    word-break: keep-all;
    white-space: nowrap;
}

.landing-button {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--white);
    padding: 1rem 3rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.landing-button:hover,
.landing-button:active {
    background: var(--white);
    color: var(--black);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.6), rgba(0, 0, 0, 0.4)), 
                url('../pictures/home/hero.jpg') center/cover no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.01) 50%, transparent 100%),
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.02) 2px, rgba(0,0,0,0.02) 4px);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    z-index: 1;
    animation: fadeInUp 1.2s ease-out;
    padding: 0 1rem;
}

.hero-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 300;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    color: var(--white);
    position: relative;
    display: inline-block;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.5);
}

.hero-name::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--white), transparent);
    animation: lineExpand 1.5s ease-out 0.5s both;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-weight: 200;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 2rem;
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.5);
}

.hero-location {
    font-size: 0.9rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 1rem;
    letter-spacing: 0.1em;
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.5);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    padding: 1rem;
}

.scroll-indicator::before {
    content: '↓';
    font-size: 2rem;
    color: var(--white);
    opacity: 0.7;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

/* Audio Control */
.audio-control {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    background: transparent;
    color: var(--black);
    border: 1px solid var(--black);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    -webkit-tap-highlight-color: transparent;
}

.audio-control:hover,
.audio-control:active {
    background: var(--black);
    color: var(--white);
    transform: scale(1.05);
}

.audio-control.playing {
    border-color: var(--black);
    animation: none;
}

/* About Section */
.section {
    padding: 8rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 300;
    margin-bottom: 3rem;
    letter-spacing: 0.05em;
    position: relative;
    display: inline-block;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--accent);
    font-weight: 300;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-highlight {
    background-color: transparent;
    color: var(--black);
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.about-highlight-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 2 / 3;
}

.about-highlight h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

.about-highlight p {
    font-size: 1rem;
    line-height: 1.8;
    font-weight: 300;
}

/* Portfolio Categories */
.categories {
    margin-top: 6rem;
}

/* Results Section */
.results-section {
    width: 100%;
    background-color: var(--black);
    padding: 0;
    margin: 0;
}

.results-container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.results-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

/* Mobile version of the image */
.results-bg-image-mobile {
    display: none;
}

@media (max-width: 768px) {
    .results-bg-image {
        display: none;
    }
    
    .results-bg-image-mobile {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: left center;
        z-index: 1;
    }
}

.results-content {
    position: relative;
    z-index: 3;
    padding: 6rem;
    max-width: 50%;
    background-color: transparent;
    margin-right: 0;
}

.results-accent-line {
    width: 60px;
    height: 3px;
    background-color: var(--black);
    margin-bottom: 2rem;
}

.results-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: var(--black);
    text-transform: uppercase;
    text-shadow: 2px 2px 10px rgba(255, 255, 255, 0.5);
}

.results-text {
    margin-bottom: 2rem;
}

.results-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--black);
    margin-bottom: 1rem;
    font-weight: 300;
    text-shadow: 1px 1px 5px rgba(255, 255, 255, 0.5);
}

.results-list {
    list-style: none;
    margin-bottom: 2.5rem;
    padding: 0;
}

.results-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--black);
    font-weight: 400;
    text-shadow: 1px 1px 5px rgba(255, 255, 255, 0.5);
}

.results-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--black);
    font-weight: 700;
}

/* Slideshow Section */
.slideshow-section {
    width: 100%;
    overflow: hidden;
    background-color: var(--black);
    padding: 0;
    margin: 0;
}

.slideshow-container {
    width: 100%;
    position: relative;
    overflow: hidden;
    padding: 0;
}

.slideshow-track {
    display: flex;
    width: max-content;
    animation: slide 80s linear infinite;
}

.slideshow-slide {
    flex-shrink: 0;
    width: 60vw;
    max-width: 800px;
    min-width: 400px;
    aspect-ratio: 3 / 2;
    height: auto;
}

.slideshow-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Category Styles */
.category {
    border-bottom: 1px solid rgba(0,0,0,0.1);
    margin-bottom: 1rem;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.category-header:hover {
    padding-left: 1rem;
}

.category-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 300;
    letter-spacing: 0.05em;
}

.category-toggle {
    font-size: 2rem;
    font-weight: 200;
    transition: transform 0.3s ease;
}

.category.active .category-toggle {
    transform: rotate(45deg);
}

.category-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.category.active .category-content {
    max-height: 5000px;
}

.category-content-inner {
    padding: 0 0 3rem 0;
}

.category-intro {
    font-style: italic;
    color: var(--gray);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Portfolio Button */
.portfolio-button {
    display: inline-block;
    margin-top: 2rem;
    padding: 1rem 2.5rem;
    background-color: var(--black);
    color: var(--white);
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 300;
    transition: all 0.3s ease;
    border: 1px solid var(--black);
}

.portfolio-button:hover {
    background-color: transparent;
    color: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 200px;
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px) scale(0.95);
}

.category.active .gallery-item {
    animation: galleryItemFadeIn 0.6s ease-out forwards;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.category.active .gallery-item:nth-child(1) {
    animation-delay: 0.1s;
}

.category.active .gallery-item:nth-child(2) {
    animation-delay: 0.2s;
}

.category.active .gallery-item:nth-child(3) {
    animation-delay: 0.3s;
}

.category.active .gallery-item:nth-child(4) {
    animation-delay: 0.4s;
}

.category.active .gallery-item:nth-child(5) {
    animation-delay: 0.5s;
}

.category.active .gallery-item:nth-child(6) {
    animation-delay: 0.6s;
}

/* Creative layout - different sizes */
.gallery-item:nth-child(1) {
    grid-column: span 7;
    grid-row: span 2;
}

.gallery-item:nth-child(2) {
    grid-column: span 5;
    grid-row: span 2;
}

.gallery-item:nth-child(3) {
    grid-column: span 5;
    grid-row: span 2;
}

.gallery-item:nth-child(4) {
    grid-column: span 7;
    grid-row: span 2;
}

.gallery-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    z-index: 10;
}

.gallery-item::before {
    content: attr(data-caption);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    font-size: 0.9rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover::before {
    transform: translateY(0);
}

/* Contact Section */
.contact-section {
    background-color: var(--black);
    color: var(--white);
    padding: 8rem 5%;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 300;
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
}

.contact-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    font-weight: 300;
    color: rgba(255,255,255,0.8);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
    font-weight: 300;
}

.form-input,
.form-textarea {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    color: var(--white);
    padding: 1rem 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    -webkit-appearance: none;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-bottom-color: var(--white);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.form-button {
    background-color: var(--white);
    color: var(--black);
    border: none;
    padding: 1.2rem 3rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
    margin-top: 1rem;
    -webkit-tap-highlight-color: transparent;
}

.form-button:hover,
.form-button:active {
    background-color: var(--gray);
    color: var(--white);
    transform: translateX(10px);
}

/* Footer */
footer {
    background-color: #111;
    color: rgba(255,255,255,0.6);
    padding: 3rem 5%;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.footer-link {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.footer-link:hover {
    color: var(--white);
}

.footer-music {
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    color: rgba(255,255,255,0.5);
}

.footer-music a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.footer-music a:hover {
    color: var(--white);
}

.footer-copyright {
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

/* Legal Pages (Impressum & Datenschutz) */
.legal-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 6rem 5%;
    background-color: var(--white);
}

.back-link {
    display: inline-block;
    color: var(--gray);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.back-link:hover {
    color: var(--black);
}

.legal-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 300;
    margin-bottom: 3rem;
    letter-spacing: 0.05em;
}

.legal-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 400;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: 0.03em;
}

.legal-subheading {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 400;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.legal-text {
    margin-bottom: 1rem;
    line-height: 1.8;
    font-weight: 300;
}

.legal-list {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-list li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
    font-weight: 300;
}

.legal-section {
    margin-bottom: 2rem;
}

.legal-footer {
    margin-top: 6rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.1);
    text-align: center;
    color: var(--gray);
    font-size: 0.85rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes lineExpand {
    from {
        width: 0;
    }
    to {
        width: 60%;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    }
    50% {
        box-shadow: 0 4px 30px rgba(0,0,0,0.4);
    }
}

@keyframes galleryItemFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ==========================================
   RESPONSIVE BREAKPOINTS
   ========================================== */

/* Large Tablets and Small Laptops (1024px and below) */
@media (max-width: 1024px) {
    .results-content {
        max-width: 60%;
        padding: 4rem;
    }
    
    .gallery {
        grid-auto-rows: 180px;
    }
}

/* Tablets (768px and below) */
@media (max-width: 768px) {
    /* Hero Section */
    .hero {
        min-height: 600px;
    }
    
    .hero-name {
        font-size: clamp(2.5rem, 8vw, 4rem);
    }
    
    .scroll-indicator {
        bottom: 30px;
    }
    
    /* About Section */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section {
        padding: 5rem 5%;
    }
    
    /* Results Section */
    .results-container {
        min-height: auto;
        flex-direction: column;
    }

    .results-content {
        max-width: 100%;
        padding: 4rem 5%;
        margin-top: 50vh;
    }

    .results-title {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
        color: var(--white);
        text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
    }
    
    .results-text p {
        color: var(--white);
        text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
    }
    
    .results-list li {
        font-size: 0.9rem;
        color: var(--white);
        text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
    }
    
    .results-list li::before {
        color: var(--white);
    }
    
    .results-accent-line {
        background-color: var(--white);
    }
    
    /* Portfolio */
    .categories {
        margin-top: 4rem;
    }
    
    .category-header {
        padding: 1.5rem 0;
    }
    
    .category-title {
        font-size: clamp(1.6rem, 5vw, 2rem);
    }

    /* Gallery */
    .gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
        gap: 1rem;
    }

    .gallery-item:nth-child(1),
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4) {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    /* Slideshow */
    .slideshow-slide {
        width: 70vw;
        max-width: 600px;
        min-width: 300px;
        aspect-ratio: 3 / 2;
    }

    /* Contact Section */
    .contact-section {
        padding: 5rem 5%;
    }
    
    .form-button {
        width: 100%;
        padding: 1rem 2rem;
    }
    
    .form-button:hover,
    .form-button:active {
        transform: translateX(0);
    }

    /* Footer */
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    /* Audio Control */
    .audio-control {
        bottom: 20px;
        right: 20px;
        width: 36px;
        height: 36px;
        font-size: 0.65rem;
    }

    /* Legal Pages */
    .legal-container {
        padding: 4rem 5%;
    }
    
    .legal-subtitle {
        font-size: 1.5rem;
    }
    
    .legal-subheading {
        font-size: 1.15rem;
    }
}

/* Mobile Devices (480px and below) */
@media (max-width: 480px) {
    /* Landing Overlay */
    .landing-title {
        font-size: clamp(0.9rem, 3.5vw, 1.5rem);
        letter-spacing: 0.1em;
    }

    .landing-button {
        padding: 0.8rem 2rem;
        font-size: 0.75rem;
        letter-spacing: 0.15em;
    }
    
    /* Hero Section */
    .hero {
        min-height: 500px;
    }
    
    .hero-name {
        font-size: clamp(2rem, 10vw, 3rem);
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: clamp(0.85rem, 3vw, 1rem);
        letter-spacing: 0.2em;
    }
    
    .hero-location {
        font-size: 0.8rem;
    }
    
    .scroll-indicator {
        bottom: 20px;
    }
    
    .scroll-indicator::before {
        font-size: 1.5rem;
    }
    
    /* Sections */
    .section {
        padding: 3rem 5%;
    }
    
    .section-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
        margin-bottom: 2rem;
    }
    
    /* About Section */
    .about-text {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .about-highlight-image {
        aspect-ratio: 3 / 4;
    }
    
    /* Results Section */
    .results-content {
        padding: 3rem 5%;
        margin-top: 40vh;
    }
    
    .results-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
        color: var(--white);
        text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
    }
    
    .results-text p {
        font-size: 0.9rem;
        line-height: 1.6;
        color: var(--white);
        text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
    }
    
    .results-list li {
        font-size: 0.85rem;
        padding-left: 1.2rem;
        color: var(--white);
        text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
    }
    
    .results-accent-line {
        width: 40px;
        height: 2px;
        background-color: var(--white);
    }
    
    /* Portfolio */
    .categories {
        margin-top: 3rem;
    }
    
    .category-header {
        padding: 1.2rem 0;
    }
    
    .category-header:hover {
        padding-left: 0;
    }
    
    .category-title {
        font-size: clamp(1.4rem, 6vw, 1.8rem);
    }
    
    .category-toggle {
        font-size: 1.5rem;
    }
    
    .category-intro {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    /* Gallery */
    .gallery {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
        gap: 1rem;
    }
    
    .gallery-item:hover {
        transform: translateY(0) scale(1);
    }
    
    /* Slideshow */
    .slideshow-slide {
        width: 80vw;
        max-width: 500px;
        min-width: 280px;
        aspect-ratio: 3 / 2;
    }
    
    /* Contact Section */
    .contact-section {
        padding: 3rem 5%;
    }
    
    .contact-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }
    
    .contact-intro {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .form-label {
        font-size: 0.8rem;
    }
    
    .form-input,
    .form-textarea {
        font-size: 0.9rem;
        padding: 0.8rem 0;
    }
    
    .form-textarea {
        min-height: 120px;
    }
    
    .form-button {
        padding: 1rem 2rem;
        font-size: 0.8rem;
    }
    
    /* Footer */
    footer {
        padding: 2rem 5%;
    }
    
    .footer-link {
        font-size: 0.8rem;
    }
    
    .footer-music,
    .footer-copyright {
        font-size: 0.7rem;
    }
    
    /* Audio Control */
    .audio-control {
        bottom: 15px;
        right: 15px;
        width: 32px;
        height: 32px;
        font-size: 0.6rem;
    }
    
    /* Legal Pages */
    .legal-container {
        padding: 3rem 5%;
    }
    
    .back-link {
        font-size: 0.8rem;
        margin-bottom: 2rem;
    }
    
    .legal-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
        margin-bottom: 2rem;
    }
    
    .legal-subtitle {
        font-size: 1.3rem;
        margin-top: 2rem;
    }
    
    .legal-subheading {
        font-size: 1.1rem;
    }
    
    .legal-text {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .legal-footer {
        margin-top: 4rem;
        font-size: 0.8rem;
    }
}

/* Extra Small Devices (360px and below) */
@media (max-width: 360px) {
    .landing-title {
        font-size: 0.85rem;
        letter-spacing: 0.08em;
    }
    
    .hero-name {
        font-size: 1.8rem;
    }
    
    .section {
        padding: 2.5rem 4%;
    }
    
    .gallery {
        grid-auto-rows: 200px;
    }
    
    .slideshow-slide {
        width: 90vw;
        max-width: 400px;
        aspect-ratio: 3 / 2;
    }
}

/* Landscape Mode Optimizations for Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 400px;
    }
    
    .scroll-indicator {
        bottom: 15px;
    }
    
    .hero-name::after {
        bottom: -5px;
    }
    
    .section {
        padding: 4rem 5%;
    }
}

/* Touch Device Specific Styles */
@media (hover: none) and (pointer: coarse) {
    /* Remove hover effects on touch devices */
    .gallery-item:hover {
        transform: translateY(0);
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    
    .gallery-item:hover::before {
        transform: translateY(100%);
    }
    
    .category-header:hover {
        padding-left: 0;
    }
    
    /* Make interactive elements larger for touch */
    .category-header {
        padding: 1.5rem 0;
    }
    
    .scroll-indicator {
        padding: 1.5rem;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero {
        background-image: linear-gradient(135deg, rgba(10, 10, 10, 0.6), rgba(0, 0, 0, 0.4)), 
                          url('../pictures/home/hero.jpg');
    }
}

/* Reduced Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .slideshow-track {
        animation: none;
    }
}
/* Portfolio Pages Specific Styles */

/* Navigation */
.portfolio-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(250, 250, 250, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem 5%;
    z-index: 100;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-back {
    color: var(--black);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 300;
    transition: all 0.3s ease;
    display: inline-block;
}

.nav-back:hover {
    transform: translateX(-5px);
    color: var(--gray);
}

/* Portfolio Header */
.portfolio-header {
    padding: 10rem 5% 4rem;
    text-align: center;
    background: linear-gradient(180deg, #fafafa 0%, #f5f5f5 100%);
}

.portfolio-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 300;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    color: var(--black);
}

.portfolio-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 300;
    letter-spacing: 0.1em;
    color: var(--gray);
    font-style: italic;
}

/* Portfolio Grid */
.portfolio-grid-section {
    padding: 4rem 5% 6rem;
    background-color: var(--white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    grid-auto-rows: 250px;
    gap: 2rem;
    max-width: 1600px;
    margin: 0 auto;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    background-color: #f5f5f5;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    grid-row: span 1;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: var(--white);
    font-size: 3rem;
    font-weight: 200;
    cursor: pointer;
    background: none;
    border: none;
    transition: transform 0.3s ease;
    z-index: 1001;
}

.lightbox-close:hover {
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--white);
    font-size: 3rem;
    font-weight: 200;
    cursor: pointer;
    background: none;
    border: none;
    padding: 1rem;
    transition: transform 0.3s ease;
    user-select: none;
}

.lightbox-prev {
    left: 2rem;
}

.lightbox-prev:hover {
    transform: translateY(-50%) translateX(-5px);
}

.lightbox-next {
    right: 2rem;
}

.lightbox-next:hover {
    transform: translateY(-50%) translateX(5px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .portfolio-nav {
        padding: 1.2rem 5%;
    }

    .nav-back {
        font-size: 0.8rem;
    }

    .portfolio-header {
        padding: 8rem 5% 3rem;
    }

    .portfolio-title {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }

    .portfolio-subtitle {
        font-size: clamp(0.9rem, 3vw, 1.1rem);
    }

    .portfolio-grid-section {
        padding: 3rem 5% 4rem;
    }

    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        grid-auto-rows: 200px;
        gap: 1rem;
    }

    .portfolio-item {
        grid-row: span 1;
    }

    .portfolio-item:hover {
        transform: translateY(0);
    }

    .lightbox-close {
        top: 1rem;
        right: 1rem;
        font-size: 2.5rem;
    }

    .lightbox-nav {
        font-size: 2rem;
        padding: 0.5rem;
    }

    .lightbox-prev {
        left: 0.5rem;
    }

    .lightbox-next {
        right: 0.5rem;
    }
}

@media (max-width: 480px) {
    .portfolio-header {
        padding: 7rem 5% 2rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 300px;
        gap: 1rem;
    }

    .portfolio-item {
        grid-row: span 1;
    }

    .lightbox-content {
        max-width: 95%;
    }
}

/* Loading Animation - REMOVED */