/* Fonts */
@font-face {
    font-family: 'Alte Haas Grotesk';
    src: url('fonts/AlteHaasGroteskRegular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Alte Haas Grotesk';
    src: url('fonts/AlteHaasGroteskBold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #f5f5f5;
    --text-color: #333;
    --light-text: #666;
    --accent-color: #fff;
    --nav-color: #f5edd6;
    --spacing-unit: 1rem;
    /* Accent colors */
    --color-darkblue: #385085;
    --color-green: #427a56;
    --color-lightblue: #1d7ead;
    --color-red: #e73c2d;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background: #000;
}

/* Hero Header */
.hero-header {
    position: relative;
    height: calc(100vh + 150px);
    background: url('images/photography/header/header.jpg') center 0%/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    color: white;
    background-attachment: fixed;
    transition: background-image 0.4s ease;
}

.hero-header.illustrations {
    background: url('images/illustrations/header/header.jpg') center 0%/cover no-repeat;
    background-attachment: fixed;
}

/* Ensure no background animations on illustration header */
.hero-header.illustrations {
    animation: none !important;
    transition: none !important;
}

/* Top Navigation */
.top-nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 2rem 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
}

.nav-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(4rem, 5vw, 6rem);
    flex-wrap: nowrap;
}

/* Photography-specific: spread menu items across full width */
.hero-header:not(.illustrations) .nav-group[data-portfolio="photography"] {
    justify-content: space-between;
    width: calc(100vw - 4rem);
    max-width: none;
    gap: 0;
    padding: 0 1.5rem;
}

/* Photography-specific: larger menu font */
.hero-header:not(.illustrations) .nav-link {
    font-size: clamp(1.5rem, 1.7vw, 1.8rem);
}

.nav-group[hidden] {
    display: none;
}

/* Hide illustrations nav by default */
.nav-group[data-portfolio="illustrations"] {
    display: none;
}

/* Show illustrations nav when in illustrations mode */
.hero-header.illustrations .nav-group[data-portfolio="illustrations"] {
    display: flex;
}

/* Hide photography nav when in illustrations mode */
.hero-header.illustrations .nav-group[data-portfolio="photography"] {
    display: none;
}


.nav-link {
    color: var(--nav-color);
    text-decoration: none;
    font-family: 'Alte Haas Grotesk', sans-serif;
    font-size: clamp(1.2rem, 1.3vw, 1.4rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: lowercase;
    transition: opacity 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.nav-link:hover {
    opacity: 1;
    color: var(--color-darkblue);
}

/* Logo */
.hero-content {
    position: relative;
    text-align: center;
    z-index: 10;
    margin-top: 6rem;
}

/* Photography-specific: less space between menu and title */
.hero-header:not(.illustrations) .hero-content {
    margin-top: 3.5rem;
}

.logo-link {
    display: inline-block;
    text-decoration: none;
}

.logo {
    max-width: 1000px;
    width: 85vw;
    height: auto;
    animation: fadeInUp 1.2s ease-out;
}

/* Subject overlay for photography header (layered effect) */
.hero-subject-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    min-height: 100vh;
    object-fit: cover;
    object-position: center 0%;
    pointer-events: none;
    z-index: 15;
}

/* Hide subject overlay on illustrations page */
.hero-header.illustrations .hero-subject-overlay {
    display: none !important;
}

/* Photography-specific larger logo */
.hero-header:not(.illustrations) .logo {
    max-width: none;
    width: calc(100vw - 5rem);
}

/* Illustrations-specific larger logo with less margin */
.hero-header.illustrations .logo {
    max-width: none;
    width: calc(100vw - 10rem);
}

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

/* Large viewport - bigger nav and logo for illustrations */
@media (min-width: 1400px) {
    .hero-header.illustrations .nav-link {
        font-size: 1.7rem;
    }

    .hero-header.illustrations .nav-group {
        gap: 9rem;
    }

    .hero-header.illustrations .logo {
        max-width: none;
        width: calc(100vw - 10rem);
    }
}

/* Portfolio Sections */
.portfolio-section {
    display: block;
}

.portfolio-section[hidden] {
    display: none;
}

/* Scroll Indicator - Hidden */
.scroll-indicator {
    display: none;
}

/* Gallery Section */
.gallery-section {
    position: relative;
    padding: 4rem 12rem 8rem;
    background: #ffffff;
    border-radius: 60px;
    margin: -150px 0;
    z-index: 20;
}

/* Section Title */
.section-title {
    font-family: 'Alte Haas Grotesk', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-color);
    letter-spacing: 0.12em;
    text-transform: lowercase;
    position: relative;
    display: inline-block;
    width: 100%;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 8px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 8' preserveAspectRatio='none'%3E%3Cpath d='M0 4 Q5 1, 10 4 T20 4 T30 4 T40 4 T50 4 T60 4' stroke='%23385085' stroke-width='2.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    opacity: 0.85;
}

/* Alternating colors for section title stripes */
#kinderboek .section-title::after,
#zwartwit .section-title::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 8' preserveAspectRatio='none'%3E%3Cpath d='M0 4 Q5 1, 10 4 T20 4 T30 4 T40 4 T50 4 T60 4' stroke='%23427a56' stroke-width='2.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
}

#concept-art .section-title::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 8' preserveAspectRatio='none'%3E%3Cpath d='M0 4 Q5 1, 10 4 T20 4 T30 4 T40 4 T50 4 T60 4' stroke='%231d7ead' stroke-width='2.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
}

#kleur .section-title::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 8' preserveAspectRatio='none'%3E%3Cpath d='M0 4 Q5 1, 10 4 T20 4 T30 4 T40 4 T50 4 T60 4' stroke='%23e73c2d' stroke-width='2.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
}

.grid-container {
    max-width: 750px;
    margin: 0 auto;
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 5/7;
    cursor: pointer;
    display: block;
    background: #ffffff;
    border-radius: 12px;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.3s ease;
    display: block;
    border-radius: 12px;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.gallery-item:hover img {
    transform: scale(1.08) translateZ(0);
    filter: brightness(1.1);
}

/* Video indicator overlay */
.video-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: white;
    background: rgba(0, 0, 0, 0.6);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: all 0.3s ease;
    padding-left: 5px; /* Center the play icon */
}

.gallery-item:hover .video-indicator {
    background: rgba(0, 0, 0, 0.8);
    transform: translate(-50%, -50%) scale(1.1);
}

/* Full Width Section with Parallax */
.fullwidth-section {
    position: relative;
    height: 120vh;
    overflow: hidden;
    border-radius: 60px;
    margin: 0;
    z-index: 17;
}


.fullwidth-section.parallax {
    background-position: center;
    background-size: cover;
}

.fullwidth-section a {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 60px;
    overflow: hidden;
}

.fullwidth-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* About Hero Section - removed, image now in about-contact grid */

/* About & Contact Section */
.about-contact-section {
    position: relative;
    background: #ffffff;
    border-radius: 60px;
    margin-top: -150px;
    margin-bottom: 0;
    padding: 5rem 4rem 6rem;
    z-index: 20;
}

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

.about-title {
    font-family: 'Alte Haas Grotesk', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-color);
    letter-spacing: 0.12em;
    text-transform: lowercase;
    position: relative;
    display: inline-block;
    width: 100%;
    padding-bottom: 1rem;
}

.about-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 8px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 8' preserveAspectRatio='none'%3E%3Cpath d='M0 4 Q5 1, 10 4 T20 4 T30 4 T40 4 T50 4 T60 4' stroke='%231d7ead' stroke-width='2.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    opacity: 0.85;
}

.about-text {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.contact-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-bottom: 6rem;
}

.about-image-grid {
    overflow: hidden;
    border-radius: 12px;
    width: 230px;
    height: 300px;
    flex-shrink: 0;
}

.about-portrait {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 85%;
    transform: scale(1.4);
    transition: transform 0.3s ease;
}

.about-image-grid:hover .about-portrait {
    transform: scale(1.5);
}

.contact-details {
    text-align: left;
    margin-bottom: 0;
}

.contact-name {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.contact-item {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    margin: 0.8rem 0;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
}

.contact-item svg {
    flex-shrink: 0;
}

.contact-link {
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-link:hover {
    opacity: 1;
}

/* Alternating hover colors for contact links */
.contact-details .contact-link:nth-child(2):hover {
    color: var(--color-darkblue);
}

.contact-details .contact-link:nth-child(3):hover {
    color: var(--color-green);
}

.contact-details .contact-link:nth-child(4):hover {
    color: var(--color-lightblue);
}

.contact-details .contact-link:nth-child(5):hover {
    color: var(--color-red);
}

/* Clients Grid */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem 2rem;
    align-items: center;
    justify-items: center;
    margin-top: 4rem;
}

.client-logo {
    max-width: 150px;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.client-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Alternating hover colors for client logos */
.client-logo:nth-child(4n+1):hover {
    filter: grayscale(0%) brightness(0) saturate(100%) invert(27%) sepia(51%) saturate(500%) hue-rotate(196deg);
}

.client-logo:nth-child(4n+2):hover {
    filter: grayscale(0%) brightness(0) saturate(100%) invert(42%) sepia(15%) saturate(1200%) hue-rotate(90deg);
}

.client-logo:nth-child(4n+3):hover {
    filter: grayscale(0%) brightness(0) saturate(100%) invert(40%) sepia(80%) saturate(500%) hue-rotate(165deg);
}

.client-logo:nth-child(4n+4):hover {
    filter: grayscale(0%) brightness(0) saturate(100%) invert(35%) sepia(90%) saturate(2000%) hue-rotate(345deg);
}

/* Footer */
.footer {
    padding: 2rem 2rem;
    text-align: center;
    background: transparent;
    color: #ccc;
    font-size: 0.9rem;
    margin-top: 1.5rem;
    position: relative;
    z-index: 1;
}

.footer p {
    color: #ccc !important;
}

/* Tablet Styles */
@media (max-width: 1024px) {
    .top-nav {
        padding: 1.5rem 2rem;
    }

    .nav-group {
        gap: 4rem;
    }

    .nav-link {
        font-size: 1.4rem;
    }

    .hero-header {
        height: calc(100vh + 100px);
    }

    .grid-6 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .gallery-section {
        padding: 3rem 3rem 6rem;
        border-radius: 50px;
        margin: -100px 0;
    }

    .section-title {
        font-size: 1.4rem;
        margin-bottom: 3rem;
        letter-spacing: 0.10em;
        padding-bottom: 0.85rem;
    }

    .section-title::after {
        width: 50px;
        height: 7px;
    }

    .hero-content {
        margin-top: 5rem;
    }

    .logo {
        max-width: 800px;
        width: 88vw;
    }

    .fullwidth-section {
        height: 100vh;
        border-radius: 50px;
        margin: 0;
    }

    .fullwidth-section a {
        border-radius: 50px;
    }

    .about-hero {
        height: 150vh;
        background-attachment: scroll;
    }

    .about-contact-section {
        padding: 4rem 3rem 5rem;
        border-radius: 50px;
        margin-top: -100px;
        margin-bottom: 0;
    }

    .about-title {
        font-size: 1.6rem;
    }

    .about-text {
        font-size: 0.95rem;
    }

    .contact-heading {
        font-size: 1.4rem;
    }

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

    .client-logo {
        max-width: 120px;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .top-nav {
        padding: 0;
        justify-content: flex-end;
        align-items: flex-start;
        pointer-events: none;
        height: 100%;
    }

    .nav-group {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 1rem;
        padding: 2rem;
        pointer-events: auto;
    }

    .nav-group[hidden] {
        display: none;
    }

    /* Photography: position below logo */
    .hero-header:not(.illustrations) .nav-group[data-portfolio="photography"]:not([hidden]) {
        position: absolute;
        top: 5rem;
        right: 0.75rem;
        justify-content: flex-start;
        width: auto;
        max-width: none;
        gap: 0.3rem;
        padding-right: 0;
    }

    /* Illustrations: position near bottom of header on mobile */
    .hero-header.illustrations .nav-group[data-portfolio="illustrations"]:not([hidden]) {
        position: absolute;
        top: auto;
        bottom: 12%;
        right: 0;
        z-index: 200;
        gap: 0.3rem;
    }

    .nav-link {
        font-size: 1.5rem;
        text-align: right;
        color: #f5edd6;
        line-height: 1;
        animation: fadeInUp 1.2s ease-out;
        animation-delay: 0.2s;
        animation-fill-mode: backwards;
    }

    .hero-header {
        background-attachment: scroll;
        height: calc(100vh + 80px);
    }

    /* On mobile, use absolute positioning instead of fixed for subject overlay */
    .hero-subject-overlay {
        position: absolute;
        height: calc(100vh + 80px);
    }

    .hero-content {
        margin-top: 0.8rem;
    }

    /* Override photography-specific desktop margin on mobile to be equal */
    .hero-header:not(.illustrations) .hero-content {
        margin-top: 0.8rem;
    }

    /* Position illustrations header to show coffin procession on mobile */
    .hero-header.illustrations {
        background-size: auto 100%;
        background-position: 10% top;
    }

    .logo {
        max-width: none !important;
        width: calc(100vw - 1rem) !important;
    }

    /* Photography logo even larger on mobile */
    .hero-header:not(.illustrations) .logo {
        width: calc(100vw - 1.5rem) !important;
    }

    /* Illustrations logo larger on mobile */
    .hero-header.illustrations .logo {
        width: calc(100vw - 2rem) !important;
    }

    .gallery-section {
        padding: 2.5rem 0 5rem;
        border-radius: 40px;
        margin: -80px 0;
    }

    .section-title {
        font-size: 1.2rem;
        margin-bottom: 2.5rem;
        letter-spacing: 0.08em;
        padding-bottom: 0.75rem;
    }

    .section-title::after {
        width: 40px;
        height: 6px;
    }

    .grid-container {
        max-width: none;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .grid-6 {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 1rem;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        grid-template-columns: unset;
    }

    .grid-6::-webkit-scrollbar {
        display: none;
    }

    .gallery-item {
        flex: 0 0 75vw;
        max-width: 75vw;
        aspect-ratio: 5/7;
        scroll-snap-align: center;
        border-radius: 10px;
    }

    .gallery-item img {
        border-radius: 10px;
    }

    .fullwidth-section {
        height: 90vh;
        background-attachment: scroll;
        border-radius: 40px;
        margin: 0;
    }

    .fullwidth-section a {
        border-radius: 40px;
    }


    .about-hero {
        height: 130vh;
        background-attachment: scroll;
    }

    .about-contact-section {
        padding: 3rem 2rem 4rem;
        border-radius: 40px;
        margin-top: -80px;
        margin-bottom: 0;
    }

    .about-title {
        font-size: 1.4rem;
        margin-bottom: 2rem;
    }

    .about-text {
        font-size: 0.9rem;
        margin-bottom: 3rem;
    }

    .contact-row {
        flex-direction: column;
        gap: 2rem;
    }

    .contact-details {
        text-align: center;
    }

    .contact-name {
        font-size: 1rem;
    }

    .contact-item {
        font-size: 0.9rem;
        justify-content: center;
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 1rem;
    }

    .client-logo {
        max-width: 100px;
    }

    .scroll-indicator {
        bottom: 2rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .top-nav {
        padding: 0;
    }

    .nav-group {
        gap: 0.3rem;
        padding: 1.5rem;
    }

    .nav-link {
        font-size: 1.5rem;
    }

    .hero-header {
        height: calc(100vh + 80px);
    }

    .hero-content {
        margin-top: 0.8rem;
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem 1rem;
    }

    .client-logo {
        max-width: 100px;
    }

    .about-image-grid {
        width: 280px;
        height: 365px;
    }
}

/* GLightbox Custom Styles */
.glightbox-clean .gslide-description {
    background: rgba(0, 0, 0, 0.9);
}

.glightbox-clean .gdesc-inner {
    padding: 22px;
}

/* Center video in lightbox */
.glightbox-clean .gslide-media {
    display: flex;
    justify-content: center;
    align-items: center;
}

.glightbox-clean .gvideo-wrapper {
    margin: 0 auto;
}

/* Loading States */
.gallery-item img,
.fullwidth-image {
    background: #ffffff;
}

/* Smooth Transitions */
section {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Accessibility - Remove focus outline */
a:focus,
button:focus,
a:focus-visible,
button:focus-visible {
    outline: none;
}

/* Back to Home Button */
.back-to-home {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 26, 26, 0.15);
    border-radius: 50%;
    z-index: 1000;
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
}

.back-to-home svg {
    color: #FFFCF5;
    transition: all 0.3s ease;
}

.back-to-home:hover {
    background: #e73c2d;
    transform: translateX(-3px);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
}

.back-to-home:hover svg {
    color: #FFFCF5;
    transform: translateX(-2px);
}

/* Video Thumbnail Play Button */
.video-thumbnail {
    position: relative;
    display: block;
    overflow: visible !important;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 26, 26, 0.15);
    border-radius: 50%;
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    z-index: 10;
}

.play-button svg {
    color: #FFFCF5;
    margin-left: 3px;
    transition: all 0.3s ease;
}

.video-thumbnail:hover .play-button {
    background: rgba(26, 26, 26, 0.25);
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
}

/* Animatie section - show full image without crop */
.fullwidth-section.animatie-section {
    height: auto !important;
    overflow: hidden;
    aspect-ratio: 7510 / 4364;
    margin-top: 120px;
    margin-bottom: 120px;
    border-radius: 0;
}

.fullwidth-section.animatie-section a {
    border-radius: 0;
    height: 100% !important;
}

.fullwidth-section.animatie-section .fullwidth-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Image Transition */
.portfolio-image {
    transition: opacity 0.4s ease;
}

.portfolio-image.transitioning {
    opacity: 0;
}

/* Mobile adjustments for back button */
@media (max-width: 768px) {
    .back-to-home {
        bottom: 1rem;
        left: 1rem;
        width: 44px;
        height: 44px;
    }

    .back-to-home svg {
        width: 18px;
        height: 18px;
    }
}

/* Print Styles */
@media print {
    .top-nav,
    .scroll-indicator,
    .contact-section,
    .footer,
    .back-to-home {
        display: none;
    }

    .hero-header {
        page-break-after: always;
    }
}
