@import url("./bootstrap.min.css");
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css");
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap");

:root {
    --primary-color: #0066cc;
    --secondary-color: #1e293b;
    --accent-color: #3b82f6;
    --text-dark: #0f172a;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --gradient-start: #0066cc;
    --gradient-end: #3b82f6;

    /* === PROGRAM SAYFASI EK DEĞİŞKENLER === */
    --dark-bg: #0f172a;
    --card-bg: #1e293b;
    --text-light-bg: #f1f5f9;
    --text-muted-dark: #94a3b8;
    --primary-dark: #1d4ed8;
    --accent-glow: rgba(59, 130, 246, 0.4);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* ================= NAVIGATION ================= */
.navbar {
    z-index: 9999;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-dark);
}

.nav-link {
    color: var(--text-light);
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.btn-primary-custom {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 102, 204, 0.3);
    color: white;
}

.btn-outline-custom {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    background: transparent;
    transition: all 0.3s;
}

.btn-outline-custom:hover {
    background: var(--primary-color);
    color: white;
}

/* === Program Sayfası Buton Stilleri === */
.btn-light-custom {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-light-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
    color: var(--primary-dark);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    background: transparent;
    transition: all 0.3s;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* ================= HERO SECTION ================= */
.hero-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

/* === Program Sayfası Hero Stilleri === */
.hero-section.dark-hero {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(14, 165, 233, 0.1));
}

.hero-section.dark-hero::before {
    background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(37, 99, 235, 0.2);
    border: 1px solid var(--primary-color);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-weight: 500;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.hero-section.dark-hero .hero-title {
    background: linear-gradient(135deg, #fff, var(--accent-color));
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-section.dark-hero .hero-subtitle {
    color: var(--text-muted-dark);
}

.hero-image {
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: auto;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    display: block;
}

.hero-section.dark-hero .stat-number {
    color: var(--accent-color);
}

.stat-label {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.hero-section.dark-hero .stat-label {
    color: var(--text-muted-dark);
}

/* ================= SERVICES & FEATURES ================= */
.services-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.service-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #e2e8f0;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.service-card.dark {
    background: var(--secondary-color);
    color: white;
}

.service-card.dark .service-icon {
    background: rgba(255, 255, 255, 0.1);
}

.service-card.dark h3 {
    color: white;
}

.service-card.dark .list-unstyled li {
    color: #94a3b8;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.service-list li {
    padding: 0.5rem 0;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-list li i {
    color: var(--primary-color);
    font-size: 0.875rem;
}

/* === Program Sayfası Feature Card Stilleri === */
.feature-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    transition: transform 0.3s, border-color 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-light-bg);
}

.feature-desc {
    color: var(--text-muted-dark);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ================= SOLUTIONS GRID ================= */
.solutions-section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.section-header.dark-header .section-title,
.section-header.dark-header .section-subtitle {
    color: var(--text-light-bg);
}

.section-header.dark-header .section-subtitle {
    color: var(--text-muted-dark);
}

.solution-card {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s;
    height: 100%;
}

.solution-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
}

.solution-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* ================= MAP OFFICE / DARK SECTION ================= */
.map-office-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.map-office-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></svg>');
    opacity: 0.3;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.feature-list li {
    padding: 1rem 0;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-list i {
    color: #3b82f6;
    margin-top: 0.25rem;
}

.feature-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.feature-desc {
    color: #94a3b8;
    font-size: 0.875rem;
}

/* === Program Sayfası Benefit List === */
.benefit-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.benefit-check {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.75rem;
    color: white;
}

/* ================= STEPS SECTION ================= */
.steps-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.step-item {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
    position: relative;
    z-index: 1;
}

.step-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.step-desc {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* ================= PRICING SECTION ================= */
.pricing-section {
    padding: 5rem 0;
}

.pricing-card {
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
    height: 100%;
    position: relative;
}

.pricing-card.popular {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 102, 204, 0.15);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 1rem 0;
}

.price span {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    text-align: left;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pricing-features li i {
    color: #10b981;
}

/* ================= DEMO SECTION (Program Sayfası) ================= */
.demo-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, transparent, rgba(30, 41, 59, 0.3));
}

.demo-container {
    background: var(--card-bg);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.demo-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.demo-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.demo-dot.red {
    background: #ef4444;
}

.demo-dot.yellow {
    background: #f59e0b;
}

.demo-dot.green {
    background: #22c55e;
}

.demo-body {
    padding: 2rem;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(45deg, rgba(37, 99, 235, 0.1) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(37, 99, 235, 0.1) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(37, 99, 235, 0.1) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(37, 99, 235, 0.1) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

.demo-placeholder {
    text-align: center;
    color: var(--text-muted-dark);
}

.demo-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
    color: var(--accent-color);
}

/* ================= CTA SECTION (Program Sayfası) ================= */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 24px;
    padding: 4rem;
    text-align: center;
    margin: 3rem 0;
    color: white;
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-text {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
}

/* ================= GALLERY SECTION ================= */
.gallery-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    height: 250px;
    position: relative;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 102, 204, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

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

/* ================= TESTIMONIALS ================= */
.testimonials-section {
    padding: 5rem 0;
}

.testimonial-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.testimonial-text {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.author-info h5 {
    margin: 0;
    font-weight: 600;
}

.author-info p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.875rem;
}

/* ================= FAQ / ACCORDION (Program Sayfası) ================= */
.accordion-item {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 0.75rem;
    border-radius: 12px !important;
    overflow: hidden;
}

.accordion-button {
    background: transparent;
    color: var(--text-light-bg);
    font-weight: 500;
    padding: 1.25rem 1.5rem;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    background: rgba(37, 99, 235, 0.1);
    color: var(--accent-color);
}

.accordion-button::after {
    filter: invert(1);
    flex-shrink: 0;
}

.accordion-body {
    color: var(--text-muted-dark);
    padding: 0 1.5rem 1.25rem;
    line-height: 1.6;
}

.accordion-body a {
    color: var(--accent-color);
    text-decoration: none;
}

.accordion-body a:hover {
    text-decoration: underline;
}

/* ================= CONTACT SECTION ================= */
.contact-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-control {
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-control.bg-dark {
    background: var(--dark-bg) !important;
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-light-bg);
}

.form-control.bg-dark::placeholder {
    color: var(--text-muted-dark);
}

.form-control.bg-dark:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.3);
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    min-height: 400px;
    background: #e2e8f0;
}

/* ================= FOOTER ================= */
footer {
    background: var(--secondary-color);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-link {
    color: #94a3b8;
    text-decoration: none;
    display: block;
    padding: 0.25rem 0;
    transition: color 0.3s;
}

.footer-link:hover {
    color: white;
}

.footer-title {
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-links a {
    color: #94a3b8;
    font-size: 1.25rem;
    margin-right: 1rem;
    transition: color 0.3s;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.social-links a:hover {
    color: white;
    background: var(--primary-color);
}

/* ================= ANIMATIONS & UTILITIES ================= */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s, transform 0.6s;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === Program Sayfası Ek Animasyonlar === */
@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(59, 130, 246, 0.6);
    }
}

.glow-on-hover:hover {
    animation: pulse-glow 2s infinite;
}

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

/* ================= HEADER PAGE STYLES ================= */
.logo-image {
    filter: invert(41%) sepia(95%) saturate(2000%) hue-rotate(200deg) brightness(90%) contrast(95%);
}

.header {
    min-height: 220px;
    background: #f8f9fa;
    padding: 40px 0;
}

.header .container {
    height: 100%;
}

.header h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 5px;
}

.header .breadcrumb {
    font-size: 14px;
    color: #888;
}

.header .breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.header .breadcrumb a:hover {
    text-decoration: underline;
}

.header .page-desc {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

/* Dikey ortalama için */
.header .row {
    min-height: 220px;
}

/* === Program Sayfası Header Dark Variant === */
.header.dark-header {
    background: linear-gradient(135deg, var(--dark-bg), var(--card-bg));
}

.header.dark-header h1 {
    color: var(--text-light-bg);
}

.header.dark-header .breadcrumb {
    color: var(--text-muted-dark);
}

.header.dark-header .breadcrumb a {
    color: var(--accent-color);
}

.header.dark-header .page-desc {
    color: var(--text-muted-dark);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .cta-section {
        padding: 3rem 2rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .stat-item {
        padding: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .pricing-card.popular {
        transform: scale(1);
    }

    .cta-section {
        padding: 2.5rem 1.5rem;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .cta-text {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .demo-body {
        min-height: 300px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 4rem 0 3rem;
    }

    .section {
        padding: 3rem 0;
    }

    .feature-card,
    .service-card,
    .solution-card {
        padding: 1.5rem;
    }

    .benefit-item {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ================= DARK MODE BODY VARIANT ================= */
body.dark-page {
    background: var(--dark-bg);
    color: var(--text-light-bg);
}

body.dark-page .navbar {
    background: rgba(15, 23, 42, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-page .navbar-brand {
    color: var(--text-light-bg) !important;
}

body.dark-page .nav-link {
    color: var(--text-muted-dark) !important;
}

body.dark-page .nav-link:hover,
body.dark-page .nav-link.active {
    color: var(--accent-color) !important;
}

/* ================= PRINT STYLES ================= */
@media print {

    .navbar,
    .footer,
    .btn-primary-custom,
    .btn-outline-custom,
    .cta-section {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .hero-section {
        background: white !important;
        padding: 2rem 0;
    }

    .hero-title {
        color: black !important;
        -webkit-text-fill-color: black;
    }
}