/* Reset default margins and padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.hero {
    text-align: center;
    padding-top: 20px;
    text-transform: uppercase;
}
.cta-button {
    display: inline-block;
    margin-top: 20px;
    padding: 1.2rem 2.4rem;
    background-color: #333;
    border-radius: 50px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    min-height: 44px; /* Touch-friendly */
    min-width: 120px;
}

.cta-button:hover {
    background-color: #444;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

@media screen and (max-width: 768px) {
    .cta-button {
        padding: 1rem 2rem;
        font-size: clamp(0.9rem, 3vw, 1.1rem);
        min-width: 100px;
    }
}
:root {
    --header-height: 90px;
    --container-width: min(1000px, 85%);
    --section-padding: clamp(2rem, 4vw, 6rem);
    --heading-size: clamp(1.8rem, 4vw, 3.5rem);
    --text-size: clamp(0.9rem, 1.8vw, 1.3rem);
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    padding-top: var(--header-height);
    overflow-x: hidden;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    width: 100%;
    max-width: 100vw;
}

/* Ensure images scale properly */
img {
    max-width: 100%;
    height: auto;
}

/* Fix image display for specific cases */
.portfolio-item img,
.service-card img,
.about-image img {
    display: block;
}

.top-bar {
    background: white;
    box-shadow: 0px 1px 20px rgba(0, 0, 0, 0.8);
    padding: 0.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
}

.logo-container {
    height: 100px;
    width: auto;
    display: flex;
    align-items: center;
}

.logo-container img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.container {
    width: var(--container-width);
    margin: 0 auto;
}

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

.nav-links {
    display: flex;
    list-style: none;
    margin-left: auto;
    gap: clamp(1rem, 3vw, 3rem);
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: clamp(0.9rem, 1.5vw, 1.5rem);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
}

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

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

.burger {
    display: none;
    cursor: pointer;
    padding: 8px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px;
    transition: all 0.3s ease;
}

/* Ensure touch-friendly burger menu on mobile */
@media screen and (max-width: 768px) {
    .burger {
        display: flex;
        min-width: 44px;
        min-height: 44px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
}

/* Hero Section */
#motorfiets {
    width: 100%;
}
.hero {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


.hero-inhoud .container {
    text-align: center;
    color: white;
    padding: 0 2rem;
}



/* Portfolio Section */
.portfolio {
    padding: var(--section-padding) 0;
    background-color: #fff;
}

.portfolio h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: var(--heading-size);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 1rem;
}

.portfolio h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: #333;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
    gap: clamp(1rem, 2vw, 2rem);
    width: var(--container-width);
    margin: 0 auto;
    padding: 1.5rem;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    aspect-ratio: 3/4;
    background-color: #f5f5f5;
    transition: all 0.3s ease;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: all 0.3s ease;
    border-radius: 20px;
}

/* Specific styling for Photography 17 image */
.portfolio-item img[src*="IMG_20250516_161328.png"] {
    object-fit: contain;
    height: 100%;
    width: 100%;
    border-radius: 20px;
    display: block;
}

/* Square aspect ratio for Photography 17 container */
.portfolio-item:has(img[src*="IMG_20250516_161328.png"]) {
    aspect-ratio: 1/1;
    border-radius: 20px;
    overflow: hidden;
}

/* Specific styling for Hond Fotografie 17 and 18 images */
.portfolio-item img[src*="IMG_0782.png"],
.portfolio-item img[src*="IMG_1314.jpg"] {
    object-fit: cover;
    height: 100%;
    width: 100%;
    border-radius: 20px;
    display: block;
}

/* Square aspect ratio for Hond Fotografie 17 and 18 containers */
.portfolio-item:has(img[src*="IMG_0782.png"]),
.portfolio-item:has(img[src*="IMG_1314.jpg"]) {
    aspect-ratio: 1/1;
    border-radius: 20px;
    overflow: hidden;
}

/* Portfolio item hover effect */
.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
    border-radius: 25px;
}

.portfolio-item:hover img {
    border-radius: 25px;
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem;
    transform: translateY(0);
    transition: transform 0.5s ease;
}

.portfolio-item:hover .overlay {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
}

.overlay h3 {
    font-size: clamp(1.2rem, 2vw, 2rem);
    margin-bottom: 0.5rem;
}

.overlay p {
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
}

/* Voertuigen Portfolio Section */
.voertuigen.portfolio .portfolio-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
    padding: 1.5rem;
}

.voertuigen.portfolio .portfolio-item {
    width: 100%;
    aspect-ratio: auto;
    max-height: none;
}

.voertuigen.portfolio .portfolio-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.voertuigen.portfolio .overlay {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 1.5rem;
}

/* Overige Portfolio Section */
.overige.portfolio .portfolio-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
    padding: 1.5rem;
}

.overige.portfolio .portfolio-item {
    width: 100%;
    aspect-ratio: auto;
    max-height: none;
}

.overige.portfolio .portfolio-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.overige.portfolio .overlay {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 1.5rem;
}

/* Services Section */
.services {
    padding: var(--section-padding) 0;
    background-color: #fff;
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: var(--heading-size);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 1rem;
}

.services h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: #333;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: clamp(1.5rem, 3vw, 3rem);
    width: var(--container-width);
    margin: 0 auto;
}

.service-card {
    background-color: #fff;
    padding: clamp(1.5rem, 3vw, 3rem);
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: #333;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-card i {
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: #333;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover i {
    transform: scale(1.1);
    color: #666;
}

.service-card h3 {
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    margin-bottom: 1rem;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-card p {
    font-size: var(--text-size);
    line-height: 1.6;
    color: #666;
}

/* About Section */
.about {
    padding: var(--section-padding) 0;
    background-color: #f9f9f9;
}

.about h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: var(--heading-size);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 1rem;
}

.about h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: #333;
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 500px), 1fr));
    gap: clamp(2rem, 4vw, 4rem);
    width: var(--container-width);
    margin: 0 auto;
}

.about-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: var(--text-size);
    line-height: 1.8;
}

.skills {
    margin-top: 2rem;
}

.skills h3 {
    font-size: clamp(1.5rem, 3vw, 2.8rem);
    margin-bottom: 1.5rem;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.skills ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
    gap: 1rem;
    font-size: var(--text-size);
}

.skills li {
    padding: 1.5rem 2rem;
    background-color: white;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.skills li:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    background-color: #333;
    color: white;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

/* Removed hover zoom effect */

/* Contact Section */
.contact {
    padding: var(--section-padding) 0;
    background-color: #fff;
}

.contact h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: var(--heading-size);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 1rem;
}

.contact h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: #333;
}

.contact > p {
    text-align: center;
    font-size: var(--text-size);
    line-height: 1.8;
    color: #555;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-weight: 300;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 500px), 1fr));
    gap: clamp(2rem, 4vw, 4rem);
    width: var(--container-width);
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1.2rem;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: var(--text-size);
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #333;
    box-shadow: 0 0 0 3px rgba(51, 51, 51, 0.1);
}

.contact-form textarea {
    height: 200px;
    resize: vertical;
}

.submit-button {
    padding: 1.2rem;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: var(--text-size);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.submit-button:hover {
    background-color: #444;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: #f9f9f9;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateX(10px);
    background-color: #333;
    color: white;
}

.info-item i {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: #333;
    transition: color 0.3s ease;
}

.info-item:hover i {
    color: white;
}

.info-item p {
    font-size: var(--text-size);
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.footer-content {
    width: var(--container-width);
    margin: 0 auto;
}

.social-links {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-links a {
    color: white;
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    transition: all 0.3s ease;
    display: inline-block;
}

.social-links a:hover {
    color: #ddd;
    transform: translateY(-3px);
}

footer p {
    font-size: var(--text-size);
}

/* Responsive Design */
@media screen and (max-width: 1200px) {
    :root {
        --container-width: 95%;
    }
}

@media screen and (max-width: 992px) {
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
        padding: 1rem;
    }
}

@media screen and (max-width: 768px) {
    :root {
        --header-height: 80px;
        --container-width: 100%;
        --section-padding: clamp(2rem, 5vw, 4rem);
    }
    
    body {
        padding-top: var(--header-height);
    }
    
    .top-bar {
        padding: 0.5rem 1rem;
        height: var(--header-height);
    }
    
    .logo-container {
        height: 60px;
    }
    
    .nav-links {
        position: fixed;
        right: -100%;
        top: var(--header-height);
        height: calc(100vh - var(--header-height));
        width: 100%;
        background-color: white;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 2rem;
        transition: right 0.5s ease;
        z-index: 999;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 1.5rem 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-links a {
        font-size: 1.2rem;
        padding: 1rem 2rem;
        display: block;
        width: 100%;
    }
    
    .burger {
        display: block;
        z-index: 1001;
    }
    
    .burger.toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .burger.toggle .line2 {
        opacity: 0;
    }

    .burger.toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .hero {
        height: 50vh;
        min-height: 300px;
    }
    
    .portfolio {
        padding: 2rem 1rem;
    }
    
    .portfolio h2 {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1rem;
        width: 100%;
    }
    
    .portfolio-item {
        aspect-ratio: 3/4;
        border-radius: 15px;
    }
    
    .portfolio-item img {
        border-radius: 15px;
    }
    
    .services {
        padding: 2rem 1rem;
    }
    
    .services h2 {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
        padding: 0 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .about {
        padding: 2rem 1rem;
    }
    
    .about h2 {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
        padding: 0 1rem;
    }
    
    .about-content {
        padding: 1rem;
        gap: 2rem;
    }
    
    .skills ul {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .skills li {
        padding: 1.2rem 1.5rem;
        font-size: clamp(0.9rem, 3vw, 1.1rem);
    }
    
    .contact {
        padding: 2rem 1rem;
    }
    
    .contact h2 {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
        padding: 0 1rem;
    }
    
    .contact > p {
        padding: 0 1rem;
        font-size: clamp(0.95rem, 3vw, 1.1rem);
    }
    
    .contact-content {
        padding: 1rem;
    }
    
    .contact-form {
        gap: 1.2rem;
    }
    
    .contact-form input,
    .contact-form textarea {
        padding: 1.2rem;
        font-size: 1rem;
        border-radius: 8px;
    }
    
    .submit-button {
        padding: 1.2rem 2rem;
        font-size: 1rem;
        min-height: 48px; /* Touch-friendly minimum size */
    }
    
    .info-item {
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .info-item i {
        font-size: 1.5rem;
    }
    
    .info-item p {
        font-size: clamp(0.95rem, 3vw, 1.1rem);
    }
    
    footer {
        padding: 2rem 1rem;
    }
    
    .footer-content {
        width: 100%;
        padding: 0 1rem;
    }
    
    .social-links {
        gap: 1.5rem;
    }
    
    .social-links a {
        font-size: 1.5rem;
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    footer p {
        font-size: clamp(0.85rem, 2.5vw, 1rem);
        padding: 0 1rem;
    }
    
    /* Voertuigen and Overige portfolio mobile adjustments */
    .voertuigen.portfolio .portfolio-grid,
    .overige.portfolio .portfolio-grid {
        padding: 1rem;
        gap: 1.5rem;
    }
}

@media screen and (max-width: 576px) {
    :root {
        --header-height: 70px;
        --section-padding: clamp(1.5rem, 4vw, 3rem);
    }
    
    .top-bar {
        padding: 0.4rem 0.8rem;
    }
    
    .logo-container {
        height: 50px;
    }
    
    .nav-links a {
        font-size: 1.1rem;
        padding: 0.9rem 1.5rem;
    }
    
    .hero {
        height: 40vh;
        min-height: 250px;
    }
    
    .portfolio {
        padding: 1.5rem 0.8rem;
    }
    
    .portfolio-grid {
        gap: 1.2rem;
        padding: 0.8rem;
    }
    
    .portfolio-item {
        border-radius: 12px;
    }
    
    .portfolio-item img {
        border-radius: 12px;
    }
    
    .services {
        padding: 1.5rem 0.8rem;
    }
    
    .services-grid {
        gap: 1.5rem;
        padding: 0.8rem;
    }
    
    .service-card {
        padding: 1.5rem 1.2rem;
    }
    
    .about {
        padding: 1.5rem 0.8rem;
    }
    
    .about-content {
        padding: 0.8rem;
        gap: 1.5rem;
    }
    
    .contact {
        padding: 1.5rem 0.8rem;
    }
    
    .contact-content {
        padding: 0.8rem;
    }
    
    .contact-form input,
    .contact-form textarea {
        padding: 1rem;
        font-size: 0.95rem;
    }
    
    .info-item {
        padding: 1.2rem;
    }
    
    footer {
        padding: 1.5rem 0.8rem;
    }
    
    .social-links a {
        font-size: 1.3rem;
    }
}

@media screen and (max-width: 480px) {
    :root {
        --header-height: 65px;
    }
    
    .logo-container {
        height: 45px;
    }
    
    .hero {
        height: 35vh;
        min-height: 200px;
    }
    
    .portfolio-grid {
        gap: 1rem;
    }
    
    .portfolio-item {
        border-radius: 10px;
    }
    
    .portfolio-item img {
        border-radius: 10px;
    }
}

/* Animation for mobile menu */
@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.lightbox-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

#lightbox-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    cursor: grab;
    transition: transform 0.1s ease;
    transform-origin: center;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

#lightbox-image:active {
    cursor: grabbing;
}

#lightbox-image:hover {
    cursor: grab;
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-lightbox:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.lightbox-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10000;
}

.lightbox-controls button {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: 2px solid white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-controls button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Navigation buttons */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: 2px solid white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 30px;
}

.next-btn {
    right: 30px;
}

/* Hide navigation buttons on mobile */
@media screen and (max-width: 768px) {
    .nav-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .prev-btn {
        left: 15px;
    }
    
    .next-btn {
        right: 15px;
    }
}

.zoomable-image {
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.zoomable-image:hover {
    transform: scale(1.02);
}

/* Disable hover effects on mobile */
@media (hover: none) and (pointer: coarse) {
    .portfolio-item:hover {
        transform: none;
    }
    
    .portfolio-item:hover img {
        transform: none;
    }
    
    .zoomable-image:hover {
        transform: none;
    }
    
    .service-card:hover {
        transform: none;
    }
    
    .info-item:hover {
        transform: none;
    }
}

/* Responsive lightbox */
@media screen and (max-width: 768px) {
    .lightbox-content {
        padding: 15px;
    }
    
    #lightbox-image {
        max-width: 95%;
        max-height: 85%;
    }
    
    .lightbox-controls {
        bottom: 80px;
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        left: 0;
        transform: none;
        padding: 0 15px;
    }
    
    .lightbox-controls button {
        width: 50px;
        height: 50px;
        font-size: 18px;
        min-width: 44px; /* Touch-friendly */
        min-height: 44px;
    }
    
    .close-lightbox {
        top: 10px;
        right: 15px;
        width: 44px;
        height: 44px;
        font-size: 28px;
        min-width: 44px; /* Touch-friendly */
        min-height: 44px;
    }
    
    .nav-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
        min-width: 44px; /* Touch-friendly */
        min-height: 44px;
    }
    
    .prev-btn {
        left: 10px;
    }
    
    .next-btn {
        right: 10px;
    }
}

@media screen and (max-width: 480px) {
    .lightbox-controls {
        bottom: 70px;
        gap: 10px;
    }
    
    .lightbox-controls button {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }
    
    .close-lightbox {
        top: 8px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
    
    .nav-btn {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
    
    .prev-btn {
        left: 8px;
    }
    
    .next-btn {
        right: 8px;
    }
    
    #lightbox-image {
        max-width: 98%;
        max-height: 80%;
    }
}
