/* =====================================================
   GÜNEŞ ÇEVRE - Professional Modern Design
   ===================================================== */

/* CSS Variables */
:root {
    --primary: #E8650A;
    --primary-dark: #C4540A;
    --primary-light: #FF8C3A;
    --secondary: #1A2332;
    --secondary-light: #2A3A4E;
    --accent: #F5A623;
    --accent-green: #27AE60;
    --bg-light: #F8F9FA;
    --bg-cream: #FDF8F3;
    --bg-dark: #0F1722;
    --text-primary: #1A2332;
    --text-secondary: #5A6B7D;
    --text-light: #8E9AAD;
    --text-white: #FFFFFF;
    --border: #E5E9ED;
    --border-light: #F0F2F5;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 16px 60px rgba(0,0,0,0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { 
    scroll-behavior: smooth; 
    font-size: 16px; 
    -webkit-text-size-adjust: 100%; 
    overflow-x: hidden;
    overflow-y: auto;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background: var(--text-white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

/* Site Wrapper - mobilde yatay taşmayı kesin engeller */
.site-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
}

/* Swiper mobilde taşmasın */
.swiper { overflow: hidden !important; max-width: 100%; }

/* AOS animasyonları mobilde yatay kaydırmaya neden olmasın */
@media (max-width: 768px) {
    [data-aos] {
        transform: none !important;
    }
    [data-aos].aos-animate {
        transform: none !important;
    }
    [data-aos="fade-up"] {
        opacity: 0;
        transform: translateY(20px) !important;
    }
    [data-aos="fade-up"].aos-animate {
        opacity: 1;
        transform: translateY(0) !important;
    }
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); font-weight: 600; line-height: 1.3; }

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    text-align: center;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--text-white);
    border-color: var(--primary);
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(232,101,10,0.35);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: var(--text-white);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--text-white);
    color: var(--primary);
    border-color: var(--text-white);
}
.btn-white:hover {
    background: transparent;
    color: var(--text-white);
    transform: translateY(-2px);
}

.btn-sm { padding: 10px 22px; font-size: 0.875rem; }
.btn-lg { padding: 18px 42px; font-size: 1.05rem; }

/* =====================================================
   TOP BAR
   ===================================================== */
.top-bar {
    background: var(--secondary);
    padding: 8px 0;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.75);
    position: relative;
    z-index: 1001;
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.top-bar-left a {
    color: rgba(255,255,255,0.75);
    display: flex;
    align-items: center;
    gap: 6px;
}
.top-bar-left a:hover { color: var(--accent); }
.top-bar-left a i { color: var(--primary-light); font-size: 0.75rem; }

.social-links { display: flex; gap: 12px; }
.social-links a {
    color: rgba(255,255,255,0.6);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    font-size: 0.75rem;
}
.social-links a:hover { background: var(--primary); color: var(--text-white); }

/* =====================================================
   HEADER
   ===================================================== */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition);
}

.main-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo { display: flex; align-items: center; }
.logo img { height: 50px; width: auto; }
.logo .logo-light { display: none; }

.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-list > li > a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 18px;
    font-size: 0.93rem;
    font-weight: 500;
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    position: relative;
}

.nav-list > li > a i { font-size: 0.65rem; transition: var(--transition); }
.nav-list > li > a:hover { color: var(--primary); background: rgba(232,101,10,0.06); }
.nav-list > li.active > a { color: var(--primary); }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 320px;
    background: var(--text-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    padding: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    border: 1px solid var(--border-light);
    max-height: 400px;
    overflow-y: auto;
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.has-dropdown:hover > a i { transform: rotate(180deg); }

.dropdown li a {
    display: block;
    padding: 10px 16px;
    font-size: 0.88rem;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.dropdown li a:hover {
    background: rgba(232,101,10,0.06);
    color: var(--primary);
    padding-left: 22px;
}

/* Header Actions */
.header-actions { display: flex; align-items: center; gap: 12px; }

.header-cta { display: none; }
@media(min-width: 1100px) { .header-cta { display: inline-flex; } }

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1002;
}
.mobile-toggle span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translateY(7.5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translateY(-7.5px); }

/* Mobile Overlay */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}
.mobile-overlay.active { opacity: 1; visibility: visible; }

/* =====================================================
   HERO SLIDER
   ===================================================== */
.hero-slider {
    /*position: relative;
    height: 85vh;
    min-height: 550px;
    max-height: 900px;
    overflow: hidden;*/
    position: relative;
    /* Ekran yüksekliğinden tam 100px çıkarıyoruz */
    height: calc(100vh - 200px); 
    /* Çok küçük telefon ekranlarında çok basık durmaması için bir alt sınır bırakıyoruz */
    min-height: 500px; 
    overflow: hidden;
}
.hero-slider .hero-swiper,
.hero-slider .swiper-slide {
    height: 100%;
}

.hero-slide {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.hero-slide-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15,23,34,0.85) 0%, rgba(15,23,34,0.4) 60%, rgba(232,101,10,0.2) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    color: var(--text-white);
    padding: 0 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(232,101,10,0.2);
    border: 1px solid rgba(232,101,10,0.4);
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary-light);
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero-content h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 36px;
    max-width: 520px;
    line-height: 1.8;
}

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-slider .swiper-pagination {
    bottom: 40px !important;
}
.hero-slider .swiper-pagination-bullet {
    width: 40px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255,255,255,0.4);
    opacity: 1;
    transition: var(--transition);
}
.hero-slider .swiper-pagination-bullet-active {
    background: var(--primary);
    width: 60px;
}

/* =====================================================
   SECTION STYLES
   ===================================================== */
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: rgba(232,101,10,0.08);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--radius-xl);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-header h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
}

.section-dark {
    background: var(--bg-dark);
    color: var(--text-white);
}
.section-dark .section-header h2 { color: var(--text-white); }
.section-dark .section-header p { color: rgba(255,255,255,0.65); }

.section-cream { background: var(--bg-cream); }
.section-gray { background: var(--bg-light); }

/* =====================================================
   CTA BANNER (Çevre Yönetimi Section)
   ===================================================== */
.cta-banner {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, var(--secondary) 0%, #0D3B2E 100%);
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(232,101,10,0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.cta-content { position: relative; z-index: 2; }
.cta-content h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    color: var(--text-white);
    margin-bottom: 16px;
}
.cta-content p {
    color: rgba(255,255,255,0.7);
    font-size: 1.05rem;
    margin-bottom: 32px;
    line-height: 1.8;
}

.cta-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cta-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
}
.cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cta-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid rgba(232,101,10,0.3);
    border-radius: var(--radius-lg);
}

/* =====================================================
   SERVICES GRID
   ===================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    position: relative;
    background: var(--text-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: var(--transition-slow);
    group: true;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.service-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.service-card:hover .service-card-image img {
    transform: scale(1.08);
}

.service-card-image .service-icon-overlay {
    position: absolute;
    bottom: -24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.3rem;
    box-shadow: 0 4px 15px rgba(232,101,10,0.4);
    z-index: 2;
}

.service-card-body {
    padding: 36px 28px 28px;
}

.service-card-body h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    font-family: var(--font-body);
    font-weight: 600;
}

.service-card-body h3 a {
    color: var(--text-primary);
}
.service-card:hover .service-card-body h3 a { color: var(--primary); }

.service-card-body p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}
.service-card-link i { transition: var(--transition); font-size: 0.8rem; }
.service-card:hover .service-card-link i { transform: translateX(5px); }

/* =====================================================
   İZİN VE LİSANS SECTION
   ===================================================== */
.permit-section {
    position: relative;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 100px 0;
    overflow: hidden;
}

.permit-section::before {
    content: '';
    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='%23ffffff' fill-opacity='0.05'%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");
}

.permit-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.permit-content h2 {
    color: var(--text-white);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    margin-bottom: 20px;
}

.permit-content p {
    color: rgba(255,255,255,0.85);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 32px;
}

.permit-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 16/10;
}
.permit-image img { width: 100%; height: 100%; object-fit: cover; }

/* =====================================================
   STATS
   ===================================================== */
.stats-bar {
    background: var(--text-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 50px 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.stat-item { text-align: center; }
.stat-number {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}
.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* =====================================================
   REFERENCES / CLIENTS
   ===================================================== */
.ref-slider { overflow: hidden; }
.ref-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    padding: 16px 24px;
    background: var(--text-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}
.ref-slide:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}
.ref-slide img {
    max-height: 60px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition);
}
.ref-slide:hover img {
    filter: grayscale(0);
    opacity: 1;
}

/* =====================================================
   NEWS / BLOG
   ===================================================== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.news-card {
    background: var(--text-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: var(--transition-slow);
}
.news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.news-card-image {
    height: 220px;
    overflow: hidden;
}
.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}
.news-card:hover .news-card-image img { transform: scale(1.05); }

.news-card-body { padding: 28px; }

.news-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.82rem;
    color: var(--text-light);
}
.news-meta span { display: flex; align-items: center; gap: 5px; }

.news-card-body h3 {
    font-size: 1.1rem;
    font-family: var(--font-body);
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.5;
}
.news-card-body h3 a { color: var(--text-primary); }
.news-card:hover h3 a { color: var(--primary); }

.news-card-body p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.7;
}

/* =====================================================
   CONTACT FORM
   ===================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 48px;
}

.contact-info-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-lg);
    padding: 48px 36px;
    color: var(--text-white);
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
}

.contact-info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.contact-info-card > p {
    color: rgba(255,255,255,0.75);
    margin-bottom: 36px;
    font-size: 0.95rem;
}

.ci-item {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}
.ci-icon {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.15);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.ci-item h4 {
    font-size: 0.85rem;
    font-family: var(--font-body);
    font-weight: 500;
    color: rgba(255,255,255,0.65);
    margin-bottom: 4px;
}
.ci-item p, .ci-item a { font-size: 0.95rem; color: var(--text-white); }

.contact-form-card {
    background: var(--text-white);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.form-grid .full-width { grid-column: 1 / -1; }

.form-group { margin-bottom: 0; }
.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-primary);
    background: var(--bg-light);
    transition: var(--transition);
    outline: none;
}
.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(232,101,10,0.1);
    background: var(--text-white);
}

textarea.form-control { resize: vertical; min-height: 120px; }

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235A6B7D' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

/* =====================================================
   PAGE HEADER (Inner Pages)
   ===================================================== */
.page-header {
    position: relative;
    padding: 100px 0 60px;
    background: linear-gradient(135deg, var(--secondary) 0%, #0D3B2E 60%, var(--primary-dark) 100%);
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}

.page-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-white);
}

.page-header h1 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}
.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: var(--primary-light); }
.breadcrumb .separator { font-size: 0.7rem; }

/* =====================================================
   FOOTER
   ===================================================== */
.main-footer {
    position: relative;
    background: var(--bg-dark);
    color: rgba(255,255,255,0.7);
    padding-top: 100px;
}

.footer-wave {
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    color: var(--text-white);
    line-height: 0;
}
.footer-wave svg { width: 100%; height: 80px; }

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 60px;
}

.footer-logo img {
    height: 45px;
    margin-bottom: 20px;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 24px;
    color: rgba(255,255,255,0.55);
}

.footer-social {
    display: flex;
    gap: 10px;
}
.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    transition: var(--transition);
}
.footer-social a:hover {
    background: var(--primary);
    color: var(--text-white);
    transform: translateY(-3px);
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-links li { margin-bottom: 10px; }
.footer-links a {
    color: rgba(255,255,255,0.55);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-links a::before {
    content: '';
    width: 5px;
    height: 5px;
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
    opacity: 0;
    transition: var(--transition);
}
.footer-links a:hover { color: var(--primary-light); padding-left: 4px; }
.footer-links a:hover::before { opacity: 1; }

.footer-contact .fc-item {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
    font-size: 0.9rem;
}
.fc-item i {
    color: var(--primary);
    font-size: 0.9rem;
    margin-top: 4px;
    flex-shrink: 0;
}
.fc-item a { color: rgba(255,255,255,0.7); }
.fc-item a:hover { color: var(--primary-light); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}
.footer-credit a { color: var(--primary); }

/* =====================================================
   WHATSAPP & BACK TO TOP
   ===================================================== */
.whatsapp-btn {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    z-index: 998;
    transition: var(--transition);
    animation: pulse-whatsapp 2s infinite;
}
.whatsapp-btn:hover { transform: scale(1.1); }

@keyframes pulse-whatsapp {
    0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
    50% { box-shadow: 0 4px 30px rgba(37,211,102,0.6); }
}

.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--text-white);
    border: none;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(232,101,10,0.3);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* =====================================================
   UTILITY CLASSES
   ===================================================== */
.text-center { text-align: center; }
.text-primary { color: var(--primary) !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-4 { margin-top: 2rem !important; }
.mb-4 { margin-bottom: 2rem !important; }

/* Alert Messages */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.alert-success { background: #E8F5E9; color: #2E7D32; border: 1px solid #C8E6C9; }
.alert-error { background: #FFEBEE; color: #C62828; border: 1px solid #FFCDD2; }
.alert-warning { background: #FFF3E0; color: #E65100; border: 1px solid #FFE0B2; }

/* Loading Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* =====================================================
   ABOUT PAGE
   ===================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.about-image img { width: 100%; border-radius: var(--radius-lg); }

.about-content h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 20px;
}
.about-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 28px;
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    font-size: 0.95rem;
}
.feature-item i {
    color: var(--accent-green);
    font-size: 1.1rem;
}

/* =====================================================
   FAQ
   ===================================================== */
.faq-item {
    background: var(--text-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    transition: var(--transition);
}
.faq-item.active { border-color: var(--primary); box-shadow: var(--shadow-sm); }

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    gap: 16px;
}
.faq-question i { color: var(--primary); transition: var(--transition); flex-shrink: 0; }
.faq-item.active .faq-question i { transform: rotate(180deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    padding: 0 24px;
}
.faq-answer-inner {
    padding-bottom: 20px;
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* =====================================================
   MAP
   ===================================================== */
.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 400px;
    box-shadow: var(--shadow-md);
}
.map-container iframe { width: 100%; height: 100%; border: none; }

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .cta-grid { grid-template-columns: 1fr; }
    .permit-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .top-bar-left { gap: 12px; }
    .top-bar-right { display: none; }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -320px;
        width: 300px;
        height: 100vh;
        background: var(--text-white);
        z-index: 1001;
        padding: 80px 24px 24px;
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s;
        overflow-y: auto;
        box-shadow: -4px 0 30px rgba(0,0,0,0.15);
        visibility: hidden;
    }
    .main-nav.active { right: 0; visibility: visible; }
    
    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    .nav-list > li > a {
        padding: 14px 0;
        border-bottom: 1px solid var(--border-light);
        font-size: 1rem;
    }
    
    .has-dropdown .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0 0 0 16px;
        min-width: auto;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    .has-dropdown.open .dropdown { max-height: 1000px; }
    
    .mobile-toggle { display: flex; }
    
    .hero-slider { height: 70vh; min-height: 450px; }
    .hero-content h1 { font-size: 1.8rem; }
    .hero-content p { font-size: 1rem; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; }
    
    .section { padding: 60px 0; }
    .section-header { margin-bottom: 40px; }
    
    .services-grid { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; }
    .stats-bar { grid-template-columns: repeat(2, 1fr); padding: 32px 24px; margin-top: -40px; max-width: 100%; border-radius: var(--radius-lg); }
    .stat-number { font-size: 2rem; }
    
    .cta-grid { grid-template-columns: 1fr; gap: 32px; }
    .permit-grid { grid-template-columns: 1fr; gap: 32px; }
    .contact-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    
    .form-grid { grid-template-columns: 1fr; }
    .contact-form-card { padding: 28px 20px; }
    .contact-info-card { padding: 32px 24px; }
    
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    
    .page-header { padding: 70px 0 40px; }
    
    /* Hizmet detay mobil - sidebar alt alta */
    .hizmet-detay-grid { grid-template-columns: 1fr !important; }
    
    /* Tüm section'ların taşmasını engelle */
    .cta-banner, .permit-section, .section, .main-footer, .page-header { overflow: hidden; }
    .cta-banner::before { right: -20%; width: 300px; height: 300px; }
    .permit-section::before { opacity: 0.3; }
    
    /* Footer wave taşmasını engelle */
    .footer-wave { overflow: hidden; }
    .footer-wave svg { width: 100%; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .top-bar { font-size: 0.75rem; }
    .top-bar-left { gap: 8px; font-size: 0.7rem; flex-wrap: wrap; }
    
    .header-inner { height: 64px; }
    .logo img { height: 38px; }
    
    .hero-slider { height: 60vh; min-height: 400px; }
    .hero-content h1 { font-size: 1.5rem; }
    .hero-content p { font-size: 0.9rem; }
    .hero-badge { font-size: 0.75rem; padding: 6px 14px; }
    
    .section { padding: 48px 0; }
    .section-header h2 { font-size: 1.5rem; }
    
    .service-card-image { height: 180px; }
    .service-card-body { padding: 28px 20px 20px; }
    
    .news-card-image { height: 180px; }
    .news-card-body { padding: 20px; }
    
    .permit-section { padding: 60px 0; }
    .permit-content h2 { font-size: 1.3rem; }
    .cta-content h2 { font-size: 1.3rem; }
    
    .stats-bar { padding: 24px 16px; margin-top: -30px; gap: 16px; }
    .stat-number { font-size: 1.6rem; }
    .stat-label { font-size: 0.78rem; }
    
    .contact-form-card { padding: 20px 16px; }
    .contact-info-card { padding: 28px 16px; }
    
    .whatsapp-btn { width: 50px; height: 50px; font-size: 1.3rem; bottom: 16px; left: 16px; }
    .back-to-top { width: 42px; height: 42px; bottom: 16px; right: 16px; }
    
    .footer-grid { gap: 28px; }
    .footer-col h4 { font-size: 0.95rem; }
    
    /* AOS yatay animasyonları mobilde devre dışı - overflow engelle */
    [data-aos="fade-left"],
    [data-aos="fade-right"],
    [data-aos="slide-left"],
    [data-aos="slide-right"] {
        transform: none !important;
        opacity: 0;
        transition-property: opacity !important;
    }
    [data-aos="fade-left"].aos-animate,
    [data-aos="fade-right"].aos-animate,
    [data-aos="slide-left"].aos-animate,
    [data-aos="slide-right"].aos-animate {
        opacity: 1;
        transform: none !important;
    }
}

/* =====================================================
   ADMIN PANEL STYLES
   ===================================================== */
.admin-body {
    background: var(--bg-light);
    min-height: 100vh;
}

.admin-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 260px;
    height: 100vh;
    background: var(--secondary);
    color: var(--text-white);
    z-index: 100;
    overflow-y: auto;
    transition: var(--transition);
}

.admin-sidebar-header {
    padding: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.admin-sidebar-header img { height: 36px; }

.admin-nav { padding: 16px 0; }
.admin-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}
.admin-nav-item:hover, .admin-nav-item.active {
    color: var(--text-white);
    background: rgba(255,255,255,0.06);
}
.admin-nav-item.active { border-right: 3px solid var(--primary); }
.admin-nav-item i { width: 20px; text-align: center; }

.admin-nav-label {
    padding: 16px 24px 8px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.3);
}

.admin-content {
    margin-left: 260px;
    padding: 24px;
    min-height: 100vh;
}

.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: var(--text-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}

.admin-topbar h1 {
    font-family: var(--font-body);
    font-size: 1.3rem;
    font-weight: 600;
}

.admin-card {
    background: var(--text-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 24px;
    margin-bottom: 24px;
}

.admin-card h3 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.admin-stat-card {
    background: var(--text-white);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 16px;
}

.admin-stat-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.admin-stat-card .stat-number {
    font-size: 1.8rem;
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}
.admin-stat-card .stat-label {
    font-size: 0.82rem;
    color: var(--text-light);
}

/* Admin Table */
.admin-table {
    width: 100%;
    border-collapse: collapse;
}
.admin-table th {
    text-align: left;
    padding: 12px 16px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--border-light);
}
.admin-table td {
    padding: 14px 16px;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
}
.admin-table tr:hover { background: var(--bg-light); }

.badge {
    display: inline-flex;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
}
.badge-success { background: #E8F5E9; color: #2E7D32; }
.badge-warning { background: #FFF3E0; color: #E65100; }
.badge-danger { background: #FFEBEE; color: #C62828; }
.badge-info { background: #E3F2FD; color: #1565C0; }

.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.85rem;
    transition: var(--transition);
}
.action-btn-edit { background: #E3F2FD; color: #1565C0; }
.action-btn-edit:hover { background: #1565C0; color: white; }
.action-btn-delete { background: #FFEBEE; color: #C62828; }
.action-btn-delete:hover { background: #C62828; color: white; }

/* Admin Login */
.admin-login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--bg-dark) 100%);
    padding: 24px;
}

.login-card {
    width: 100%;
    max-width: 420px;
    background: var(--text-white);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    box-shadow: var(--shadow-xl);
}

.login-card .logo-area {
    text-align: center;
    margin-bottom: 36px;
}
.login-card .logo-area img { height: 50px; margin: 0 auto 12px; }
.login-card .logo-area h2 {
    font-family: var(--font-body);
    font-size: 1.3rem;
    color: var(--text-primary);
}
.login-card .logo-area p {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

/* Admin Responsive */
@media (max-width: 992px) {
    .admin-sidebar {
        transform: translateX(-100%);
    }
    .admin-sidebar.active { transform: translateX(0); }
    .admin-content { margin-left: 0; }
    .admin-stats { grid-template-columns: repeat(2, 1fr); }
    
    /* Admin grid layouts tek sütuna düş */
    .admin-content [style*="grid-template-columns: 2fr 1fr"],
    .admin-content [style*="grid-template-columns: 1fr 340px"],
    .admin-content [style*="grid-template-columns: 1fr 380px"],
    .admin-content [style*="grid-template-columns: 1fr 400px"],
    .admin-content [style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 576px) {
    .admin-stats { grid-template-columns: 1fr; }
    .admin-content { padding: 12px; }
    .admin-card { padding: 16px; }
    .admin-topbar { padding: 12px 16px; flex-wrap: wrap; gap: 8px; }
    .admin-topbar h1 { font-size: 1.1rem; }
    .admin-table th, .admin-table td { padding: 10px 8px; font-size: 0.8rem; }
    .login-card { padding: 28px 20px; }
}

/* =====================================================
   ANIMATIONS
   ===================================================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-in { animation: fadeInUp 0.6s ease forwards; }

/* =====================================================
   KVKK / ÇEREZ POLİTİKASI POPUP
   ===================================================== */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--text-white);
    box-shadow: 0 -8px 40px rgba(0,0,0,0.15);
    border-top: 3px solid var(--primary);
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.cookie-popup.visible {
    transform: translateY(0);
}

.cookie-popup-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px 28px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.cookie-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(232,101,10,0.1), rgba(245,166,35,0.1));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.4rem;
    flex-shrink: 0;
    animation: cookieBounce 2s ease infinite;
}

@keyframes cookieBounce {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-8deg); }
    75% { transform: rotate(8deg); }
}

.cookie-content { flex: 1; }
.cookie-content h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-primary);
}
.cookie-content p {
    font-size: 0.85rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}
.cookie-content a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.cookie-content a:hover { text-decoration: none; }

.cookie-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.cookie-settings-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    font-family: var(--font-body);
    display: flex;
    align-items: center;
    gap: 6px;
}
.cookie-settings-btn:hover {
    background: var(--bg-light);
    color: var(--primary);
}

/* Çerez Ayarları Paneli */
.cookie-settings-panel {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 28px 24px;
    display: none;
    border-top: 1px solid var(--border-light);
}
.cookie-settings-panel.visible {
    display: block;
    animation: fadeInUp 0.3s ease;
}

.cookie-setting-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-light);
    gap: 20px;
}
.cookie-setting-item:last-of-type { border-bottom: none; }

.cookie-setting-info { flex: 1; }
.cookie-setting-info strong {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 3px;
}
.cookie-setting-info p {
    font-size: 0.8rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
}

/* Toggle Switch */
.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
    cursor: pointer;
}
.cookie-toggle input { opacity: 0; width: 0; height: 0; }

.cookie-toggle-slider {
    position: absolute;
    inset: 0;
    background: #ccd0d5;
    border-radius: 26px;
    transition: var(--transition);
}
.cookie-toggle-slider::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--text-white);
    left: 3px;
    top: 3px;
    transition: var(--transition);
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.cookie-toggle input:checked + .cookie-toggle-slider {
    background: var(--primary);
}
.cookie-toggle input:checked + .cookie-toggle-slider::before {
    transform: translateX(22px);
}

.cookie-toggle-slider.always-on {
    background: var(--primary);
    opacity: 0.6;
}
.cookie-toggle-slider.always-on::before {
    transform: translateX(22px);
}

/* KVKK Responsive */
@media (max-width: 768px) {
    .cookie-popup {
        max-height: 85vh;
    }
    .cookie-popup-inner {
        flex-direction: column;
        padding: 16px;
        gap: 12px;
    }
    .cookie-icon { display: none; }
    .cookie-content h4 { font-size: 0.95rem; }
    .cookie-content p { font-size: 0.78rem; line-height: 1.6; }
    .cookie-actions {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .cookie-actions .btn { 
        width: 100%; 
        padding: 10px 14px; 
        font-size: 0.8rem; 
        justify-content: center;
    }
    .cookie-settings-btn {
        grid-column: 1 / -1;
        justify-content: center;
        padding: 6px;
        font-size: 0.78rem;
    }
    .cookie-settings-panel { padding: 0 16px 16px; }
    .cookie-setting-item { padding: 12px 0; gap: 12px; }
    .cookie-setting-info strong { font-size: 0.82rem; }
    .cookie-setting-info p { font-size: 0.72rem; }
    .cookie-toggle { width: 42px; height: 24px; }
    .cookie-toggle-slider::before { width: 18px; height: 18px; }
    .cookie-toggle input:checked + .cookie-toggle-slider::before { transform: translateX(18px); }
    .cookie-toggle-slider.always-on::before { transform: translateX(18px); }
    .cookie-settings-panel .btn { font-size: 0.8rem; padding: 10px 16px; }
}

@media (max-width: 400px) {
    .cookie-popup-inner { padding: 14px 12px; }
    .cookie-content p { font-size: 0.74rem; }
    .cookie-actions {
        grid-template-columns: 1fr;
    }
    .cookie-actions .btn { padding: 12px; font-size: 0.82rem; }
}

/* =====================================================
   GLOBAL IMAGE AUTO-FIT / CROP SYSTEM
   Tüm resim alanları için otomatik boyutlandırma
   ===================================================== */

/* Hero Slider - 16:7 */
.hero-slide-bg {
    object-fit: cover;
    object-position: center;
}

/* Service Card Images - 16:10 */
.service-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}
.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* News Card Images - 16:10 */
.news-card-image {
    overflow: hidden;
}
.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* CTA / Banner Images */
.cta-image img,
.permit-image img,
.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Reference Logos - contain (logoyu kırpma, sığdır) */
.ref-slide img {
    max-height: 60px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
}

/* Gallery Images */
.gallery-image {
    overflow: hidden;
}
.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Admin panel uploaded images */
.admin-card img[src*="uploads"],
.admin-card img[src*="assets"] {
    object-fit: cover;
    object-position: center;
}

/* Genel img-cover class - herhangi bir yerde kullanılabilir */
.img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.img-contain {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* Aspect ratio containers */
.aspect-16-9 { aspect-ratio: 16/9; overflow: hidden; }
.aspect-16-10 { aspect-ratio: 16/10; overflow: hidden; }
.aspect-4-3 { aspect-ratio: 4/3; overflow: hidden; }
.aspect-1-1 { aspect-ratio: 1/1; overflow: hidden; }
.aspect-3-2 { aspect-ratio: 3/2; overflow: hidden; }

.aspect-16-9 img, .aspect-16-10 img, .aspect-4-3 img, .aspect-1-1 img, .aspect-3-2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* ── MOBİL BUTON TAŞMA DÜZELTMESİ ── */
@media (max-width: 768px) {
    .btn {
        white-space: normal;
        word-break: break-word;
    }
    /* Hizmet detay sayfası özel — tam genişlik buton */
    .service-cta-btns .btn {
        width: 100%;
        box-sizing: border-box;
        padding: 13px 16px;
        border-radius: 10px;
    }
}
