/* ====== CSS DEĞİŞKENLERİ (RENKLER) ====== */
:root {
    --primary-color: #2196F3;
    --primary-dark: #1976D2;
    --primary-light: #BBDEFB;
    --secondary-color: #03A9F4;
    --white-color: #FFFFFF;
    --light-bg: #F5F9FC;
    --dark-bg: #1a1a1a;
    --text-dark: #333333;
    --text-muted: #6c757d;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.15);
}

/* ====== GENEL AYARLAR ====== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ====== NAVBAR STİLLERİ (SABİT/STICKY) ====== */

/* NAVBAR GENEL */
.navbar {
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    min-height: 64px;
    z-index: 1000;
}

/* MARKA / LOGO ALANI */
.navbar-brand {
    font-size: 1.5rem;
    color: var(--primary-color) !important;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
}

    .navbar-brand:hover {
        transform: scale(1.05);
    }

/* LOGO KUTUSU – NAVBAR SABİT KALSIN, LOGO BÜYÜK GÖRÜNSÜN */
.logo-box {
    width: 55px; /* Logo alanının genişliği */
    height: 55px; /* Logo alanının yüksekliği */
    overflow: hidden; /* Logonun taşan kısmını gizler */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

/* LOGO BÜYÜK YÜKLENECEK (KALİTE KAYBI YOK) */
.logo-big {
    width: 120px; /* Logo gerçekte büyük */
    height: 120px;
    object-fit: cover; /* Alanı doldurur */
    image-rendering: auto;
    -webkit-user-drag: none;
}

/* NAV LİNKLER */
.nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
    position: relative;
}

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 2px;
        background: var(--primary-color);
        transition: all 0.3s ease;
        transform: translateX(-50%);
    }

    .nav-link:hover::after {
        width: 60%;
    }

    .nav-link:hover {
        color: var(--primary-color) !important;
    }

/* GİRİŞ YAP BUTONU */
.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
}

    .btn-outline-primary:hover {
        background: var(--primary-color);
        color: var(--white-color);
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }


/* ====== HERO SECTION (ANASAYFA) ====== */
/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--white-color) 100%);
    position: relative;
    overflow: hidden;
}

    .hero-section::before {
        content: '';
        position: absolute;
        top: -40%;
        right: -20%;
        width: 80%;
        height: 150%;
        background: linear-gradient(135deg, var(--primary-light) 0%, transparent 70%);
        border-radius: 50%;
        opacity: 0.25;
        z-index: 0;
    }

    /* İçerik ön planda */
    .hero-section .container {
        position: relative;
        z-index: 1;
    }

    /* Animasyonlar */
    .hero-section h1 {
        animation: fadeInUp 0.8s ease;
    }

    .hero-section .lead {
        animation: fadeInUp 1s ease;
    }

    .hero-section .btn {
        animation: fadeInUp 1.2s ease;
    }

/* ===== FOTOĞRAF TARAFI ===== */
.hero-image-wrapper {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    width: 100%;
    max-width: 450px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    object-fit: cover;
    animation: fadeInUp 1.2s ease;
}

/* ===== SECTION BAŞLIKLARI ===== */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 0;
        width: 60px;
        height: 4px;
        background: var(--secondary-color);
        border-radius: 2px;
    }


/* ====== HAKKIMIZDA BÖLÜMÜ ====== */
.about-section {
    background: var(--white-color);
}

/* Görsel kutusu */
.about-image-wrapper {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--light-bg) 100%);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

/* Yazılım / UI tarzı görsel */
.about-image {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Fotoğraf değil, UI ekranı olduğu için contain en iyisi */
    animation: fadeInUp 1s ease;
}


/* ====== PAKETLER BÖLÜMÜ (KART YAPISI) ====== */
.packages-section {
    background: var(--light-bg);
}

.package-card {
    background: var(--white-color);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .package-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-lg);
    }

    .package-card.featured {
        border: 3px solid var(--primary-color);
        transform: scale(1.05);
    }

.package-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--primary-color);
    color: var(--white-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.package-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white-color);
}

.package-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.package-description {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.package-price {
    margin: 1.5rem 0;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price-currency {
    font-size: 1.5rem;
    color: var(--text-muted);
}

.package-card .btn {
    margin-top: auto;
}

/* ====== İLETİŞİM BÖLÜMÜ ====== */
/* ===== İLETİŞİM BÖLÜMÜ GENEL ===== */
.contact-section {
    background: var(--white-color);
}

/* ===== EŞİT YÜKSEKLİK (EN ÖNEMLİ KISIM) ===== */
.contact-row {
    display: flex;
    align-items: stretch; /* her iki alan yüksekliği eşit olur */
}

.contact-form-wrapper,
.contact-info-wrapper {
    height: 100%; /* eşitleme */
}


/* ===== FORM TARAFI ===== */
.contact-form-wrapper {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}

.form-control {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem;
    transition: border-color 0.3s ease;
}

    .form-control:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 0.2rem rgba(33, 150, 243, 0.15);
    }


/* ===== İLETİŞİM BİLGİLERİ TARAFI ===== */
.contact-info-wrapper {
    padding: 1rem;
    height: 100%;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 10px;
    transition: all 0.3s ease;
}

    .contact-info-item:hover {
        transform: translateX(10px);
        box-shadow: var(--shadow-sm);
    }

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-details h5 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-details p {
    margin: 0;
    color: var(--text-muted);
}


/* ===== OPSİYONEL HARİTA/PLACEHOLDER ===== */
.map-placeholder {
    background: var(--light-bg);
    border: 2px dashed var(--border-color);
    border-radius: 10px;
    height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

    .map-placeholder i {
        font-size: 3rem;
        opacity: 0.5;
    }


/* ====== GİRİŞ YAP BÖLÜMÜ ====== */
.login-section {
    background: var(--light-bg);
}

.login-wrapper {
    background: var(--white-color);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.login-icon {
    font-size: 4rem;
    color: var(--primary-color);
}

.input-group-text {
    background: var(--primary-light);
    border: 2px solid var(--border-color);
    border-right: none;
    color: var(--primary-color);
}

.input-group .form-control {
    border-left: none;
}

    .input-group .form-control:focus {
        border-color: var(--border-color);
    }

.login-wrapper .btn-primary {
    padding: 0.75rem;
    font-weight: 600;
}

.login-wrapper a {
    text-decoration: none;
    transition: color 0.3s ease;
}

    .login-wrapper a:hover {
        color: var(--primary-color) !important;
    }
/* Sekmeler */
.nav-tabs .nav-link {
    color: var(--text-dark);
    font-weight: 600;
    border: none;
    padding: 0.75rem 1.5rem;
}

    .nav-tabs .nav-link.active {
        color: var(--primary-color);
        border-bottom: 3px solid var(--primary-color);
        background: transparent;
    }

/* Tab içerik animasyonu */
.tab-pane {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ====== FOOTER (ALT BİLGİ) ====== */
.footer-section {
    background: var(--dark-bg);
}

/* Logo ayrı bir alanda – tasarımı bozmaz */
.footer-logo-container {
    display: flex;
    justify-content: center;
}

.footer-logo {
    height: 150px; /* 250 yerine mantıklı görünen boy */
    width: 150px;
    object-fit: contain;
    border-radius: 12px;
    margin-bottom: 10px;
}

/* Başlıklar */
.footer-section h5,
.footer-section h6 {
    color: var(--white-color);
}

/* Linkler */
.footer-section a {
    text-decoration: none;
    transition: all 0.3s ease;
}

    .footer-section a:hover {
        color: var(--primary-light) !important;
        padding-left: 4px;
    }

/* Sosyal medya ikonları */
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

    .social-links a:hover {
        background: var(--primary-color);
        transform: translateY(-3px);
    }

.footer-logo {
    height: 250px;
    width: 250px;
    object-fit: contain;
    border-radius: 8px; /* İstersen: 50% yaparak yuvarlak logo da olur */
}

/* ====== BUTONLAR ====== */
.btn-primary {
    background: var(--primary-color);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .btn-primary:hover {
        background: var(--primary-dark);
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* ====== ANİMASYONLAR ====== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* ====== RESPONSİVE TASARIM ====== */
@media (max-width: 992px) {
    .section-title {
        font-size: 2rem;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-image-wrapper,
    .about-image-wrapper {
        height: 300px;
    }

    .hero-icon {
        font-size: 120px;
    }

    .about-icon {
        font-size: 100px;
    }
}

@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.25rem;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .package-card.featured {
        transform: scale(1);
    }

    .login-wrapper {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 1.75rem;
    }

    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    .contact-info-item {
        flex-direction: column;
        text-align: center;
    }

    .contact-icon {
        margin: 0 auto 1rem;
    }
}
