/* Unitur.uz - Modern Travel Agency Website Styles */

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

:root {
  --primary-color: #2563eb;
  --secondary-color: #1e40af;
  --accent-color: #f59e0b;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --bg-light: #f9fafb;
  --white: #ffffff;
  --success: #10b981;
  --error: #ef4444;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);

  /* Dark mode variables */
  --bg-dark: #1f2937;
  --bg-dark-secondary: #111827;
  --text-dark-mode: #f9fafb;
  --text-light-dark: #d1d5db;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Dark Mode */
body.dark-mode {
  background-color: var(--bg-dark);
  color: var(--text-dark-mode);
}

body.dark-mode .navbar {
  background: var(--bg-dark-secondary);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

body.dark-mode .nav-link {
  color: var(--text-dark-mode);
}

body.dark-mode .nav-link:hover {
  color: var(--primary-color);
}

body.dark-mode .container {
  color: var(--text-dark-mode);
}

body.dark-mode .feature-card,
body.dark-mode .tour-card,
body.dark-mode .filters {
  background: var(--bg-dark-secondary);
  color: var(--text-dark-mode);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

body.dark-mode .feature-card h3,
body.dark-mode .tour-content h3,
body.dark-mode .section-header h2 {
  color: var(--text-dark-mode);
}

body.dark-mode .tour-description,
body.dark-mode .tour-destination,
body.dark-mode .section-header p {
  color: var(--text-light-dark);
}

body.dark-mode .page-header {
  background: linear-gradient(135deg, var(--bg-dark-secondary), var(--bg-dark));
}

body.dark-mode .footer {
  background: var(--bg-dark-secondary);
}

body.dark-mode .theme-toggle-btn {
  background: rgba(251, 191, 36, 0.1);
  border-color: #fbbf24;
  color: #fbbf24;
}

body.dark-mode .theme-toggle-btn:hover {
  background: #fbbf24;
  color: var(--bg-dark);
}

body.dark-mode .stats {
  background: linear-gradient(135deg, #1e3a8a, #1e40af);
  color: var(--text-dark-mode);
}

body.dark-mode .stat-number {
  color: var(--white);
}

body.dark-mode .stat-label {
  color: var(--text-light-dark);
}

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

/* Snow Effect */
#snow-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
}

.snowflake {
  position: absolute;
  color: #ffffff;
  font-size: 1em;
  font-family: Arial, sans-serif;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.9),
    0 0 15px rgba(255, 255, 255, 0.5);
  user-select: none;
  animation: snowfall linear infinite;
  opacity: 0.9;
  will-change: transform, opacity;
}

.snowflake::before {
  content: "❄";
  display: block;
}

@keyframes snowfall {
  0% {
    transform: translateY(-10vh) translateX(0) rotate(0deg);
    opacity: 0;
  }
  5% {
    opacity: 0.6;
    transform: translateY(0vh)
      translateX(calc(var(--drift) * 0.05 + var(--sway1) * 0.2))
      rotate(calc(var(--rotation, 1turn) * 0.05));
  }
  15% {
    opacity: 0.9;
    transform: translateY(15vh)
      translateX(calc(var(--drift) * 0.15 + var(--sway1)))
      rotate(calc(var(--rotation, 1turn) * 0.15));
  }
  30% {
    transform: translateY(30vh)
      translateX(calc(var(--drift) * 0.3 + var(--sway2) * 0.7))
      rotate(calc(var(--rotation, 1turn) * 0.3));
  }
  45% {
    transform: translateY(45vh)
      translateX(calc(var(--drift) * 0.45 + var(--sway2)))
      rotate(calc(var(--rotation, 1turn) * 0.45));
  }
  60% {
    transform: translateY(60vh)
      translateX(calc(var(--drift) * 0.6 + var(--sway3) * 0.6))
      rotate(calc(var(--rotation, 1turn) * 0.6));
  }
  75% {
    transform: translateY(75vh)
      translateX(calc(var(--drift) * 0.75 + var(--sway3)))
      rotate(calc(var(--rotation, 1turn) * 0.75));
  }
  90% {
    opacity: 0.8;
    transform: translateY(90vh)
      translateX(calc(var(--drift) * 0.9 + var(--sway4) * 0.5))
      rotate(calc(var(--rotation, 1turn) * 0.9));
  }
  100% {
    transform: translateY(110vh) translateX(var(--drift))
      rotate(var(--rotation, 1turn));
    opacity: 0;
  }
}

/* New Year Decoration */
.new-year-decoration {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  z-index: 1001;
  pointer-events: none;
  overflow: hidden;
}

/* Top Garland */
.garland-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(
    90deg,
    #2d5016 0%,
    #3a6b1f 20%,
    #2d5016 40%,
    #3a6b1f 60%,
    #2d5016 80%,
    #3a6b1f 100%
  );
  clip-path: polygon(
    0% 100%,
    2% 85%,
    4% 90%,
    6% 80%,
    8% 88%,
    10% 75%,
    12% 82%,
    14% 70%,
    16% 78%,
    18% 65%,
    20% 72%,
    22% 60%,
    24% 68%,
    26% 55%,
    28% 63%,
    30% 50%,
    32% 58%,
    34% 45%,
    36% 53%,
    38% 40%,
    40% 48%,
    42% 35%,
    44% 43%,
    46% 30%,
    48% 38%,
    50% 25%,
    52% 33%,
    54% 20%,
    56% 28%,
    58% 15%,
    60% 23%,
    62% 10%,
    64% 18%,
    66% 5%,
    68% 13%,
    70% 0%,
    72% 8%,
    74% 0%,
    76% 5%,
    78% 0%,
    80% 3%,
    82% 0%,
    84% 2%,
    86% 0%,
    88% 1%,
    90% 0%,
    92% 0%,
    94% 0%,
    96% 0%,
    98% 0%,
    100% 0%
  );
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Garland Ornaments */
.garland-ornament {
  position: absolute;
  width: 22px;
  height: 22px;
  background: radial-gradient(circle at 30% 30%, #ff6b6b, #dc2626);
  border-radius: 50%;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4),
    inset -3px -3px 5px rgba(0, 0, 0, 0.3),
    inset 3px 3px 5px rgba(255, 255, 255, 0.4);
  animation: ornamentSway 3s ease-in-out infinite;
  top: 30px;
}

.garland-ornament::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: #fbbf24;
  border-radius: 50%;
  box-shadow: 0 0 6px #fbbf24;
}

.garland-ornament::after {
  content: "❄";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 8px;
  opacity: 0.6;
}

.ornament-1 {
  left: 5%;
  animation-delay: 0s;
}

.ornament-2 {
  left: 18%;
  animation-delay: 0.4s;
}

.ornament-3 {
  left: 35%;
  animation-delay: 0.8s;
}

.ornament-4 {
  left: 52%;
  animation-delay: 1.2s;
}

.ornament-5 {
  left: 68%;
  animation-delay: 1.6s;
}

.ornament-6 {
  left: 85%;
  animation-delay: 2s;
}

.ornament-7 {
  left: 95%;
  animation-delay: 2.4s;
}

/* Garland Beads (Gold) */
.garland-bead {
  position: absolute;
  width: 10px;
  height: 10px;
  background: radial-gradient(circle at 30% 30%, #fbbf24, #d97706);
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3),
    inset -2px -2px 3px rgba(0, 0, 0, 0.2),
    inset 2px 2px 3px rgba(255, 255, 255, 0.5);
  top: 20px;
  animation: beadShine 2s ease-in-out infinite;
}

.bead-1 {
  left: 10%;
  animation-delay: 0s;
}

.bead-2 {
  left: 28%;
  animation-delay: 0.3s;
}

.bead-3 {
  left: 45%;
  animation-delay: 0.6s;
}

.bead-4 {
  left: 62%;
  animation-delay: 0.9s;
}

.bead-5 {
  left: 78%;
  animation-delay: 1.2s;
}

.bead-6 {
  left: 92%;
  animation-delay: 1.5s;
}

/* Left Side Garland */
.garland-left {
  position: absolute;
  left: 0;
  top: 0;
  width: 80px;
  height: 250px;
  pointer-events: none;
}

.garland-branch-left {
  position: absolute;
  left: 0;
  top: 0;
  width: 60px;
  height: 250px;
  background: linear-gradient(
    180deg,
    #2d5016 0%,
    #3a6b1f 25%,
    #2d5016 50%,
    #3a6b1f 75%,
    #2d5016 100%
  );
  clip-path: polygon(
    0% 0%,
    30% 5%,
    0% 10%,
    25% 15%,
    0% 20%,
    30% 25%,
    0% 30%,
    25% 35%,
    0% 40%,
    30% 45%,
    0% 50%,
    25% 55%,
    0% 60%,
    30% 65%,
    0% 70%,
    25% 75%,
    0% 80%,
    30% 85%,
    0% 90%,
    25% 95%,
    0% 100%
  );
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.2);
}

.ornament-left-1 {
  left: 25px;
  top: 50px;
  animation-delay: 0.3s;
}

.ornament-left-2 {
  left: 20px;
  top: 120px;
  animation-delay: 0.8s;
}

.bead-left-1 {
  left: 30px;
  top: 30px;
  animation-delay: 0.1s;
}

.bead-left-2 {
  left: 28px;
  top: 150px;
  animation-delay: 0.6s;
}

/* Right Side Garland */
.garland-right {
  position: absolute;
  right: 0;
  top: 0;
  width: 80px;
  height: 250px;
  pointer-events: none;
}

.garland-branch-right {
  position: absolute;
  right: 0;
  top: 0;
  width: 60px;
  height: 250px;
  background: linear-gradient(
    180deg,
    #2d5016 0%,
    #3a6b1f 25%,
    #2d5016 50%,
    #3a6b1f 75%,
    #2d5016 100%
  );
  clip-path: polygon(
    100% 0%,
    70% 5%,
    100% 10%,
    75% 15%,
    100% 20%,
    70% 25%,
    100% 30%,
    75% 35%,
    100% 40%,
    70% 45%,
    100% 50%,
    75% 55%,
    100% 60%,
    70% 65%,
    100% 70%,
    75% 75%,
    100% 80%,
    70% 85%,
    100% 90%,
    75% 95%,
    100% 100%
  );
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.2);
}

.ornament-right-1 {
  right: 25px;
  top: 50px;
  animation-delay: 0.4s;
}

.ornament-right-2 {
  right: 20px;
  top: 120px;
  animation-delay: 0.9s;
}

.bead-right-1 {
  right: 30px;
  top: 30px;
  animation-delay: 0.2s;
}

.bead-right-2 {
  right: 28px;
  top: 150px;
  animation-delay: 0.7s;
}

/* Animations */
@keyframes ornamentSway {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-3px) rotate(-2deg);
  }
  75% {
    transform: translateY(-3px) rotate(2deg);
  }
}

@keyframes beadShine {
  0%,
  100% {
    opacity: 0.8;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3),
      inset -1px -1px 2px rgba(0, 0, 0, 0.2),
      inset 1px 1px 2px rgba(255, 255, 255, 0.4);
  }
  50% {
    opacity: 1;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3),
      inset -1px -1px 2px rgba(0, 0, 0, 0.2),
      inset 1px 1px 2px rgba(255, 255, 255, 0.6),
      0 0 8px rgba(251, 191, 36, 0.6);
  }
}

/* Navigation */
.navbar {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 60px;
  z-index: 1000;
  padding: 0.5rem 0;
  margin-top: 60px;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
}

.logo a {
  display: flex;
  align-items: flex-start;
  text-decoration: none;
  margin: 0;
  padding: 0;
  line-height: 0;
}

.logo {
  margin: 0;
  padding: 0;
  line-height: 0;
  display: flex;
  align-items: center;
}

.logo-image {
  height: 80px;
  width: auto;
  object-fit: contain;
  display: block;
  margin: 0;
  padding: 0;
  vertical-align: top;
  line-height: 0;
  mix-blend-mode: multiply; /* Oq fonni yashiradi */
}

.footer-logo {
  height: 100px;
  width: auto;
  object-fit: contain;
  display: block;
  margin: 0;
  padding: 0;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-link {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-phone {
  margin-left: 1rem;
  padding-left: 1rem;
  border-left: 1px solid #e5e7eb;
}

.nav-phone-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  background: rgba(37, 99, 235, 0.1);
}

.nav-phone-link:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
}

.nav-phone-link i {
  font-size: 1rem;
}

/* Theme Toggle Button */
.theme-toggle-wrapper {
  margin-left: 1rem;
  padding-left: 1rem;
  border-left: 1px solid #e5e7eb;
}

.theme-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(37, 99, 235, 0.1);
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  color: var(--primary-color);
  cursor: pointer;
  transition: all 0.3s;
  font-size: 1.1rem;
}

.theme-toggle-btn:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: scale(1.1);
}

.theme-toggle-btn:active {
  transform: scale(0.95);
}

.admin-link {
  background: var(--primary-color);
  color: var(--white) !important;
  padding: 0.5rem 1rem;
  border-radius: 5px;
}

.admin-link::after {
  display: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  transition: 0.3s;
}

/* Hero Section */
.hero {
  height: 90vh;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("../images/pattern.jpg");
  background-repeat: repeat;
  background-size: 200px 200px;
  opacity: 0.15;
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.85) 0%,
    rgba(30, 64, 175, 0.85) 100%
  );
  z-index: 2;
}

.hero-content {
  text-align: center;
  color: var(--white);
  z-index: 3;
  animation: fadeInUp 1s;
  position: relative;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-size: 2rem;
  animation: bounce 2s infinite;
  z-index: 3;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

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

.btn-primary:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: var(--white);
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

.btn-block {
  width: 100%;
  text-align: center;
}

/* Features Section */
.features {
  padding: 5rem 0;
  background: var(--bg-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--white);
  font-size: 2rem;
}

.feature-card h3 {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

/* Tours Section */
.tours-section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.section-header p {
  color: var(--text-light);
  font-size: 1.1rem;
}

.tours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

/* Tours Scroll Container (Homepage) */
.tours-scroll-wrapper {
  position: relative;
  margin: 0 -20px;
  padding: 0 20px;
  width: calc(100% + 40px);
  overflow: visible;
}

.tours-scroll-container {
  display: flex;
  flex-wrap: nowrap;
  gap: 2rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  padding: 1rem 0 2rem 0;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) transparent;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  max-width: 100%;
}

.tours-scroll-container::-webkit-scrollbar {
  height: 8px;
}

.tours-scroll-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.tours-scroll-container::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 10px;
}

.tours-scroll-container::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-color);
}

.tours-scroll-container .tour-card {
  flex: 0 0 350px;
  min-width: 350px;
  max-width: 350px;
  width: 350px;
  flex-shrink: 0;
}

/* Desktop: bir qatorda 3 ta tur ko'rinishi */
@media (min-width: 992px) {
  .tours-scroll-container .tour-card {
    flex: 0 0 calc((100% - 4rem) / 3);
    min-width: calc((100% - 4rem) / 3);
    max-width: calc((100% - 4rem) / 3);
    width: calc((100% - 4rem) / 3);
  }
}

/* Tablet: bir qatorda 2 ta tur ko'rinishi */
@media (min-width: 768px) and (max-width: 991px) {
  .tours-scroll-container .tour-card {
    flex: 0 0 calc((100% - 2rem) / 2);
    min-width: calc((100% - 2rem) / 2);
    max-width: calc((100% - 2rem) / 2);
    width: calc((100% - 2rem) / 2);
  }
}

.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--white);
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-size: 1.2rem;
}

.scroll-btn:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.scroll-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.scroll-btn-left {
  left: 0;
}

.scroll-btn-right {
  right: 0;
}

.scroll-btn.hidden {
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 768px) {
  .tours-scroll-container .tour-card {
    flex: 0 0 300px;
    min-width: 300px;
    max-width: 300px;
  }

  .scroll-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .scroll-btn-left {
    left: 0;
  }

  .scroll-btn-right {
    right: 0;
  }

  .tours-scroll-wrapper {
    margin: 0 -10px;
    padding: 0 10px;
  }
}

.tour-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}

.tour-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.tour-image {
  position: relative;
  height: 300px;
  overflow: hidden;
  background: #f3f4f6;
}

.tour-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
  aspect-ratio: 4/3;
}

.tour-card:hover .tour-image img {
  transform: scale(1.1);
}

.tour-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--primary-color);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.tour-badge.featured {
  background: var(--accent-color);
  top: 50px;
}

.tour-content {
  padding: 1.5rem;
}

.tour-content h3 {
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.tour-destination {
  color: var(--text-light);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 5px;
}

.tour-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e7eb;
}

.tour-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.tour-description {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* Stats Section */
.stats {
  padding: 4rem 0;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Page Header */
.page-header {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* Tours Page */
.tours-page {
  padding: 3rem 0;
}

.filters {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
  margin-bottom: 3rem;
}

.filter-form {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: end;
}

.filter-group {
  flex: 1;
  min-width: 200px;
}

.filter-input,
.filter-select {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #e5e7eb;
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.filter-input:focus,
.filter-select:focus {
  outline: none;
  border-color: var(--primary-color);
}

.no-results {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-light);
}

.no-results i {
  font-size: 4rem;
  margin-bottom: 1rem;
  color: var(--text-light);
}

/* Tour Detail */
.tour-detail {
  padding: 3rem 0;
}

.tour-detail-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.tour-detail-image {
  width: 100%;
}

.tour-detail-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 4/3;
}

.tour-badges {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.badge {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.badge.featured {
  background: var(--accent-color);
  color: var(--white);
}

.tour-detail-info h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.tour-meta {
  display: flex;
  gap: 2rem;
  margin: 2rem 0;
  padding: 1.5rem;
  background: var(--bg-light);
  border-radius: 10px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.meta-item i {
  color: var(--primary-color);
  font-size: 1.5rem;
}

.meta-item .price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
}

.tour-description {
  margin: 2rem 0;
}

.tour-description h3 {
  margin-bottom: 1rem;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  overflow: auto;
}

.modal-content {
  background: var(--white);
  margin: 5% auto;
  padding: 2rem;
  border-radius: 10px;
  width: 90%;
  max-width: 600px;
  position: relative;
  animation: slideDown 0.3s;
}

.close {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 2rem;
  cursor: pointer;
  color: var(--text-light);
}

.close:hover {
  color: var(--text-dark);
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #e5e7eb;
  border-radius: 5px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

/* About Section */
.about-section {
  padding: 3rem 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text h2 {
  margin: 2rem 0 1rem;
  color: var(--text-dark);
}

.about-text p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.features-list {
  list-style: none;
  margin-top: 1rem;
}

.features-list li {
  padding: 0.75rem 0;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.features-list i {
  color: var(--success);
  font-size: 1.2rem;
}

.about-image {
  background: transparent;
  position: relative;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  object-fit: contain;
  height: auto;
  background: transparent;
  display: block;
}

/* Oq fonni olib tashlash uchun - agar rasm oq fon bilan bo'lsa */
.about-image img[src*="about.png"] {
  background: transparent;
  /* Oq fonni olib tashlash uchun mix-blend-mode */
  mix-blend-mode: multiply;
  /* Yoki oq fonni yashirish uchun */
  background-color: transparent;
}

.about-image-placeholder {
  width: 100%;
  min-height: 400px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.about-image-placeholder i {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.about-image-placeholder p {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Team Section */
.team-section {
  padding: 3rem 0;
  background: var(--bg-light);
}

/* Instagram Section */
.instagram-section {
  padding: 3rem 0;
  background: var(--white);
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.instagram-item {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
  background: var(--white);
}

.instagram-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.instagram-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  position: relative;
}

.instagram-thumbnail {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 10px;
}

.instagram-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.instagram-item:hover .instagram-thumbnail img {
  transform: scale(1.1);
}

.instagram-placeholder-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
  color: var(--white);
  position: relative;
}

.instagram-placeholder-img .instagram-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.instagram-placeholder-img i {
  font-size: 3rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.instagram-placeholder-img .instagram-text {
  font-size: 0.9rem;
  font-weight: 600;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.instagram-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: 10px;
}

.instagram-item:hover .instagram-overlay {
  opacity: 1;
}

.instagram-play {
  text-align: center;
  color: var(--white);
}

.instagram-play i {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  display: block;
}

.instagram-play span {
  font-size: 1rem;
  font-weight: 600;
  display: block;
}

.instagram-loading,
.instagram-placeholder {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-light);
}

.instagram-loading i,
.instagram-placeholder i {
  font-size: 4rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  display: block;
}

.instagram-placeholder h3 {
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.instagram-placeholder p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.instagram-placeholder .btn {
  margin-top: 1rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.team-member {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: var(--shadow);
}

.member-image {
  width: 150px;
  height: 150px;
  margin: 0 auto 1.5rem;
  color: var(--primary-color);
  font-size: 6rem;
}

.team-member h3 {
  margin-bottom: 0.5rem;
}

.team-member p {
  color: var(--text-light);
}

/* Contact Section */
.contact-section {
  padding: 3rem 0;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info h2 {
  margin-bottom: 2rem;
}

.info-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.info-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-top: 0.5rem;
}

.info-item h4 {
  margin-bottom: 0.5rem;
}

.info-item p {
  color: var(--text-light);
  margin: 0.25rem 0;
}

.info-item p a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.info-item p a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.info-item p a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.info-item p a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.contact-form-wrapper h2 {
  margin-bottom: 2rem;
}

.alert {
  padding: 1rem;
  border-radius: 5px;
  margin-bottom: 1.5rem;
}

.alert-success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #10b981;
}

.alert-error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #ef4444;
}

/* Booking Result */
.booking-result {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
}

.result-content {
  background: var(--white);
  padding: 3rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  max-width: 500px;
}

.success-icon,
.error-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.success-icon {
  color: var(--success);
}

.error-icon {
  color: var(--error);
}

/* Footer */
.footer {
  background: var(--text-dark);
  color: var(--white);
  padding: 3rem 0 1rem;
  margin-top: 5rem;
}

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

.footer-section h3,
.footer-section h4 {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: var(--white);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.social-links a:hover {
  background: var(--primary-color);
}

.contact-info {
  list-style: none;
}

.contact-info li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-info li a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.3s;
  font-weight: 600;
}

.contact-info li a:hover {
  color: var(--primary-color);
}

.contact-info i {
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}

.text-center {
  text-align: center;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .new-year-decoration {
    height: 30px;
  }

  .garland-top {
    height: 30px;
  }

  .garland-ornament {
    width: 12px;
    height: 12px;
    top: 15px;
  }

  .garland-ornament::before {
    width: 3px;
    height: 3px;
  }

  .garland-ornament::after {
    font-size: 6px;
  }

  .garland-bead {
    width: 6px;
    height: 6px;
    top: 12px;
  }

  .garland-left,
  .garland-right {
    width: 40px;
    height: 150px;
  }

  .garland-branch-left,
  .garland-branch-right {
    width: 30px;
    height: 150px;
  }

  .ornament-left-1,
  .ornament-right-1 {
    top: 40px;
  }

  .ornament-left-2,
  .ornament-right-2 {
    top: 90px;
  }

  .bead-left-1,
  .bead-right-1 {
    top: 25px;
  }

  .bead-left-2,
  .bead-right-2 {
    top: 110px;
  }

  .navbar {
    top: 60px;
    margin-top: 60px;
  }

  .nav-wrapper {
    flex-wrap: nowrap;
  }

  .hamburger {
    display: flex !important;
    order: 3;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 130px;
    flex-direction: column;
    background: var(--white);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: var(--shadow);
    padding: 2rem 0;
    z-index: 999;
    display: flex !important;
  }

  .nav-menu.active {
    left: 0;
  }

  .theme-toggle-wrapper {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    border-top: 1px solid #e5e7eb;
    padding-top: 1rem;
    margin-top: 1rem;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .theme-toggle-btn {
    width: 45px;
    height: 45px;
  }

  .nav-phone {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    border-top: 1px solid #e5e7eb;
    padding-top: 1rem;
    margin-top: 1rem;
  }

  .nav-phone-link {
    justify-content: center;
    width: 100%;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .tour-detail-content,
  .about-content,
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .filter-form {
    flex-direction: column;
  }

  .filter-group {
    width: 100%;
  }

  .logo-image {
    height: 55px;
  }

  .instagram-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }

  .instagram-item {
    aspect-ratio: 1;
    min-height: 280px;
  }

  .footer-logo {
    height: 70px;
  }

  /* Snow effect optimization for mobile */
  .snowflake {
    font-size: 0.8em;
  }
}
