/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Noto Sans JP", sans-serif;
    background-color: #000;
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    position: relative;
}

.nav-links {
    display: flex;
    gap: 2rem;
    justify-self: center;
    grid-column: 2;
}

.nav-link, .brand-link {
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    font-size: 1rem;
    position: relative;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-link:hover, .brand-link:hover {
    color: #ccc;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #fff;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.brand {
    font-weight: 600;
    font-size: 1.2rem;
    justify-self: end;
    grid-column: 3;
    text-align: right;
}

.brand-name {
    display: block;
    font-family: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: none !important;
}

.brand-subtitle {
    display: block;
    font-size: 0.8rem;
    font-weight: 300;
    color: #ccc;
    margin-top: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Main Content */
.main-content {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
}

/* Showreel Page - Full Screen Video */
.showreel-container {
    position: fixed;
    top: 80px; /* Below navbar */
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: calc(100vh - 80px);
    background-color: #000;
}

.showreel-video {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Page Title */
.page-title {
    text-align: center;
    padding: 2rem 2rem 1rem;
}

.page-title h1 {
    font-family: "Noto Sans JP", sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
    margin: 0;
    text-transform: uppercase;
}

/* Page Management */
.page {
    display: none !important;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.page.active {
    display: block !important;
    opacity: 1;
    transform: translateY(0);
}



/* Projects Grid */
.projects-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

/* Films Grid - 2x2 layout with 3:2 aspect ratio */
.films-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    padding: 4rem 2rem 2rem;
}

.films-grid .project-image {
    height: 400px; /* Larger scale like carlesmass.com */
}

/* Photo Grid - 1x4 layout with 2:3 aspect ratio */
.photo-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1600px;
}

.photo-grid .project-image {
    height: 500px; /* Larger scale for photo grid */
}

.project-card {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s ease;
}

.project-card:hover {
    transform: translateY(-8px);
}

.project-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.project-card:hover .project-overlay {
    transform: translateY(0);
}

.project-title {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 1.25rem;
    font-weight: 100;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.project-year {
    font-size: 0.9rem;
    color: #ccc;
    font-weight: 300;
}

/* Contact Page */
.contact-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item h3 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #fff;
}

.contact-item p {
    color: #ccc;
    margin-bottom: 1rem;
}

.contact-item a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #ccc;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    padding: 0.5rem 1rem;
    border: 1px solid #333;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.social-links a:hover {
    background-color: #fff;
    color: #000;
    border-color: #fff;
}

/* Contact Page Social Media Icons */
.contact-social-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #333;
}

.contact-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 2px solid #333;
    border-radius: 50%;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    background-color: transparent;
}

.contact-social-icon:hover {
    color: #fff;
    border-color: #fff;
    background-color: #333;
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.contact-social-icon svg {
    transition: transform 0.3s ease;
}

.contact-social-icon:hover svg {
    transform: scale(1.1);
}

.contact-social-icon.instagram-icon:hover {
    border-color: #E4405F;
    background-color: #E4405F;
}

.contact-social-icon.linkedin-icon:hover {
    border-color: #0077B5;
    background-color: #0077B5;
}

/* Contact Form */
.contact-form-container {
    background-color: #111;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #333;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background-color: #000;
    border: 1px solid #333;
    border-radius: 4px;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #fff;
}

.submit-button {
    width: 100%;
    padding: 1rem;
    background-color: #fff;
    color: #000;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.submit-button:hover {
    background-color: #ccc;
    transform: translateY(-2px);
}

/* Project Pages */
.project-page {
    display: none !important; /* Hidden by default - use !important to prevent flash */
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    opacity: 0; /* Additional safety to prevent flash */
}

.project-page.active {
    display: block !important; /* Show when active */
    opacity: 1;
}

.project-header {
    margin-bottom: 3rem;
    text-align: center;
}

.back-button {
    background: none;
    border: none;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    border: 1px solid #333;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.back-button:hover {
    background-color: #fff;
    color: #000;
}

.project-page-title {
    font-family: "Noto Sans JP", sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.project-page-year {
    color: #ccc;
    font-size: 1.1rem;
}

/* Video Container */
.project-video {
    margin-bottom: 4rem;
}

.video-title {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: #fff;
    text-align: center;
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background-color: #111;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Project Credits */
.project-credits {
    margin-bottom: 3rem;
    text-align: left;
}

.credits-content {
    max-width: none;
    margin: 0;
    padding: 0;
    background-color: transparent;
    border-radius: 0;
    border: none;
}

.credits-content p {
    margin-bottom: 0;
    font-size: 1.2rem;
    color: #fff;
    font-family: "Noto Sans JP", sans-serif;
}

.credits-content p:last-child {
    margin-bottom: 0;
}

/* Project Stills */
.project-stills h3 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: #fff;
    text-align: center;
}

/* Cut Fingers Grid - 3x3 layout with 4:3 aspect ratio */
.cut-fingers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Bentley Black Badge Grid - 3x3 layout */
.bentley-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* FlorenceBlack SS25 Grid - 3x3 layout */
.florenceblack-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Oysho Community Grid - 3x3 layout */
.oysho-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Birth Grid - 2x3 layout with wide aspect ratio */
.birth-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 0.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Ask For Ani Grid - 2x3 layout */
.ask-for-ani-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 0.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.still-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.still-image:hover {
    transform: scale(1.02);
}

/* Cut Fingers images - 3:2 aspect ratio (smaller) */
.cut-fingers-grid .still-image {
    aspect-ratio: 3 / 2;
}

/* Birth images - 2:1 aspect ratio (wider) */
.birth-grid .still-image {
    aspect-ratio: 2 / 1;
}

.ask-for-ani-grid .still-image {
    aspect-ratio: 3 / 2;
}

/* Snowdon Grid - Aesthetic Gallery Layout */
.snowdon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
    min-height: 100vh;
}

.snowdon-grid .still-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    background-color: #000;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.snowdon-grid .still-image:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

/* Create varied sizes for visual interest */
.snowdon-grid .still-image:nth-child(1) {
    grid-column: span 2;
    max-height: 400px;
}

.snowdon-grid .still-image:nth-child(2) {
    max-height: 300px;
}

.snowdon-grid .still-image:nth-child(3) {
    max-height: 350px;
}

.snowdon-grid .still-image:nth-child(4) {
    max-height: 280px;
}

.snowdon-grid .still-image:nth-child(5) {
    grid-column: span 2;
    max-height: 380px;
}

.snowdon-grid .still-image:nth-child(6) {
    max-height: 320px;
}

.snowdon-grid .still-image:nth-child(7) {
    max-height: 290px;
}

.snowdon-grid .still-image:nth-child(8) {
    max-height: 340px;
}

.snowdon-grid .still-image:nth-child(9) {
    grid-column: span 2;
    max-height: 420px;
}

/* Fresh Produce Grid - 2x3 layout */
.fresh-produce-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 0.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.fresh-produce-grid .still-image {
    aspect-ratio: 3 / 2;
}

/* Skate Lifestyle Grid - 2-Column Layout with Natural Aspect Ratios */
.skate-lifestyle-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.skate-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.skate-image {
    width: 100%;
    height: auto;
    max-width: 500px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.skate-image:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

/* Skate Lifestyle Cover Image - Ensure subject is visible */
.project-card[data-project="skate-lifestyle"] .project-image img {
    object-fit: cover;
    object-position: center top; /* Crop from top to show subject */
}

/* Funeral Grid - 3x2 layout with 3:2 aspect ratio */
.funeral-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 0.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.funeral-grid .still-image {
    aspect-ratio: 3 / 2;
}

/* Break Point Grid - 3x1 layout with 3:2 aspect ratio */
.break-point-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.break-point-grid .still-image {
    aspect-ratio: 3 / 2;
}

/* Window into a world Grid - 1x3 layout with 3:2 aspect ratio */
.window-world-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.window-world-grid .still-image {
    aspect-ratio: 3 / 2;
}

/* The eye can sea Grid - 1x3 layout with 3:2 aspect ratio */
.eye-can-sea-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.eye-can-sea-grid .still-image {
    aspect-ratio: 3 / 2;
}

/* La Casa Utrecht Grid - 1x3 layout with 3:2 aspect ratio */
.la-casa-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.la-casa-grid .still-image {
    aspect-ratio: 3 / 2;
}


/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .nav-link {
        font-size: 0.9rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .films-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 2rem 1rem 1rem;
    }
    
    .films-grid .project-image {
        height: 300px;
    }
    
    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .photo-grid .project-image {
        height: 400px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1rem;
    }
    
    .project-details {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .page-header {
        padding: 2rem 1rem 1rem;
    }
    
    .project-page {
        padding: 1rem;
    }
    
    .cut-fingers-grid,
    .bentley-grid,
    .florenceblack-grid,
    .oysho-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .birth-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        gap: 0.8rem;
    }
    
    .ask-for-ani-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        gap: 0.8rem;
    }
    
    .snowdon-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
        padding: 2rem 1rem;
    }
    
    /* Reset individual sizing for mobile */
    .snowdon-grid .still-image:nth-child(1),
    .snowdon-grid .still-image:nth-child(5),
    .snowdon-grid .still-image:nth-child(9) {
        grid-column: span 1;
    }
    
    .fresh-produce-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        gap: 0.8rem;
    }
    
    .skate-lifestyle-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.5rem 1rem;
    }
    
    .skate-image {
        max-width: 400px;
    }
    
    .funeral-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        gap: 0.8rem;
    }
    
    .break-point-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .window-world-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .eye-can-sea-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .la-casa-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .still-image {
        height: 150px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }
    
    .nav-links {
        grid-column: 1;
        justify-self: center;
        order: 1;
    }
    
    .brand {
        grid-column: 1;
        justify-self: center;
        order: 2;
    }
    
    .main-content {
        margin-top: 120px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .films-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem 1rem 1rem;
    }
    
    .films-grid .project-image {
        height: 250px;
    }
    
    .photo-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .photo-grid .project-image {
        height: 350px;
    }
    
    .project-image {
        height: 200px;
    }
    
    .cut-fingers-grid,
    .birth-grid,
    .ask-for-ani-grid,
    .fresh-produce-grid,
    .funeral-grid,
    .break-point-grid,
    .window-world-grid,
    .eye-can-sea-grid,
    .la-casa-grid,
    .bentley-grid,
    .florenceblack-grid,
    .oysho-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .skate-lifestyle-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1rem;
    }
    
    .skate-image {
        max-width: 350px;
    }
    
    .snowdon-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }
    
    .snowdon-grid .still-image {
        max-height: none;
        height: auto;
    }
    
    .still-image {
        height: 120px;
    }
}

/* Loading and Transition Effects */
.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth scrolling for better UX */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
button:focus,
input:focus,
textarea:focus,
a:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #111;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Footer */
.footer {
    background-color: #000;
    border-top: 1px solid #333;
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}


.footer-copyright {
    text-align: left;
    color: #ccc;
    font-size: 0.9rem;
}

.footer-copyright p {
    margin: 0.2rem 0;
}

/* Footer Legal Links */
.footer-legal {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legal-link {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.legal-link:hover {
    color: #333;
}

.legal-separator {
    color: #666;
    font-size: 0.9rem;
}

/* Modal Overlay */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: #fff;
    max-width: 800px;
    max-height: 80vh;
    width: 90%;
    margin: 2rem;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
    animation: slideIn 0.3s ease;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem 2rem;
    border-bottom: 1px solid #eee;
}

.modal-title {
    font-size: 2rem;
    margin: 0;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
    font-weight: 300;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background-color: #f0f0f0;
    color: #333;
}

.modal-body {
    padding: 2rem;
    line-height: 1.6;
}

.modal-body h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
    font-weight: 300;
}

.modal-body h2:first-child {
    margin-top: 0;
}

.modal-body p {
    margin-bottom: 1rem;
    color: #666;
}

.modal-body ul {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.modal-body li {
    margin-bottom: 0.5rem;
    color: #666;
}

.modal-body a {
    color: #333;
    text-decoration: underline;
}

.modal-body a:hover {
    color: #666;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: translateY(-50px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* Social Media Icons */
.footer-social {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #333;
    border-radius: 50%;
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
    background-color: transparent;
}

.social-icon:hover {
    color: #fff;
    border-color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.social-icon svg {
    transition: transform 0.3s ease;
}

.social-icon:hover svg {
    transform: scale(1.1);
}

.instagram-icon:hover {
    border-color: #E4405F;
    color: #E4405F;
}

.linkedin-icon:hover {
    border-color: #0077B5;
    color: #0077B5;
}

/* Mobile responsive for footer */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        justify-content: center;
    }
    
    .footer-copyright {
        text-align: center;
    }
    
    .footer-social {
        order: 1;
    }
    
    .footer-copyright {
        order: 2;
    }
    
    .footer-legal {
        order: 3;
    }

    .modal-content {
        width: 95%;
        margin: 1rem;
        max-height: 90vh;
    }

    .modal-header {
        padding: 1.5rem 1.5rem 1rem 1.5rem;
    }

    .modal-body {
        padding: 1.5rem;
    }

    .modal-title {
        font-size: 1.5rem;
    }

    .contact-social-icons {
        gap: 1.5rem;
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }

    .contact-social-icon {
        width: 45px;
        height: 45px;
    }
}

/* Showreel responsive */
@media (max-width: 768px) {
    .showreel-container {
        top: 70px; /* Adjust for smaller navbar on mobile */
        height: calc(100vh - 70px);
    }
}