/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

body {
    background-color: #f9fafb;
    color: #333;
    line-height: 1.6;
}

.hero {
    position: relative;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('/static/covers/image.png') center/cover no-repeat;
    filter: blur(4px);
    transform: scale(1.05);
    z-index: 0;
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
}

.hero-content h1 {
    font-size: 52px;
    margin-bottom: 12px;
    font-weight: 800;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 18px;
    opacity: 0.9;
}

.hero-nav {
  position: absolute;
  top: 15px;
  left: 20px;
  font-size: 20px;
  color: #ffffff;
  z-index: 1000;
}

.hero-nav a {
  color: #ffffff;  /* linklar uchun rang */
  text-decoration: none;
  margin: 0 8px;
}

.hero-nav .divider {
  color: #ffffff;  /* divider uchun ham rang */
}


.contact-popup {
    position: absolute;
    top: 60px;
    left: 0;
    background: rgba(225, 221, 221, 0.95);
    color: #171717;
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(253, 253, 253, 0.15);
    display: none;
    min-width: 200px;
}

.contact-popup.show {
    display: block;
}

.contact-popup p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}


/* Button */
.btn-primary {
    padding: 12px 22px;
    background: white;
    color: #1d4ed8;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
}


.btn-primary:hover {
    background-color: #e0e7ff;
}

/* SECTION */
.section {
    padding: 60px 10%;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
}

/* TOURS */
.tour-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.tour-card {
    background: white;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}

.tour-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.tour-card h3 {
    margin-bottom: 10px;
    font-size: 30px;
}

.tour-card .description {
    font-size: 8px;
    color: #555;
    margin-bottom: 10px;
}

.tour-meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 14px;
}

.tour-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 15px;
}


/* BOOKING */
.booking {
    background-color: #f1f5f9;
}

.booking-form {
    max-width: 500px;
    margin: auto;
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

.booking-form p {
    margin-bottom: 15px;
}

.booking-form input,
.booking-form select {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
}

/* FOOTER */
.footer {
    text-align: center;
    padding: 20px;
    font-size: 14px;
    color: #64748b;
}

.alert-success {
    background-color: #dcfce7;
    color: #166534;
    padding: 12px 18px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 500;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    font-weight: 500;
}

.page-link {
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    color: #2563eb;
    background: white;
}

.page-link:hover {
    background: #e0e7ff;
}

.current-page {
    color: #64748b;
}
