* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Modern Color Palette */
    --primary: #0F172A;
    --primary-light: #1E293B;
    --secondary: #3B82F6;
    --secondary-light: #60A5FA;
    --accent: #F59E0B;
    --accent-light: #FCD34D;
    --success: #10B981;
    --danger: #EF4444;
    --warning: #F59E0B;
    --info: #3B82F6;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-accent: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    --gradient-success: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    --gradient-dark: linear-gradient(135deg, #232526 0%, #414345 100%);
    --gradient-blue: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-purple: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-orange: linear-gradient(135deg, #FDBB2D 0%, #22C1C3 100%);
    --gradient-pink: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-teal: linear-gradient(135deg, #13547a 0%, #80d0c7 100%);
    
    /* Hero Gradients */
    --hero-gradient: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 50%, rgba(15, 23, 42, 0.9) 100%);
    --hero-overlay: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(59, 130, 246, 0.3) 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
    
    /* Glow Effects */
    --glow-primary: 0 0 20px rgba(102, 126, 234, 0.3);
    --glow-secondary: 0 0 20px rgba(240, 147, 251, 0.3);
    --glow-accent: 0 0 20px rgba(253, 187, 45, 0.3);
    
    /* Borders */
    --border-radius-sm: 6px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
    --border-radius-2xl: 32px;
    --border-radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 0.15s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
    --transition-bounce: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

body {
    font-family: 'Inter', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
    color: var(--gray-800);
    overflow-x: hidden;
    background: var(--gray-50);
    font-weight: 400;
    letter-spacing: -0.025em;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: var(--border-radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-secondary);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
    transition: all var(--transition-normal);
    padding: 0;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.15);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 28px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all var(--transition-normal);
}

.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(var(--glow-primary));
}

.logo i {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 32px;
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-4px); }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    margin: 0;
}

.nav-link {
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all var(--transition-normal);
    position: relative;
    padding: 12px 0;
    letter-spacing: -0.025em;
}

.nav-link:hover {
    color: var(--secondary);
    transform: translateY(-2px);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: width var(--transition-normal);
    border-radius: var(--border-radius-full);
}

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

.menu-toggle {
    display: none;
    font-size: 28px;
    color: var(--primary);
    cursor: pointer;
    padding: 8px;
    border-radius: var(--border-radius-md);
    transition: all var(--transition-normal);
}

.menu-toggle:hover {
    background: var(--gray-100);
    transform: scale(1.1);
}

/* Quick Access */
.quick-access {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--gradient-primary);
    z-index: 999;
    padding: 18px 0;
    box-shadow: var(--shadow-lg);
}

.quick-access-container {
    max-width: 1200px;
    height: 70%;
    margin: 0 auto;
    padding: 0 32px;
}

.quick-access-menu {
    display: flex;
    list-style: none;
    gap: 24px;
    margin: 0;
    justify-content: center;
    flex-wrap: wrap;
}

.quick-access-link {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 14px 22px;
    border-radius: var(--border-radius-full);
    transition: all var(--transition-normal);
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    letter-spacing: -0.025em;
}

.quick-access-link:hover {
    background: rgba(255, 255, 255, 0.25);
    color: var(--white);
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-xl);
    border-color: rgba(255, 255, 255, 0.4);
}

.quick-access-link i {
    font-size: 14px;
}

/* Hero Section */
.hero {
    min-height: calc(100vh - 120px);
    background: var(--hero-gradient), 
                url('img/golbasi_ankara/ana.jpg') center/cover;
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 120px;
    overflow: hidden;
    padding: 60px 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--hero-overlay);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: 2;
    opacity: 0.3;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
    width: 100%;
    position: relative;
    z-index: 3;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-height: calc(100vh - 240px);
}

.hero-left {
    color: var(--white);
}

.hero-right {
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(253, 187, 45, 0.15);
    color: var(--accent-light);
    padding: 12px 20px;
    border-radius: var(--border-radius-full);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 32px;
    border: 1px solid rgba(253, 187, 45, 0.3);
    backdrop-filter: blur(10px);
    letter-spacing: -0.025em;
    animation: badgeFloat 4s ease-in-out infinite;
}

@keyframes badgeFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
}

.hero-badge i {
    font-size: 16px;
}

.hero-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 35px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 20px;
    opacity: 0.95;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: -0.025em;
}

.hero-address-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-xl);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-2xl);
    transition: all var(--transition-normal);
}

.hero-address-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.3);
}

.hero-address-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--accent-light);
    letter-spacing: -0.025em;
}

.hero-address-title i {
    font-size: 17px;
}

.hero-address-text {
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: -0.025em;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-lg);
    padding: 18px;
    text-align: center;
    transition: all var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-card:hover {
    transform: translateY(-6px) scale(1.05);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-2xl);
}

.stat-icon {
    font-size: 28px;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    display: block;
}

.stat-label {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: -0.025em;
    text-transform: uppercase;
}

.stat-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.025em;
}

/* Phone number styling fix */
.stat-value, .contact-item-content p, .footer-links li {
    color: inherit !important;
    text-decoration: none !important;
}

.stat-value a, .contact-item-content p a, .footer-links a {
    color: inherit !important;
    text-decoration: none !important;
}

.hero-image {
    position: relative;
    margin-top: 20px;
}

.hero-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-2xl);
    border: 3px solid rgba(255, 255, 255, 0.3);
    transition: all var(--transition-normal);
}

.hero-image:hover img {
    transform: scale(1.02);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
}

/* Services Section */
.services {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10px 10px, rgba(102,126,234,0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.5;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--border-radius-full);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: -0.025em;
    text-transform: uppercase;
    box-shadow: var(--shadow-lg);
}

.section-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 36px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 16px;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    letter-spacing: -0.025em;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--white);
    border-radius: var(--border-radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-bounce);
    border: 1px solid var(--gray-200);
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
    transform-origin: left;
}

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

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
    border-color: rgba(102, 126, 234, 0.2);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: all var(--transition-normal);
}

.service-card:hover img {
    transform: scale(1.02);
}

/* Mobile optimization - reduce animations */
@media (max-width: 768px) {
    .service-card {
        transition: all 0.2s ease-out;
    }
    
    .service-card:hover {
        transform: translateY(-2px);
    }
    
    .service-card:hover img {
        transform: none;
    }
    
    .service-card:hover .service-icon {
        transform: none;
    }
    
    /* Disable heavy backdrop filters */
    .header {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    
    .quick-access-link {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(255, 255, 255, 0.2);
    }
    
    .hero-address-card,
    .stat-card {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(255, 255, 255, 0.15);
    }
    
    /* Simplify box shadows */
    .service-card {
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    
    .service-card:hover {
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }
    
    .testimonial-card {
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    
    .faq-item {
        box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    }
    
    .contact-container {
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
}

.service-content {
    padding: 24px;
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--border-radius-lg);
    font-size: 20px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-bounce);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--glow-primary);
}

.service-card h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
    letter-spacing: -0.025em;
}

.service-card p {
    color: var(--gray-600);
    line-height: 1.6;
    font-size: 15px;
    letter-spacing: -0.025em;
}

/* FAQ Section */
.faq-section {
    padding: 150px 0;
    background: var(--white);
    position: relative;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius-xl);
    margin-bottom: 20px;
    overflow: hidden;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.faq-item:hover {
    box-shadow: var(--shadow-xl);
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateY(-2px);
}

.faq-question {
    padding: 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--primary);
    font-size: 17px;
    transition: all var(--transition-normal);
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: -0.025em;
}

.faq-question:hover {
    background: linear-gradient(135deg, var(--gray-50) 0%, rgba(102, 126, 234, 0.05) 100%);
}

.faq-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--border-radius-full);
    font-size: 16px;
    font-weight: 700;
    transition: all var(--transition-bounce);
    box-shadow: var(--shadow-lg);
}

.faq-icon::before {
    content: '+';
}

.faq-item.active .faq-icon {
    transform: rotate(45deg) scale(1.1);
    background: var(--gradient-secondary);
    box-shadow: var(--glow-secondary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all var(--transition-slow);
}

.faq-item.active .faq-answer {
    max-height: 400px;
}

.faq-answer-content {
    padding: 0 24px 24px;
    color: var(--gray-600);
    line-height: 1.6;
    font-size: 15px;
    letter-spacing: -0.025em;
}

/* Testimonials */
.testimonials {
    padding: 150px 0;
    background: linear-gradient(135deg, var(--gray-50) 0%, rgba(102, 126, 234, 0.05) 100%);
    position: relative;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--border-radius-2xl);
    padding: 32px;
    margin: 0 20px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
    text-align: center;
    position: relative;
    transition: all var(--transition-bounce);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

/* Simplify testimonial animations for mobile */
@media (max-width: 768px) {
    .testimonial-card {
        transition: all 0.3s ease;
    }
    
    .testimonial-card:hover {
        transform: none;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    
    /* Disable floating animations */
    .logo i {
        animation: none;
    }
    
    .hero-badge {
        animation: none;
    }
    
    /* Simplify gradients for better performance */
    .hero {
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(15, 23, 42, 0.8) 100%),
                    url('img/golbasi_ankara/ana.jpg') center/cover;
    }
    
    .hero::before {
        background: rgba(15, 23, 42, 0.6);
    }
    
    /* Remove heavy pseudo-elements */
    .services::before,
    .footer::before,
    .contact-header::before {
        display: none;
    }
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 900;
    box-shadow: var(--shadow-lg);
}

.testimonial-avatar {
    width: 70px;
    height: 70px;
    border-radius: var(--border-radius-full);
    background: var(--gradient-primary);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 28px;
    font-weight: 700;
    box-shadow: var(--shadow-xl);
    border: 3px solid var(--white);
}

.testimonial-name {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 10px;
    letter-spacing: -0.025em;
}

.testimonial-text {
    color: var(--gray-600);
    line-height: 1.6;
    font-style: italic;
    font-size: 15px;
    letter-spacing: -0.025em;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--border-radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    border: 1px solid var(--gray-200);
}

.contact-header {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 40px;
    text-align: center;
    position: relative;
}

.contact-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10px 10px, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.3;
}

.contact-header h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.025em;
    position: relative;
    z-index: 1;
}

.contact-header p {
    font-size: 16px;
    opacity: 0.95;
    margin: 0;
    letter-spacing: -0.025em;
    position: relative;
    z-index: 1;
}

.contact-content {
    padding: 40px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.contact-info-section h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -0.025em;
}

.contact-info-section h4 i {
    font-size: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
    padding: 20px;
    background: linear-gradient(135deg, var(--gray-50) 0%, rgba(102, 126, 234, 0.05) 100%);
    border-radius: var(--border-radius-lg);
    border-left: 4px solid transparent;
    background-clip: padding-box;
    border-image: var(--gradient-primary) 1;
    transition: all var(--transition-normal);
    position: relative;
}

.contact-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
}

.contact-item:hover {
    transform: translateY(-4px) translateX(4px);
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, var(--white) 0%, rgba(102, 126, 234, 0.08) 100%);
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-bounce);
}

.contact-item:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--glow-primary);
}

.contact-item-content h5 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 6px;
    font-size: 16px;
    letter-spacing: -0.025em;
}

.contact-item-content p {
    color: var(--gray-600);
    margin: 0;
    line-height: 1.5;
    font-size: 14px;
    letter-spacing: -0.025em;
}

.map-section h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -0.025em;
}

.map-section h4 i {
    font-size: 20px;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.map-container {
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
    margin-bottom: 28px;
    transition: all var(--transition-normal);
}

.map-container:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-2xl);
}

.map-container iframe {
    width: 100%;
    height: 280px;
    border: none;
}

.directions-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 16px 28px;
    text-decoration: none;
    border-radius: var(--border-radius-full);
    font-weight: 700;
    transition: all var(--transition-bounce);
    font-size: 16px;
    width: 100%;
    justify-content: center;
    letter-spacing: -0.025em;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.directions-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.directions-btn:hover::before {
    left: 100%;
}

.directions-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4), 0 5px 15px rgba(0, 0, 0, 0.1);
    color: var(--white);
    background: linear-gradient(135deg, #667eea 0%, #8a2be2 50%, #667eea 100%);
}

.directions-btn i {
    font-size: 18px;
}

/* Footer */
.footer {
    background: var(--gradient-dark);
    color: var(--white);
    padding: 60px 0 40px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20px 20px, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.3;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.footer-brand h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.025em;
}

.footer-brand .accent {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: -0.025em;
}

.footer-section h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.025em;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all var(--transition-normal);
    font-size: 14px;
    letter-spacing: -0.025em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--accent-light);
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    letter-spacing: -0.025em;
    position: relative;
    z-index: 1;
}

/* Mobile Responsive Design */
@media (max-width: 1024px) {
    .nav-container {
        padding: 0 24px;
    }

    .container {
        padding: 0 24px;
    }

    .hero-container {
        padding: 0 24px;
    }

    .quick-access-container {
        padding: 0 24px;
    }

    .quick-access {
        padding: 16px 0;
    }

    .quick-access-link {
        font-size: 13px;
        padding: 13px 20px;
        gap: 9px;
    }

    .quick-access-link i {
        font-size: 15px;
    }

    .hero-title {
        font-size: 48px;
    }

    .section-title {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        height: 70px;
        padding: 0 20px;
    }

    .logo {
        font-size: 24px;
    }

    .logo i {
        font-size: 28px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 60px;
        transition: left var(--transition-normal);
        box-shadow: var(--shadow-xl);
        gap: 32px;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        font-size: 18px;
        padding: 16px 0;
    }

    .quick-access {
        top: 70px;
        padding: 14px 0;
    }

    .quick-access-container {
        padding: 0 12px;
    }

    .quick-access-menu {
        gap: 6px;
        justify-content: space-evenly;
        flex-wrap: nowrap;
    }

    .quick-access-link {
        font-size: 12px;
        padding: 12px 8px;
        flex: 1;
        min-width: 0;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .quick-access-link i {
        font-size: 14px;
        display: block;
        margin-bottom: 4px;
    }

    .hero {
        margin-top: 125px;
        padding: 40px 0;
        min-height: calc(100vh - 125px);
    }

    .hero-container {
        padding: 0 20px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
        max-height: none;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-stats {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .hero-image img {
        height: 220px;
    }

    .stat-card {
        padding: 12px;
    }

    .stat-icon {
        font-size: 20px;
        margin-bottom: 6px;
    }

    .stat-label {
        font-size: 11px;
        margin-bottom: 4px;
    }

    .stat-value {
        font-size: 13px;
    }

    .services {
        padding: 60px 0;
    }

    .container {
        padding: 0 20px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 15px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .service-content {
        padding: 28px;
    }

    .service-card h3 {
        font-size: 20px;
    }

    .service-card p {
        font-size: 14px;
    }

    .faq-section {
        padding: 80px 0;
    }

    .faq-question {
        padding: 18px;
        font-size: 15px;
    }

    .faq-answer-content {
        padding: 0 18px 18px;
        font-size: 14px;
    }

    .testimonials {
        padding: 60px 0;
    }

    .testimonial-card {
        padding: 24px;
        margin: 0 8px;
    }

    .testimonial-card::before {
        top: -12px;
        width: 32px;
        height: 32px;
        font-size: 18px;
    }

    .testimonial-avatar {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin-bottom: 16px;
    }

    .testimonial-name {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .testimonial-text {
        font-size: 13px;
        line-height: 1.5;
    }

    .contact {
        padding: 60px 0;
    }

    .contact-container {
        margin: 0 16px;
        border-radius: var(--border-radius-lg);
    }

    .contact-header {
        padding: 24px 20px;
    }

    .contact-header h3 {
        font-size: 22px;
        margin-bottom: 8px;
    }

    .contact-header p {
        font-size: 14px;
    }

    .contact-content {
        padding: 24px 20px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 24px;
    }

    .contact-info-section h4 {
        font-size: 18px;
        margin-bottom: 16px;
    }

    .map-section h4 {
        font-size: 18px;
        margin-bottom: 16px;
    }

    .contact-item {
        padding: 16px;
        margin-bottom: 12px;
    }

    .contact-icon {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .contact-item-content h5 {
        font-size: 14px;
        margin-bottom: 4px;
    }

    .contact-item-content p {
        font-size: 13px;
        line-height: 1.4;
    }

    .map-container {
        margin-bottom: 16px;
    }

    .map-container iframe {
        height: 200px;
    }

    .directions-btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .directions-btn i {
        font-size: 16px;
    }

    .footer {
        padding: 50px 0 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 40px;
    }

    .footer-brand h2 {
        font-size: 28px;
    }

    .footer-tagline {
        font-size: 18px;
    }

    .footer-section h4 {
        font-size: 20px;
    }

    .footer-links a {
        font-size: 16px;
    }

    .footer-bottom {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .quick-access {
        padding: 10px 0;
    }

    .quick-access-link {
        font-size: 10px;
        padding: 8px 4px;
        background: rgba(255, 255, 255, 0.25);
    }

    .quick-access-link i {
        font-size: 12px;
    }

    .hero {
        margin-top: 125px;
        min-height: calc(100vh - 125px);
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.7) 0%, rgba(15, 23, 42, 0.7) 100%),
                    url('img/golbasi_ankara/ana.jpg') center/cover;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .stat-card {
        padding: 10px;
        background: rgba(255, 255, 255, 0.2);
    }

    .stat-icon {
        font-size: 18px;
        margin-bottom: 4px;
        background: var(--accent);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .stat-label {
        font-size: 10px;
        margin-bottom: 3px;
    }

    .stat-value {
        font-size: 12px;
    }

    .section-title {
        font-size: 26px;
    }

    .section-subtitle {
        font-size: 15px;
    }

    .service-content {
        padding: 24px;
    }

    .service-card {
        box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    }

    .service-card h3 {
        font-size: 18px;
    }

    .service-card p {
        font-size: 14px;
    }

    .service-icon {
        background: var(--secondary);
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

    .faq-question {
        padding: 18px;
        font-size: 15px;
    }

    .faq-answer-content {
        padding: 0 18px 18px;
        font-size: 14px;
    }

    .faq-icon {
        background: var(--secondary);
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

    .testimonial-card {
        padding: 18px;
        margin: 0 6px;
        box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    }

    .testimonial-name {
        font-size: 15px;
    }

    .testimonial-text {
        font-size: 12px;
    }

    .contact-header {
        padding: 28px 20px;
        background: var(--secondary);
    }

    .contact-header h3 {
        font-size: 20px;
    }

    .contact-content {
        padding: 28px 20px;
    }

    .contact-info-section h4 {
        font-size: 18px;
    }

    .map-section h4 {
        font-size: 18px;
    }

    .contact-item {
        padding: 16px;
        background: var(--gray-50);
    }

    .contact-icon {
        background: var(--secondary);
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

    .map-container {
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    .map-container iframe {
        height: 220px;
    }

    .directions-btn {
        background: var(--secondary);
        box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
    }

    .footer {
        background: var(--primary);
    }

    .footer-brand h2 {
        font-size: 22px;
    }

    .footer-tagline {
        font-size: 15px;
    }

    .footer-section h4 {
        background: var(--accent);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

.scale-in {
    animation: scaleIn 0.6s ease-out;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus states for accessibility */
.nav-link:focus,
.quick-access-link:focus,
.directions-btn:focus,
.footer-links a:focus {
    outline: 2px solid var(--secondary);
    outline-offset: 2px;
    border-radius: var(--border-radius-sm);
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary: #000000;
        --secondary: #0066CC;
        --accent: #FF6600;
        --gray-600: #333333;
    }
}

/* Performance Optimizations */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Optimized GPU acceleration */
.service-card,
.testimonial-card,
.stat-card,
.faq-item,
.contact-item {
    will-change: auto;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Enable GPU acceleration only for desktop hover states */
@media (min-width: 769px) and (hover: hover) {
    .service-card:hover,
    .testimonial-card:hover,
    .stat-card:hover,
    .faq-item:hover,
    .contact-item:hover {
        will-change: transform;
        transform: translateZ(0);
    }
}

/* Disable GPU acceleration on mobile to save battery */
@media (max-width: 768px) {
    .service-card,
    .testimonial-card,
    .stat-card,
    .faq-item,
    .contact-item,
    .gallery-item {
        will-change: auto;
        backface-visibility: visible;
        -webkit-backface-visibility: visible;
        transform: none;
    }
}

/* Optimize transitions for mobile */
@media (max-width: 768px) {
    * {
        transition-duration: 0.2s !important;
    }
    
    .service-card,
    .testimonial-card,
    .stat-card,
    .faq-item,
    .contact-item,
    .gallery-item {
        will-change: auto;
        transform: translateZ(0);
    }

    .hero-address-text {
        font-size: 14px;
    }
    
    /* Disable heavy animations on mobile */
    .hero::after {
        display: none;
    }
    
    /* Disable all hover transforms on touch devices */
    .nav-link:hover {
        transform: none;
    }
    
    .quick-access-link:hover {
        transform: none;
    }
    
    .stat-card:hover {
        transform: none;
    }
    
    .contact-item:hover {
        transform: translateY(-2px);
    }
    
    .directions-btn:hover {
        transform: none;
    }
    
    .footer-links a:hover {
        transform: none;
    }
    
    /* Optimize gallery for mobile */
    .gallery-item:hover {
        transform: none;
    }
    
    .gallery-item:hover img {
        transform: none;
    }
    
    /* Disable glow effects */
    .service-card:hover .service-icon,
    .contact-item:hover .contact-icon {
        box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Enhanced mobile performance optimizations */
@media (max-width: 480px) {
    /* Remove all non-essential pseudo-elements */
    .hero::after,
    .services::before,
    .gallery-preview::before,
    .testimonials::before {
        display: none;
    }
    
    /* Simplify complex selectors */
    .service-card::before,
    .testimonial-card::before,
    .faq-item::before,
    .contact-item::before,
    .gallery-item::before {
        display: none;
    }
    
    /* Disable all ::before animations */
    .directions-btn::before,
    .gallery-open-btn::before,
    .filter-btn::before {
        display: none;
    }
    
    /* Optimize shadows for very small screens */
    .header {
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    }
    
    .quick-access {
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    }
    
    /* Simplify gradients further */
    .logo,
    .section-title {
        background: var(--secondary);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    
    .hero-badge {
        background: rgba(253, 187, 45, 0.2);
        border: 1px solid rgba(253, 187, 45, 0.4);
    }
    
    /* Disable all transform effects */
    .logo:hover,
    .nav-link:hover,
    .quick-access-link:hover,
    .service-card:hover,
    .testimonial-card:hover,
    .stat-card:hover,
    .faq-item:hover,
    .contact-item:hover,
    .directions-btn:hover,
    .footer-links a:hover {
        transform: none !important;
    }
}

/* Critical resource hints and final mobile optimizations */
.hero-image img,
.service-card img {
    /* These properties should be set in HTML, not CSS */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Mobile-specific shadow optimizations */
@media (max-width: 768px) {
    /* Use simplified shadows for better performance */
    .hero-address-card {
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    
    .stat-card {
        box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    }
    
    .service-icon,
    .contact-icon,
    .faq-icon {
        box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    }
    
    .gallery-open-btn,
    .directions-btn {
        box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
    }
    
    .gallery-modal-content,
    .lightbox-content {
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }
    
    /* Remove all glow effects on mobile */
    .logo:hover,
    .service-card:hover .service-icon,
    .contact-item:hover .contact-icon,
    .gallery-open-btn:hover,
    .directions-btn:hover {
        filter: none;
        box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    }
}

/* Touch-specific optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Disable all hover effects on touch devices */
    .nav-link:hover,
    .quick-access-link:hover,
    .service-card:hover,
    .testimonial-card:hover,
    .stat-card:hover,
    .faq-item:hover,
    .contact-item:hover,
    .directions-btn:hover,
    .footer-links a:hover,
    .gallery-item:hover,
    .filter-btn:hover {
        transform: none !important;
        box-shadow: inherit !important;
        background: inherit !important;
    }
    
    /* Ensure buttons remain accessible on touch */
    .gallery-open-btn,
    .directions-btn,
    .filter-btn.active {
        transform: none;
        box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
    }
}

/* ===== GALLERY PREVIEW SECTION ===== */
.gallery-preview {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.gallery-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 20%, rgba(102, 126, 234, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 60%, rgba(102, 126, 234, 0.05) 0%, transparent 50%);
    background-size: cover;
    z-index: 0;
}

.gallery-preview .container {
    position: relative;
    z-index: 1;
}

/* Preview Grid */
.gallery-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.preview-item {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--white);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.preview-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.preview-item:hover img {
    transform: scale(1.05);
}

.preview-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    padding: 20px;
    color: var(--white);
}

.preview-overlay h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

/* Gallery CTA Button */
.gallery-cta {
    text-align: center;
    margin-top: 30px;
}

.gallery-open-btn {
    background: var(--gradient-primary);
    border: none;
    padding: 16px 32px;
    border-radius: var(--border-radius-full);
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.gallery-open-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.1) 100%);
    transition: left var(--transition-normal);
}

.gallery-open-btn:hover::before {
    left: 0;
}

.gallery-open-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-2xl), var(--glow-primary);
}

.gallery-count {
    font-size: 14px;
    background: rgba(255,255,255,0.2);
    padding: 4px 12px;
    border-radius: var(--border-radius-full);
    margin-left: 8px;
}

/* Gallery Modal */
.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    backdrop-filter: blur(10px);
}

.gallery-modal.active {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

.gallery-modal-content {
    position: relative;
    background: var(--white);
    margin: 20px;
    border-radius: var(--border-radius-lg);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    animation: scaleIn 0.3s ease-in-out;
}

.gallery-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid var(--gray-200);
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.gallery-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.gallery-modal-close {
    background: rgba(255,255,255,0.2);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-full);
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-modal-close:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

.gallery-modal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 24px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: all var(--transition-normal);
    z-index: 2;
}

.gallery-item:hover::before {
    opacity: 0.8;
}

.gallery-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-2xl), var(--glow-primary);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
    opacity: 0;
    transition: all var(--transition-normal);
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 24px;
    text-align: center;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-info {
    color: var(--white);
    margin-bottom: 16px;
}

.gallery-info h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.025em;
}

.gallery-info p {
    font-size: 14px;
    opacity: 0.9;
}

.gallery-icon {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    transition: all var(--transition-normal);
}

.gallery-item:hover .gallery-icon {
    transform: scale(1.1);
    background: rgba(255,255,255,0.3);
}

/* Gallery Filters */
.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 48px;
}

.filter-btn {
    background: var(--white);
    border: 2px solid var(--gray-200);
    padding: 12px 24px;
    border-radius: var(--border-radius-full);
    font-weight: 500;
    font-size: 14px;
    color: var(--gray-600);
    transition: all var(--transition-normal);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: left var(--transition-normal);
    z-index: 0;
}

.filter-btn:hover::before,
.filter-btn.active::before {
    left: 0;
}

.filter-btn:hover,
.filter-btn.active {
    color: var(--white);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.filter-btn i,
.filter-btn span {
    position: relative;
    z-index: 1;
}

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

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-in-out;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    animation: scaleIn 0.3s ease-in-out;
}

.lightbox-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    transition: all var(--transition-normal);
}

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

.lightbox-img {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
}

.lightbox-info {
    padding: 24px;
    text-align: center;
}

.lightbox-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.lightbox-description {
    color: var(--gray-600);
    font-size: 16px;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0 16px;
    pointer-events: none;
}

.lightbox-prev,
.lightbox-next {
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.8);
    border: none;
    border-radius: var(--border-radius-full);
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    transition: all var(--transition-normal);
    pointer-events: all;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Gallery Responsive */
@media (max-width: 768px) {
    .gallery-preview {
        padding: 60px 0;
    }
    
    .gallery-preview-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 16px;
    }
    
    .gallery-modal-content {
        margin: 10px;
        max-height: calc(100vh - 20px);
    }
    
    .gallery-modal-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 16px;
        padding: 16px;
    }
    
    .gallery-open-btn {
        padding: 14px 24px;
        font-size: 14px;
    }
    
    .gallery-filters {
        gap: 8px;
    }
    
    .filter-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .lightbox-content {
        max-width: 95vw;
        max-height: 95vh;
    }
    
    .lightbox-img {
        max-height: 60vh;
    }
    
    .lightbox-info {
        padding: 16px;
    }
    
    .lightbox-title {
        font-size: 20px;
    }
    
    .lightbox-description {
        font-size: 14px;
    }
    
    /* Disable hover effects and animations for gallery on mobile */
    .preview-item:hover {
        transform: none;
    }
    
    .preview-item:hover img {
        transform: none;
    }
    
    .gallery-item::before {
        display: none;
    }
    
    .gallery-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
    }
    
    .gallery-item:hover .gallery-overlay {
        opacity: 1;
    }
    
    .gallery-icon {
        background: rgba(255,255,255,0.3);
        backdrop-filter: none;
    }
    
    .filter-btn::before {
        display: none;
    }
    
    .filter-btn:hover,
    .filter-btn.active {
        background: var(--secondary);
        color: var(--white);
        transform: none;
    }
}