/* 
   KEM-BEL KURUMSAL TASARIM SİSTEMİ
   -------------------------------
   Renkler ve Temel Değişkenler
*/
:root {
    --color-main: #0B1F3A;    /* Koyu Lacivert / Dış Çember */
    --color-accent: #E63946;  /* Kiraz Kırmızısı */
    --color-bg: #F5F7FA;      /* Açık Gri Arkaplan */
    --color-text: #1E293B;    /* Koyu Metin */
    --color-sec: #64748B;     /* İkincil Metin */
    --color-white: #FFFFFF;
    
    --font-main: 'Outfit', sans-serif;
    
    --shadow-sm: 0 1px 2px 0 rgba(11, 31, 58, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(11, 31, 58, 0.1), 0 2px 4px -1px rgba(11, 31, 58, 0.06);
    --shadow-lg: 0 10px 25px -3px rgba(11, 31, 58, 0.15), 0 4px 6px -2px rgba(11, 31, 58, 0.05);
    --shadow-glow: 0 0 20px rgba(230, 57, 70, 0.25);
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Premium Selection & Scrollbar */
::selection {
    background-color: var(--color-accent);
    color: var(--color-white);
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-sec);
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1280px;
    overflow-wrap: break-word;
    word-wrap: break-word;
    margin: 0 auto;
    padding: 0 24px;
}

/* Background Shapes */
.bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.5;
}

.shape-1 {
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.25) 0%, rgba(58, 134, 255, 0.1) 100%);
}

.shape-2 {
    bottom: 20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, rgba(58, 134, 255, 0.15) 0%, rgba(244, 162, 97, 0.15) 100%);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
    padding: 24px 0;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    padding: 16px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 16px;
}

.site-logo {
    max-height: 55px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    display: block;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--color-main);
    letter-spacing: -0.5px;
    line-height: 1;
}

.accent-text {
    color: var(--color-accent);
}

.logo-divider {
    width: 1px;
    height: 38px;
    background-color: rgba(11, 31, 58, 0.15);
}

.logo-subtitle {
    display: flex;
    flex-direction: column;
}

.badge-municipality {
    font-size: 11px;
    font-weight: 600;
    color: var(--color-main);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-main);
    position: relative;
    padding-bottom: 4px;
}

.nav-link:not(.btn-nav)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: var(--transition);
}

.nav-link:not(.btn-nav):hover::after {
    width: 100%;
}

.btn-nav {
    background-color: rgba(11, 31, 58, 0.05);
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    color: var(--color-main);
    font-weight: 600;
}

.btn-nav:hover {
    background-color: var(--color-main);
    color: var(--color-white);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--color-main);
    cursor: pointer;
}

/* Typography & Utils */
h1, h2, h3, h4, h5, h6 {
    color: var(--color-main);
    font-weight: 700;
}

.gradient-text {
    background: linear-gradient(135deg, var(--color-main), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
}

.badge-gradient {
    background: linear-gradient(135deg, var(--color-main), #1e3a6a);
    color: var(--color-white);
}

.badge-outline {
    background: transparent;
    border: 1px solid rgba(11, 31, 58, 0.2);
    color: var(--color-main);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-main);
    color: var(--color-white);
    box-shadow: 0 4px 14px rgba(11, 31, 58, 0.2);
}

.btn-primary:hover {
    background-color: #081629;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(11, 31, 58, 0.3);
}

.btn-secondary {
    background-color: var(--color-white);
    color: var(--color-main);
    border: 1px solid rgba(11, 31, 58, 0.1);
}

.btn-secondary:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background-color: transparent;
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
}

.hero-badges {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.hero-title {
    font-size: 48px;
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-description {
    font-size: 18px;
    color: var(--color-sec);
    margin-bottom: 40px;
    max-width: 560px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Premium Status Card */
.status-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    overflow: hidden;
    transform: translateY(0);
    transition: transform 0.5s ease;
}

.status-card:hover {
    transform: translateY(-5px);
}

.status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    background: rgba(255, 255, 255, 0.5);
    border-bottom: 1px solid rgba(11, 31, 58, 0.05);
}

.status-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pulse-ring {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #10B981;
    position: relative;
}

.pulse-ring::before {
    content: '';
    position: absolute;
    left: -4px;
    top: -4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: rgba(16, 185, 129, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.8); opacity: 0.5; }
    100% { transform: scale(2); opacity: 0; }
}

.status-header h3 {
    font-size: 18px;
    margin: 0;
}

.status-label {
    font-size: 13px;
    font-weight: 600;
    color: #10B981;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.1);
    padding: 4px 10px;
    border-radius: 100px;
}

.status-body {
    padding: 32px 24px;
}

.progress-text-group {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 12px;
}

.progress-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-sec);
}

.progress-percentage {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-main);
    line-height: 1;
}

.progress-track {
    width: 100%;
    height: 8px;
    background-color: rgba(11, 31, 58, 0.05);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 16px;
}

.progress-fill {
    height: 100%;
    width: 0; /* Will be set by JS */
    background: linear-gradient(90deg, var(--color-main), var(--color-accent));
    border-radius: 10px;
    transition: width 1.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.progress-detail {
    font-size: 14px;
    color: var(--color-sec);
}

.card-divider {
    border: 0;
    height: 1px;
    background: rgba(11, 31, 58, 0.05);
    margin: 24px 0;
}

.countdown-section h4 {
    font-size: 14px;
    color: var(--color-sec);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.countdown {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.countdown-item {
    background: var(--color-white);
    border: 1px solid rgba(11, 31, 58, 0.05);
    padding: 12px 0;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.countdown-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-main);
    line-height: 1.2;
}

.countdown-label {
    font-size: 11px;
    font-weight: 500;
    color: var(--color-sec);
    text-transform: uppercase;
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: var(--color-white);
}

.section-heading {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 56px;
}

.section-heading h2 {
    font-size: 32px;
    margin-bottom: 16px;
}

.section-heading p {
    font-size: 16px;
    color: var(--color-sec);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: var(--color-bg);
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid transparent;
}

.feature-card:hover {
    background: var(--color-white);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(230, 57, 70, 0.25);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(230, 57, 70, 0.1);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    font-size: 24px;
    margin-bottom: 24px;
    transition: var(--transition);
}

.feature-card:hover .icon-wrapper {
    background: var(--color-main);
    color: var(--color-accent);
}

.feature-title {
    font-size: 20px;
    margin-bottom: 12px;
}

.feature-desc {
    color: var(--color-sec);
    font-size: 15px;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 100px 0;
}

.contact-wrapper {
    background: var(--color-main);
    border-radius: var(--radius-lg);
    padding: 60px 50px;
    color: var(--color-white);
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
    gap: 60px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.contact-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05));
    pointer-events: none;
}

.contact-text h2 {
    color: var(--color-white);
    font-size: 32px;
    margin-bottom: 16px;
}

.contact-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    max-width: 400px;
    margin-bottom: 32px;
}

.contact-info-grid {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 16px;
    flex-shrink: 0;
}

.contact-details {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.contact-value {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-white);
}

.contact-value:hover {
    color: var(--color-accent);
}

/* Contact Form Styles */
.contact-right {
    background: var(--color-white);
    padding: 48px 40px;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(11, 31, 58, 0.15);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-main);
    margin-left: 4px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background-color: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-family: inherit;
    color: var(--color-text);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background-color: var(--color-white);
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.1);
}

.form-status {
    margin-top: 12px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    border-radius: var(--radius-sm);
}

.form-status.success {
    padding: 10px;
    background-color: rgba(16, 185, 129, 0.1);
    color: #10B981;
}

.form-status.error {
    padding: 10px;
    background-color: rgba(230, 57, 70, 0.1);
    color: var(--color-accent);
}

/* Footer */
.footer {
    background-color: var(--color-white);
    padding: 32px 0;
    border-top: 1px solid rgba(11, 31, 58, 0.05);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-copyright {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-main);
}

.footer-muni-info {
    font-size: 13px;
    color: var(--color-sec);
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 12px;
}

.legal-link {
    font-size: 13px;
    color: var(--color-sec);
    text-decoration: none;
    transition: var(--transition);
}

.legal-link:hover {
    color: var(--color-main);
    text-decoration: underline;
}

.legal-sep {
    color: rgba(11, 31, 58, 0.2);
    font-size: 12px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg);
    color: var(--color-main);
    border-radius: 50%;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--color-main);
    color: var(--color-white);
    transform: translateY(-2px);
}

/* Animations */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s ease-out;
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s ease-out;
}

.reveal-up.active, 
.reveal-left.active, 
.reveal-right.active {
    opacity: 1;
    transform: translate(0);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        margin-bottom: 40px;
    }

    .hero-badges {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-description {
        margin: 0 auto 32px;
    }

    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
    }

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

    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 40px 32px;
    }

    .contact-text h2 {
        font-size: 26px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-heading h2 {
        font-size: 26px;
    }
}

@media (max-width: 768px) {
    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 24px;
        box-shadow: var(--shadow-md);
        gap: 16px;
    }

    .nav-list.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .btn-nav {
        width: 100%;
        text-align: center;
    }

    .logo-divider {
        display: none;
    }

    .logo-subtitle {
        display: none;
    }

    .logo-title {
        font-size: 22px;
    }

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

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

    .hero {
        padding: 100px 0 60px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        padding: 32px 20px;
        gap: 32px;
    }

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

    .contact-text h2 {
        font-size: 24px;
    }

    .contact-text p {
        font-size: 15px;
    }

    .countdown {
        gap: 8px;
    }
    
    .countdown-item {
        padding: 10px 4px;
        min-width: 60px;
    }
    
    .countdown-value {
        font-size: 20px;
    }

    .countdown-label {
        font-size: 11px;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .footer-legal {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .header {
        padding: 16px 0;
    }

    .header.scrolled {
        padding: 12px 0;
    }

    .site-logo {
        max-height: 40px;
    }

    .logo-title {
        font-size: 20px;
    }

    .hero-title {
        font-size: 24px;
        line-height: 1.3;
    }

    .hero-badges {
        gap: 8px;
    }

    .badge {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .status-body {
        padding: 20px 14px;
    }
    
    .status-header {
        padding: 14px;
    }

    .status-header h3 {
        font-size: 14px;
    }
    
    .hero {
        padding: 90px 0 50px;
    }

    .contact-wrapper {
        padding: 24px 16px;
        gap: 24px;
    }

    .contact-text h2 {
        font-size: 20px;
    }

    .contact-right {
        padding: 24px 16px;
    }

    .form-group input,
    .form-group textarea {
        padding: 14px 16px;
        font-size: 14px;
    }

    .countdown {
        gap: 6px;
    }

    .countdown-item {
        padding: 8px 2px;
        min-width: 50px;
    }

    .countdown-value {
        font-size: 16px;
    }

    .countdown-label {
        font-size: 9px;
    }

    .feature-card {
        padding: 24px 20px;
    }

    .section-heading h2 {
        font-size: 22px;
    }

    .section-heading p {
        font-size: 14px;
    }

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

    .contact-value {
        font-size: 14px;
    }

    .contact-label {
        font-size: 11px;
    }

    .progress-title {
        font-size: 13px;
    }

    .progress-detail {
        font-size: 12px;
    }

    .cookie-banner {
        padding: 16px;
    }

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

    .cookie-icon {
        font-size: 20px;
    }

    .footer-copyright {
        font-size: 12px;
    }

    .footer-muni-info {
        font-size: 11px;
    }
}

/* =========================================================
   PRELOADER
========================================================= */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-bg);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.preloader-logo {
    max-height: 80px;
}

.pulse-animation {
    animation: pulseLogo 1.5s infinite alternate ease-in-out;
}

@keyframes pulseLogo {
    0% { transform: scale(0.95); opacity: 0.8; }
    100% { transform: scale(1.05); opacity: 1; }
}

.preloader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(11, 31, 58, 0.1);
    border-top-color: var(--color-accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* =========================================================
   COOKIE BANNER
========================================================= */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: var(--color-white);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    z-index: 9900;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    transition: bottom 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 800px;
}

.cookie-icon {
    font-size: 24px;
    color: var(--color-accent);
}

.cookie-text {
    font-size: 14px;
    color: var(--color-sec);
    line-height: 1.5;
}

.cookie-text a {
    color: var(--color-main);
    font-weight: 600;
    text-decoration: underline;
}

.cookie-btn {
    padding: 10px 24px;
    font-size: 14px;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        padding: 24px;
        gap: 20px;
    }
    .cookie-actions, .cookie-btn {
        width: 100%;
    }
}

