/* Genel Ayarlar */
:root {
    --primary-color: #0056b3; /* Koyu Mavi */
    --secondary-color: #28a745; /* Yeşil */
    --text-color: #333;
    --light-bg: #f8f9fa;
    --border-color: #ddd;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

ul {
    list-style: none;
}

h1, h2, h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

p {
    margin-bottom: 10px;
}

/* Butonlar */
.btn {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #004085;
}

.btn-secondary {
    background: var(--secondary-color);
}

.btn-secondary:hover {
    background: #218838;
}

/* Header */
.main-header {
    background: #fff;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: relative; /* Menu toggle için */
}

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

.logo a {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color);
}

.logo .highlight {
    color: var(--secondary-color);
}

.main-nav .nav-links {
    display: flex;
}

.main-nav .nav-links li {
    margin-left: 25px;
}

.main-nav .nav-links a {
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-nav .nav-links a:hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: none; /* Masaüstünde gizli */
    background: transparent;
    border: none;
    font-size: 28px;
    color: var(--primary-color);
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    background: url('images/antalya_vize_bg.jpg') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 100px 20px;
    position: relative;
}

.hero-section::before { /* Karartma efekti */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #fff; /* Başlık rengi beyaz */
}

.hero-section p {
    font-size: 20px;
    margin-bottom: 30px;
}

/* Features Section */
.features-section {
    background: var(--light-bg);
    padding: 60px 0;
    text-align: center;
}

.features-section h2 {
    margin-bottom: 40px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-item {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-item h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* Visa Types Section */
.visa-types-section {
    padding: 60px 0;
    text-align: center;
}

.visa-types-section h2 {
    margin-bottom: 40px;
}

.visa-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.visa-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease;
    text-align: left;
}

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

.visa-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.visa-card h3 {
    padding: 15px 20px 0;
    font-size: 22px;
    color: var(--primary-color);
}

.visa-card p {
    padding: 0 20px 20px;
    color: var(--text-color);
}

/* CTA Section */
.cta-section {
    background: var(--primary-color);
    color: #fff;
    text-align: center;
    padding: 60px 20px;
    margin-top: 40px;
}

.cta-section h2 {
    color: #fff;
    font-size: 36px;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 30px;
}

/* Footer */
.main-footer {
    background: var(--text-color);
    color: #fff;
    padding: 40px 0 20px;
    font-size: 14px;
}

.main-footer .footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.main-footer .footer-col h3 {
    color: #fff;
    margin-bottom: 15px;
}

.main-footer .footer-col ul {
    list-style: none;
}

.main-footer .footer-col ul li {
    margin-bottom: 10px;
}

.main-footer .footer-col a {
    color: #ccc;
    transition: color 0.3s ease;
}

.main-footer .footer-col a:hover {
    color: #fff;
}

.main-footer .footer-col i {
    margin-right: 8px;
    color: var(--secondary-color);
}

.main-footer .footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    margin-top: 20px;
    color: #ccc;
}


/* Mobil Uyumlu Tasarım (Responsive Design) */
@media (max-width: 768px) {
    .main-header .container {
        flex-wrap: wrap; /* Küçük ekranlarda sarmalamasını sağlar */
    }

    .main-nav {
        width: 100%;
        order: 3; /* Menüyü en alta taşır */
        margin-top: 20px;
    }

    .main-nav .nav-links {
        flex-direction: column;
        display: none; /* Varsayılan olarak gizli */
        width: 100%;
        text-align: center;
    }

    .main-nav .nav-links.active { /* JavaScript ile açılacak */
        display: flex;
    }

    .main-nav .nav-links li {
        margin: 10px 0;
    }

    .menu-toggle {
        display: block; /* Mobil cihazlarda göster */
        margin-left: auto; /* Sağ tarafa hizala */
    }

    .hero-section h1 {
        font-size: 36px;
    }

    .hero-section p {
        font-size: 16px;
    }

    .feature-grid, .visa-grid {
        grid-template-columns: 1fr; /* Tek sütunlu düzen */
    }

    .main-footer .footer-content {
        grid-template-columns: 1fr; /* Tek sütunlu düzen */
        text-align: center;
    }

    .main-footer .footer-col ul {
        padding-left: 0;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 60px 15px;
    }

    .hero-section h1 {
        font-size: 30px;
    }

    .btn {
        padding: 8px 15px;
        font-size: 14px;
    }
}

/* Sayfa Başlıkları (page-hero) */
.page-hero {
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 80px 20px;
    position: relative;
    margin-bottom: 40px;
}

.page-hero::before { /* Karartma efekti */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-size: 42px;
    margin-bottom: 10px;
    color: #fff;
}

.page-hero p {
    font-size: 18px;
    color: #fff;
}

/* İçerik Bölümü */
.content-section {
    padding: 20px 0 60px;
}

.content-wrapper {
    display: flex;
    gap: 30px;
    flex-wrap: wrap; /* Küçük ekranlarda sarmalama */
}

.main-content {
    flex: 3; /* Ana içeriğin daha fazla yer kaplamasını sağlar */
    min-width: 300px; /* Minimum genişlik */
}

.main-content h2 {
    font-size: 30px;
    margin-top: 30px;
}

.main-content h3 {
    font-size: 24px;
    margin-top: 25px;
}

.main-content ul, .main-content ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.main-content ul li, .main-content ol li {
    margin-bottom: 8px;
}

/* Sidebar */
.sidebar {
    flex: 1; /* Yan çubuğun daha az yer kaplamasını sağlar */
    min-width: 250px; /* Minimum genişlik */
    background: var(--light-bg);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    align-self: flex-start; /* İçerik akışını takip etmesini sağlar */
}

.sidebar h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.sidebar ul {
    list-style: none;
    margin-bottom: 30px;
}

.sidebar ul li {
    margin-bottom: 10px;
}

.sidebar ul li a {
    color: var(--text-color);
    transition: color 0.3s ease;
}

.sidebar ul li a:hover {
    color: var(--primary-color);
}

.contact-card {
    text-align: center;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.contact-card p {
    margin-bottom: 10px;
}

.contact-card i {
    margin-right: 8px;
    color: var(--primary-color);
}

/* Sıkça Sorulan Sorular (FAQ) */
.faq-section {
    margin-top: 40px;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
}

.faq-section h3 {
    margin-bottom: 25px;
    text-align: center;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 5px;
    margin-bottom: 10px;
    overflow: hidden;
}

.faq-question {
    background: var(--light-bg);
    padding: 15px 20px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    background: #fff;
}

.faq-item.active .faq-answer {
    max-height: 200px; /* Cevap yüksekliğine göre ayarlanabilir */
    padding: 15px 20px;
}

/* Call to Action (CTA) bottom */
.cta-bottom {
    background: var(--secondary-color);
    color: #fff;
    text-align: center;
    padding: 40px 20px;
    margin-top: 40px;
    border-radius: 8px;
}

.cta-bottom h2 {
    color: #fff;
    font-size: 28px;
    margin-bottom: 15px;
}

/* Mobil uyumluluk için ek düzenlemeler */
@media (max-width: 768px) {
    .content-wrapper {
        flex-direction: column; /* İçerik ve sidebar alt alta */
    }

    .main-content, .sidebar {
        min-width: auto; /* Minimum genişliği kaldır */
        width: 100%;
    }

    .sidebar {
        margin-top: 30px; /* Biraz boşluk bırak */
    }
    
    .page-hero h1 {
        font-size: 36px;
    }
}