* { box-sizing: border-box; }

:root {
    --dark-bg: #121212; --light-bg: #F9F9F7;
    --accent-color: #D4AF37; --text-main: #1C1C1C;
    --text-muted: #6B6B6B; --border-color: #EBEBEB;
    --success-color: #10B981; --danger-color: #EF4444;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

body { font-family: 'Poppins', sans-serif; background: #fff; color: var(--text-main); margin: 0; padding: 0; line-height: 1.6; overflow-x: hidden; }
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 5%;
}
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
ul { list-style: none; padding: 0; margin: 0; }
button { font-family: 'Poppins', sans-serif; cursor: pointer; border: none; outline: none; transition: all 0.3s ease; }

/* ========================================= */
/* FULL WIDTH BANNER HERO                    */
/* ========================================= */
.full-width-banner {
    width: 100%;
    height: 75vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end; /* Məzmunu aşağıya sıxır */
    padding-bottom: 60px;
    margin-bottom: 60px;
    position: relative;
}

/* Banner içindəki mətnlərin stili */
.banner-content { color: #fff; position: relative; z-index: 10; width: 100%; }

.tour-meta-badges { display: flex; gap: 10px; margin-bottom: 15px; }
.badge { background: rgba(255,255,255,0.2); backdrop-filter: blur(5px); padding: 6px 12px; border-radius: 6px; font-size: 13px; font-weight: 600; color: #fff; border: 1px solid rgba(255,255,255,0.1); }
.badge.hot { background: var(--danger-color); color: #fff; border: none; }

.tour-title { font-size: 46px; font-weight: 700; margin-bottom: 15px; line-height: 1.2; text-shadow: 0 4px 15px rgba(0,0,0,0.3); text-transform: none; }

.tour-subtitle { display: flex; flex-wrap: wrap; gap: 20px; color: rgba(255,255,255,0.9); font-size: 15px; font-weight: 500; align-items: center; }
.tour-rating { display: flex; align-items: center; gap: 5px; color: #FEBB02; font-weight: 600; }
.tour-rating span { color: #fff; }
.review-count { color: rgba(255,255,255,0.7); font-weight: 400; text-decoration: underline; }
.tour-info-item {
    display: flex;
    align-items: center;
    gap: 6px;
}
.tour-info-item svg {
    color: var(--accent-color); /* İkonları qızılı edir */
}

/* ========================================= */
/* MƏZMUN VƏ REZERV QUTUSU                   */
/* ========================================= */
.tour-content-layout { display: grid; grid-template-columns: 2fr 1.1fr; gap: 80px; padding-bottom: 100px; }

/* Sol Tərəf */
.section-block { margin-bottom: 50px; padding-bottom: 40px; border-bottom: 1px solid var(--border-color); }
.section-block:last-child { border-bottom: none; }
.section-title { font-size: 24px; font-weight: 700; margin-bottom: 25px; color: var(--text-main); text-transform: none; }
.tour-desc { font-size: 16px; color: var(--text-muted); line-height: 1.8; }

/* Önə Çıxanlar */
.highlights-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.highlight-item { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; font-weight: 500; color: var(--text-main); background: var(--light-bg); padding: 15px; border-radius: 12px; }
.highlight-item svg { flex-shrink: 0; color: var(--accent-color); }

/* Daxildir / Daxil Deyil */
.inc-exc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.list-box h4 { font-size: 18px; margin-bottom: 20px; text-transform: none; }
.list-box ul { list-style: none; padding: 0; margin: 0; }
.list-box li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--text-muted); margin-bottom: 15px; }
.icon-check { color: var(--success-color); font-weight: bold; }
.icon-cross { color: var(--danger-color); font-weight: bold; }

/* Proqram (Timeline) */
.timeline { position: relative; padding-left: 30px; }
.timeline::before { content: ''; position: absolute; left: 6px; top: 10px; bottom: 10px; width: 2px; background: var(--border-color); }
.timeline-item { position: relative; margin-bottom: 30px; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot { position: absolute; left: -31px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent-color); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--accent-color); }
.day-badge { display: inline-block; font-size: 12px; font-weight: 700; color: #fff; background: var(--text-main); padding: 4px 10px; border-radius: 4px; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 1px; }
.day-title { font-size: 18px; font-weight: 600; margin-bottom: 10px; text-transform: none; }
.day-desc { font-size: 15px; color: var(--text-muted); line-height: 1.7; }

/* Sağ Tərəf: Sticky Qutu */
.booking-sidebar { position: sticky; top: 40px; align-self: start; z-index: 10; }
.booking-widget { background: #fff; border: 1px solid var(--border-color); border-radius: 20px; padding: 35px; box-shadow: 0 20px 50px rgba(0,0,0,0.06); }

.widget-header { margin-bottom: 25px; padding-bottom: 20px; border-bottom: 1px solid var(--border-color); }
.widget-old-price { font-size: 16px; color: #A0A0A0; text-decoration: line-through; margin-bottom: 5px; }
.widget-price { font-size: 32px; font-weight: 700; color: var(--text-main); display: flex; align-items: baseline; gap: 8px; }
.widget-price span { font-size: 15px; font-weight: 400; color: var(--text-muted); }

.booking-form { display: flex; flex-direction: column; gap: 15px; }
.input-group { border: 1px solid var(--border-color); border-radius: 10px; overflow: hidden; position: relative; }
.input-group label { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--text-muted); padding: 12px 15px 0; background: #fff; }
.input-group input, .input-group select { width: 100%; border: none; padding: 5px 15px 15px; font-family: 'Poppins', sans-serif; font-size: 15px; font-weight: 500; color: var(--text-main); outline: none; background: #fff; cursor: pointer; }

.total-price-box { display: flex; justify-content: space-between; align-items: center; font-size: 18px; font-weight: 700; margin-top: 10px; padding-top: 15px; border-top: 1px dashed var(--border-color); }

.submit-book { width: 100%; background: var(--accent-color); color: #fff; border: none; padding: 18px; border-radius: 10px; font-size: 16px; font-weight: 600; cursor: pointer; transition: all 0.3s; margin-top: 10px; text-transform: uppercase; letter-spacing: 1px; }
.submit-book:hover { background: #b8972e; transform: translateY(-2px); box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2); }

.trust-badges { display: flex; justify-content: center; gap: 15px; margin-top: 25px; color: var(--text-muted); font-size: 13px; font-weight: 500; }
.trust-badges div { display: flex; align-items: center; gap: 5px; }

@media (max-width: 1024px) {
    .tour-title { font-size: 32px; }
    .tour-content-layout { grid-template-columns: 1fr; gap: 50px; }
    .booking-sidebar { position: relative; top: 0; }
    .inc-exc-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
}

@media (max-width: 992px) {
    .tours-page-layout { grid-template-columns: 1fr; }
    .tours-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
    .nav-links { display: none; }
}


/* ========================================= */
/* 📱 TUR SƏHİFƏSİ ÜÇÜN TOTAL RESPONSİVLİK   */
/* ========================================= */

/* 1. Planşetlər və Kiçik Monitorlar (Max: 1024px) */
@media (max-width: 1024px) {
    .container { padding: 0 4%; }
    
    .full-width-banner { height: 60vh; }
    .tour-title { font-size: 36px; }

    .tour-content-layout { 
        grid-template-columns: 1fr; /* Yan qutunu aşağı salırıq */
        gap: 40px; 
    }

    .booking-sidebar { 
        position: relative; 
        top: 0; 
        order: -1; /* Rezerv qutusunu mobildə məlumatlardan yuxarıda göstərmək olar (istəyə bağlı) */
    }
}

/* 2. Standart Mobil Ekranlar (Max: 768px) */
@media (max-width: 768px) {
    /* Banner hissəsi */
    .full-width-banner { 
        height: auto; 
        padding: 120px 0 40px; /* Header üçün yer ayırırıq */
        margin-bottom: 30px;
    }
    
    .tour-title { 
        font-size: 28px; 
        margin-bottom: 20px;
    }

    .tour-subtitle {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    /* Grid-ləri tək sütuna salırıq */
    .highlights-grid, 
    .inc-exc-grid { 
        grid-template-columns: 1fr; 
        gap: 15px;
    }

    /* Timeline (Proqram) tənzimləməsi */
    .timeline { padding-left: 20px; }
    .timeline-dot { left: -21px; }
    .day-title { font-size: 17px; }

    /* Rezerv qutusu (Widget) */
    .booking-widget {
        padding: 25px 20px;
        border-radius: 15px;
    }

    .widget-price { font-size: 26px; }
    
    .submit-book {
        padding: 15px;
        font-size: 15px;
    }
}

/* 3. Kiçik Smartfonlar (Max: 480px) - iPhone SE və s. */
@media (max-width: 480px) {
    .tour-title { font-size: 24px; }
    
    .section-title { 
        font-size: 20px; 
        margin-bottom: 15px; 
    }

    .tour-desc { font-size: 15px; }

    .highlight-item { padding: 12px; }

    .day-badge { font-size: 10px; }

    /* Alt-alta elementlərin məsafəsini azaldırıq */
    .section-block {
        margin-bottom: 30px;
        padding-bottom: 25px;
    }

    /* Qiymət hissəsi */
    .total-price-box {
        font-size: 16px;
    }

    /* Trust badges (Mobildə alt-alta daha yaxşı görünür) */
    .trust-badges {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
}

