/* ============ DESIGN TOKENS ============ */
:root {
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --surface: #ffffff;
  --text: #14203a;
  --text-soft: #59647d;
  --muted: #8b94a7;
  --border: #e7ebf3;

  --brand: #0e7c66;      /* moviy-yashil (gumbaz) */
  --brand-2: #14b18e;
  --accent: #e0a23a;     /* oltin naqsh */
  --accent-2: #f2c14e;

  --grad: linear-gradient(120deg, #0e7c66, #14b18e 55%, #e0a23a);
  --grad-warm: linear-gradient(120deg, #e0a23a, #f2c14e);

  --shadow-sm: 0 4px 14px rgba(20, 32, 58, .06);
  --shadow: 0 18px 45px rgba(20, 32, 58, .10);
  --shadow-lg: 0 30px 70px rgba(20, 32, 58, .16);

  --radius: 18px;
  --radius-lg: 26px;
  --container: 1180px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

:root[data-theme="dark"] {
  --bg: #0b1120;
  --bg-alt: #0f1729;
  --surface: #131c30;
  --text: #eaf0fb;
  --text-soft: #a7b2c9;
  --muted: #7b87a1;
  --border: #22304c;
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, .3);
  --shadow: 0 18px 45px rgba(0, 0, 0, .45);
  --shadow-lg: 0 30px 70px rgba(0, 0, 0, .55);
}

/* ============ RESET / BASE ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: "Manrope", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  transition: background .4s var(--ease), color .4s var(--ease);
}
h1, h2, h3, h4 { font-family: "Playfair Display", serif; line-height: 1.15; font-weight: 700; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ============ BUTTONS ============ */
.btn {
  --pad: 13px 24px;
  display: inline-flex; align-items: center; gap: 9px;
  padding: var(--pad);
  border: none; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: .95rem;
  cursor: pointer; white-space: nowrap;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s;
}
.btn i { font-size: .9em; transition: transform .3s var(--ease); }
.btn-lg { --pad: 16px 32px; font-size: 1.02rem; }
.btn-block { width: 100%; justify-content: center; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px rgba(14, 124, 102, .35); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(14, 124, 102, .45); }
.btn-primary:hover i.fa-arrow-right { transform: translateX(4px); }
.btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .3); }
.btn-ghost:hover { background: rgba(255, 255, 255, .22); transform: translateY(-3px); }
.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* ============ HEADER ============ */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 16px 0;
  transition: background .35s var(--ease), padding .35s var(--ease), box-shadow .35s;
}
.header.scrolled {
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 1.3rem; }
.logo i { color: var(--brand); font-size: 1.5rem; }
.logo b { color: var(--accent); }
.header:not(.scrolled) .logo, .header:not(.scrolled) .nav-link, .header:not(.scrolled) .theme-btn { color: #fff; }
.header:not(.scrolled) .logo i { color: var(--accent-2); }

.nav-menu { display: flex; gap: 6px; }
.nav-link {
  position: relative; padding: 8px 14px; font-weight: 600; font-size: .95rem;
  border-radius: 999px; transition: color .3s, background .3s;
}
.nav-link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--accent); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--brand); }
.header:not(.scrolled) .nav-link:hover, .header:not(.scrolled) .nav-link.active { color: var(--accent-2); }
.nav-link.active::after, .nav-link:hover::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.theme-btn {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border);
  background: var(--surface); color: var(--text); cursor: pointer; font-size: 1rem;
  display: grid; place-items: center; transition: transform .4s var(--ease), background .3s;
}
.header:not(.scrolled) .theme-btn { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.3); }
.theme-btn:hover { transform: rotate(40deg) scale(1.08); }

.burger { display: none; flex-direction: column; gap: 5px; width: 40px; height: 40px; background: none; border: none; cursor: pointer; }
.burger span { height: 2.5px; width: 24px; background: currentColor; border-radius: 2px; margin-inline: auto; transition: .35s var(--ease); }
.header:not(.scrolled) .burger { color: #fff; }
.burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============ HERO ============ */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background: url("https://images.unsplash.com/photo-1600607686527-6fb886090705?auto=format&fit=crop&w=1920&q=80") center/cover no-repeat;
  transform: scale(1.1); animation: zoomBg 20s ease-in-out infinite alternate;
}
@keyframes zoomBg { to { transform: scale(1); } }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(8, 20, 30, .92) 0%, rgba(11, 40, 40, .72) 45%, rgba(11, 30, 40, .35) 100%);
}
.hero-inner { position: relative; z-index: 2; padding-top: 90px; }
.hero-content { max-width: 720px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px; font-size: .85rem; font-weight: 600;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25);
  backdrop-filter: blur(6px); margin-bottom: 22px;
}
.badge i { color: var(--accent-2); }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); letter-spacing: -.5px; margin-bottom: 20px; }
.hero p { font-size: clamp(1rem, 2vw, 1.2rem); max-width: 560px; color: rgba(255, 255, 255, .9); margin-bottom: 34px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; }

.hero-stats { display: flex; flex-wrap: wrap; gap: 38px; }
.stat { display: flex; flex-direction: column; }
.stat b { font-family: "Playfair Display", serif; font-size: 2.3rem; line-height: 1; }
.stat span { font-size: .9rem; color: rgba(255, 255, 255, .75); margin-top: 4px; }

.scroll-down {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2;
  width: 44px; height: 44px; display: grid; place-items: center; color: #fff;
  border: 1px solid rgba(255,255,255,.4); border-radius: 50%; animation: bounce 2s infinite;
}
@keyframes bounce { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* ============ SECTIONS ============ */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 54px; }
.eyebrow {
  display: inline-block; font-weight: 700; font-size: .82rem; letter-spacing: 2px; text-transform: uppercase;
  color: var(--brand); margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.section-sub { color: var(--text-soft); margin-top: 14px; }

/* ============ ABOUT ============ */
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.about-media { position: relative; height: 480px; }
.about-img { position: absolute; border-radius: var(--radius-lg); background-size: cover; background-position: center; box-shadow: var(--shadow); }
.about-img.img-1 { width: 70%; height: 78%; top: 0; left: 0; background-image: url("https://images.unsplash.com/photo-1548013146-72479768bada?auto=format&fit=crop&w=800&q=80"); }
.about-img.img-2 { width: 55%; height: 60%; bottom: 0; right: 0; border: 8px solid var(--bg); background-image: url("https://images.unsplash.com/photo-1591019052241-e4d95a5c1f76?auto=format&fit=crop&w=800&q=80"); }
.about-float {
  position: absolute; top: 12%; right: -6%; z-index: 3;
  display: flex; align-items: center; gap: 12px;
  background: var(--surface); padding: 14px 20px; border-radius: 16px; box-shadow: var(--shadow-lg);
}
.about-float i { font-size: 1.7rem; color: var(--accent); }
.about-float b { display: block; font-family: "Playfair Display", serif; font-size: 1.25rem; }
.about-float span { font-size: .82rem; color: var(--muted); }

.about-text h2 { font-size: clamp(1.8rem, 3.5vw, 2.7rem); margin: 8px 0 18px; }
.about-text p { color: var(--text-soft); margin-bottom: 22px; }
.check-list { display: grid; gap: 12px; margin-bottom: 28px; }
.check-list li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.check-list i { color: var(--brand-2); font-size: 1.15rem; }

/* ============ FEATURES ============ */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature-card {
  background: var(--surface); padding: 34px 26px; border-radius: var(--radius);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.feature-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: transparent; }
.feature-ico {
  width: 62px; height: 62px; border-radius: 16px; display: grid; place-items: center;
  font-size: 1.5rem; color: #fff; background: var(--grad); margin-bottom: 20px;
  box-shadow: 0 10px 22px rgba(14, 124, 102, .3);
}
.feature-card:nth-child(even) .feature-ico { background: var(--grad-warm); box-shadow: 0 10px 22px rgba(224, 162, 58, .3); }
.feature-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.feature-card p { color: var(--text-soft); font-size: .95rem; }

/* ============ DESTINATIONS ============ */
.filter-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.tab {
  padding: 10px 22px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--surface); color: var(--text-soft); font: inherit; font-weight: 600; font-size: .92rem;
  cursor: pointer; transition: .3s var(--ease);
}
.tab:hover { color: var(--brand); border-color: var(--brand); }
.tab.active { background: var(--brand); color: #fff; border-color: var(--brand); box-shadow: 0 8px 20px rgba(14,124,102,.3); }

.dest-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.dest-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; height: 380px;
  box-shadow: var(--shadow); cursor: pointer;
  transition: transform .5s var(--ease), opacity .4s, box-shadow .4s;
}
.dest-card.hide { display: none; }
.dest-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.dest-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6, 16, 26, .9) 8%, rgba(6, 16, 26, .25) 55%, transparent); }
.dest-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.dest-card:hover img { transform: scale(1.1); }
.dest-body { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 26px; color: #fff; }
.dest-tag {
  display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.18); backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.28); margin-bottom: 12px;
}
.dest-body h3 { font-size: 1.6rem; margin-bottom: 6px; }
.dest-body p { font-size: .9rem; color: rgba(255,255,255,.85); margin-bottom: 14px; }
.dest-meta { display: flex; align-items: center; justify-content: space-between; }
.dest-price { font-weight: 800; font-size: 1.15rem; }
.dest-price small { font-weight: 500; font-size: .78rem; opacity: .8; }
.dest-rate { font-size: .9rem; }
.dest-rate i { color: var(--accent-2); }
.dest-body .btn {
  margin-top: 16px; padding: 10px 18px; font-size: .85rem;
  background: #fff; color: var(--brand); opacity: 0; transform: translateY(10px);
  transition: .4s var(--ease);
}
.dest-card:hover .dest-body .btn { opacity: 1; transform: translateY(0); }

/* ============ GALLERY ============ */
.gallery-swiper { padding: 10px 22px 60px; max-width: 1320px; margin-inline: auto; }
.gallery-swiper .swiper-slide {
  width: 340px; height: 440px; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .5s var(--ease);
}
.gallery-swiper .swiper-slide img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery-swiper .swiper-slide-active { transform: scale(1.04); }
.gallery-swiper .swiper-slide:hover img { transform: scale(1.08); }

/* O'qlar — kichikroq va slaydlar markazida (padding-bottomni hisobga olib yuqoriroq) */
.gallery-swiper .swiper-button-next,
.gallery-swiper .swiper-button-prev {
  top: 230px;                 /* 440px slayd balandligining markazi (60px pastki padding hisobga olindi) */
  margin-top: 0;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  color: var(--brand);
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.gallery-swiper .swiper-button-next:hover,
.gallery-swiper .swiper-button-prev:hover { background: var(--brand); color: #fff; transform: scale(1.08); }
.gallery-swiper .swiper-button-next::after,
.gallery-swiper .swiper-button-prev::after { font-size: 16px; font-weight: 700; }

.swiper-pagination-bullet-active { background: var(--brand); }

/* ============ REVIEWS ============ */
.review-swiper { padding-bottom: 60px; }
.review-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 36px; box-shadow: var(--shadow-sm); height: 100%;
}
.review-stars { color: var(--accent); margin-bottom: 16px; }
.review-card blockquote { font-size: 1.05rem; color: var(--text-soft); font-style: italic; margin-bottom: 22px; }
.review-user { display: flex; align-items: center; gap: 14px; }
.review-user img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.review-user b { display: block; font-family: "Playfair Display", serif; }
.review-user span { font-size: .85rem; color: var(--muted); }

/* ============ CTA ============ */
.cta { background: var(--grad); position: relative; overflow: hidden; }
.cta::before, .cta::after {
  content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.12);
}
.cta::before { width: 320px; height: 320px; top: -120px; right: -60px; }
.cta::after { width: 220px; height: 220px; bottom: -100px; left: 10%; }
.cta-inner { position: relative; z-index: 2; text-align: center; color: #fff; padding: 84px 0; }
.cta-inner h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 14px; }
.cta-inner p { font-size: 1.1rem; opacity: .92; margin-bottom: 30px; }

/* ============ CONTACT ============ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-info h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin: 8px 0 14px; }
.contact-info > p { color: var(--text-soft); margin-bottom: 28px; }
.contact-list { display: grid; gap: 20px; margin-bottom: 30px; }
.contact-list li { display: flex; gap: 16px; align-items: center; }
.contact-list i { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand); font-size: 1.15rem; flex-shrink: 0; }
.contact-list b { display: block; }
.contact-list span { color: var(--muted); font-size: .92rem; }
.socials { display: flex; gap: 12px; }
.socials a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border); color: var(--text); font-size: 1.1rem; transition: .3s var(--ease); }
.socials a:hover { background: var(--brand); color: #fff; transform: translateY(-4px); border-color: var(--brand); }

.contact-form { background: var(--surface); padding: 36px; border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: 12px; border: 1px solid var(--border);
  background: var(--bg); color: var(--text); font: inherit; font-size: .95rem;
  transition: border-color .3s, box-shadow .3s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 15%, transparent);
}
.field input.invalid { border-color: #e5484d; box-shadow: 0 0 0 4px rgba(229, 72, 77, .12); }
.form-note { margin-top: 14px; padding: 12px 16px; border-radius: 12px; font-weight: 600; font-size: .92rem; text-align: center; }
.form-note.ok { background: color-mix(in srgb, var(--brand-2) 15%, transparent); color: var(--brand); }

/* ============ FOOTER ============ */
.footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding-top: 68px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 44px; }
.footer-brand p { color: var(--text-soft); margin-top: 14px; max-width: 300px; }
.footer-col h4 { font-family: "Manrope"; font-weight: 700; margin-bottom: 18px; font-size: 1.05rem; }
.footer-col a { display: block; color: var(--text-soft); margin-bottom: 11px; transition: color .3s, padding .3s; }
.footer-col a:hover { color: var(--brand); padding-left: 5px; }
.footer-col .muted { color: var(--muted); font-size: .9rem; margin-bottom: 16px; }
.subscribe { display: flex; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 5px; }
.subscribe input { flex: 1; border: none; background: none; padding: 10px 16px; color: var(--text); font: inherit; }
.subscribe input:focus { outline: none; }
.subscribe button { width: 44px; height: 44px; border-radius: 50%; border: none; background: var(--brand); color: #fff; cursor: pointer; transition: .3s var(--ease); }
.subscribe button:hover { background: var(--brand-2); transform: scale(1.05); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 24px 22px; border-top: 1px solid var(--border); color: var(--muted); font-size: .9rem; }
.footer-bottom i { color: #e5484d; }

/* ============ TO TOP ============ */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 50px; height: 50px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--brand); color: #fff; font-size: 1.05rem;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(20px);
  transition: .4s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--brand-2); transform: translateY(-4px); }

/* ============ RESPONSIVE ============ */
@media (max-width: 992px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .about-media { max-width: 440px; margin-inline: auto; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .dest-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .hide-mobile { display: none; }
  .burger { display: flex; }
  .nav-menu {
    position: fixed; inset: 0 0 0 auto; width: min(80%, 320px);
    flex-direction: column; gap: 4px; padding: 100px 24px 40px;
    background: var(--surface); box-shadow: var(--shadow-lg);
    transform: translateX(100%); transition: transform .45s var(--ease);
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-link { color: var(--text) !important; padding: 12px 14px; font-size: 1.05rem; width: 100%; }
  .hero-stats { gap: 26px; }
  .stat b { font-size: 1.8rem; }
}
@media (max-width: 560px) {
  .features, .dest-grid, .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .btn-lg { --pad: 14px 24px; }
  .hero-btns { flex-direction: column; align-items: stretch; }
  .hero-btns .btn { justify-content: center; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
