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

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden;
}

a {
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

button {
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    min-height: 100vh;
    min-height: 100dvh; /* Use dynamic viewport height for mobile */
    position: relative;
    /* Force background to always cover entire viewport */
    background: #000000; /* Fallback background color */
}

/* Background styling - ensure complete coverage */
.background-image {
    position: fixed;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    width: calc(100vw + 20px);
    height: calc(100vh + 20px);
    height: calc(100dvh + 20px); /* Use dynamic viewport height for mobile */
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-image: url('attached_assets/laptop-banner.jpg_1751943818871.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(4px);
    z-index: -2;
    /* Ensure background always covers viewport */
    min-width: 100vw;
    min-height: 100vh;
    min-height: 100dvh;
}

.background-overlay {
    position: fixed;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    width: calc(100vw + 20px);
    height: calc(100vh + 20px);
    height: calc(100dvh + 20px); /* Use dynamic viewport height for mobile */
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
    /* Ensure overlay always covers viewport */
    min-width: 100vw;
    min-height: 100vh;
    min-height: 100dvh;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header styles */
.header {
    position: fixed;
    top: 30px;
    right: 40px;
    z-index: 1000;
    opacity: 1;
    transition: opacity 0.3s ease;
    pointer-events: auto;
}

.header.header-hidden {
    opacity: 0;
    pointer-events: none;
}

.header .container {
    padding: 0;
}

/* Logo styles */
.logo {
    flex-shrink: 0;
}

.logo-img {
    height: 120px;
    width: auto;
}

/* Main Navigation styles - centered on screen */
.main-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-nav-list {
    display: flex;
    list-style: none;
    gap: 80px;
    align-items: center;
}

.main-nav-item {
    position: relative;
}

.main-nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 2px;
    padding: 15px 0;
    position: relative;
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.main-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffffff;
    transition: width 0.3s ease;
}

.main-nav-link:hover::after {
    width: 100%;
}

.main-nav-link:hover {
    color: #f0f0f0;
    transform: translateY(-2px);
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
}

.hamburger-line {
    width: 25px;
    height: 2px;
    background: #ffffff;
    margin: 3px 0;
    transition: all 0.3s ease;
}

.menu-open .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-open .hamburger-line:nth-child(2) {
    opacity: 0;
}

.menu-open .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Main content */
.main-content {
    min-height: 100vh;
    min-height: 100dvh; /* Use dynamic viewport height for mobile */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    position: relative;
}

/* Responsive design */
@media (max-width: 768px) {
    body {
        margin: 0;
        padding: 0;
    }
    
    .header {
        top: 20px;
        right: 20px;
    }
    
    .header.header-hidden {
        opacity: 0;
        pointer-events: none;
    }
    
    .logo-img {
        height: 90px;
    }
    
    .main-navigation {
        position: static;
        transform: none;
        background: none;
        backdrop-filter: none;
    }
    
    .main-nav-list {
        flex-direction: column;
        gap: 40px;
        align-items: center;
        justify-content: center;
    }
    
    .main-nav-link {
        font-size: 20px;
        padding: 15px 0;
    }
    
    /* Ensure full coverage on mobile */
    .main-content {
        min-height: 100vh;
        min-height: 100dvh;
        margin: 0;
        padding: 0;
    }
    
    .background-image,
    .background-overlay {
        width: 100vw;
        height: 100vh;
        height: 100dvh;
    }
}

@media (max-width: 480px) {
    .header {
        top: 15px;
        right: 15px;
    }
    
    .logo-img {
        height: 80px;
    }
    
    .mobile-menu-btn {
        top: 15px;
        left: 15px;
    }
    
    .main-nav-list {
        gap: 40px;
    }
    
    .main-nav-link {
        font-size: 20px;
    }
}

/* Staggered fade-in animations for homepage */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Initially hide all animated elements */
.main-nav-link,
.logo-img {
    opacity: 0;
}

/* Navigation links staggered animation */
.main-nav-item:nth-child(1) .main-nav-link {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.3s;
}

.main-nav-item:nth-child(2) .main-nav-link {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.5s;
}

.main-nav-item:nth-child(3) .main-nav-link {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.7s;
}

/* Logo animation - completes as CONTACT appears */
.logo-img {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.7s;
}

/* Mobile animation adjustments */
@media (max-width: 768px) {
    /* Maintain same staggered timing on mobile */
    .main-nav-item:nth-child(1) .main-nav-link {
        animation: fadeInUp 0.8s ease forwards;
        animation-delay: 0.3s;
    }

    .main-nav-item:nth-child(2) .main-nav-link {
        animation: fadeInUp 0.8s ease forwards;
        animation-delay: 0.5s;
    }

    .main-nav-item:nth-child(3) .main-nav-link {
        animation: fadeInUp 0.8s ease forwards;
        animation-delay: 0.7s;
    }

    .logo-img {
        animation: fadeInUp 0.8s ease forwards;
        animation-delay: 0.7s;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    /* Show elements immediately for reduced motion */
    .main-nav-link,
    .logo-img {
        opacity: 1 !important;
    }
}

/* Focus styles for accessibility */
.main-nav-link:focus,
.mobile-menu-btn:focus {
    outline: none;
}

.page-nav-link:focus {
    outline: none;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .background-overlay {
        background: rgba(0, 0, 0, 0.8);
    }
    
    .main-nav-link {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
    }
}

/* PWA Standalone Mode Support */
@media (display-mode: standalone) {
    /* Remove body padding for full screen coverage */
    body {
        padding: 0;
        margin: 0;
    }
    
    /* Adjust only header position for safe areas */
    .header {
        top: calc(30px + env(safe-area-inset-top));
        right: calc(40px + env(safe-area-inset-right));
    }
    
    /* Ensure backgrounds cover safe areas */
    .background-image,
    .background-overlay {
        top: calc(0px - env(safe-area-inset-top));
        left: calc(0px - env(safe-area-inset-left));
        right: calc(0px - env(safe-area-inset-right));
        bottom: calc(0px - env(safe-area-inset-bottom));
        width: calc(100vw + env(safe-area-inset-left) + env(safe-area-inset-right));
        height: calc(100vh + env(safe-area-inset-top) + env(safe-area-inset-bottom));
    }
    
    /* Ensure full viewport usage */
    .main-content {
        min-height: 100vh;
        min-height: 100dvh;
    }
}

/* iOS Safari standalone mode adjustments */
@media (display-mode: standalone) and (-webkit-touch-callout: none) {
    /* iOS specific adjustments */
    .header {
        top: calc(50px + env(safe-area-inset-top));
    }
    
    body {
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        user-select: none;
    }
    
    /* Allow text selection in content areas */
    .main-content,
    .page-content {
        -webkit-user-select: text;
        user-select: text;
    }
}

/* Page-specific styles */
.work-page,
.about-page,
.contact-page {
    background-color: #f8f8f8;
    color: #333;
    min-height: 100vh;
}

.work-page .background-image,
.about-page .background-image,
.contact-page .background-image {
    display: none;
}

.work-page .background-overlay,
.about-page .background-overlay,
.contact-page .background-overlay {
    display: none;
}

.work-page .logo-img,
.about-page .logo-img,
.contact-page .logo-img {
    filter: brightness(0) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Ensure consistent header positioning across all pages */
.work-page .header,
.about-page .header,
.contact-page .header {
    position: fixed;
    top: 30px;
    right: 40px;
    z-index: 1000;
    left: auto;
    transform: none;
}

/* Hide mobile menu button on desktop */
.mobile-menu-btn {
    display: none;
}

/* Page navigation */
.page-navigation {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    opacity: 1;
    transition: opacity 0.3s ease;
    pointer-events: auto;
}

.page-navigation.header-hidden {
    opacity: 0;
    pointer-events: none;
}

.page-nav-list {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
    margin: 0;
}

.page-nav-item {
    position: relative;
}

.page-nav-link {
    color: #333;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 2px;
    padding: 15px 0;
    position: relative;
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #333;
    transition: width 0.3s ease;
}

.page-nav-link:hover::after,
.page-nav-link.active::after {
    width: 100%;
}

.page-nav-link:hover,
.page-nav-link.active {
    color: #000;
    transform: translateY(-2px);
}

/* Page content */
.page-content {
    padding-top: 120px;
    padding-bottom: 60px;
}

.page-hero {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
    padding: 0 20px;
}

.page-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #333;
}

.page-description {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    font-weight: 400;
    line-height: 1.6;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Work page styles */
.work-gallery {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Desktop layout for 2x2 grid */
@media (min-width: 1025px) {
    .work-gallery {
        max-width: 1000px !important;
        padding: 0 40px !important;
        margin: 0 auto !important;
    }
    
    .gallery-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        grid-template-rows: repeat(2, 1fr) !important;
        gap: 30px !important;
        width: 100% !important;
    }
    
    .gallery-item {
        max-width: none !important;
        min-width: auto !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    .gallery-image {
        height: 240px !important;
        width: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
        image-rendering: -webkit-optimize-contrast !important;
        image-rendering: crisp-edges !important;
    }
    
    /* First image uses cover to fill frame completely on desktop */
    .gallery-item:first-child .gallery-image {
        object-fit: cover !important;
        object-position: center !important;
    }
    
    .gallery-info {
        padding: 25px !important;
        flex-grow: 1 !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
    }
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 40px;
    width: 100%;
}

.gallery-item {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}



/* Fade-in animation for cards and content */
.fade-in-card, .fade-in-content {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.fade-in-card:nth-child(1), .fade-in-content:nth-child(1) { animation-delay: 0.1s; }
.fade-in-card:nth-child(2), .fade-in-content:nth-child(2) { animation-delay: 0.2s; }
.fade-in-card:nth-child(3), .fade-in-content:nth-child(3) { animation-delay: 0.3s; }
.fade-in-card:nth-child(4), .fade-in-content:nth-child(4) { animation-delay: 0.4s; }

.fade-in-content { animation-delay: 0.2s; }

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

.gallery-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    object-position: center;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* First image uses cover to fill frame completely */
.gallery-item:first-child .gallery-image {
    object-fit: cover;
    object-position: center;
}

.gallery-info {
    padding: 25px;
    flex-grow: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gallery-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    text-align: center;
}

.gallery-subtitle {
    font-size: 1rem;
    color: #666;
    font-weight: 400;
    text-align: center;
}

/* About page styles */
.about-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    align-items: start;
}

.about-column {
    min-height: 100%;
}

.about-heading {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.about-paragraph {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

.about-services {
    list-style: none;
    padding: 0;
}

.about-services li {
    font-size: 1.1rem;
    color: #333;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.about-services li:last-child {
    border-bottom: none;
}

.value-item {
    margin-bottom: 30px;
}

.value-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.value-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
}

/* Contact page styles */
.contact-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-heading {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.contact-paragraph {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 40px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-method {
    padding: 20px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.method-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.method-info {
    font-size: 1rem;
    color: #666;
}

.method-info a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.method-info a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Contact form styles */
.contact-form-container {
    background: #fff;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

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

.form-label {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: #333;
}

.form-input,
.form-select,
.form-textarea {
    padding: 12px 16px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s ease;
    background: #fff;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #333;
}

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

.form-submit {
    background: #333;
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.form-submit:hover {
    background: #555;
    transform: translateY(-2px);
}

.form-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Confirmation overlay styles */
.confirmation-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh; /* Use dynamic viewport height for mobile */
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(10px);
    padding: 20px;
}

.confirmation-message {
    background: white;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    max-height: 90dvh;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.confirmation-title {
    color: #333;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 16px;
}

.confirmation-text {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.5;
}

.confirmation-close {
    background: #333;
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.confirmation-close:hover {
    background: #555;
    transform: translateY(-2px);
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}



/* Tablet responsive design */
@media (max-width: 1024px) and (min-width: 769px) {
    .work-gallery {
        max-width: 1200px;
        padding: 0 30px;
    }
    
    .about-grid {
        gap: 30px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 25px;
    }
    
    .gallery-image {
        height: 220px;
    }
    
    .gallery-info {
        padding: 25px;
    }
}

/* Mobile responsive design for pages */
@media (max-width: 768px) {
    /* Hide desktop navigation completely */
    .page-navigation {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 998;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Override desktop positioning completely */
    .page-navigation:not(.menu-open) {
        display: none;
    }
    
    .page-navigation.menu-open {
        display: flex;
        transform: translateX(0);
    }
    
    .page-navigation.header-hidden {
        opacity: 1;
        pointer-events: auto;
    }
    
    .page-nav-list {
        flex-direction: column;
        gap: 40px;
        align-items: center;
        justify-content: center;
        height: auto;
        margin: 0;
    }
    
    .page-nav-link {
        font-size: 24px;
        padding: 22px 0;
        color: white;
        text-decoration: none;
        font-weight: 500;
        letter-spacing: 1px;
        transition: color 0.3s ease;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .page-nav-link:hover,
    .page-nav-link.active {
        color: #ccc;
    }
    
    .mobile-menu-btn {
        display: block !important;
        position: fixed;
        top: 45px;
        left: 40px;
        z-index: 1001;
        background: none;
        border: none;
        cursor: pointer;
        padding: 10px;
        width: 50px;
        height: 50px;
        opacity: 1;
        pointer-events: auto;
    }
    
    .hamburger-line {
        display: block;
        width: 25px;
        height: 3px;
        background: #333;
        margin: 5px 0;
        transition: 0.3s;
        border-radius: 3px;
    }
    
    .work-page .hamburger-line,
    .about-page .hamburger-line,
    .contact-page .hamburger-line {
        background: #333;
    }
    
    .mobile-menu-btn.menu-open .hamburger-line:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
        background: white;
    }
    
    .mobile-menu-btn.menu-open .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.menu-open .hamburger-line:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
        background: white;
    }
    
    .page-content {
        padding-top: 140px;
    }
    
    .about-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
    
    .about-column {
        margin-bottom: 30px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .work-gallery {
        padding: 0 20px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }
    
    .contact-form-container {
        padding: 30px 20px;
    }
    
    /* Mobile responsive styles for confirmation overlay */
    .confirmation-message {
        padding: 30px 25px;
        max-width: 350px;
        width: 85%;
    }
    
    .confirmation-title {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }
    
    .confirmation-text {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .confirmation-close {
        padding: 12px 25px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .mobile-menu-btn {
        top: 30px !important;
        left: 15px !important;
    }
    
    .page-content {
        padding-top: 120px !important;
    }
    
    .page-hero {
        margin-bottom: 30px;
        margin-top: 10px;
    }
    
    .page-description {
        margin-bottom: 20px;
    }
    
    .gallery-grid {
        gap: 15px;
        margin-top: 10px;
    }
    
    .gallery-info {
        padding: 15px;
    }
    
    .about-grid {
        gap: 20px !important;
        margin-top: 10px;
    }
    
    .about-column {
        margin-bottom: 15px;
    }
    
    .contact-grid {
        gap: 20px;
        margin-top: 10px;
    }
    
    .contact-form-container {
        padding: 20px 15px;
        margin-top: 10px;
    }
    
    /* Ensure consistent header positioning on mobile for all pages */
    .work-page .header,
    .about-page .header,
    .contact-page .header {
        top: 15px !important;
        right: 15px !important;
    }
    
    .work-page .logo-img,
    .about-page .logo-img,
    .contact-page .logo-img {
        height: 80px !important;
    }
}

