:root {
    --primary-color: #1565C0;
    --primary-light: #42A5F5;
    --primary-dark: #0D47A1;
    --secondary-color: #00BCD4;
    --secondary-light: #4DD0E1;
    --secondary-dark: #00838F;
    --accent-color: #FF5722;
    --accent-light: #FF8A65;
    --success-color: #4CAF50;
    --text-primary: #263238;
    --text-secondary: #546E7A;
    --text-light: #78909C;
    --background-light: #FAFAFA;
    --background-white: #FFFFFF;
    --border-color: #E0E0E0;
    --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-strong: 0 8px 32px rgba(0, 0, 0, 0.15);
}

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

body {
    background: var(--background-light);
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navbar */

.navbar-custom {
    background: var(--primary-dark);
    padding: 1.2rem 0;
    position: relative;
    top: 0;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-custom.scrolled {
    background: rgba(11, 77, 161, 0.8);
    padding: 0.8rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.6rem;
    color: white !important;
    letter-spacing: -0.02em;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    margin: 0 1.2rem;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
}

.navbar-nav .nav-link:hover {
    color: white !important;
    transform: translateY(-1px);
}

.social-icons {
    display: flex;
    gap: 0.8rem;
}

.social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    text-decoration: none;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    transform: translateY(-2px) scale(1.05);
}

.btn-primary {
    background: var(--primary-color);
    border: none;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.8rem 1.8rem;
}

.btn-primary:hover {
    background: var(--primary-dark);
}



/* Steps Section */

.steps-section {
    background: var(--background-light);
    padding: 6rem 0;
}

.steps-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.steps-title {
    text-align: center;
    margin-bottom: 4rem;
}

.steps-title h2 {
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.steps-title p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    font-weight: 400;
}

.step-card {
    background: var(--background-white);
    border-radius: 20px;
    padding: 2rem 1rem;
    text-align: left;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s forwards ease-out;
    animation-delay: calc(var(--animation-order) * 0.2s);
}

.step-card .stat-number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.step-card .stat-label {
    font-size: 0.95rem;
    opacity: 0.9;
    font-weight: 500;
    color: var(--text-secondary);
}

.step-card .stat-number[data-count] {
    counter-reset: count var(--count-start, 0);
}

.step-card .stat-number[data-count]:after {
    content: counter(count);
    animation: count 2s forwards;
}

@keyframes count {
    from {
        counter-increment: count var(--count-start, 0);
    }

    to {
        counter-increment: count var(--count-end, 100);
    }
}

.step-card::before {
    display: none;
}

.step-card:hover {
    transform: translateY(-8px);
    border-color: transparent;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.step-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    position: relative;
}

.step-one .step-icon {
    background: var(--primary-color);
}

.step-two .step-icon {
    background: var(--secondary-color);
}

.step-three .step-icon {
    background: var(--accent-color);
}

.step-label {
    display: none;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.step-description {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
    color: var(--text-secondary);
    font-weight: 400;
}

.step-number {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    color: white;
    z-index: 3;
}

.step-one .step-number {
    background: var(--primary-color);
}

.step-two .step-number {
    background: var(--secondary-color);
}

.step-three .step-number {
    background: var(--accent-color);
}

.btn-step {
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid;
    background: transparent;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.step-one .btn-step {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.step-one .btn-step:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.step-two .btn-step {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.step-two .btn-step:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
}

.step-three .btn-step {
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.step-three .btn-step:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
}

.step-highlight-stat {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    margin-top: 0.5rem; /* Başlıktan sonra biraz boşluk */
}

.step-highlight-stat strong {
    font-size: 1.8rem;
    font-weight: 700;
    margin-right: 0.3rem;
}

/* Form Section */

.form-section {
    padding: 4rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-container {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--background-white);
    border-radius: 12px;
    box-shadow: none;
    overflow: hidden;
    padding: 2rem; 
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.03) !important;
}

.form-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    text-align: left;
}

.form-subtitle {
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    text-align: left;
}

.form-body {
    padding: 0;
}

.form-body .row {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-body .col-md-6 {
    flex: 1 1 calc(50% - 1rem);
}

.form-body .col-12 {
    flex: 1 1 100%;
}

.form-control {
    background-color: #f1f1f1;
    height: 50px;
    color: #191a1e;
    border: none;
    font-size: 16px;
    font-weight: 400;
    -webkit-box-shadow: none;
    box-shadow: none;
    border-radius: 40px;
    padding: 0px 25px;
    /* border: 1px solid #e0e0e0; */
}

.form-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    text-align: left;
}

.btn-submit {
    background: var(--primary-color);
    border: none;
    border-radius: 12px;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    width: 100%;
    transition: background 0.3s ease, transform 0.3s ease;
    margin-top: 1.5rem;
    box-shadow: none;
}

.btn-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.alert-info-custom {
    background: var(--background-light);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Stats */

.stats-mini {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 1.5rem;
    margin-top: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item {
    text-align: center;
    color: white;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.stat-label {
    font-size: 0.95rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Responsive */

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .btn-hero {
        padding: 1rem 2rem;
        margin: 0.5rem;
        min-width: 160px;
    }

    .steps-section {
        padding: 4rem 0;
    }

    .steps-container {
        padding: 0 1rem;
    }

    .steps-title h2 {
        font-size: 2.2rem;
    }

    .steps-title p {
        font-size: 1.1rem;
    }

    .step-card {
        padding: 2.5rem 2rem;
    }

    .step-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }

    .step-title {
        font-size: 1.4rem;
    }

    .step-description {
        font-size: 0.95rem;
    }

    /* .form-body {
        padding: 3rem 2rem;
    } */

    .form-header {
        padding: 3rem 2rem;
    }

    .form-title {
        font-size: 2rem;
    }

    .social-icons {
        display: none;
    }
}

/* Animations */

.hero-content {
    animation: fadeInUp 1.2s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.step-card {
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-one {
    --animation-order: 1;
}

.step-two {
    --animation-order: 2;
}

.step-three {
    --animation-order: 3;
}

/* Modern scrollbar */

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

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

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Hero Stats Yeni Stiller */
.hero-stats {
    margin-top: 2rem;
    padding: 1rem 0;
}

.hero-stats .container {
    max-width: 800px; /* Container'ı daraltıyoruz */
}

.hero-stats .row {
    justify-content: center; /* Yatayda ortala */
    gap: 1rem; /* Kartlar arası boşluk */
}

.hero-stats .col-md-4 {
    padding: 0 0.5rem; /* Kolonlar arası boşluğu azalt */
    width: auto; /* Otomatik genişlik */
    flex: 0 0 auto; /* Flex grow ve shrink'i kapat */
}

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    aspect-ratio: 1;
    width: 180px; /* Sabit genişlik */
    padding: 1.5rem;
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.glass-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-info {
    color: white;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    background: linear-gradient(45deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-light);
}

@media (max-width: 768px) {
    .hero-stats {
        margin-top: 1.5rem;
    }
    
    .glass-card {
        width: 150px; /* Mobilde daha küçük */
        margin-bottom: 0.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }

    .hero-stats .row {
        gap: 0.5rem; /* Mobilde daha az boşluk */
    }
}

.initial-check-form {
    background: rgba(255, 255, 255, 0.05);
    /* padding: 2rem; */
    border-radius: 15px;
    /* margin-bottom: 2rem; */
}

#kayitFormDetay {
    transition: all 0.3s ease;
    opacity: 0;
}

#kayitFormDetay.visible {
    opacity: 1;
}

#adresSonuc {
    margin-top: 20px;
    border-radius: 10px;
    padding: 20px;
}

#adresSonuc h5 {
    margin-bottom: 15px;
    color: #2c3e50;
}

#adresSonuc p {
    margin-bottom: 10px;
}

#adresSonuc strong {
    color: #34495e;
}
