* {
    box-sizing: border-box;
    /* word-wrap: break-word; - Bu sətri əgər əvvəl əlavə etmisinizsə, mütləq silin, bəzən mətnləri pis bölür */
}

/* Qlobal Və Müasir Rəng Palitrası */
:root {
    --dark-bg: #121212;
    --light-bg: #F9F9F7;
    --accent-color: #D4AF37; 
    --text-main: #1C1C1C;
    --text-muted: #6B6B6B;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light-bg);
    color: var(--text-main);
    margin: 0;
    line-height: 1.6;
    /* Düzgün horizontal overflow həlli budur: yalnız body-də saxlayırıq */
    overflow-x: hidden; 
    width: 100%;
}

h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 5%;
}

a { text-decoration: none; color: inherit; transition: all 0.4s ease; }
ul { list-style: none; padding: 0; margin: 0; }
button { font-family: 'Poppins', sans-serif; cursor: pointer; border: none; outline: none; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); }

/* Hero Section */
.hero {
    height: 100vh;
    /* Dərin dark overlay: yuxarıdan aşağıya tündləşən qradiyent */
    background-image: linear-gradient(180deg, rgba(18, 18, 18, 0.3) 0%, rgba(18, 18, 18, 0.8) 100%), url('https://images.pexels.com/photos/36723444/pexels-photo-36723444.jpeg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 10;
    color: #fff;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 50px; /* Header üçün boşluq */
}

.hero-text-wrap {
    text-align: center;
    max-width: 900px;
    margin-bottom: 60px;
    animation: fadeInDown 1s ease-out;
}

.hero-subtitle {
    font-size: 14px;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--accent-color);
    font-weight: 500;
}

.hero-text-wrap h1 {
    font-size: 5vw;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: 2px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.hero-text-wrap p {
    font-size: 18px;
    font-weight: 300;
    max-width: 650px;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.8;
    text-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

/* Million Dollar Search Widget (Glassmorphism) */
.premium-search-widget {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08); /* Şüşə effekti */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    padding: 10px 10px 10px 40px;
    width: 100%;
    max-width: 1000px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

.search-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

.search-group label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 5px;
}

.search-group input, .search-group select {
    background: transparent;
    border: none;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 400;
    outline: none;
    width: 100%;
    cursor: pointer;
}

.search-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Tarix inputu üçün iconun rəngini ağ etmək */
.search-group input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

.search-group select option {
    background-color: var(--dark-bg);
    color: #fff;
}

.widget-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    margin: 0 30px;
}

.search-submit-btn {
    background-color: var(--accent-color);
    color: #fff;
    height: 60px;
    padding: 0 40px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.search-submit-btn:hover {
    background-color: #b8972e;
    transform: scale(1.02);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.3);
}

/* Sadə animasiyalar */
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 992px) {
    .premium-search-widget {
        flex-direction: column;
        border-radius: 20px;
        padding: 30px;
        gap: 20px;
    }
    .widget-divider {
        width: 100%;
        height: 1px;
        margin: 10px 0;
    }
    .search-submit-btn { width: 100%; justify-content: center; margin-top: 10px; }
    .search-group { width: 100%; }
}

/* Fəlsəfə / Dəyərlər */
/* ------------------------------------- */
/* YENİ KONSEPT: Niyə Bizi Seçməlisiniz? */
/* ------------------------------------- */
.philosophy { 
    padding: 140px 0; 
    background-color: var(--light-bg); 
    position: relative;
    overflow: hidden;
}

/* Arxa fondakı zərif dekorativ dairə */
.philosophy::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, rgba(212, 175, 55, 0) 70%);
    z-index: 1;
}

.philosophy .container {
    position: relative;
    z-index: 2;
}

.philosophy-header { 
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 80px; 
    max-width: 600px;
}

.philosophy-subtitle {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.philosophy-subtitle::before {
    content: '';
    width: 40px;
    height: 1px;
    background-color: var(--accent-color);
}

.philosophy-title { 
    font-size: 42px; 
    color: var(--text-main); 
    margin-bottom: 20px; 
    line-height: 1.2;
    text-transform: none; /* Premium oxunaqlılıq üçün */
}

.philosophy-desc { 
    color: var(--text-muted); 
    font-size: 16px; 
    font-weight: 300; 
    line-height: 1.8;
}

/* Assimetrik Grid Konsepti */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: center;
}

.philosophy-card {
    background: #fff;
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.03);
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0,0,0,0.02);
    overflow: hidden;
    z-index: 2;
}

/* Kartların Assimetrik düzülüşü */
.philosophy-card:nth-child(2) {
    transform: translateY(40px); /* Ortadakı kart bir az aşağıda durur */
}

.philosophy-card:nth-child(3) {
    background: var(--dark-bg); /* Üçüncü kart premium kontrast yaradır */
    color: #fff;
}

.philosophy-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
    border-color: rgba(212, 175, 55, 0.2);
}

.philosophy-card:nth-child(2):hover { transform: translateY(30px); }

/* Arxa fondakı böyük rəqəm (Su nişanı effekti) */
.card-number {
    position: absolute;
    top: -20px;
    right: -10px;
    font-size: 150px;
    font-weight: 700;
    color: rgba(0,0,0,0.1);
    font-family: 'Poppins', sans-serif;
    z-index: 0;
    line-height: 1;
    transition: color 0.4s ease;
}

.philosophy-card:nth-child(3) .card-number {
    color: rgba(255,255,255,0.03);
}

.philosophy-card:hover .card-number {
    color: rgba(212, 175, 55, 0.1);
}

.card-content {
    position: relative;
    z-index: 10;
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-bg);
    color: var(--accent-color);
    margin-bottom: 30px;
    transition: all 0.4s ease;
}

.philosophy-card:nth-child(3) .card-icon {
    background: rgba(255,255,255,0.05);
}

.philosophy-card:hover .card-icon {
    background: var(--accent-color);
    color: #fff;
}

.card-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
    text-transform: none;
}

.philosophy-card:nth-child(3) .card-title { color: #fff; }

.card-text {
    font-size: 15px;
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.7;
}

.philosophy-card:nth-child(3) .card-text { color: #A0A0A0; }

@media (max-width: 992px) {
    .philosophy-grid { grid-template-columns: 1fr; gap: 30px; }
    .philosophy-card:nth-child(2) { transform: translateY(0); }
    .philosophy-card:nth-child(2):hover { transform: translateY(-10px); }
    .philosophy-header { margin-bottom: 50px; }
}


/* Seçilmiş Turlar */
/* ------------------------------------- */
/* YENİ KONSEPT: Satış Yönümlü Turlar    */
/* ------------------------------------- */
.featured-tours { 
    padding: 120px 0; 
    background-color: #F7F9FC; /* Gözü yormayan, etibarlı açıq fon */
    position: relative;
}

.tours-header-wrapper {
    text-align: center;
    margin-bottom: 60px;
}

.tours-title-box .section-subtitle {
    color: var(--accent-color);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 10px;
    display: inline-block;
}

.tours-title-box h2 {
    font-size: 38px;
    margin: 0;
    color: #1A1A1A;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

/* Satış yönümlü Grid */
.tours-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.tour-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #EBEBEB;
    display: flex;
    flex-direction: column;
}

.tour-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.tour-img-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.tour-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.tour-card:hover .tour-img {
    transform: scale(1.05);
}

/* Endirim Teqi (FOMO effekti) */
.discount-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #E63946; /* Diqqət çəkən qırmızı */
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(230, 57, 70, 0.3);
}

/* Qalan Yer Xəbərdarlığı */
.urgency-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    backdrop-filter: blur(4px);
}

.tour-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.tour-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.tour-location {
    font-size: 13px;
    color: #737373;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}

.tour-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    color: #FEBB02; /* Ulduz rəngi */
}

.tour-rating span { color: #1A1A1A; margin-left: 2px; }

.tour-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1A1A1A;
    line-height: 1.3;
}

.tour-features {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #595959;
}

.tour-feature {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Qiymət və Düymə Hissəsi */
.tour-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #EBEBEB;
}

.price-box {
    display: flex;
    flex-direction: column;
}

.old-price {
    font-size: 13px;
    color: #A0A0A0;
    text-decoration: line-through;
    margin-bottom: -2px;
}

.current-price {
    font-size: 22px;
    font-weight: 700;
    color: #1A1A1A;
}

.current-price span {
    font-size: 13px;
    font-weight: 400;
    color: #737373;
}

.book-btn {
    background-color: var(--accent-color);
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-transform: none;
    transition: background-color 0.2s;
}

.book-btn:hover {
    background-color: #0052B3;
}

@media (max-width: 992px) {
    .tours-grid { grid-template-columns: 1fr; gap: 30px; }
    .tour-title { font-size: 18px; }
}


/* Müştəri Rəyləri */
.reviews { padding: 120px 0; background-color: var(--light-bg); text-align: center; }
.review-content { max-width: 900px; margin: 0 auto; }
.quote-icon { font-size: 60px; color: var(--accent-color); margin-bottom: 20px; font-weight: 700; line-height: 1; }
.review-text { font-size: 28px; font-weight: 400; line-height: 1.5; color: var(--text-main); margin-bottom: 40px; }
.reviewer-name { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; }

@media (max-width: 992px) {
    .philosophy-grid, .tours-grid { 
        grid-template-columns: 1fr; 
        gap: 30px; 
    }
    .hero-content h1 { 
        font-size: 40px; 
        margin-top: 15px;
    }

    /* Ağ zolağın əsas səbəbkarı ola biləcək elementləri məhdudlaşdırırıq */
    .premium-search-widget {
        max-width: 100%;
    }
    
    .hero-text-wrap p {
        width: 100%;
        padding: 0 10px;
    }

    .hero {
        /* Ensure the hero has enough height and padding for the header */
        height: auto;
        min-height: 100vh;
        padding-top: 100px; /* Adjust this value based on your header height */
        padding-bottom: 50px;
        display: flex;
        align-items: flex-start; /* Better for mobile scrolling than 'center' */
    }

    .hero-content {
        margin-top: 0; /* Remove the manual margin in favor of hero padding */
    }

    .hero-text-wrap h1 {
        font-size: 10vw; /* Increases size slightly for mobile readability */
        margin-top: 20px;
    }
}
