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

:root {
    --primary-color: #000000;
    --secondary-color: #666666;
    --text-color: #333333;
    --accent-color: #333333;
    --border-color: #e0e0e0;
    --white: #ffffff;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Image Protection */
img {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
    pointer-events: none;
}

img::selection {
    background: transparent;
}

.project-grid-image,
.project-detail-image {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

/* Scroll offset for sections */
section {
    scroll-margin-top: 100px;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 60px;
}

.container-fluid {
    max-width: 100%;
    padding: 0;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition);
}

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

.logo img {
    height: 40px;
    width: auto;
    display: block;
    pointer-events: auto;
}

.nav-menu {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 400;
    font-size: 15px;
    letter-spacing: 0.5px;
    transition: var(--transition);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -5px;
    left: 50%;
    background-color: var(--accent-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-menu a:hover {
    color: var(--accent-color);
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

/* Hero Section */
.hero-balboa {
    width: 100%;
    height: 50vh;
    min-height: 525px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    z-index: 1;
}

.hero-content-balboa {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--primary-color);
    max-width: 900px;
    padding: 0 20px;
}

.hero-content-balboa h2 {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.hero-content-balboa p {
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 300;
    letter-spacing: 1px;
    opacity: 0.7;
}

.hero-cta-text {
    font-size: clamp(16px, 2vw, 19px) !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px !important;
    opacity: 1 !important;
    margin-top: 40px !important;
    margin-bottom: 0 !important;
}

.hero-cta-button {
    display: inline-block;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 14px 40px;
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 0;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.hero-cta-button:hover {
    background-color: var(--accent-color);
    color: var(--white);
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Portfolio Section */
.portfolio-balboa {
    padding: 100px 0;
    max-width: 1400px;
    margin: 0 auto;
}

.project-section {
    margin-bottom: 180px;
}

.project-section.fade-start {
    opacity: 0;
    transform: translateY(40px);
}

.project-section.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-section:last-child {
    margin-bottom: 0;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(200px, auto);
    gap: 20px;
    margin-bottom: 80px;
    padding: 0 40px;
}

/* Variable grid layouts - maar nu met correcte alignment */
.project-grid.layout-1 .project-grid-image:nth-child(1) {
    grid-column: span 7;
    grid-row: span 2;
}
.project-grid.layout-1 .project-grid-image:nth-child(2) {
    grid-column: span 5;
    grid-row: span 1;
}
.project-grid.layout-1 .project-grid-image:nth-child(3) {
    grid-column: span 5;
    grid-row: span 1;
}
.project-grid.layout-1 .project-grid-image:nth-child(4) {
    grid-column: span 7;
    grid-row: span 1;
}

.project-grid.layout-2 .project-grid-image:nth-child(1) {
    grid-column: span 5;
    grid-row: span 1;
}
.project-grid.layout-2 .project-grid-image:nth-child(2) {
    grid-column: span 7;
    grid-row: span 2;
}
.project-grid.layout-2 .project-grid-image:nth-child(3) {
    grid-column: span 5;
    grid-row: span 1;
}
.project-grid.layout-2 .project-grid-image:nth-child(4) {
    grid-column: span 12;
    grid-row: span 1;
}

.project-grid.layout-3 .project-grid-image:nth-child(1) {
    grid-column: span 6;
    grid-row: span 1;
}
.project-grid.layout-3 .project-grid-image:nth-child(2) {
    grid-column: span 6;
    grid-row: span 1;
}
.project-grid.layout-3 .project-grid-image:nth-child(3) {
    grid-column: span 5;
    grid-row: span 1;
}
.project-grid.layout-3 .project-grid-image:nth-child(4) {
    grid-column: span 7;
    grid-row: span 1;
}

.project-grid.layout-4 .project-grid-image:nth-child(1) {
    grid-column: span 4;
    grid-row: span 1;
}
.project-grid.layout-4 .project-grid-image:nth-child(2) {
    grid-column: span 4;
    grid-row: span 1;
}
.project-grid.layout-4 .project-grid-image:nth-child(3) {
    grid-column: span 4;
    grid-row: span 1;
}
.project-grid.layout-4 .project-grid-image:nth-child(4) {
    grid-column: span 8;
    grid-row: span 1;
}

.project-grid-image {
    position: relative;
    overflow: hidden;
    background-color: #fafafa;
    min-height: 200px;
}

.project-grid-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-grid-image:hover img {
    transform: scale(1.08);
    opacity: 0.90;
}

.project-info {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.project-info h3 {
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 300;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.project-info p {
    font-size: 17px;
    line-height: 1.7;
    color: var(--secondary-color);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.project-link {
    display: inline-block;
    padding: 14px 36px;
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 0;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: var(--transition);
    cursor: pointer;
}

.project-link:hover {
    background-color: var(--accent-color);
    color: var(--white);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

/* Project Detail Modal */
.project-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    overflow-y: auto;
}

.project-modal.active {
    display: block;
}

.project-modal-content {
    position: relative;
    min-height: 100vh;
    background-color: var(--white);
}

.modal-back {
    position: fixed;
    top: 30px;
    left: 40px;
    background-color: transparent;
    color: #333;
    border: none;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    z-index: 2001;
    padding: 10px 20px;
    transition: var(--transition);
    text-shadow: 0 0 8px rgba(255,255,255,0.8),
                 0 0 12px rgba(255,255,255,0.6);
}

.modal-back:hover {
    opacity: 0.6;
}

@media (max-width: 768px) {
    .modal-back {
        top: 15px;
        left: 20px;
        color: white;
        text-shadow: none;
        mix-blend-mode: difference;
    }
}

.project-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 40px 80px;
}

.project-detail-header {
    text-align: center;
    margin-bottom: 60px;
}

.project-detail-header h1 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 300;
    margin-bottom: 30px;
    letter-spacing: -0.5px;
}

.project-detail-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
}

.project-detail-meta .meta-item {
    color: var(--secondary-color);
    font-size: 15px;
    white-space: nowrap;
    margin: 0 18px;
}

.project-detail-meta .meta-separator {
    color: var(--secondary-color);
    opacity: 0.3;
    margin: 0 8px;
}

.project-detail-description {
    max-width: 700px;
    margin: 0 auto 80px;
    text-align: center;
}

.project-detail-description p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-color);
}

.project-detail-images {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.project-detail-image {
    width: 100%;
}

.project-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: #fafafa;
}

.about h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 300;
    margin-bottom: 60px;
    text-align: center;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
    padding: 0 20px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 0;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-color);
}

/* Contact Section */
.contact {
    padding: 100px 0;
}

.contact h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 300;
    margin-bottom: 60px;
    text-align: center;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto 60px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 0;
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
}

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

.g-recaptcha {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}

.submit-button {
    width: 100%;
    padding: 16px 32px;
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: 0;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
}

.submit-button:hover:not(:disabled) {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-message {
    display: none;
    padding: 16px;
    margin-top: 20px;
    border-radius: 4px;
    text-align: center;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    display: inline-block;
    transition: var(--transition);
}

.social-links a:hover {
    opacity: 0.7;
    transform: translateY(-2px);
}

.social-links img,
.social-links svg {
    width: 28px;
    height: 28px;
    pointer-events: auto;
}

/* Footer */
footer {
    background-color: #f5f5f5;
    padding: 40px 0;
    text-align: center;
}

footer p {
    color: var(--secondary-color);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .project-grid {
        padding: 0 30px;
    }
    
    .nav-container,
    .container {
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 20px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        padding: 40px 0;
        border-top: 1px solid var(--border-color);
        gap: 20px;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-balboa {
        height: auto;
        min-height: 60vh !important;     /* !important forceert het */
        min-height: 60dvh !important;
        padding: 15px 20px 70px !important;
    }
    
    .hero-content-balboa {
        padding: 20px;
    }
    
    .hero-cta-text {
        margin-top: 30px !important;
    }
    
    .hero-cta-button {
        padding: 12px 32px;
        font-size: 14px;
        margin-bottom: 40px !important;
    }
    
    .project-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px;
        padding: 0 20px;
    }
    
    .project-grid-image {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }
    
    .project-info {
        padding: 0 20px;
    }
    
    .project-section {
        margin-bottom: 100px;
    }
    
    .portfolio-balboa {
        padding: 60px 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .modal-back {
        left: 20px;
    }
    
    .project-detail-container {
        padding: 100px 20px 60px;
    }
    
    .about,
    .contact {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 32px;
    }
    
    .navbar {
        padding: 15px 0;
    }
    
    .project-grid {
        gap: 8px;
    }
    
    .project-section {
        margin-bottom: 80px;
    }
    
    .hero-balboa {
        padding: 100px 15px 50px;
    }
}

/* iOS Safari specific fixes */
@supports (-webkit-touch-callout: none) {
    .hero-balboa {
        min-height: calc(100vh - env(safe-area-inset-bottom));
    }
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    min-width: 180px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    list-style: none;
    padding: 10px 0;
    margin-top: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background-color: #f5f5f5;
    color: var(--accent-color);
    padding-left: 25px;
}

.dropdown-menu a::after {
    display: none;
}

/* Category Tiles Section */
.categories-section {
    padding: 60px 0;
    background-color: #fafafa;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.category-tile {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 0;
    text-decoration: none;
    display: block;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.category-image {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

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

.category-tile:hover .category-image img {
    transform: scale(1.1);
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
    padding: 30px 20px 20px;
    z-index: 2;
}

.category-overlay h3 {
    color: white;
    font-size: 24px;
    font-weight: 400;
    margin: 0;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.category-tile:hover .category-overlay h3 {
    letter-spacing: 1px;
}

/* Category Tiles Responsive */
@media (max-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .categories-section {
        padding: 40px 0;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 20px;
    }
    
    .category-overlay h3 {
        font-size: 18px;
    }
    
    /* Mobile dropdown */
    .nav-dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        margin-top: 0;
        padding-left: 20px;
        background-color: transparent;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav-dropdown.active .dropdown-menu {
        max-height: 300px;
    }
}

@media (max-width: 480px) {
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* Scroll Indicator - Bouncing Arrow */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-decoration: none;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-arrow {
    display: block;
    font-size: 32px;
    color: var(--primary-color);
    animation: bounce 2s infinite;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

/* Hide scroll indicator on desktop if hero is short */
@media (min-width: 769px) {
    .scroll-indicator {
        display: none;
    }
}

/* Adjust for very small screens */
@media (max-width: 480px) {
    .scroll-indicator {
        bottom: 20px;
    }
    
    .scroll-arrow {
        font-size: 28px;
    }
}
/* Video Container in Portfolio Grid */
.video-container-portfolio {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.portfolio-video {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .video-container-portfolio {
        padding: 0 20px;
    }
}
/* Vimeo Responsive Wrapper - Fill screen completely */
.vimeo-wrapper {
    position: relative;
    width: 100%; /* Volledige breedte */
    padding-bottom: 177.78%;
    height: 0;
    overflow: hidden;
    background: #000;
    margin: 0 auto;
}

/* Desktop: Limit height */
@media (min-width: 769px) {
    .vimeo-wrapper {
        max-height: 80vh;
        padding-bottom: 0;
        height: 80vh;
        width: auto;
        aspect-ratio: 9 / 16;
    }
}

.vimeo-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Adjust video container for Vimeo */
.video-container-portfolio .vimeo-wrapper {
    border-radius: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}


/* Lazy Video Loading */
.lazy-video {
    background: linear-gradient(45deg, #1a1a1a 25%, #2a2a2a 25%, #2a2a2a 50%, #1a1a1a 50%, #1a1a1a 75%, #2a2a2a 75%, #2a2a2a);
    background-size: 20px 20px;
    animation: lazyLoadingPattern 1s linear infinite;
}

@keyframes lazyLoadingPattern {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 20px 20px;
    }
}

/* Remove animation when loaded */
.vimeo-iframe:not(.lazy-video),
.portfolio-video:not(.lazy-video) {
    animation: none;
}

/* Previous/Next Navigation Buttons */
.modal-nav {
    position: fixed;
    bottom: 12%;
    transform: none;
    background-color: transparent;
    border: none;
    color: #333;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2001;
    text-shadow: 0 0 8px rgba(255,255,255,0.8),
                 0 0 12px rgba(255,255,255,0.6);
}

.modal-prev {
    left: 40px;
}

.modal-next {
    right: 40px;
}

.modal-nav:hover {
    opacity: 0.6;
}

@media (max-width: 768px) {
    .modal-nav {
        padding: 8px 16px;
        font-size: 14px;
        bottom: 8%;
        color: white;
        text-shadow: none;
        mix-blend-mode: difference;
    }
    
    .modal-prev {
        left: 20px;
    }
    
    .modal-next {
        right: 20px;
    }
}

/* Image Zoom on Tap */
.project-detail-image {
    cursor: zoom-in;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
}

.project-detail-image.zoomed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    background: rgba(0,0,0,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
    margin: 0;
}

.project-detail-image img {
    transition: transform 0.4s ease;
    user-select: none;
    -webkit-user-select: none;
}

.project-detail-image.zoomed img {
    cursor: move;
    max-width: none;
    max-height: none;
    width: auto;
    height: auto;
}

.form-message {
    margin-top: 15px;
    font-weight: bold;
    min-height: 20px;
    transition: all 0.3s ease;
}

