/* ============================= */
/*          Variables           */
/* ============================= */
:root {
    --color-white: #FDFFFC;
    --color-dark: #373737;
    --color-blue: #4489C5;
    --color-lightdark: #6d6d6d;
    --color-lightgrey: #b3b3b3;
    --color-highlight: #64b5f6;
    /* New bright blue color for contact info */
    /* ...existing code... */
}

/* ============================= */
/*          Base Styles         */
/* ============================= */
body {
    background-color: var(--color-white);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
    /* Increased to account for navbar + section padding */
}

/* Remove the previous section padding and margin adjustments */

/* ============================= */
/*         Navigation          */
/* ============================= */

/* Navbar Container */
.uk-navbar-container {
    background: #ffffff !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15) !important;
    position: relative;
    z-index: 1000;
    padding: 10px 30px;
}

.nav-responsive {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Desktop Navigation Flex Container */
.nav-flex {
    display: flex;
    align-items: center;
    gap: 40px;
    flex: 1;
    justify-content: flex-start;
}

/* Brand/Company Name */
.header_text {
    color: #2c3e50 !important;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1px;
    text-decoration: none !important;
    padding: 0;
    white-space: nowrap;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
}

.header_text::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-blue), #5599d5);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.header_text:hover {
    color: var(--color-blue) !important;
}

.header_text:hover::before {
    width: 100%;
}

/* Navigation Menu */
.navblock {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 0 !important;
    padding: 0;
    list-style: none;
}

.navblock .navelement {
    margin: 0;
    padding: 0;
}

.navblock .navelement a {
    font-size: 14px;
    color: #2c3e50;
    text-decoration: none;
    padding: 22px 14px;
    display: block;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.3s ease;
    position: relative;
}

.navblock .navelement a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-blue);
    transition: width 0.3s ease;
}

.navblock .navelement a:hover {
    color: var(--color-blue);
}

.navblock .navelement a:hover::after {
    width: 70%;
}

/* Logo */
.logo {
    width: auto !important;
    height: 50px !important;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.logo.uk-visible\@l {
    display: block;
}

/* Hide logo when viewport is too narrow (before 1400px to avoid compression) */
@media (max-width: 1399px) {
    .logo.uk-visible\@l {
        display: none !important;
    }
}

.logo:hover {
    transform: scale(1.05);
}

/* Mobile Title */
.mobile-title {
    color: #2c3e50;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    flex: 1;
}

/* Burger Menu */
.uk-navbar-toggle {
    color: var(--color-blue) !important;
}

.uk-navbar-toggle:hover {
    color: #5599d5 !important;
}

/* ============================= */
/*    Responsive Navigation    */
/* ============================= */

/* Tablet and Mobile */
@media (max-width: 1199px) {
    .uk-navbar-container {
        padding: 12px 20px;
    }

    .mobile-title {
        display: block;
    }

    .nav-flex {
        display: none;
    }
}

/* Desktop */
@media (min-width: 1200px) {
    .mobile-title {
        display: none !important;
    }

    .nav-flex {
        display: flex !important;
    }
}

.blur-image {
    filter: blur(1px);
    /* Reduced blur */
    transform-origin: center;
    animation: zoomEffect 20s infinite alternate;
}

@keyframes zoomEffect {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}

.service_img_left,
.service_img_right {
    width: 100%;
    max-width: 250px;
    height: auto;
    margin: 20px auto;
    transition: transform 0.3s ease;
}

/* Add new service section styles */
.service-container {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 35px 40px;
    margin: 15px 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.service-container h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.6em;
    font-weight: 600;
    transition: color 0.3s ease;
}

.service-container:hover h3 {
    color: #4489C5;
}

.service-container p {
    color: #505c6c;
    line-height: 1.8;
    margin: 0;
    font-size: 1.1em;
    letter-spacing: 0.2px;
}

/* Services section responsive adjustments */
.services-grid-item {
    position: relative;
}

/* Mobile-specific service card */
.service-mobile-card {
    display: none;
}

h3 {
    font-size: 1.8em;
    font-weight: 500;
}

.uk-section-small {
    margin-bottom: 0;
    padding-bottom: 20px;
    /* Adjust as needed */
}

.team-img {
    width: 200px;
    /* Fixed width */
    height: 200px;
    /* Equal height for perfect circle */
    object-fit: cover;
    object-position: center 20%;
    margin-bottom: 8px;
    /* Reduced from 15px to 8px */
    background-color: #f5f5f5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    /* Make it circular */
    transition: all 0.3s ease;
}

/* Team card improvements */
#team .uk-card {
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
}

#team .uk-card:hover {
    transform: translateY(-5px);
}

#team .uk-card:hover .team-img {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

header {
    background-color: var(--color-blue) !important;
    /* Adjust as needed */
}

/* ============================= */
/*         Components           */
/* ============================= */

.insta-logo,
.mobile-logo {
    width: 100%;
    max-width: 180px;
    height: auto;
    object-fit: contain;
    margin: 0 20px;
}

.mobile-logo {
    width: 100%;
    max-width: 250px;
    /* Increased from 180px */
    height: auto;
    object-fit: contain;
    margin: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 15px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.mobile-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.align-center {
    align-items: center;
}

h4 {
    font-size: 1.5em;
    font-weight: 500;
    margin-top: 30px;
}

.slideshow-text {
    font-size: 3em;
    font-weight: bold;
    color: #FFFFFF;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.85);
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.slideshow-subtext {
    font-size: 1.2em;
    color: #FFFFFF;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
    letter-spacing: 0.3px;
    line-height: 1.4;
}

.footer {
    background-color: #222;
    color: #fff;
    padding: 20px 0;
}

.footer h4 {
    margin-bottom: 10px;
    color: var(--color-lightgrey);
}

.footer a {
    color: #fff;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.footer .social-icon {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.footer .uk-list {
    list-style: none;
    padding: 0;
}

.footer .uk-list li {
    margin-bottom: 5px;
}

.uk-table {
    padding-top: 0;
    margin-top: -10px;
}

.uk-text-large {
    font-size: 1.25rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.uk-link-heading:hover {
    text-decoration: none;
}

/* Add new styles for contact information */
.footer a[href^="tel:"],
.footer a[href^="mailto:"],
a[href^="tel:"],
a[href^="mailto:"] {
    color: var(--color-highlight);
    transition: color 0.3s ease;
}

.footer a[href^="tel:"]:hover,
.footer a[href^="mailto:"]:hover,
a[href^="tel:"]:hover,
a[href^="mailto:"]:hover {
    color: var(--color-white);
    text-decoration: none;
}

/* Update contact section styles */
#contact p,
#contact h3 {
    color: var(--color-white);
}

#contact a[href^="tel:"],
#contact a[href^="mailto:"] {
    color: var(--color-highlight);
    font-weight: 500;
}

#contact a[href^="tel:"]:hover,
#contact a[href^="mailto:"]:hover {
    color: var(--color-lightgrey);
}

/* ============================= */
/*           Sections           */
/* ============================= */
.uk-section-primary {
    background-color: #f0f4f8;
    color: #2c3e50;
}

.uk-section-primary .uk-card {
    background: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.uk-section-primary .uk-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.uk-section-primary .uk-card h3,
.uk-section-primary .uk-card p {
    color: #2c3e50;
    /* Dark text for card content */
}

.uk-section-primary h1 {
    color: #2c3e50;
    /* Dark text for section heading */
}

.uk-section-primary h1 span {
    color: #2c3e50;
}

.uk-section-muted {
    background-color: #f8f9fa;
}

.uk-section-secondary {
    background-color: #2c3e50;
    color: #fff;
}

.uk-section-cars {
    background-color: #373737;
    color: #fff;
}

.uk-section-cars h1 span,
.uk-section-cars p,
.uk-section-cars .uk-text-emphasis {
    color: #fff;
}

.uk-section-secondary h1 span,
.uk-section-secondary h3,
.uk-section-secondary p {
    color: #fff;
}

.uk-section-default {
    background-color: #fff;
}

.uk-section {
    padding-top: 40px;
    /* Reduced from 70px */
    padding-bottom: 70px;
}

.uk-section:first-of-type {
    padding-top: 20px;
    /* Reduced from 40px */
}

.about-team-image {
    max-height: 400px;
    object-fit: cover;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Mobile menu styles */
.uk-offcanvas-bar {
    background: var(--color-blue);
}

.uk-offcanvas-bar .uk-nav-default>li>a {
    color: var(--color-white);
    font-size: 1.2em;
    padding: 10px 0;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.uk-offcanvas-bar .uk-nav-default>li>a:hover {
    color: var(--color-white);
    padding-left: 15px;
    background-color: rgba(255, 255, 255, 0.1);
}

.uk-offcanvas-close {
    color: var(--color-white);
}

/* ============================= */
/*        Media Queries         */
/* ============================= */

/* Consolidate repeated @media (max-width: 640px) */
@media (max-width: 640px) {
    .footer .uk-grid>div {
        margin-bottom: 20px;
    }

    .navblock {
        font-size: 1em;
    }

    .navblock .navelement a {
        font-size: 16px;
    }

    .slideshow-text {
        font-size: 2em;
    }

    .slideshow-subtext {
        font-size: 1em;
    }

    h3 {
        font-size: 1.5em;
    }

    h4 {
        font-size: 1.2em;
    }

    /* Mobile Services Layout */
    #services .uk-grid {
        display: block !important;
    }

    #services .services-grid-item {
        display: none !important;
    }

    #services .service-mobile-card {
        display: flex !important;
        flex-direction: column;
        background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
        border-radius: 16px;
        padding: 30px 25px;
        margin: 20px auto;
        max-width: 100%;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        animation: fadeInUp 0.6s ease-out;
        border: 1px solid rgba(68, 137, 197, 0.1);
    }

    #services .service-mobile-card:hover {
        transform: translateY(-8px) scale(1.02);
        box-shadow: 0 12px 40px rgba(68, 137, 197, 0.15);
        border-color: rgba(68, 137, 197, 0.3);
    }

    #services .service-mobile-card .service-mobile-img {
        width: 100%;
        max-width: 100px;
        height: auto;
        margin: 0 auto 25px;
        border-radius: 12px;
        transition: transform 0.3s ease;
    }

    #services .service-mobile-card:hover .service-mobile-img {
        transform: scale(1.05);
    }

    #services .service-mobile-card h3 {
        color: #2c3e50;
        font-size: 1.5em;
        margin-bottom: 18px;
        text-align: center;
        font-weight: 600;
        position: relative;
        padding-bottom: 12px;
    }

    #services .service-mobile-card h3::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 50px;
        height: 3px;
        background: linear-gradient(90deg, #4489C5, #64b5f6);
        border-radius: 2px;
    }

    #services .service-mobile-card p {
        color: #505c6c;
        line-height: 1.8;
        font-size: 1.05em;
        text-align: center;
        margin: 0;
    }

    #services h1 {
        margin-bottom: 30px;
    }

    /* Mobile Team Layout */
    #team .uk-grid {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    #team .uk-grid>div {
        width: 100% !important;
        max-width: 320px;
    }

    #team .uk-card {
        background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
        border-radius: 16px;
        padding: 30px 25px;
        box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
        border: 1px solid rgba(68, 137, 197, 0.1);
    }

    #team .uk-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 40px rgba(68, 137, 197, 0.15);
        border-color: rgba(68, 137, 197, 0.3);
    }

    #team .team-img {
        width: 160px;
        height: 160px;
        margin-bottom: 20px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
        border: 3px solid rgba(68, 137, 197, 0.2);
    }

    #team .uk-card:hover .team-img {
        transform: scale(1.08);
        box-shadow: 0 6px 20px rgba(68, 137, 197, 0.25);
        border-color: rgba(68, 137, 197, 0.4);
    }

    #team .uk-card h3 {
        font-size: 1.3em;
        margin-bottom: 8px;
        color: #2c3e50;
        font-weight: 600;
    }

    #team .uk-card p {
        font-size: 1em;
        color: #4489C5;
        font-weight: 500;
        margin: 0;
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(40px);
        }

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

/* Tablet view (641px - 1199px) */
@media (min-width: 641px) and (max-width: 1199px) {

    /* Services adjustments for tablet - vertical cards like mobile but bigger */
    #services .uk-grid {
        display: none !important;
    }

    #services .service-mobile-card {
        display: flex !important;
        flex-direction: column;
        background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
        border-radius: 16px;
        padding: 40px 35px;
        margin: 0 auto 30px;
        width: 100%;
        max-width: 600px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border: 1px solid rgba(68, 137, 197, 0.1);
    }

    #services .service-mobile-card:hover {
        transform: translateY(-8px) scale(1.02);
        box-shadow: 0 12px 40px rgba(68, 137, 197, 0.15);
        border-color: rgba(68, 137, 197, 0.3);
    }

    #services .service-mobile-card .service-mobile-img {
        width: 100%;
        max-width: 180px;
        height: auto;
        margin: 0 auto 25px;
        border-radius: 12px;
        transition: transform 0.3s ease;
    }

    #services .service-mobile-card:hover .service-mobile-img {
        transform: scale(1.05);
    }

    #services .service-mobile-card h3 {
        color: #2c3e50;
        font-size: 1.4em;
        margin-bottom: 18px;
        text-align: center;
        font-weight: 600;
        position: relative;
        padding-bottom: 12px;
    }

    #services .service-mobile-card h3::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 50px;
        height: 3px;
        background: linear-gradient(90deg, #4489C5, #64b5f6);
        border-radius: 2px;
    }

    #services .service-mobile-card p {
        color: #505c6c;
        line-height: 1.7;
        font-size: 1em;
        text-align: center;
        margin: 0;
    }

    /* Team adjustments for tablet */
    #team .uk-grid>div {
        max-width: 45%;
    }

    #team .team-img {
        width: 160px;
        height: 160px;
    }

    #team .uk-card {
        padding: 25px 20px;
    }

    #team .uk-card h3 {
        font-size: 1.2em;
    }

    #team .uk-card p {
        font-size: 0.95em;
    }
}

/* Desktop specific overrides - clean up */
@media (min-width: 1200px) {
    html {
        scroll-padding-top: 80px;
    }
}

/* Cookie Banner Styles */
.cookie-banner {
    display: none;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border-top: 1px solid #eee;
}

.cookie-banner p {
    color: #2c3e50;
    font-size: 0.95em;
    line-height: 1.4;
}

.cookie-banner .uk-button-primary {
    background-color: var(--color-blue);
    color: white;
    border-radius: 4px;
}

.cookie-banner .uk-button-link {
    color: var(--color-blue);
}

/* Privacy Modal Styles */
.uk-modal-dialog {
    border-radius: 8px;
}

.uk-modal-title {
    color: var(--color-dark);
    font-size: 1.8em;
    margin-bottom: 20px;
}

#privacy-modal .uk-modal-body {
    padding: 30px;
}

#privacy-modal h3 {
    color: var(--color-dark);
    font-size: 1.4em;
    margin-top: 25px;
}

#privacy-modal h4 {
    color: var(--color-lightdark);
    font-size: 1.2em;
    margin-top: 20px;
}

#privacy-modal p {
    color: #505c6c;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Image Comparison Styles */
.image-compare-container {
    position: relative;
    /* Add this */
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.comparison-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: ew-resize;
}

/* Add hint overlay */
.comparison-container::after {
    content: 'Ziehen Sie nach links oder rechts';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 200;
    white-space: nowrap;
    backdrop-filter: blur(4px);
}

.comparison-container:hover::after {
    opacity: 1;
}

.before-image,
.after-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.after-image {
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}

.slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    margin: 0;
    z-index: 100;
}

.slider-button {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.9);
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 50;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.slider-button::before {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(255, 255, 255, 1);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.slider-button::after {
    content: '↔';
    position: absolute;
    color: #333;
    font-size: 20px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.comparison-container:hover .slider-button::before {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Remove before/after labels */
.before-label,
.after-label {
    display: none;
}

/* Add arrows and navigation styles */
.uk-slidenav-previous,
.uk-slidenav-next {
    background: rgba(255, 255, 255, 0.9);
    color: #666;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.uk-slidenav-previous:hover,
.uk-slidenav-next:hover {
    background: #fff;
    color: #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Slider Navigation Styles */
.uk-slider-container {
    padding: 0;
}

.uk-slidenav-previous,
.uk-slidenav-next {
    background: rgba(255, 255, 255, 0.95) !important;
    color: #333 !important;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.uk-slidenav-previous:hover,
.uk-slidenav-next:hover {
    background: #fff !important;
    color: var(--color-blue) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Update Navigation Arrows Position */
.uk-position-center-left,
.uk-position-center-right {
    top: calc(250px + 20px);
    /* Half of comparison container height (500px/2) plus padding */
    transform: translateY(-50%);
}

/* Project Description Styles */
.image-compare-container h3 {
    margin-bottom: 5px;
    color: #2c3e50;
}

.image-compare-container p {
    color: #666;
    margin: 0;
}

/* Tap hint for mobile/tablet */
.tap-hint {
    display: none;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: rgba(255, 255, 255, 0.9);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    z-index: 150;
    pointer-events: none;
    white-space: nowrap;
}

/* Responsive adjustments */
@media (max-width: 1199px) {
    .comparison-container {
        height: 400px;
        width: 100%;
    }

    /* Keep cover to fill the card completely */
    .before-image,
    .after-image {
        object-fit: cover;
    }

    /* Hide desktop drag hint in mobile/tablet */
    .comparison-container::after {
        display: none !important;
    }

    /* Hide slider button in mobile/tablet */
    .slider-button {
        display: none !important;
    }

    /* Show tap hint in mobile/tablet */
    .tap-hint {
        display: block;
    }

    /* Show arrows above images */
    #projects .project-nav-container {
        display: flex !important;
        justify-content: center;
        align-items: center;
        gap: 20px;
        margin-bottom: 20px;
        position: relative !important;
    }

    #projects .project-nav-prev,
    #projects .project-nav-next {
        position: static !important;
        margin: 0 !important;
        transform: none !important;
    }
}

/* Tablet specific - larger images */
@media (min-width: 641px) and (max-width: 1199px) {
    .comparison-container {
        height: 450px;
        max-width: 700px;
        margin: 0 auto;
    }
}

/* Mobile specific */
@media (max-width: 640px) {
    .comparison-container {
        height: auto;
        aspect-ratio: 4/3;
        max-height: 400px;
    }

    .before-image,
    .after-image {
        object-fit: contain;
        background: #f5f5f5;
    }
}

/* Desktop navigation - keep arrows on sides of images */
@media (min-width: 1200px) {
    #projects .project-nav-container {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        pointer-events: none;
        display: flex;
        align-items: center;
        justify-content: space-between;
        z-index: 10;
    }

    #projects .project-nav-prev,
    #projects .project-nav-next {
        position: static;
        pointer-events: all;
    }
}

/* ============================= */
/*       End of File            */
/* ============================= */