:root {
    /* Light Theme (Default) */
    --primary-color: #1e2124;
    --secondary-color: #E9A738;
    --accent-color: #1e2124;
    --background-color: #e2e8f0; /* Daha koyu arka plan */
    --text-color: #2d3748;
    --card-background: #ffffff;
    --section-background: #f8fafc; /* Yeni: Bölüm arka planı */
    --alternate-section-bg: #ffffff; /* Yeni: Alternatif bölüm arka planı */
    --footer-background: #d9e2ec;
    --input-background: #ffffff;
    --border-color: #94a3b8; /* Daha belirgin border */
    --heading-color: #1a202c;
    --shadow-color: rgba(0, 0, 0, 0.15);
    --section-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* Yeni: Bölüm gölgesi */
    --card-shadow: 0 8px 16px rgba(0, 0, 0, 0.1); /* Daha belirgin gölge */
    --hover-shadow: 0 12px 28px rgba(0, 0, 0, 0.15); /* Hover durumu için daha güçlü gölge */
}

[data-theme="light"] {
    /* Enhanced Light Theme */
    --primary-color: #1e2124;
    --secondary-color: #E9A738;
    --accent-color: #2563eb;
    --background-color: #ffffff;
    --text-color: #1f2937;
    --card-background: #f8fafc;
    --section-background: #ffffff;
    --alternate-section-bg: #f1f5f9;
    --footer-background: #f8fafc;
    --input-background: #ffffff;
    --border-color: #d1d5db;
    --heading-color: #111827;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --overlay-color: rgba(0, 0, 0, 0.6);
    --section-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --card-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    --hover-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] {
    /* Enhanced Dark Theme */
    --primary-color: #1a1d21;
    --secondary-color: #E9A738;
    --accent-color: #4a9eff;
    --background-color: #0f1115;
    --text-color: #e8eaed;
    --card-background: #1f2328;
    --section-background: #1a1d21;
    --alternate-section-bg: #161a1f;
    --footer-background: #0f1115;
    --input-background: #2d3139;
    --border-color: #30363d;
    --heading-color: #ffffff;
    --shadow-color: rgba(0, 0, 0, 0.3);
    --overlay-color: rgba(0, 0, 0, 0.7);
    --section-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --card-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    --hover-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --glass-bg: rgba(26, 29, 33, 0.8);
    --glass-border: rgba(255, 255, 255, 0.1);
}

/* Sadece light tema için kartları güçlendir */
:root:not([data-theme="dark"]) .service-card,
:root:not([data-theme="dark"]) .gallery-item,
:root:not([data-theme="dark"]) .contact-form-container,
:root:not([data-theme="dark"]) .stat-item {
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    background: linear-gradient(145deg, #ffffff, #f8fafc);
}

:root:not([data-theme="dark"]) .service-card:hover,
:root:not([data-theme="dark"]) .gallery-item:hover,
:root:not([data-theme="dark"]) .contact-form-container:hover,
:root:not([data-theme="dark"]) .stat-item:hover {
    box-shadow: var(--hover-shadow);
    border-color: var(--secondary-color);
    background: #ffffff;
}

/* Map Styles */
#map {
    height: 500px;
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 15px var(--shadow-color);
    margin-bottom: 2rem;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    line-height: 1.6;
    scroll-behavior: smooth;
    background-color: var(--background-color);
    color: var(--text-color);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Prevent layout shift during theme change */
.mobile-nav,
.mobile-nav * {
    transition-property: color, background-color, border-color, box-shadow, opacity;
    transition-duration: 0.2s;
    transition-timing-function: ease;
}

a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

/* ====================================
   LOADING SYSTEM
   ==================================== */

.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--background-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    max-width: 300px;
    width: 100%;
    padding: 2rem;
}

.loader-logo {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--secondary-color);
    filter: drop-shadow(0 8px 25px rgba(0, 0, 0, 0.15));
    animation: logoFadeIn 0.8s ease-out forwards, logoPulse 2s ease-in-out infinite;
    opacity: 0;
    box-shadow: 0 0 0 0 rgba(233, 167, 56, 0.4);
}

@keyframes logoFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes logoPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(233, 167, 56, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(233, 167, 56, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(233, 167, 56, 0);
    }
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(233, 167, 56, 0.2);
    border-top: 4px solid var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 1rem 0;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-progress {
    width: 100%;
    max-width: 250px;
    height: 4px;
    background: rgba(233, 167, 56, 0.2);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.loader-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary-color), #d89b2f);
    border-radius: 2px;
    width: 0%;
    transition: width 0.3s ease;
    position: relative;
}

.loader-progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.loader-text {
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    opacity: 0.9;
    animation: textFadeIn 1s ease-out 0.3s forwards, textBreathe 3s ease-in-out infinite;
    opacity: 0;
    letter-spacing: 0.5px;
}

.loader-subtitle {
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 400;
    text-align: center;
    opacity: 0.7;
    margin-top: 0.5rem;
    animation: textFadeIn 1s ease-out 0.6s forwards;
    opacity: 0;
}

@keyframes textFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 0.9;
        transform: translateY(0);
    }
}

@keyframes textBreathe {
    0%, 100% {
        opacity: 0.9;
    }
    50% {
        opacity: 0.6;
    }
}

/* Dark theme specific adjustments */
[data-theme="dark"] .loader-spinner {
    border: 4px solid rgba(233, 167, 56, 0.3);
    border-top: 4px solid var(--secondary-color);
}

[data-theme="dark"] .loader-progress {
    background: rgba(233, 167, 56, 0.3);
}

/* Light theme specific adjustments */
[data-theme="light"] .page-loader {
    background: var(--background-color);
}

[data-theme="light"] .loader-spinner {
    border: 4px solid rgba(233, 167, 56, 0.15);
    border-top: 4px solid var(--secondary-color);
}

[data-theme="light"] .loader-progress {
    background: rgba(233, 167, 56, 0.15);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .loader-content {
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .loader-logo {
        width: 100px;
        max-height: 100px;
    }
    
    .loader-spinner {
        width: 50px;
        height: 50px;
        border-width: 3px;
    }
    
    .loader-progress {
        max-width: 200px;
        height: 3px;
    }
    
    .loader-text {
        font-size: 0.8rem;
    }
}

img {
    max-width: 100%;
    height: auto;
}

/* Scroll to Top Button - Progress Fill Design */
.scroll-top-btn {
    position: fixed;
    bottom: 173px;
    right: 32px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: #000000;
    border: 2px solid #000000;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    cursor: pointer;
    z-index: 997;
    opacity: 0;
    transform: translateY(30px) scale(0.8);
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.scroll-top-btn.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* Progress fill effect - fills from bottom as user scrolls */
.scroll-top-btn::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: var(--scroll-progress, 0%);
    background: #000000;
    border-radius: 50%;
    transition: height 0.1s ease-out;
    z-index: -1;
}

/* Icon color changes as fill progresses */
.scroll-top-btn i {
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    mix-blend-mode: difference;
    color: #000000;
}

.scroll-top-btn:hover {
    transform: translateY(-3px) scale(1.05);
    border-width: 3px;
    box-shadow: 
        0 5px 20px rgba(0, 0, 0, 0.1),
        0 0 0 4px rgba(var(--text-color-rgb), 0.1);
}

.scroll-top-btn:hover::before {
    animation: fillPulse 1s ease-in-out infinite alternate;
}

@keyframes fillPulse {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0.8;
        transform: scale(1.02);
    }
}

/* Light theme - black button, white background */
[data-theme="light"] .scroll-top-btn {
    background: rgba(255, 255, 255, 0.15);
    color: #000000;
    border-color: #000000;
    --text-color-rgb: 0, 0, 0;
}

[data-theme="light"] .scroll-top-btn i {
    color: #000000;
}

[data-theme="light"] .scroll-top-btn::before {
    background: #000000;
}

[data-theme="light"] .scroll-top-btn:hover {
    box-shadow: 
        0 5px 20px rgba(0, 0, 0, 0.15),
        0 0 0 4px rgba(0, 0, 0, 0.1);
}

/* Dark theme - white button, black background */
[data-theme="dark"] .scroll-top-btn {
    background: rgba(0, 0, 0, 0.15);
    color: #ffffff;
    border-color: #ffffff;
    --text-color-rgb: 255, 255, 255;
}

[data-theme="dark"] .scroll-top-btn i {
    color: #ffffff;
}

[data-theme="dark"] .scroll-top-btn::before {
    background: #ffffff;
}

[data-theme="dark"] .scroll-top-btn:hover {
    box-shadow: 
        0 5px 20px rgba(255, 255, 255, 0.15),
        0 0 0 4px rgba(255, 255, 255, 0.1);
}

/* Default theme (fallback) - behaves like light theme */
:root:not([data-theme="dark"]) .scroll-top-btn {
    background: rgba(255, 255, 255, 0.15);
    color: #000000;
    border-color: #000000;
    --text-color-rgb: 0, 0, 0;
}

:root:not([data-theme="dark"]) .scroll-top-btn i {
    color: #000000;
}

:root:not([data-theme="dark"]) .scroll-top-btn::before {
    background: #000000;
}

:root:not([data-theme="dark"]) .scroll-top-btn:hover {
    box-shadow: 
        0 5px 20px rgba(0, 0, 0, 0.15),
        0 0 0 4px rgba(0, 0, 0, 0.1);
}

/* Outer progress ring for additional visual feedback - SARI PROGRESS BAR */
.scroll-top-btn::after {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 5px solid transparent;
    border-radius: 50%;
    background: conic-gradient(
        from -90deg,
        #f0c14b 0deg,
        #f0c14b calc(var(--scroll-progress, 0) * 3.6deg),
        rgba(240, 193, 75, 0.2) calc(var(--scroll-progress, 0) * 3.6deg),
        rgba(240, 193, 75, 0.2) 360deg
    );
    mask: radial-gradient(circle, transparent 42%, black 45%, black 100%);
    -webkit-mask: radial-gradient(circle, transparent 42%, black 45%, black 100%);
    opacity: 0.9;
    transition: opacity 0.3s ease, top 0.3s ease, left 0.3s ease, right 0.3s ease, bottom 0.3s ease;
    z-index: -1;
}

.scroll-top-btn:hover::after {
    opacity: 1;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: conic-gradient(
        from -90deg,
        #e9a738 0deg,
        #e9a738 calc(var(--scroll-progress, 0) * 3.6deg),
        rgba(233, 167, 56, 0.3) calc(var(--scroll-progress, 0) * 3.6deg),
        rgba(233, 167, 56, 0.3) 360deg
    );
}

.scroll-top-btn:hover::after {
    opacity: 1;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
}

/* Active state */
.scroll-top-btn:active {
    transform: translateY(-1px) scale(0.98);
    transition: all 0.1s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .scroll-top-btn {
        width: 45px;
        height: 45px;
        bottom: 153px;
        right: 22px;
        font-size: 16px;
        border-width: 2px;
    }
    
    .scroll-top-btn:hover {
        border-width: 2px;
    }
    
    .scroll-top-btn::after {
        top: -6px;
        left: -6px;
        right: -6px;
        bottom: -6px;
        border-width: 4px;
    }
    
    .scroll-top-btn:hover::after {
        top: -8px;
        left: -8px;
        right: -8px;
        bottom: -8px;
    }
}

/* Accessibility - reduced motion */
@media (prefers-reduced-motion: reduce) {
    .scroll-top-btn {
        transition: opacity 0.3s ease, transform 0.3s ease;
    }
    
    .scroll-top-btn::before {
        transition: height 0.2s ease;
    }
    
    .scroll-top-btn::after {
        transition: transform 0.2s ease;
    }
    
    .scroll-top-btn:hover::before {
        animation: none;
    }
}

/* WhatsApp Button - Positioned above Scroll to Top */
.whatsapp-button {
    position: fixed;
    bottom: 100px; /* Moved up to be above scroll-to-top */
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 99;
    transition: all 0.3s;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* Phone Button - Positioned above WhatsApp */
.phone-fixed-button {
    position: fixed;
    bottom: 170px; /* Positioned above WhatsApp */
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 99;
    transition: all 0.3s;
}

.phone-fixed-button:hover {
    transform: scale(1.1);
    background-color: var(--accent-color);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* Header Styles */
.header {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000; /* Z-index net olarak belirlenmiş */
    box-shadow: 0 2px 15px var(--shadow-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    will-change: transform;
    height: 80px; /* Header yüksekliği açıkça belirtilmiş */
}

/* Light theme header enhancement */
[data-theme="light"] .header {
    background: rgba(255, 255, 255, 0.8); /* Daha saydam */
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(8px); /* Arka planı bulanıklaştırma ekledim */
    -webkit-backdrop-filter: blur(8px);
}

/* Fix header text color for light theme - use dark text on light background */
[data-theme="light"] .header .logo {
    color: var(--heading-color) !important;
    font-weight: 700; /* Daha kalın yazı tipi */
}

[data-theme="light"] .header .logo-text,
[data-theme="light"] .header .logo-sub {
    color: var(--heading-color) !important;
    font-weight: 700; /* Daha kalın yazı tipi */
    text-shadow: 0px 0px 1px rgba(0,0,0,0.2); /* Hafif gölge */
}

[data-theme="light"] .nav-links a {
    color: var(--heading-color) !important;
    opacity: 1;
    font-weight: 600; /* Daha kalın yazı tipi */
    text-shadow: 0px 0px 1px rgba(0,0,0,0.1); /* Hafif gölge */
}

[data-theme="light"] .nav-links a:hover,
[data-theme="light"] .nav-links a.active {
    background: var(--secondary-color) !important;
    color: white !important;
}

[data-theme="light"] .phone-button {
    background: var(--secondary-color) !important;
    color: white !important;
}

[data-theme="light"] .mobile-menu {
    color: var(--heading-color) !important;
    font-weight: 700;
    text-shadow: 0px 0px 1px rgba(0,0,0,0.2);
}

/* Ensure logo and navigation are consistently dark in light theme for visibility */
[data-theme="light"] .logo,
[data-theme="light"] .logo-text,
[data-theme="light"] .logo-sub {
    color: var(--heading-color) !important;
}

/* Override any default text that might be interfering - use dark text for visibility on white background */
[data-theme="light"] .header .nav-links a[style*="color: black"],
[data-theme="light"] .header .logo[style*="color: black"],
[data-theme="light"] .header .logo-text[style*="color: black"],
[data-theme="light"] .header .logo-sub[style*="color: black"],
[data-theme="light"] .header .nav-links a,
[data-theme="light"] .header .logo,
[data-theme="light"] .header .logo-text,
[data-theme="light"] .header .logo-sub {
    color: var(--heading-color) !important;
}

/* Ensure navigation is always visible in dark theme */
[data-theme="dark"] .header .logo,
[data-theme="dark"] .header .logo-text,
[data-theme="dark"] .header .logo-sub,
[data-theme="dark"] .nav-links a,
[data-theme="dark"] .phone-button,
[data-theme="dark"] .mobile-menu {
    color: white !important;
}

/* Dark theme navigation links - ensure white color */
[data-theme="dark"] .nav-links a {
    color: white !important;
    opacity: 1 !important;
    visibility: visible !important;
}

[data-theme="dark"] .nav-links a:hover,
[data-theme="dark"] .nav-links a.active {
    background: var(--secondary-color) !important;
    color: white !important;
}

/* Default theme (no data-theme attribute) - also ensure white text */
:root:not([data-theme="light"]) .header .logo,
:root:not([data-theme="light"]) .header .logo-text,
:root:not([data-theme="light"]) .header .logo-sub,
:root:not([data-theme="light"]) .nav-links a,
:root:not([data-theme="light"]) .phone-button,
:root:not([data-theme="light"]) .mobile-menu {
    color: white !important;
}

/* Sticky Header */
.header.sticky {
    background: rgba(30, 33, 36, 0.8); /* Scroll sonrası biraz daha opak */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    box-shadow: 0 5px 15px var(--shadow-color);
    position: fixed;
    top: 0;
    left: 0; /* Eklendi */
    width: 100%;
    transform: translateY(0); /* Eklendi */
    animation: slideDown 0.5s ease;
    z-index: 1000; /* Artırıldı */
}

/* Beyaz tema için sticky header stil düzenlemeleri */
[data-theme="light"] .header.sticky {
    background: rgba(255, 255, 255, 0.8); /* Saydam beyaz arka plan */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(12px); /* Biraz daha fazla blur efekti */
    -webkit-backdrop-filter: blur(12px);
}

/* Beyaz temada sticky header'daki yazıların daha koyu ve okunabilir olmasını sağla */
[data-theme="light"] .header.sticky .nav-links a,
[data-theme="light"] .header.sticky .logo,
[data-theme="light"] .header.sticky .logo-text,
[data-theme="light"] .header.sticky .logo-sub,
[data-theme="light"] .header.sticky .mobile-menu {
    color: var(--heading-color) !important;
    text-shadow: 0px 0px 1px rgba(0,0,0,0.2);
    font-weight: 700; /* Daha kalın yazı tipi */
}

/* Hover ve active durumlarında renk değişimini koru */
[data-theme="light"] .header.sticky .nav-links a:hover,
[data-theme="light"] .header.sticky .nav-links a.active {
    background: var(--secondary-color) !important;
    color: white !important;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}

.logo {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    height: 80px;
    text-decoration: none;
}

.logo img,
.float {
    max-width: 72px;
    max-height: 72px;
    width: 72px;
    height: 72px;
    border-radius: 50% !important;
    object-fit: cover;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
    /* Yüksek çözünürlüklü logo için retina desteği */
    /* Eğer mümkünse, <img src="logo@2x.png" srcset="logo.png 1x, logo@2x.png 2x"> kullanın */
    display: block;
    transition: all 0.3s;
    margin: 0;
}

.logo .alt-logo {
    height: 65px;
    width: 65px;
    max-height: 65px;
    margin-left: 0.5rem;
    border-radius: 50%;
    object-fit: cover;
    transition: all 0.3s ease;
    border: 2px solid rgba(233, 167, 56, 0.3);
    box-shadow: 0 0 15px rgba(233, 167, 56, 0.2);
}

.logo-text {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.logo-sub {
    color: white;
    font-size: 0.9rem;
    font-weight: bold;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
    display: block;
    margin-top: -8px;
}

.nav-links {
    display: flex;
    gap: 1rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    padding: 0.5rem 0.75rem;
    border-radius: 5px;
    font-size: 0.9rem;
}

/* Dark theme and default - keep white text */
:root[data-theme="dark"] .nav-links a,
:root:not([data-theme="light"]) .nav-links a {
    color: white;
}

.nav-links a:hover, .nav-links a.active {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.phone-button {
    background: var(--secondary-color);
    color: white;
    border-radius: 50px;
    padding: 0.5rem 1rem !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1rem;
    transition: all 0.3s;
}

.phone-button:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.mobile-menu {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: white;
    position: relative;
    z-index: 1002; /* Header'dan yüksek z-index */
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    max-width: 380px;
    height: 100vh;
    height: 100dvh;
    background: linear-gradient(180deg, #1a1d20 0%, #12151a 100%);
    z-index: 1001;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.4s ease;
    padding: 0;
    box-shadow: 5px 0 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--secondary-color) transparent;
}

.mobile-nav::-webkit-scrollbar {
    width: 4px;
}

.mobile-nav::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 4px;
}

.mobile-nav.active {
    left: 0;
    box-shadow: 10px 0 60px rgba(0, 0, 0, 0.7);
}

/* Shimmer Effect on Mobile Nav */
.mobile-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(233, 167, 56, 0.05),
        transparent
    );
    z-index: 0;
    animation: shimmerMobileNav 3s infinite;
    pointer-events: none;
}

@keyframes shimmerMobileNav {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

/* Background Pattern */
.mobile-nav-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23e9a738' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

/* Mobile Nav Header */
.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, rgba(233, 167, 56, 0.1) 0%, transparent 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 1;
}

.mobile-nav-logo {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.logo-glow {
    position: relative;
}

.logo-glow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(233, 167, 56, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: logoGlow 2s ease-in-out infinite;
}

@keyframes logoGlow {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.logo-glow img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--secondary-color);
    position: relative;
    z-index: 1;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text .brand-name {
    color: white;
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: 1px;
    animation: textFadeIn 0.5s ease-out 0.2s backwards;
}

.logo-text .brand-tagline {
    color: var(--secondary-color);
    font-size: 0.7rem;
    letter-spacing: 0.5px;
    opacity: 0.9;
    animation: textFadeIn 0.5s ease-out 0.3s backwards;
}

@keyframes textFadeIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Animated Close Button */
.close-btn {
    width: 36px;
    height: 36px;
    position: relative;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: closeBtnFadeIn 0.4s ease-out 0.1s backwards;
}

@keyframes closeBtnFadeIn {
    from {
        opacity: 0;
        transform: scale(0.5) rotate(-90deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.close-btn span {
    position: absolute;
    width: 18px;
    height: 2px;
    background: white;
    left: 50%;
    top: 50%;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.close-btn span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
}

.close-btn span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.close-btn:hover {
    background: rgba(233, 167, 56, 0.3);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 0 15px rgba(233, 167, 56, 0.3);
}

.close-btn:active {
    transform: rotate(90deg) scale(0.95);
}

/* Mobile Search */
.mobile-search {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1rem 1.5rem;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    position: relative;
    z-index: 1;
}

.mobile-search i {
    color: var(--secondary-color);
    font-size: 0.95rem;
}

.mobile-search input {
    flex: 1;
    background: none;
    border: none;
    color: white;
    font-size: 0.9rem;
    outline: none;
}

.mobile-search input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* Mobile Nav Links - Premium */
.mobile-nav-links {
    padding: 0.5rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    position: relative;
    z-index: 1;
}

.mobile-nav-links a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1rem;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    border-radius: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: slideInLeft 0.5s ease-out backwards;
    animation-delay: var(--delay, 0s);
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.mobile-nav-links a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(233, 167, 56, 0.15) 0%, rgba(233, 167, 56, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-nav-links a:hover::before,
.mobile-nav-links a.active::before {
    opacity: 1;
}

.mobile-nav-links a .nav-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    font-size: 1.1rem;
    color: var(--secondary-color);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.mobile-nav-links a:hover .nav-icon {
    background: rgba(233, 167, 56, 0.3);
    color: var(--secondary-color);
    transform: scale(1.1) rotate(5deg);
}

.mobile-nav-links a .nav-icon i {
    transition: transform 0.3s ease;
}

.mobile-nav-links a:hover .nav-icon i {
    animation: iconBounce 0.5s ease;
}

@keyframes iconBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.mobile-nav-links a.active .nav-icon {
    background: var(--secondary-color);
    color: #000 !important;
}

.mobile-nav-links a.active .nav-icon i {
    color: #000 !important;
}

.mobile-nav-links a .nav-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.mobile-nav-links a .nav-title {
    font-weight: 600;
    font-size: 1rem;
    color: white;
}

.mobile-nav-links a .nav-desc {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 2px;
}

.mobile-nav-links a .nav-arrow {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.mobile-nav-links a:hover .nav-arrow,
.mobile-nav-links a.active .nav-arrow {
    color: var(--secondary-color);
    transform: translateX(3px);
}

.mobile-nav-links a.active {
    background: linear-gradient(135deg, rgba(233, 167, 56, 0.12) 0%, rgba(233, 167, 56, 0.05) 100%);
    border: 1px solid rgba(233, 167, 56, 0.2);
}

.mobile-nav-links a.active::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 60%;
    background: var(--secondary-color);
    border-radius: 0 4px 4px 0;
    animation: activeBarPulse 2s ease-in-out infinite;
}

@keyframes activeBarPulse {
    0%, 100% { opacity: 1; height: 60%; }
    50% { opacity: 0.7; height: 70%; }
}

/* Emergency Banner - Premium */
.mobile-emergency-banner {
    margin: 1rem 1.5rem;
    padding: 1rem 1rem 1rem 1.25rem;
    background: linear-gradient(135deg, rgba(233, 167, 56, 0.15) 0%, rgba(233, 167, 56, 0.05) 100%);
    border: 2px solid rgba(233, 167, 56, 0.4);
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 20px rgba(233, 167, 56, 0.15);
    animation: emergencySlideIn 0.6s ease-out backwards;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mobile-emergency-banner:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 8px 30px rgba(233, 167, 56, 0.25);
}

@keyframes emergencySlideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.emergency-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--secondary-color), #d89b2f);
    border-radius: 12px;
    color: #1e2124;
    font-size: 1.1rem;
    animation: phoneRing 1.5s ease-in-out infinite;
    box-shadow: 0 4px 15px rgba(233, 167, 56, 0.4);
    flex-shrink: 0;
}

@keyframes phoneRing {
    0%, 100% { transform: rotate(0deg); }
    10% { transform: rotate(-10deg); }
    20% { transform: rotate(10deg); }
    30% { transform: rotate(-10deg); }
    40% { transform: rotate(10deg); }
    50% { transform: rotate(0deg); }
}

.emergency-content {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.emergency-label {
    display: block;
    font-size: 0.65rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
    font-weight: 600;
}

.emergency-number {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
    color: white;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.emergency-number:hover {
    color: var(--secondary-color);
}

.emergency-pulse {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); }
    100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

/* Quick Actions */
.mobile-quick-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.6rem;
    padding: 0 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.quick-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 0.9rem 0.5rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: quickActionPop 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) backwards;
}

.quick-action-btn:nth-child(1) { animation-delay: 0.1s; }
.quick-action-btn:nth-child(2) { animation-delay: 0.15s; }
.quick-action-btn:nth-child(3) { animation-delay: 0.2s; }
.quick-action-btn:nth-child(4) { animation-delay: 0.25s; }

@keyframes quickActionPop {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.quick-action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.quick-action-btn:hover::before {
    opacity: 1;
}

.quick-action-btn i {
    font-size: 1.3rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.quick-action-btn:hover {
    transform: translateY(-3px);
}

.quick-action-btn:hover i {
    transform: scale(1.25) rotate(10deg);
}

.quick-action-btn:active {
    transform: translateY(-1px) scale(0.98);
}

.quick-action-btn span {
    font-size: 0.7rem;
    font-weight: 600;
}

.quick-action-btn.call {
    background: linear-gradient(135deg, var(--secondary-color), #d89b2f);
    color: #1e2124;
    box-shadow: 0 4px 15px rgba(233, 167, 56, 0.3);
}

.quick-action-btn.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.quick-action-btn.email {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.quick-action-btn.location {
    background: linear-gradient(135deg, #ef4444, #b91c1c);
    color: white;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.quick-action-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.quick-action-btn:active {
    transform: translateY(-2px) scale(1.02);
}

/* Mobile Stats Carousel - Single Box with Rotating Content */
.mobile-stats-carousel {
    margin: 1rem 1rem;
    padding: 2rem 1.5rem;
    background: linear-gradient(145deg, #1e2124 0%, #16181a 100%);
    border-radius: 16px;
    border: 1px solid rgba(233, 167, 56, 0.5);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    min-height: 120px;
}

.mobile-stats-carousel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #E9A738, transparent);
    opacity: 1;
}

.stats-container {
    position: relative;
    height: 90px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 2;
    padding-bottom: 1rem;
}

.stat-slide {
    position: absolute;
    text-align: center;
    opacity: 0;
    transform: translateY(30px) scale(0.8);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-slide.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.stat-slide.exit {
    opacity: 0;
    transform: translateY(-30px) scale(0.8);
}

.stat-slide .stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: #E9A738 !important;
    -webkit-text-fill-color: #E9A738 !important;
    line-height: 1;
    margin-bottom: 0.6rem;
    text-shadow: 0 2px 15px rgba(233, 167, 56, 0.4);
    text-align: center;
    width: 100%;
}

.stat-slide .stat-label {
    display: block;
    font-size: 1rem;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    text-align: center;
    width: 100%;
}

/* Stats Dots Navigation */
.stats-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 1rem;
    position: relative;
    z-index: 2;
}

.stats-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.stats-dots .dot.active {
    background: #E9A738;
    box-shadow: 0 0 12px rgba(233, 167, 56, 0.6);
    transform: scale(1.3);
}

.stats-dots .dot:hover:not(.active) {
    background: rgba(255, 255, 255, 0.5);
}

/* Light theme - keep dark background for readability */
[data-theme="light"] .mobile-stats-carousel {
    background: linear-gradient(145deg, #1e2124 0%, #16181a 100%);
    border-color: rgba(233, 167, 56, 0.6);
}

[data-theme="light"] .stat-slide .stat-label {
    color: #333;
}

[data-theme="light"] .stats-dots .dot {
    background: rgba(0, 0, 0, 0.2);
}

/* Hide old mobile-stats if exists */
.mobile-stats {
    display: none !important;
}

/* Mobile Contact Info - Clean Design */
.mobile-contact-info {
    padding: 1rem 1.5rem;
    margin: 0;
    background: transparent;
    border-radius: 0;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 1;
}

.mobile-contact-info h4,
.mobile-social h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.75rem;
}

.mobile-contact-info h4 i,
.mobile-social h4 i {
    color: var(--secondary-color);
    font-size: 0.65rem;
}

.mobile-contact-info .info-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.mobile-contact-info .info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    padding: 0.6rem 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    animation: contactSlideIn 0.5s ease-out backwards;
}

.mobile-contact-info .info-item:nth-child(1) { animation-delay: 0.15s; }
.mobile-contact-info .info-item:nth-child(2) { animation-delay: 0.25s; }
.mobile-contact-info .info-item:nth-child(3) { animation-delay: 0.35s; }

@keyframes contactSlideIn {
    from {
        opacity: 0;
        transform: translateX(-15px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.mobile-contact-info .info-item:hover {
    background: rgba(233, 167, 56, 0.1);
    border-color: rgba(233, 167, 56, 0.2);
}

.mobile-contact-info .info-item i {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(233, 167, 56, 0.12);
    border-radius: 8px;
    color: var(--secondary-color);
    font-size: 0.8rem;
    flex-shrink: 0;
    transition: transform 0.3s ease, background 0.3s ease;
}

.mobile-contact-info .info-item:hover i {
    transform: scale(1.15) rotate(-5deg);
    background: rgba(233, 167, 56, 0.25);
}

.mobile-contact-info .info-item span,
.mobile-contact-info .info-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
    font-size: 0.85rem;
}

.mobile-contact-info .info-item a:hover {
    color: var(--secondary-color);
}

/* Mobile Social - Clean Design */
.mobile-social {
    padding: 1rem 1.5rem;
    margin: 0;
    background: transparent;
    border-radius: 0;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 1;
}

.mobile-social .social-links {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.mobile-social .social-link {
    animation: socialPopIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) backwards;
}

.mobile-social .social-link:nth-child(1) { animation-delay: 0.1s; }
.mobile-social .social-link:nth-child(2) { animation-delay: 0.15s; }
.mobile-social .social-link:nth-child(3) { animation-delay: 0.2s; }
.mobile-social .social-link:nth-child(4) { animation-delay: 0.25s; }
.mobile-social .social-link:nth-child(5) { animation-delay: 0.3s; }

@keyframes socialPopIn {
    from {
        opacity: 0;
        transform: scale(0) rotate(-180deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.mobile-social .social-link {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: white;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.mobile-social .social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.15);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-social .social-link:hover::before {
    opacity: 1;
}

.mobile-social .social-link.facebook { 
    background: linear-gradient(135deg, #1877F2, #0d5bbf); 
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.3);
}
.mobile-social .social-link.twitter { 
    background: linear-gradient(135deg, #000, #333); 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.mobile-social .social-link.instagram { 
    background: linear-gradient(135deg, #E4405F, #C13584, #833AB4); 
    box-shadow: 0 4px 15px rgba(228, 64, 95, 0.3);
}
.mobile-social .social-link.youtube { 
    background: linear-gradient(135deg, #FF0000, #cc0000); 
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}
.mobile-social .social-link.whatsapp { 
    background: linear-gradient(135deg, #25D366, #128C7E); 
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.mobile-social .social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.mobile-social .social-link:active {
    transform: translateY(-2px) scale(1.05);
}

.mobile-social .social-link i {
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.mobile-social .social-link:hover i {
    transform: scale(1.15);
}

/* Mobile Settings - Clean Design */
.mobile-settings {
    padding: 1rem 1.5rem;
    margin: 0;
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.settings-btn {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.9rem 1rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 52px;
    animation: settingsSlideUp 0.5s ease-out 0.4s backwards;
    position: relative;
    overflow: hidden;
}

.settings-btn::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;
}

.settings-btn:hover::before {
    left: 100%;
}

@keyframes settingsSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.settings-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(233, 167, 56, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.settings-btn:active {
    transform: translateY(0);
}

.settings-btn i {
    font-size: 1.1rem;
    color: var(--secondary-color);
    flex-shrink: 0;
    width: 20px;
    text-align: center;
    transition: transform 0.4s ease;
}

.settings-btn:hover i {
    transform: rotate(180deg);
}

.settings-btn span {
    flex-shrink: 0;
}

.theme-toggle-btn {
    position: relative;
    overflow: hidden;
}

.theme-toggle-btn .theme-content {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
}

.theme-toggle-btn .theme-content i {
    font-size: 1.1rem;
    color: var(--secondary-color);
    width: 20px;
    text-align: center;;
}

.theme-toggle-btn .theme-content span {
    font-size: 0.9rem;
    color: white;
}

/* Dark tema aktifken - Açık Tema göster */
[data-theme="dark"] .theme-toggle-btn .light-content { 
    display: flex !important; 
}
[data-theme="dark"] .theme-toggle-btn .dark-content { 
    display: none !important; 
}

/* Light tema aktifken - Koyu Tema göster */
[data-theme="light"] .theme-toggle-btn .dark-content { 
    display: flex !important; 
}
[data-theme="light"] .theme-toggle-btn .light-content { 
    display: none !important; 
}

/* Light Theme - Mobile Stats - Force dark card style */
[data-theme="light"] .mobile-stats .stat-item {
    background: linear-gradient(145deg, #1e2124 0%, #16181a 100%) !important;
    border: 1px solid rgba(233, 167, 56, 0.4) !important;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}

[data-theme="light"] .mobile-stats .stat-number {
    color: #E9A738 !important;
    text-shadow: 0 2px 10px rgba(233, 167, 56, 0.3) !important;
}

[data-theme="light"] .mobile-stats .stat-label {
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
}

/* Light Theme - Active Nav Icon - uses base style (black icon on yellow) */

/* Mobile Nav Footer */
.mobile-nav-footer {
    margin-top: auto;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.35) 100%);
    text-align: center;
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(233, 167, 56, 0.1);
    animation: footerFadeIn 0.6s ease-out 0.5s backwards;
}

@keyframes footerFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-nav-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
    border-radius: 3px;
    animation: footerLineExpand 1s ease-out 0.7s backwards;
}

@keyframes footerLineExpand {
    from { width: 0; opacity: 0; }
    to { width: 50px; opacity: 1; }
}

.mobile-nav-footer .footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
    margin-top: 0.5rem;
}

.mobile-nav-footer .footer-brand img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--secondary-color);
    box-shadow: 0 0 10px rgba(233, 167, 56, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mobile-nav-footer .footer-brand:hover img {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 0 20px rgba(233, 167, 56, 0.5);
}

.mobile-nav-footer .footer-brand span {
    color: white;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.mobile-nav-footer .copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    margin: 0 0 0.4rem;
}

.mobile-nav-footer .made-with {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.mobile-nav-footer .heart {
    font-size: 1rem;
    animation: heartbeat 1.2s ease-in-out infinite;
    filter: drop-shadow(0 0 5px rgba(255, 0, 0, 0.5));
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
    display: none;
    backdrop-filter: blur(5px);
}

/* Küçük ekran yüksekliği için özel ayarlar */
@media screen and (max-height: 700px) {
    .mobile-nav {
        padding: 1.5rem 2rem 2rem 2rem; /* Daha kompakt padding */
    }
    
    .mobile-nav-links {
        margin-top: 1.5rem;
        gap: 0.2rem; /* Daha az gap */
        margin-bottom: 0.8rem;
    }
    
    .mobile-nav-links a {
        padding: 0.6rem 0; /* Daha kompakt padding */
        font-size: 1rem; /* Daha küçük font */
    }
    
    .mobile-contact-info {
        margin-top: 1rem;
        padding-top: 0.8rem;
    }
    
    .mobile-contact-info h4,
    .mobile-social-icons h4 {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }
    
    .mobile-contact-info p {
        margin-bottom: 0.4rem;
        font-size: 0.85rem;
    }
    
    .mobile-social-icons {
        margin-top: 0.8rem;
        margin-bottom: 2rem; /* Hala yeterli alt boşluk */
        padding-bottom: 0.8rem;
    }
    
    .social-icons-container a {
        width: 34px !important;
        height: 34px !important;
        font-size: 0.8rem !important;
    }
}

/* ========================================
   ENHANCED MOBILE NAVIGATION STYLES
   ======================================== */

/* Mobile Nav Header */
.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
}

.mobile-nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.mobile-nav-logo img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--secondary-color);
}

.mobile-nav-logo span {
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

/* Enhanced Mobile Nav Links */
.mobile-nav-links a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1rem;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    border-bottom: none;
    margin-bottom: 0.3rem;
}

.mobile-nav-links a i {
    width: 24px;
    text-align: center;
    font-size: 1.1rem;
    color: var(--secondary-color);
}

.mobile-nav-links a span {
    font-weight: 500;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
    background: linear-gradient(135deg, rgba(233, 167, 56, 0.2), rgba(233, 167, 56, 0.1));
    color: white;
    padding-left: 1.2rem;
    transform: translateX(5px);
}

.mobile-nav-links a.active {
    background: linear-gradient(135deg, rgba(233, 167, 56, 0.3), rgba(233, 167, 56, 0.15));
    border-left: 3px solid var(--secondary-color);
}

/* Mobile Quick Contact Buttons */
.mobile-quick-contact {
    display: flex;
    gap: 0.75rem;
    margin: 1.5rem 0;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-contact-button {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-contact-button.phone {
    background: linear-gradient(135deg, var(--secondary-color), #d89b2f);
    color: #1e2124;
}

.mobile-contact-button.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
}

.mobile-contact-button i {
    font-size: 1.3rem;
}

.mobile-contact-button div {
    display: flex;
    flex-direction: column;
}

.mobile-contact-button .label {
    font-size: 0.7rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mobile-contact-button .number {
    font-size: 0.85rem;
    font-weight: 700;
}

.mobile-contact-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Mobile Contact Info */
.mobile-contact-info {
    margin: 1rem 0;
}

.mobile-contact-info h4,
.mobile-social h4,
.mobile-theme-toggle h4 {
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.8rem;
    opacity: 0.7;
}

.mobile-contact-info .info-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.mobile-contact-info .info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.mobile-contact-info .info-item i {
    width: 20px;
    text-align: center;
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.mobile-contact-info .info-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-contact-info .info-item a:hover {
    color: var(--secondary-color);
}

/* Mobile Social Links */
.mobile-social {
    margin: 1.5rem 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-social .social-links {
    display: flex;
    gap: 0.6rem;
}

.mobile-social .social-link {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: white;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-social .social-link.facebook {
    background: linear-gradient(135deg, #1877F2, #0d5bbf);
}

.mobile-social .social-link.twitter {
    background: linear-gradient(135deg, #1DA1F2, #0d8bd9);
}

.mobile-social .social-link.instagram {
    background: linear-gradient(135deg, #E4405F, #C13584, #833AB4);
}

.mobile-social .social-link.youtube {
    background: linear-gradient(135deg, #FF0000, #cc0000);
}

.mobile-social .social-link.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.mobile-social .social-link:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Mobile Nav Footer */
.mobile-nav-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.mobile-nav-footer p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    margin: 0;
}
[data-theme="dark"] .mobile-nav-overlay {
    background: rgba(0, 0, 0, 0.7);
}

.mobile-nav-overlay.active {
    display: block;
}

/* Body scroll lock sırasında arka planın korunması */
body.mobile-nav-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* Mobile Theme Toggle */
.mobile-theme-toggle {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-theme-toggle h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.mobile-theme-button {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    font-size: 16px;
}

.mobile-theme-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Mobile theme toggle icons */
.mobile-theme-button .light-icon,
.mobile-theme-button .dark-icon {
    transition: opacity 0.3s ease;
    font-size: 18px;
}

.mobile-theme-button .theme-text {
    flex: 1;
    text-align: left;
}

.mobile-theme-button .light-text,
.mobile-theme-button .dark-text {
    transition: opacity 0.3s ease;
}

/* Show appropriate icon and text based on theme */
[data-theme="dark"] .mobile-theme-button .light-icon,
[data-theme="dark"] .mobile-theme-button .light-text {
    opacity: 1;
}

[data-theme="dark"] .mobile-theme-button .dark-icon,
[data-theme="dark"] .mobile-theme-button .dark-text {
    opacity: 0;
    position: absolute;
}

[data-theme="light"] .mobile-theme-button .light-icon,
[data-theme="light"] .mobile-theme-button .light-text {
    opacity: 0;
    position: absolute;
}

[data-theme="light"] .mobile-theme-button .dark-icon,
[data-theme="light"] .mobile-theme-button .dark-text {
    opacity: 1;
}

/* Sayfanın geri kalanının kararmayı önlemek için */
body.mobile-nav-open .header,
body.mobile-nav-open .hero,
body.mobile-nav-open .main-content,
body.mobile-nav-open .footer {
    filter: none;
    opacity: 1;
}

/* Dark mode'da mobile nav için ek stiller */
[data-theme="dark"] .mobile-nav {
    background: var(--card-background);
    border-right: 1px solid var(--border-color);
}

[data-theme="dark"] .mobile-nav-links a {
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

[data-theme="dark"] .mobile-nav-links a:hover,
[data-theme="dark"] .mobile-nav-links a.active {
    color: var(--secondary-color);
    background: rgba(233, 167, 56, 0.1);
    padding-left: 1rem;
    margin-left: -1rem;
    border-radius: 8px;
}

[data-theme="dark"] .close-btn {
    color: var(--text-color);
    background: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding-top: 140px; /* Header yüksekliğine göre artırıldı */
    margin-top: 0;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-color);
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
    padding: 0 2rem;
}

.hero-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1020; /* Header z-index 1040'ın altında, diğer elementlerin üstünde */
    margin-top: 0; /* Bu değer spesifik kurallarla override edilecek */
}

.hero-badge i {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

/* PC görünümünde (büyük ekranlarda) hero-badge için özel stil */
@media (min-width: 769px) {
    .hero-badge {
        background: rgba(233, 167, 56, 0.15) !important;
        border: 2px solid #E9A738 !important;
        color: #E9A738 !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        box-shadow: 0 4px 15px rgba(233, 167, 56, 0.2) !important;
    }
    
    .hero-badge i {
        color: #E9A738 !important;
    }
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--secondary-color);
    color: white;
    border-radius: 5px;
    margin-top: 1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    font-weight: bold;
    text-decoration: none;
}

.cta-button:hover {
    background: #9c701f;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}


/* Services Section */
.services {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    color: var(--heading-color);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.section-title.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
    margin: 1rem auto;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--card-background);
    color: var(--text-color);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 6px var(--shadow-color);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out, background-color 0.3s;
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--secondary-color);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 12px 20px var(--shadow-color);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    transition: transform 0.3s;
}

.service-card:hover i {
    transform: scale(1.2);
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--heading-color);
    transition: color 0.3s;
}

.service-card:hover h3 {
    color: var(--secondary-color);
}

.service-card p {
    margin-bottom: 1rem;
    color: var(--text-color);
}

/* About Section */
.about {
    padding: 6rem 2rem;
    background: var(--card-background);
    overflow: hidden;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    padding: 2rem;
}

.about-text h2 {
    margin-bottom: 1.5rem;
    position: relative;
    color: var(--heading-color);
}

.about-text h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
    margin-top: 0.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--background-color);
    border-radius: 10px;
    box-shadow: 0 4px 10px var(--shadow-color);
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 15px var(--shadow-color);
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 8px 20px var(--shadow-color);
}

.about-image img {
    width: 100%;
    transition: transform 0.5s ease-in-out;
    display: block;
    border-radius: 10px;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Gallery Section */
.gallery {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.gallery-filter {
    padding: 0.5rem 1.5rem;
    background: var(--card-background);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-color);
    transition: all 0.3s;
}

.gallery-filter.active, .gallery-filter:hover {
    background: var(--secondary-color);
    color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px var(--shadow-color);
    aspect-ratio: 3/2;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out, box-shadow 0.3s;
}

.gallery-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item:hover {
    box-shadow: 0 8px 16px var(--shadow-color);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* Contact Section */
.contact {
    padding: 6rem 2rem;
    background: var(--card-background);
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-form-container {
    padding: 2rem;
    background: var(--background-color);
    border-radius: 10px;
    box-shadow: 0 4px 15px var(--shadow-color);
}

.contact-form-container h3 {
    margin-bottom: 1.5rem;
    color: var(--heading-color);
    position: relative;
}

.contact-form-container h3::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
    margin-top: 0.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
}

.form-group input, .form-group textarea {
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--input-background);
    color: var(--text-color);
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(233, 167, 56, 0.15);
    outline: none;
    transform: translateY(-1px);
}

/* Light theme form enhancements */
[data-theme="light"] .form-group input,
[data-theme="light"] .form-group textarea {
    background: var(--input-background);
    border: 2px solid var(--border-color);
    color: var(--text-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .form-group input:focus,
[data-theme="light"] .form-group textarea:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(233, 167, 56, 0.2), 0 4px 8px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .form-group label {
    color: var(--heading-color);
    font-weight: 600;
}

[data-theme="light"] .contact-form-container h3,
[data-theme="light"] .contact-info h3 {
    color: var(--heading-color);
}

[data-theme="light"] .info-item i {
    color: var(--secondary-color);
}

[data-theme="light"] .info-details h4 {
    color: var(--heading-color);
}

[data-theme="light"] .info-details p {
    color: var(--text-color);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-submit {
    padding: 1rem;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s, transform 0.3s;
}

.form-submit:hover {
    background: #9c701f;
    transform: translateY(-3px);
}

.contact-info {
    padding: 2rem;
}

.contact-info h3 {
    margin-bottom: 1.5rem;
    color: var(--heading-color);
    position: relative;
}

.contact-info h3::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
    margin-top: 0.5rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

/* Footer */
.footer {
    background: var(--footer-background);
    padding-top: 4rem;
    transition: background-color 0.3s;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 0 2rem 3rem;
}

.footer-info, .footer-links, .footer-contact, .footer-social {
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 80px;
    width: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(233, 167, 56, 0.3);
    box-shadow: 0 0 15px rgba(233, 167, 56, 0.2);
    transition: all 0.3s ease;
}

.footer-logo img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(233, 167, 56, 0.3);
}

.footer-logo h3 {
    color: var(--heading-color);
    font-size: 1.2rem;
}

.footer h4 {
    color: var(--heading-color);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer h4::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
    margin-top: 0.5rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-color);
    transition: color 0.3s, transform 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-contact i {
    color: var(--secondary-color);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #fff !important;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Modern gradients for social media icons */
.social-icons a.facebook { 
    background: linear-gradient(135deg, #1877f2 0%, #166fe5 100%);
}
.social-icons a.twitter { 
    background: linear-gradient(135deg, #14171a 0%, #000000 100%);
}
.social-icons a.instagram { 
    background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
}
.social-icons a.youtube { 
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
}
.social-icons a.whatsapp { 
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

/* Icon colors */
.social-icons a .fa-facebook-f,
.social-icons a .fa-x-twitter,
.social-icons a .fa-instagram,
.social-icons a .fa-youtube,
.social-icons a .fa-whatsapp {
    color: #fff !important;
    font-size: 18px;
    z-index: 2;
}

/* Hover effects */
.social-icons a:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.social-icons a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.social-icons a:hover::before {
    opacity: 1;
}

/* Mobil sosyal ikon renkleri */
.social-icons-container .fa-facebook-f { color: #fff !important; }
.social-icons-container .fa-x-twitter { color: #fff !important; }
.social-icons-container .fa-instagram { color: #fff !important; }
.social-icons-container .fa-youtube { color: #fff !important; }
.social-icons-container .fa-whatsapp { color: #fff !important; }

.social-icons-container a {
    color: inherit !important;
    position: relative;
    overflow: hidden;
}
.social-icons-container a:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.social-icons-container a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 100%);
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-icons-container a:hover::before {
    opacity: 1;
}

/* Footer Districts Section */
.footer-districts {
    background: var(--card-background);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0;
    margin-top: 2rem;
}

.districts-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.districts-title {
    color: var(--heading-color);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.districts-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--secondary-color);
    margin: 0.8rem auto 0;
    border-radius: 2px;
}

.districts-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem 1.5rem;
}

.districts-list a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.districts-list a:hover {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
    background: rgba(233, 167, 56, 0.1);
    transform: translateY(-2px);
}

/* Responsive Districts */
@media (max-width: 768px) {
    .districts-wrapper {
        padding: 0 1rem;
    }
    
    .districts-list {
        gap: 0.6rem 1rem;
    }
    
    .districts-list a {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
    
    .districts-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .footer-districts {
        padding: 2rem 0;
    }
    
    .districts-list a {
        font-size: 0.8rem;
        padding: 0.35rem 0.7rem;
    }
}

/* Footer Bottom */
.footer-bottom {
    background: var(--primary-color);
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom .copyright {
    color: #ffffff;
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.9;
}

.footer-bottom .made-with-love {
    color: #ffffff;
    font-size: 0.9rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    opacity: 0.9;
}

/* Light theme override for footer bottom */
[data-theme="light"] .footer-bottom .copyright,
[data-theme="light"] .footer-bottom .made-with-love {
    color: #ffffff !important;
}

/* Light theme mobile fix - ensure footer bottom is readable */
[data-theme="light"] .footer-bottom {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d) !important;
}

.footer-bottom .heart {
    display: inline-block;
    color: #e74c3c;
    font-size: 1.1rem;
    animation: heartbeat 1.2s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    14% {
        transform: scale(1.3);
    }
    28% {
        transform: scale(1);
    }
    42% {
        transform: scale(1.3);
    }
    70% {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .footer-bottom .copyright,
    .footer-bottom .made-with-love {
        font-size: 0.85rem;
    }
}

/* Theme Toggle */
.theme-toggle {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 99;
}

.theme-toggle button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    border: none;
    box-shadow: 0 2px 10px var(--shadow-color);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s;
}

/* Theme toggle icons */
.theme-toggle .light-icon,
.theme-toggle .dark-icon {
    transition: opacity 0.3s ease;
}

/* Show sun icon in dark theme, moon icon in light theme */
[data-theme="dark"] .theme-toggle .light-icon {
    opacity: 1;
}

[data-theme="dark"] .theme-toggle .dark-icon {
    opacity: 0;
    position: absolute;
}

[data-theme="light"] .theme-toggle .light-icon {
    opacity: 0;
    position: absolute;
}

[data-theme="light"] .theme-toggle .dark-icon {
    opacity: 1;
}

/* WhatsApp and Phone Button */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #25D366;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 99;
    transition: all 0.3s;
    text-decoration: none;
}

.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #25D366;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 99;
    transition: all 0.3s;
    text-decoration: none;
    overflow: visible;
}

.whatsapp-button::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.5);
    z-index: -1;
    animation: wavePulseWhatsapp 1.5s infinite;
}

.whatsapp-button:hover {
    transform: scale(1.15) rotate(-5deg);
    background: #1ca952;
    animation: explode 0.25s linear, shake 0.4s linear;
}

/* Phone Fixed Button */
.phone-fixed-button {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #E9A738;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 98;
    text-decoration: none;
    transition: all 0.3s;
    overflow: visible;
}

.phone-fixed-button::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(233, 167, 56, 0.5);
    z-index: -1;
    animation: wavePulsePhone 1.5s infinite;
}
@keyframes wavePulseWhatsapp {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }
    70% {
        transform: translate(-50%, -50%) scale(1.8);
        opacity: 0.2;
    }
    100% {
        transform: translate(-50%, -50%) scale(2.2);
        opacity: 0;
    }
}

@keyframes wavePulsePhone {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }
    70% {
        transform: translate(-50%, -50%) scale(1.8);
        opacity: 0.2;
    }
    100% {
        transform: translate(-50%, -50%) scale(2.2);
        opacity: 0;
    }
}

.phone-fixed-button:hover {
    transform: scale(1.15) rotate(5deg);
    background: #d89b2f;
    animation: explode 0.25s linear, shake 0.4s linear;
}
@keyframes explode {
    0% { box-shadow: 0 0 0 0 rgba(233,167,56,0.7), 0 0 0 0 rgba(37,211,102,0.7); }
    70% { box-shadow: 0 0 20px 20px rgba(233,167,56,0.1), 0 0 20px 20px rgba(37,211,102,0.1); }
    100% { box-shadow: 0 0 0 0 rgba(233,167,56,0), 0 0 0 0 rgba(37,211,102,0); }
}

@keyframes shake {
    0% { transform: translateX(0); }
    20% { transform: translateX(-3px); }
    40% { transform: translateX(3px); }
    60% { transform: translateX(-2px); }
    80% { transform: translateX(2px); }
    100% { transform: translateX(0); }
}

/* Sarı telefon butonu (mobil menüde) */
.mobile-call-button {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 1rem 1.5rem !important;
    margin: 1.5rem 0 !important;
    background-color: #E9A738 !important;
    color: #000 !important;
    border-radius: 30px !important;
    font-weight: bold !important;
    font-size: 1rem !important;
    border: none !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.mobile-call-button i {
    background-color: #fff;
    color: #E9A738;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-call-button:hover {
    background-color: #d89b2f !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Mobil İletişim Bilgileri */
.mobile-contact-info {
    margin-top: 1.5rem; /* 2rem'den 1.5rem'e düşür */
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    flex-shrink: 0; /* İçeriğin küçülmesini engelle */
}

.mobile-contact-info h4 {
    font-size: 1.1rem; /* 1.2rem'den 1.1rem'e düşür */
    margin-bottom: 0.8rem; /* 1rem'den 0.8rem'e düşür */
    color: var(--heading-color);
}

.mobile-contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 0.6rem; /* 0.8rem'den 0.6rem'e düşür */
    color: var(--text-color);
    font-size: 0.9rem; /* Font boyutunu küçült */
    line-height: 1.4;
}

.mobile-contact-info p i {
    margin-right: 10px;
    width: 20px;
    color: var(--primary-color);
}

/* Mobil Sosyal Medya İkonları */
.mobile-social-icons {
    margin-top: 1rem; /* 1.5rem'den 1rem'e düşür */
    margin-bottom: 2.5rem; /* Alt boşluğu artır - önemli! */
    padding-bottom: 1rem; /* Ekstra alt padding ekle */
    flex-shrink: 0; /* İçeriğin küçülmesini engelle */
}

.mobile-social-icons h4 {
    font-size: 1.1rem;
    margin-bottom: 0.7rem;
    color: var(--heading-color);
}

.social-icons-container {
    display: flex !important;
    gap: 8px; /* 10px'den 8px'e düşür */
    margin-top: 0.5rem;
    flex-wrap: wrap; /* İkonlar sığmazsa alt satıra geçsin */
    justify-content: flex-start;
    /* Sosyal medya container'ının görünür olmasını sağla */
    flex-shrink: 0;
    min-height: 42px; /* Minimum yükseklik garantisi */
    align-items: flex-start;
}

.social-icons-container a {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 38px !important; /* 44px'den 38px'e düşür */
    height: 38px !important; /* 44px'den 38px'e düşür */
    border-radius: 10px !important; /* 12px'den 10px'e düşür */
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    padding: 0 !important;
    border: 2px solid transparent !important;
    color: #fff !important;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1) !important; /* Gölgeyi küçült */
    font-size: 0.9rem !important; /* İkon boyutunu küçült */
}

/* Modern gradients for mobile social media icons */
.social-icons-container a.facebook { 
    background: linear-gradient(135deg, #1877f2 0%, #166fe5 100%) !important;
}
.social-icons-container a.twitter { 
    background: linear-gradient(135deg, #14171a 0%, #000000 100%) !important;
}
.social-icons-container a.instagram { 
    background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%) !important;
}
.social-icons-container a.youtube { 
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%) !important;
}
.social-icons-container a.whatsapp { 
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%) !important;
}
.social-icons-container a .fa-facebook-f,
.social-icons-container a .fa-x-twitter,
.social-icons-container a .fa-instagram,
.social-icons-container a .fa-youtube,
.social-icons-container a .fa-whatsapp {
    color: #fff !important;
}

/* Tema bazlı sosyal ikon arka plan ve border renkleri */
/* Light Theme Social Icons */
[data-theme="light"] .social-icons a,
[data-theme="light"] .social-icons-container a {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
}

[data-theme="light"] .social-icons a:hover,
[data-theme="light"] .social-icons-container a:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
}

/* Dark Theme Social Icons */
[data-theme="dark"] .social-icons a,
[data-theme="dark"] .social-icons-container a {
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.05) !important;
    border: 2px solid rgba(255, 255, 255, 0.1) !important;
}

[data-theme="dark"] .social-icons a:hover,
[data-theme="dark"] .social-icons-container a:hover {
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

/* Premium glow effect for dark theme */
[data-theme="dark"] .social-icons a:hover,
[data-theme="dark"] .social-icons-container a:hover {
    box-shadow: 
        0 8px 25px rgba(255, 255, 255, 0.1),
        0 0 20px rgba(233, 167, 56, 0.3) !important;
}

/* Extra animations for modern look */
.social-icons a:active,
.social-icons-container a:active {
    transform: translateY(-1px) scale(0.98) !important;
    transition: all 0.1s ease !important;
}

/* Additional Animation Classes */
/* Bounce In Animation */
.bounce-in {
    animation: bounceIn 0.8s ease-out;
}

@keyframes bounceIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.95);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Fade Scale Animation */
.fade-scale {
    animation: fadeScale 0.8s ease-out;
}

@keyframes fadeScale {
    0% {
        transform: scale(0.9);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Slide Right Animation */
.slide-right {
    animation: slideRight 0.6s ease-out;
}

@keyframes slideRight {
    0% {
        transform: translateX(-30px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Slide Up Animation */
.slide-up {
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    0% {
        transform: translateY(30px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Pulse Animation for Buttons */
.pulse {
        animation: pulseGolden 2s infinite;
}

/* Float Animation Keyframes */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* Floating Animation */
.float {
    animation: float 3s ease-in-out infinite;
}

.theme-toggle button:hover {
    transform: scale(1.1);
}

.light-icon, .dark-icon {
    position: absolute;
    transition: opacity 0.3s, transform 0.3s;
}

/* Dark theme - show sun icon (to switch to light) */
[data-theme="dark"] .light-icon {
    opacity: 1;
    transform: translateY(0);
}

[data-theme="dark"] .dark-icon {
    opacity: 0;
    transform: translateY(10px);
}

/* Light theme - show moon icon (to switch to dark) */
[data-theme="light"] .light-icon {
    opacity: 0;
    transform: translateY(10px);
}

[data-theme="light"] .dark-icon {
    opacity: 1;
    transform: translateY(0);
}

/* Modal Gallery */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.gallery-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    max-width: 80%;
    max-height: 80vh;
    position: relative;
}

.modal-img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.modal-caption {
    position: absolute;
    bottom: -40px;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 1rem;
    text-align: center;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1001;
    /* Enhanced click responsiveness */
    transition: all 0.1s ease;
    padding: 5px;
    border-radius: 50%;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.modal-close:active {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(0.95);
}

.modal-prev, .modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1001;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    /* Enhanced click responsiveness and double-click prevention */
    transition: all 0.15s ease;
    border: 2px solid transparent;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    pointer-events: auto;
    will-change: transform, background-color, border-color;
    /* Prevent text selection and dragging */
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
}

.modal-prev {
    left: 20px;
}

.modal-next {
    right: 20px;
}

.modal-prev:hover, .modal-next:hover {
    background: rgba(0, 0, 0, 0.8);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.modal-prev:active, .modal-next:active {
    background: rgba(0, 0, 0, 0.9);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(0.95);
    transition: all 0.05s ease; /* Faster feedback on press */
}

/* Additional responsiveness states */
.modal-prev:focus, .modal-next:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

/* Touch-specific optimizations */
@media (pointer: coarse) {
    .modal-prev, .modal-next {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
        /* Larger touch targets for mobile */
    }
}

/* Prevent interference from child elements */
.modal-prev *, .modal-next * {
    pointer-events: none;
    user-select: none;
}

/* Gallery Modal Mobile Responsiveness */
@media (max-width: 768px) {
    .modal-prev, .modal-next {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .modal-prev {
        left: 10px;
    }
    
    .modal-next {
        right: 10px;
    }
    
    .modal-close {
        top: 10px;
        right: 10px;
        font-size: 1.8rem;
        padding: 8px;
    }
}

/* Prevent double-tap zoom on navigation buttons */
.gallery-modal .modal-prev,
.gallery-modal .modal-next,
.gallery-modal .modal-close {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

/* Enhanced visual feedback for button presses */
.modal-prev:focus,
.modal-next:focus,
.modal-close:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

/* Enhanced Responsive Design */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .service-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 1024px) {
    .about-content, .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-image {
        order: -1;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .services, .about, .contact, .gallery {
        padding: 4rem 2rem;
        margin: 2rem 1rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .logo {
        height: 60px;
    }
    
    .logo img,
    .float {
        max-width: 52px;
        max-height: 52px;
        width: 52px;
        height: 52px;
        border-radius: 50% !important;
        object-fit: cover;
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
        image-rendering: pixelated;
        margin: 0;
    }
    
    .hero {
        min-height: 70vh;
        padding-top: 120px; /* Mobilde header padding artırıldı */
    }
    
    .hero-content {
        padding: 0 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    /* Mobil Hero Badge */
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.6rem 1.2rem;
        margin-bottom: 1.5rem;
        margin-top: 100px; /* Mobilde header'dan uzak tutmak için */
        z-index: 1025; /* Mobil menü butonundan üstte olması için */
        max-width: calc(100% - 2rem);
        text-align: center;
        white-space: normal;
    }
    
    .hero-badge span {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .contact-content {
        gap: 2rem;
    }
    
    .contact-form-container,
    .contact-info {
        padding: 1.5rem;
    }
    
    /* Light tema için mobil nav stilleri */
    :root:not([data-theme="dark"]) .mobile-nav {
        background: linear-gradient(180deg, #1e2124 0%, #12151a 100%);
    }

    :root:not([data-theme="dark"]) .mobile-nav-header {
        background: linear-gradient(135deg, rgba(233, 167, 56, 0.15) 0%, transparent 100%);
    }

    :root:not([data-theme="dark"]) .mobile-nav-links a {
        color: rgba(255, 255, 255, 0.9);
    }

    :root:not([data-theme="dark"]) .mobile-nav-links a .nav-title {
        color: white;
    }

    :root:not([data-theme="dark"]) .mobile-nav-links a .nav-desc {
        color: rgba(255, 255, 255, 0.5);
    }

    :root:not([data-theme="dark"]) .mobile-contact-info {
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    :root:not([data-theme="dark"]) .mobile-contact-info h4,
    :root:not([data-theme="dark"]) .mobile-social h4 {
        color: rgba(255, 255, 255, 0.6);
    }

    :root:not([data-theme="dark"]) .mobile-contact-info .info-item span,
    :root:not([data-theme="dark"]) .mobile-contact-info .info-item a {
        color: rgba(255, 255, 255, 0.8);
    }

    :root:not([data-theme="dark"]) .close-btn {
        color: white;
        background: rgba(255, 255, 255, 0.1);
    }

    :root:not([data-theme="dark"]) .mobile-nav-footer {
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 100%);
    }

    :root:not([data-theme="dark"]) .mobile-nav-footer .copyright,
    :root:not([data-theme="dark"]) .mobile-nav-footer .made-with {
        color: rgba(255, 255, 255, 0.5);
    }

    /* Mobile stats uses same dark style for both themes - no override needed */

    :root:not([data-theme="dark"]) .settings-btn {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        color: white;
    }

    /* Dark tema için footer contact renk düzenlemesi */
    [data-theme="dark"] .footer-contact p,
    [data-theme="dark"] .footer-contact a {
        color: var(--primary-color); /* Siyah metin rengi */
    }

    [data-theme="dark"] .footer-contact i {
        color: var(--secondary-color);
    }

    [data-theme="dark"] .footer-contact a:hover {
        color: var(--secondary-color);
    }

    /* Dark tema için mobile-contact-info ikonları */
    [data-theme="dark"] .mobile-contact-info p i {
        color: var(--secondary-color) !important;
    }

    [data-theme="dark"] .mobile-contact-info h4,
    [data-theme="dark"] .mobile-social-icons h4 {
        color: var(--heading-color);
    }

    [data-theme="dark"] .mobile-contact-info p {
        color: var(--text-color);
    }

    .footer-bottom {
        background: var(--footer-background);
        text-align: center;
        padding: 1rem 0;
        border-top: 1px solid var(--border-color);
    }

    .footer .footer-bottom {
        text-align: left !important;
    }

    .footer-bottom .copyright-wrapper {
        display: flex;
        justify-content: space-between;
        align-items: center;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 2rem;
        gap: 2rem;
    }

    .footer-bottom .copyright-left {
        text-align: left !important;
        margin: 0 !important;
        flex: 1;
    }

    .footer-bottom .made-with-love {
        text-align: right !important;
        margin: 0 !important;
        flex: 1;
        color: var(--text-color);
        font-weight: 500;
    }

    .footer-bottom .made-with-love .fa-heart {
        color: #e74c3c;
        margin-left: 0.3rem;
        display: inline-block;
        animation: heartbeat 1.5s ease-in-out infinite;
    }

    @keyframes heartbeat {
        0%, 100% {
            transform: scale(1);
        }
        10%, 30% {
            transform: scale(1.2);
        }
        20%, 40% {
            transform: scale(1);
        }
    }

    @media (max-width: 768px) {
        .footer-bottom .copyright-wrapper {
            flex-direction: column;
            gap: 0.5rem;
            padding: 0 1rem;
        }
        
        .footer-bottom .copyright-left,
        .footer-bottom .made-with-love {
            text-align: center !important;
        }
    }

    body .footer .footer-bottom p:not(.non-existent) {
    text-align: left !important;
    margin: 0 !important;
    display: block !important;
    width: auto !important;
    float: none !important;
    position: static !important;
}

    /* Hero ve Page Header Görselleri için Responsive Ayarlar */
    .hero, .page-header {
        position: relative;
        overflow: hidden;
    }

    .hero-video img, .page-header {
        width: 100%;
        height: auto;
        min-height: 40vh;
        object-fit: cover;
    }

    /* Büyük Ekranlar (Geniş Monitörler) */
    @media (min-width: 1920px) {
        .hero-video img {
            height: 100vh;
        }
        
        .page-header {
            height: 50vh !important;
        }
    }

    /* Dizüstü ve Masaüstü */
    @media (min-width: 1024px) and (max-width: 1919px) {
        .hero-video img {
            height: 80vh;
        }
        
        .page-header {
            height: 40vh !important;
        }
    }

    /* Tablet Dikey ve Yatay */
    @media (min-width: 768px) and (max-width: 1023px) {
        .hero-video img {
            height: 60vh;
        }
        
        .page-header {
            height: 30vh !important;
        }
    }

    /* Mobil Cihazlar */
    @media (max-width: 767px) {
        .hero-video img {
            height: 50vh;
        }
        
        .page-header {
            height: 25vh !important;
        }
        
        .hero-content h1 {
            font-size: 2rem;
        }
        
        .page-header h1 {
            font-size: 1.8rem;
        }
    }

    /* Gallery Slider */
    .gallery-slider-container {
        position: relative;
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        overflow: hidden;
        margin-bottom: 2rem;
    }

    .gallery-slider {
        display: flex;
        transition: transform 0.5s ease;
    }

    .gallery-slide {
        min-width: 100%;
        position: relative;
    }

    .gallery-slide img {
        width: 100%;
        height: 70vh;
        object-fit: contain;
        background-color: #f5f5f5;
        display: block;
    }

    .slide-caption {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.7);
        color: white;
        padding: 1rem;
        transform: translateY(100%);
        transition: transform 0.3s ease;
    }

    .gallery-slide:hover .slide-caption {
        transform: translateY(0);
    }

    .slide-caption h3 {
        margin: 0 0 0.5rem;
        font-size: 1.2rem;
    }

    .slide-caption p {
        margin: 0;
        font-size: 0.9rem;
        opacity: 0.9;
    }

    /* Slider Controls */
    .slider-controls {
        position: absolute;
        bottom: 1rem;
        left: 0;
        right: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 1rem;
        z-index: 10;
    }

    .prev-slide, .next-slide {
        background: rgba(0, 0, 0, 0.5);
        color: white;
        border: none;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: background 0.3s;
    }

    .prev-slide:hover, .next-slide:hover {
        background: rgba(0, 0, 0, 0.8);
    }

    .slide-dots {
        display: flex;
        gap: 0.5rem;
    }

    .dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.5);
        cursor: pointer;
        transition: background 0.3s;
    }

    .dot.active {
        background: white;
    }

    /* Gallery Thumbnails */
    .gallery-thumbnails {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 0.5rem;
        margin-top: 1rem;
    }

    .thumbnail {
        cursor: pointer;
        border: 2px solid transparent;
        transition: border-color 0.3s;
    }

    .thumbnail.active {
        border-color: #004a7c;
    }

    .thumbnail img {
        width: 100%;
        height: 70px;
        object-fit: cover;
    }

    /* No Images Message */
    .no-images {
        text-align: center;
        padding: 3rem;
        background: #f8f9fa;
        color: #6c757d;
        font-style: italic;
    }

    /* Responsive Adjustments */
    @media (max-width: 768px) {
        .gallery-slide img {
            height: 50vh;
        }
        
        .thumbnail img {
            height: 50px;
        }
    }

    @media (max-width: 576px) {
        .gallery-slide img {
            height: 40vh;
        }
        
        .slide-caption {
            transform: translateY(0);
            padding: 0.5rem;
        }
        
        .slide-caption h3 {
            font-size: 1rem;
        }
        
        .thumbnail {
            display: none;
        }
    }

    /* Harita için z-index düzenlemesi */
    .leaflet-container {
        z-index: 10 !important; /* Haritanın z-index değerini düşür */
    }
    
    /* Butonlar için z-index düzenlemesi */
    .whatsapp-button, 
    .phone-fixed-button, 
    .scroll-top-btn {
        z-index: 99 !important; /* Butonların z-index değerini artır */
    }
    
    /* Map Header stil ayarları */
    .map-header {
        transition: all 0.3s ease;
    }

/* Social Links in Mobile Menu */
.social-links {
    display: flex;
    gap: 12px;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 12px !important;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    padding: 0 !important;
    border: 2px solid transparent !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

/* Modern gradients for social links */
.social-link.facebook { 
    background: linear-gradient(135deg, #1877f2 0%, #166fe5 100%) !important;
}
.social-link.twitter {    background: linear-gradient(135deg, #000000 0%, #333333 100%) !important;
}
.social-link.instagram { 
    background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%) !important;
}
.social-link.youtube { 
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%) !important;
}
.social-link.whatsapp { 
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%) !important;
}

.social-link:hover {
    transform: translateY(-2px) scale(1.05) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2) !important;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 100%);
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-link:hover::before {
    opacity: 1;
}

/* Theme specific styles for social links */
[data-theme="light"] .social-link {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
}

[data-theme="light"] .social-link:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25) !important;
}

[data-theme="dark"] .social-link {
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.05) !important;
}

[data-theme="dark"] .social-link:hover {
    box-shadow: 
        0 8px 25px rgba(255, 255, 255, 0.1),
        0 0 20px rgba(233, 167, 56, 0.3) !important;
}

/* Ultra-specific light theme header text rules for maximum CSS specificity */
[data-theme="light"] .header .nav-links a:not(.non-existent-class) {
    color: var(--heading-color) !important;
    font-weight: 500;
}

[data-theme="light"] .header .logo:not(.non-existent-class),
[data-theme="light"] .header .logo-text:not(.non-existent-class),
[data-theme="light"] .header .logo-sub:not(.non-existent-class) {
    color: var(--heading-color) !important;
    text-shadow: none;
}

/* Ensure mobile menu button uses dark text in light theme for visibility */
[data-theme="light"] .mobile-menu:not(.non-existent-class) {
    color: var(--heading-color) !important;
}

/* Additional specificity for any inline styles that might override */
[data-theme="light"] html body .header .nav-links a {
    color: var(--heading-color) !important;
}

[data-theme="light"] html body .header .logo,
[data-theme="light"] html body .header .logo-text,
[data-theme="light"] html body .header .logo-sub {
    color: var(--heading-color) !important;
}

/* =========================================
   FIX: Hero Badge ve Header Çakışma Sorunu - TÜM SAYFALAR
   ========================================= */

/* TÜM SAYFALARDA Hero Badge'in düzgün konumlandırılması */
.hero-badge, 
.hero .hero-content .hero-badge,
.page-hero .hero-content .hero-badge,
.about-hero .hero-content .hero-badge,
.contact-hero .hero-content .hero-badge,
.gallery-hero .hero-content .hero-badge,
.services-hero .hero-content .hero-badge {
    position: relative !important;
    z-index: 1020 !important;
    margin-top: 120px !important;
    top: 0 !important;
    transform: none !important;
    display: inline-flex !important;
    align-items: center !important;
    white-space: nowrap !important;
    margin-bottom: 1.5rem !important;
}

/* Tüm Hero section'ların header'la çakışmaması için */
.hero.modern-hero,
.page-hero,
.about-hero,
.contact-hero,
.gallery-hero,
.services-hero {
    padding-top: 140px !important;
    margin-top: 80px !important;
}

/* Tablet cihazlarda */
@media (max-width: 1024px) {
    .hero-badge, 
    .hero .hero-content .hero-badge,
    .page-hero .hero-content .hero-badge,
    .about-hero .hero-content .hero-badge,
    .contact-hero .hero-content .hero-badge,
    .gallery-hero .hero-content .hero-badge,
    .services-hero .hero-content .hero-badge {
        margin-top: 110px !important;
        z-index: 1015 !important;
    }
    
    .hero.modern-hero,
    .page-hero,
    .about-hero,
    .contact-hero,
    .gallery-hero,
    .services-hero {
        padding-top: 130px !important;
    }
}

/* Mobil cihazlarda header yüksekliği dikkate alınarak */
@media (max-width: 768px) {
    .hero-badge, 
    .hero .hero-content .hero-badge,
    .page-hero .hero-content .hero-badge,
    .about-hero .hero-content .hero-badge,
    .contact-hero .hero-content .hero-badge,
    .gallery-hero .hero-content .hero-badge,
    .services-hero .hero-content .hero-badge {
        margin-top: 100px !important;
        z-index: 1025 !important; /* Mobil menü üstünde */
        padding: 0.6rem 1.2rem !important;
        font-size: 0.8rem !important;
        max-width: calc(100% - 2rem) !important;
        text-align: center !important;
        white-space: normal !important;
    }
    
    .hero-badge span,
    .hero .hero-content .hero-badge span,
    .page-hero .hero-content .hero-badge span,
    .about-hero .hero-content .hero-badge span,
    .contact-hero .hero-content .hero-badge span,
    .gallery-hero .hero-content .hero-badge span,
    .services-hero .hero-content .hero-badge span {
        font-size: 0.8rem !important;
        line-height: 1.3 !important;
    }
    
    .hero.modern-hero,
    .page-hero,
    .about-hero,
    .contact-hero,
    .gallery-hero,
    .services-hero {
        padding-top: 120px !important;
    }
}

/* Küçük cihazlarda daha da agresif spacing */
@media (max-width: 480px) {
    .hero-badge, 
    .hero .hero-content .hero-badge,
    .page-hero .hero-content .hero-badge,
    .about-hero .hero-content .hero-badge,
    .contact-hero .hero-content .hero-badge,
    .gallery-hero .hero-content .hero-badge,
    .services-hero .hero-content .hero-badge {
        margin-top: 90px !important;
        padding: 0.5rem 1rem !important;
        font-size: 0.7rem !important;
        z-index: 1030 !important;
        white-space: normal !important;
        max-width: calc(100% - 1rem) !important;
    }
    
    .hero-badge span,
    .hero .hero-content .hero-badge span,
    .page-hero .hero-content .hero-badge span,
    .about-hero .hero-content .hero-badge span,
    .contact-hero .hero-content .hero-badge span,
    .gallery-hero .hero-content .hero-badge span,
    .services-hero .hero-content .hero-badge span {
        font-size: 0.7rem !important;
        line-height: 1.2 !important;
    }
    
    .hero.modern-hero,
    .page-hero,
    .about-hero,
    .contact-hero,
    .gallery-hero,
    .services-hero {
        padding-top: 110px !important;
    }
}

/* İçerik kısmının hero badge'in altında kalması için */
.hero-content h1,
.hero-content .hero-title {
    margin-top: 0 !important;
}

/* About sayfasındaki hero badge için özel düzenleme (eğer farklı yapı varsa) */
.about .hero-content .hero-badge {
    position: relative !important;
    display: inline-block !important;
    z-index: 1020 !important;
}

/* ========================================= 
   HERO BADGE İÇİN GLOBAL STYLE DÜZENLEMELERİ
   ========================================= */

/* Tüm hero badge'lerin temel stillerini geçersiz kılma */
.hero-badge,
.page-hero .hero-badge,
.about-hero .hero-badge,
.contact-hero .hero-badge,
.gallery-hero .hero-badge,
.services-hero .hero-badge {
    position: relative !important;
    z-index: 1020 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    padding: 0.5rem 1.5rem !important;
    background: rgba(233, 167, 56, 0.1) !important;
    border: 1px solid var(--secondary-color) !important;
    border-radius: 30px !important;
    color: var(--secondary-color) !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    margin-bottom: 1.5rem !important;
    transition: all 0.3s ease !important;
}

/* PC görünümünde (büyük ekranlarda) hero-badge'in sarı rengini güçlendir */
@media (min-width: 769px) {
    .hero-badge,
    .page-hero .hero-badge,
    .about-hero .hero-badge,
    .contact-hero .hero-badge,
    .gallery-hero .hero-badge,
    .services-hero .hero-badge {
        background: rgba(233, 167, 56, 0.15) !important;
        border: 2px solid #E9A738 !important;
        color: #E9A738 !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        box-shadow: 0 4px 15px rgba(233, 167, 56, 0.2) !important;
    }
    
    .hero-badge i,
    .page-hero .hero-badge i,
    .about-hero .hero-badge i,
    .contact-hero .hero-badge i,
    .gallery-hero .hero-badge i,
    .services-hero .hero-badge i {
        color: #E9A738 !important;
    }
}

/* Extra küçük cihazlar (360px ve altı) */
@media (max-width: 360px) {
    .hero-badge, 
    .hero .hero-content .hero-badge,
    .page-hero .hero-content .hero-badge,
    .about-hero .hero-content .hero-badge,
    .contact-hero .hero-content .hero-badge,
    .gallery-hero .hero-content .hero-badge,
    .services-hero .hero-content .hero-badge {
        margin-top: 85px !important;
        padding: 0.4rem 0.8rem !important;
        font-size: 0.65rem !important;
        z-index: 1035 !important;
    }
    
    .hero.modern-hero,
    .page-hero,
    .about-hero,
    .contact-hero,
    .gallery-hero,
    .services-hero {
        padding-top: 105px !important;
        min-height: 85vh !important;
    }
    }
    
    .hero .hero-content .hero-badge span {
        font-size: 0.65rem !important;
    }
    
    .hero.modern-hero {
        padding-top: 105px !important;
    }
}

/* Header'ın her zaman üstte kalması için */
.header {
    z-index: 1040 !important;
    position: fixed !important;
    top: 0 !important;
    width: 100% !important;
}

/* Mobile menü butonunun header'dan yüksek olması için */
.mobile-menu {
    z-index: 1042 !important;
    position: relative !important;
}

/* Mobil navigasyon panel'inin en üstte olması için */
.mobile-nav {
    z-index: 1041 !important;
}

.mobile-nav-overlay {
    z-index: 1039 !important;
}

/* Logo görünürlük problemi için */
.logo, .logo img {
    position: relative !important;
    z-index: 1041 !important;
}

/* ==========================================
   LIGHT THEME - MOBILE NAV STYLES
   ========================================== */
[data-theme="light"] .mobile-nav {
    background: linear-gradient(180deg, #1a1d20 0%, #12151a 100%) !important;
}

[data-theme="light"] .mobile-nav-bg-pattern {
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23e9a738' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") !important;
}

[data-theme="light"] .mobile-nav-header {
    background: linear-gradient(135deg, rgba(233, 167, 56, 0.15) 0%, transparent 100%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

[data-theme="light"] .mobile-nav-logo .brand-name {
    color: white !important;
}

[data-theme="light"] .mobile-nav-logo .brand-tagline {
    color: var(--secondary-color) !important;
}

[data-theme="light"] .close-btn {
    background: rgba(255, 255, 255, 0.1) !important;
}

[data-theme="light"] .close-btn span {
    background: white !important;
}

[data-theme="light"] .mobile-search {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

[data-theme="light"] .mobile-search input {
    color: white !important;
}

[data-theme="light"] .mobile-search input::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
}

[data-theme="light"] .mobile-nav-links a {
    color: rgba(255, 255, 255, 0.85) !important;
}

[data-theme="light"] .mobile-nav-links a .nav-icon {
    background: rgba(255, 255, 255, 0.08) !important;
    color: var(--secondary-color) !important;
}

[data-theme="light"] .mobile-nav-links a .nav-title {
    color: white !important;
}

[data-theme="light"] .mobile-nav-links a .nav-desc {
    color: rgba(255, 255, 255, 0.5) !important;
}

[data-theme="light"] .mobile-nav-links a .nav-arrow {
    color: rgba(255, 255, 255, 0.3) !important;
}

/* Light theme active nav icon - same as base style (black icon on yellow background) */

[data-theme="light"] .mobile-nav-links a.active {
    background: linear-gradient(135deg, rgba(233, 167, 56, 0.2) 0%, rgba(233, 167, 56, 0.08) 100%) !important;
}

[data-theme="light"] .mobile-emergency-banner {
    background: linear-gradient(135deg, rgba(233, 167, 56, 0.2) 0%, rgba(233, 167, 56, 0.1) 100%) !important;
    border: 1px solid rgba(233, 167, 56, 0.3) !important;
}

[data-theme="light"] .emergency-label {
    color: var(--secondary-color) !important;
}

[data-theme="light"] .emergency-number {
    color: white !important;
}

/* Light theme uses same dark card style for mobile-stats - no override needed */

[data-theme="light"] .mobile-contact-info h4,
[data-theme="light"] .mobile-social h4 {
    color: rgba(255, 255, 255, 0.6) !important;
}

[data-theme="light"] .mobile-contact-info h4 i,
[data-theme="light"] .mobile-social h4 i {
    color: var(--secondary-color) !important;
}

[data-theme="light"] .mobile-contact-info .info-item i {
    background: rgba(233, 167, 56, 0.15) !important;
    color: var(--secondary-color) !important;
}

[data-theme="light"] .mobile-contact-info .info-item span,
[data-theme="light"] .mobile-contact-info .info-item a {
    color: rgba(255, 255, 255, 0.8) !important;
}

[data-theme="light"] .settings-btn {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: white !important;
}

[data-theme="light"] .settings-btn i {
    color: var(--secondary-color) !important;
}

[data-theme="light"] .mobile-nav-footer {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 100%) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
}

[data-theme="light"] .mobile-nav-footer .footer-brand span {
    color: white !important;
}

[data-theme="light"] .mobile-nav-footer .copyright {
    color: rgba(255, 255, 255, 0.4) !important;
}

[data-theme="light"] .mobile-nav-footer .made-with {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Phone Input Wrapper */
.phone-input-wrapper {
    display: flex;
    align-items: center;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--input-background);
    transition: all 0.3s ease;
    overflow: hidden;
}

.phone-input-wrapper:focus-within {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(233, 167, 56, 0.15);
}

.phone-prefix {
    padding: 1rem 0.75rem;
    background: var(--section-background);
    color: var(--text-color);
    font-weight: 600;
    border-right: 2px solid var(--border-color);
    font-size: 0.95rem;
}

.phone-input-wrapper .phone-input {
    flex: 1;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 1rem;
    font-size: 1rem;
    letter-spacing: 1px;
}

.phone-input-wrapper .phone-input:focus {
    outline: none;
    box-shadow: none !important;
    transform: none !important;
}

.form-hint {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-color);
    opacity: 0.7;
    margin-top: 0.25rem;
}

.form-hint i {
    color: var(--secondary-color);
}

/* Form Error Styles */
.form-input.error,
.phone-input-wrapper:has(.error) {
    border-color: #ef4444 !important;
}

.form-error {
    color: #ef4444;
    font-size: 0.8rem;
    display: none;
    margin-top: 0.25rem;
}

.form-error.show {
    display: block;
}

/* Form Notification */
.form-notification {
    padding: 1rem 1.25rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    animation: slideDown 0.3s ease;
    display: flex;
    align-items: center;
}

.form-notification.fade-out {
    animation: fadeOut 0.3s ease forwards;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
}

.notification-content > i {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.notification-content > span {
    flex: 1;
    font-size: 0.95rem;
}

.notification-close {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    opacity: 0.7;
    transition: opacity 0.2s;
    color: inherit;
}

.notification-close:hover {
    opacity: 1;
}

.form-notification-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.form-notification-error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.form-notification-info {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

/* Form Success Animation */
.form-success {
    animation: successPulse 0.5s ease;
}

@keyframes successPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

/* Dark theme phone input adjustments */
[data-theme="dark"] .phone-prefix {
    background: rgba(255, 255, 255, 0.1);
    border-right-color: var(--border-color);
}

[data-theme="dark"] .phone-input-wrapper {
    background: var(--input-background);
}
