:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #f97316;
    --text-color: #1f2937;
    --light-bg: #f3f4f6;
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    position: relative;
    height: auto;
}

/* Header Styles */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--box-shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.phone-link {
    background: var(--gradient-primary);
    color: white !important;
    padding: 0.8rem 1.5rem !important;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.phone-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 8rem 5% 5rem;
    background: var(--light-bg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: auto;
}

.hero-content {
    max-width: 600px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.hero p {
    font-size: 1.2rem;
    color: #4b5563;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-button.primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.cta-button.secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.hero-features {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.hero-image {
    position: relative;
    width: 100%;
    height: 100%;
    margin-top: 128px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-image::after {
    content: none;
}

.hero-image img {
    width: auto;
    max-width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 2;
}

.hero-shadow {
    width: 60%;
    height: 36px;
    margin-top: -18px;
    background: radial-gradient(ellipse at center, rgba(37,99,235,0.18) 60%, transparent 100%);
    filter: blur(8px);
    z-index: 1;
    pointer-events: none;
    align-self: center;
}

/* Modern Yıkama Animasyonları */
.water-drop {
    position: absolute;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.2));
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
    animation: waterDrop 3s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.water-drop::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    animation: waterShine 2s ease-in-out infinite;
}

.water-drop::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    animation: waterRipple 2s ease-out infinite;
}

.cleaning-brush {
    position: absolute;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.1));
    border-radius: 50%;
    z-index: 2;
    animation: cleaningBrush 6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    backdrop-filter: blur(5px);
}

.cleaning-brush::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    animation: brushPulse 3s ease-in-out infinite;
}

.cleaning-brush::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    border-radius: 50%;
    animation: brushRotate 4s linear infinite;
}

@keyframes waterDrop {
    0% {
        transform: translateY(-100%) scale(0.3) rotate(0deg);
        opacity: 0;
    }
    20% {
        opacity: 0.8;
    }
    80% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(100%) scale(0.1) rotate(360deg);
        opacity: 0;
    }
}

@keyframes waterShine {
    0% { transform: scale(1) rotate(0deg); opacity: 0.8; }
    50% { transform: scale(1.2) rotate(180deg); opacity: 0.4; }
    100% { transform: scale(1) rotate(360deg); opacity: 0.8; }
}

@keyframes waterRipple {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(2); opacity: 0; }
}

@keyframes cleaningBrush {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    25% {
        transform: translate(100px, 50px) rotate(90deg) scale(1.1);
    }
    50% {
        transform: translate(50px, 100px) rotate(180deg) scale(1);
    }
    75% {
        transform: translate(-50px, 50px) rotate(270deg) scale(0.9);
    }
    100% {
        transform: translate(0, 0) rotate(360deg) scale(1);
    }
}

@keyframes brushPulse {
    0% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.5); opacity: 0.3; }
    100% { transform: scale(1); opacity: 0.6; }
}

@keyframes brushRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Su Damlaları için Pozisyonlar */
.water-drop:nth-child(1) { left: 15%; top: 0; animation-delay: 0s; }
.water-drop:nth-child(2) { left: 35%; top: 0; animation-delay: 0.7s; }
.water-drop:nth-child(3) { left: 55%; top: 0; animation-delay: 1.4s; }
.water-drop:nth-child(4) { left: 75%; top: 0; animation-delay: 2.1s; }

.cleaning-brush:nth-child(1) { left: 25%; top: 35%; animation-delay: 0s; }
.cleaning-brush:nth-child(2) { left: 65%; top: 55%; animation-delay: 3s; }

/* Animasyon Container */
.animation-container {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

/* Services Section */
.services {
    padding: 8rem 5%;
    background: white;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.section-header p {
    color: #6b7280;
    font-size: 1.1rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.service-card ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-card ul li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.service-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-link:hover {
    color: var(--secondary-color);
}

/* Gallery Section */
.gallery {
    padding: 8rem 5%;
    background: var(--light-bg);
}

.comparison-slider-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto 4rem;
}

@media (max-width: 900px) {
    .comparison-slider-group {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.comparison-slider {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    overflow: hidden;
    position: relative;
    aspect-ratio: 16/9;
    min-width: 0;
}

.comparison-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.comparison-image img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    user-select: none;
    pointer-events: none;
}

.comparison-image .before { z-index: 1; }
.comparison-image .after {
    z-index: 2;
    clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
    transition: clip-path 0.2s;
}

.slider-handle {
    position: absolute;
    top: 0; left: 50%;
    width: 4px; height: 100%;
    background: linear-gradient(180deg, #e0e7ff 0%, #2563eb 100%);
    z-index: 3;
    cursor: ew-resize;
    transform: translateX(-50%);
    box-shadow: 0 0 20px rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.2s, background 0.2s;
}

.slider-handle:hover, .slider-handle:active {
    box-shadow: 0 0 32px 4px #2563eb44, 0 2px 16px #2563eb22;
    background: linear-gradient(180deg, #dbeafe 0%, #2563eb 100%);
}

.slider-handle-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.7);
    border-radius: 50%;
    box-shadow: 0 4px 24px 0 #2563eb22, 0 1.5px 8px #fff8;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
    border: 2.5px solid #2563eb;
    backdrop-filter: blur(4px);
    transition: box-shadow 0.2s, border 0.2s, background 0.2s;
}

.slider-handle:hover .slider-handle-inner, .slider-handle:active .slider-handle-inner {
    box-shadow: 0 6px 32px 0 #2563eb55, 0 2px 12px #fff8;
    border: 2.5px solid #1e40af;
    background: rgba(255,255,255,0.85);
}

.slider-handle-inner svg {
    width: 20px;
    height: 20px;
    margin: 0 2px;
    stroke: #2563eb;
    opacity: 0.85;
    transition: stroke 0.2s, opacity 0.2s;
}

.slider-handle:hover .slider-handle-inner svg, .slider-handle:active .slider-handle-inner svg {
    stroke: #1e40af;
    opacity: 1;
}

.comparison-labels {
    position: absolute;
    bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 4;
}

.comparison-label {
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    backdrop-filter: blur(5px);
}

/* Contact Section */
.contact {
    padding: 8rem 5%;
    background: white;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

#contact-form {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

#contact-form input,
#contact-form select,
#contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

#contact-form input:focus,
#contact-form select:focus,
#contact-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

#contact-form textarea {
    height: 150px;
    resize: vertical;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.info-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.info-item p {
    color: #6b7280;
}

/* Modern Footer */
.modern-footer {
    background: #f8fafc;
    color: #1e293b;
    padding: 0;
    border-top: 1px solid #e5e7eb;
    font-size: 1rem;
}
.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 5% 2rem 5%;
    align-items: flex-start;
}
.footer-logo-col {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    align-items: flex-start;
}
.footer-logo {
    height: 48px;
    margin-bottom: 0.5rem;
}
.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}
.footer-social a {
    color: var(--text-color);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-right: 1rem;
}
.footer-social a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}
.footer-links-col h3,
.footer-contact-col h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2563eb;
}
.footer-links-col ul,
.footer-contact-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links-col ul li,
.footer-contact-col ul li {
    margin-bottom: 0.7rem;
    color: #334155;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.footer-links-col ul li a {
    color: #334155;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-links-col ul li a:hover {
    color: #2563eb;
}
.footer-contact-col ul li i {
    color: #2563eb;
    font-size: 1.1rem;
    margin-right: 0.5rem;
}
.footer-bottom {
    text-align: center;
    padding: 1.2rem 0 1.2rem 0;
    background: transparent;
    color: #64748b;
    font-size: 0.98rem;
    border-top: 1px solid #e5e7eb;
    margin-top: 0.5rem;
}
@media (max-width: 700px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 6% 1rem 6%;
    }
    .footer-logo-col, .footer-links-col, .footer-contact-col {
        align-items: flex-start;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 7rem 4% 3rem 4%;
    }
    .hero-content {
        margin: 0 auto;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-features {
        justify-content: center;
    }
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    /* Ensure vertical scrolling */
    html, body {
        overflow-y: auto !important; /* Enable vertical scrolling if content overflows */
    }

    .hero {
        /* existing styles */
        height: auto !important;
        min-height: auto !important;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
        flex-shrink: 0; /* Prevent shrinking */
        flex-grow: 0; /* Prevent growing */
        padding-top: 10rem !important; /* Increase top padding on mobile to move hero down */
    }

    .hero-image {
        margin-top: 0 !important; /* Remove margin-top on mobile */
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .hero {
        padding: 5.5rem 2% 2.5rem 2%; /* Original padding */
        min-height: auto !important; /* Ensure minimum height is based on content */
        height: auto !important; /* Ensure hero height is based on content */
        width: 100vw;
        max-width: 100vw;
        box-sizing: border-box;
        overflow-x: hidden;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
        padding-top: 10rem !important; /* Increase top padding on mobile to move hero down */
    }
    .hero-content {
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
        padding: 0;
    }
    .hero h1 {
        font-size: 1.3rem;
        word-break: break-word;
        line-height: 1.2;
        margin-bottom: 1.2rem;
    }
    .hero p {
        font-size: 1.0rem; /* Corrected font size */
    }
    .hero-buttons {
        flex-direction: column;
        gap: 0.7rem;
        width: 100%;
        align-items: stretch;
    }
    .cta-button {
        width: 100%;
        font-size: 1.0rem; /* Corrected font size */
        padding: 0.9rem 0;
        border-radius: 32px;
        box-sizing: border-box;
    }
    .hero-features {
        flex-direction: column;
        gap: 0.7rem;
        align-items: flex-start;
    }
    .section-header h2 {
        font-size: 1.3rem;
    }
    .service-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    .comparison-slider-group {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    .comparison-slider {
        aspect-ratio: 16/12;
    }
    .contact-container {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        padding: 1.5rem 4% 0.5rem 4%;
    }
    .footer-logo {
        height: 36px;
    }
    .footer-bottom {
        font-size: 0.92rem;
        padding: 0.7rem 0 0.7rem 0;
    }
    .highlighted-bg {
        padding: 1.5rem 1rem;
        border-radius: 18px;
        min-height: unset;
    }
    .highlighted-content {
        flex-direction: column;
        gap: 1.2rem;
    }
    .highlighted-image img {
        width: 160px;
    }
    .highlighted-info h2 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    .highlighted-cards {
        gap: 0.7rem;
    }
    .highlighted-card {
        min-width: 140px;
        max-width: 180px;
        padding: 1rem 0.5rem;
    }
    /* Ensure vertical scrolling */
    html, body {
        overflow-y: auto !important; /* Enable vertical scrolling if content overflows */
    }
    .hero-image {
        margin-top: 0 !important; /* Remove margin-top on mobile */
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content > * {
    animation: fadeIn 1s ease-out forwards;
}

.hero-content p {
    animation-delay: 0.2s;
}

.hero-buttons {
    animation-delay: 0.4s;
}

.hero-features {
    animation-delay: 0.6s;
}

.comparison-slider-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto 4rem;
}

@media (max-width: 900px) {
    .comparison-slider-group {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Testimonials Carousel */
.testimonials-section {
    background: #f3f4f6;
    padding: 4rem 0;
    overflow: hidden;
}

.testimonials-carousel {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    min-height: 220px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.testimonial-card {
    position: absolute;
    top: 0;
    left: 50%;
    width: 320px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s, transform 0.5s;
    transform: translateX(-50%) scale(0.85);
    z-index: 1;
    background: #fff;
    color: #1e293b;
    border-radius: 18px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.10);
    padding: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: center;
    display: none;
}

.testimonial-card.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) scale(1);
    z-index: 3;
    display: block;
}

.testimonial-card.left, .testimonial-card.right {
    opacity: 0.7;
    pointer-events: none;
    display: block;
    z-index: 2;
}

.testimonial-card.left {
    transform: translateX(-170%) scale(0.92);
}
.testimonial-card.right {
    transform: translateX(70%) scale(0.92);
}

.testimonial-card span {
    display: block;
    color: #2563eb;
    font-weight: 600;
    font-size: 1rem;
    margin-top: 1.2rem;
}

@media (max-width: 900px) {
    .testimonial-card, .testimonial-card.active, .testimonial-card.left, .testimonial-card.right {
        width: 90vw;
        min-width: 0;
        max-width: 98vw;
        padding: 1.2rem 0.7rem 1rem 0.7rem;
        font-size: 1rem;
    }
    .testimonial-card.left {
        transform: translateX(-120%) scale(0.92);
    }
    .testimonial-card.right {
        transform: translateX(20%) scale(0.92);
    }
}

/* Mobile Menu */
.menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1000;
    position: relative;
}

.menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: 0.3s;
    transform-origin: center;
}

.menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

@media (max-width: 768px) {
    .menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: white;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: 0.3s;
        z-index: 999;
        padding: 2rem;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.4rem;
        color: var(--text-color);
        text-decoration: none;
        padding: 0.8rem 1.5rem;
        width: 100%;
        text-align: center;
        transition: 0.3s;
    }

    .nav-links a:hover {
        background: var(--light-bg);
    }

    .nav-links .phone-link {
        margin-top: 1rem;
        background: var(--gradient-primary);
        color: white !important;
        padding: 1rem 2rem !important;
        border-radius: 50px;
        font-size: 1.2rem;
    }

    body.menu-open {
        overflow: hidden;
    }
}

/* Sliding Images Styles */
.sliding-images-container {
    width: 100%;
    overflow: hidden;
    margin-bottom: 2rem; /* Space between slider and gallery grid */
}

.sliding-images-wrapper {
    display: flex;
    width: max-content; /* Ensure wrapper is wide enough for all images */
    animation: slide 30s linear infinite; /* Adjust duration as needed */
}

.sliding-images-wrapper img {
    height: 60px; /* Adjust image height as needed */
    width: auto; /* Maintain aspect ratio */
    margin-right: 10px; /* Space between images */
    border-radius: 8px; /* Optional: add rounded corners */
    object-fit: cover;
}

@keyframes slide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Slide half of the images */
}

/* Lightbox Styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.lightbox-close:hover {
    transform: rotate(90deg);
} 