/* Avtoexclusive yagona dizayn uchun CSS */
:root {
  --primary: #1a237e;
  --primary-dark: #0d133d;
  --background: #fff;
  --background-alt: #f5f7fa;
  --accent: #1976d2;
  --text: #222;
  --menu-bg: #1a237e;
  --menu-text: #fff;
  --menu-hover: #1976d2;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: var(--background);
  color: var(--text);
  font-size: 0.85rem;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--menu-bg);
  padding: 16px 32px;
  color: var(--menu-text);
  box-shadow: 0 2px 8px rgba(26,35,126,0.05);
}
.navbar .logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--menu-text);
  white-space: nowrap;
}
.navbar nav {
  display: flex;
  gap: 18px;
}
.navbar a {
  color: var(--menu-text);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.2s;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.navbar a:hover {
  color: var(--menu-hover);
  border-bottom: 2px solid var(--menu-hover);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--menu-text);
  font-size: 2rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .navbar nav {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 70%;
  height: 100%;
  background: linear-gradient(135deg, #1a237e 0%, #1976d2 100%);
  z-index: 1000;
  flex-direction: column;
  padding-top: 60px;
  transform: translateX(-100%);
  transition: transform 0.3s;
}
.mobile-menu.active {
  transform: translateX(0);
  display: flex;
}
.mobile-menu a {
  color: white;
  text-decoration: none;
  padding: 18px 32px;
  font-size: 1.2rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}

.hero {
  min-height: 350px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--background-alt);
  color: var(--primary-dark);
  text-align: center;
  padding: 32px 16px;
}
.hero h1 {
  font-size: 2 rem;
  margin-bottom: 12px;
  font-weight: 700;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 24px;
}
.hero .cta-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.10);
  transition: all 0.3s;
}
.hero .cta-btn:hover {
  background: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.section {
  max-width: 1000px;
  margin: 40px auto;
  background: #fff;
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(26,35,126,0.07);
}
.section h2 {
  text-align: center;
  color: var(--primary);
  margin-bottom: 24px;
  font-size: 1.8rem;
}
.info {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.info .box {
  flex: 1 1 220px;
  background: var(--background-alt);
  padding: 12px 10px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(26,35,126,0.05);
  min-width: 0;
  max-width: 100%;
  word-break: break-word;
  font-size: 0.97rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.video-fullscreen {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 60vh;
  background: var(--background-alt);
  text-align: center;
  padding: 40px 0;
}
.video-fullscreen h2 {
  margin-bottom: 20px;
  font-size: 2rem;
  color: var(--primary-dark);
}
.video-fullscreen video {
  width: 80%;
  max-width: 900px;
  max-height: 500px;
  border-radius: 10px;
  border: 3px solid var(--primary);
  box-shadow: 0 2px 8px rgba(26,35,126,0.08);
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}
.gallery img {
  width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(26,35,126,0.10);
  transition: transform 0.3s;
}
.gallery img:hover {
  transform: scale(1.05);
}

.footer {
  text-align: center;
  padding: 24px;
  background: var(--menu-bg);
  color: var(--menu-text);
  margin-top: 40px;
  font-size: 1.1rem;
  letter-spacing: 1px;
}

/* Formlar uchun zamonaviy dizayn */
.form-box {
  background: var(--background-alt);
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(26,35,126,0.07);
  padding: 32px 24px;
  margin: 0 auto;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}
.form-group label {
  font-weight: 500;
  color: var(--primary-dark);
  margin-bottom: 2px;
}
.form-group input,
.form-group textarea {
  padding: 12px;
  border: 1.5px solid #bfc7d1;
  border-radius: 7px;
  font-size: 1rem;
  background: #fff;
  transition: border 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
  border: 1.5px solid var(--accent);
  outline: none;
}
.form-group textarea {
  resize: vertical;
  min-height: 90px;
}
.btn-main {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 0;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(26,35,126,0.08);
}
.btn-main:hover {
  background: var(--accent);
}
.form-result {
  margin-top: 16px;
  font-weight: 500;
  color: var(--primary-dark);
  text-align: center;
}
/* Aloqa sahifasi uchun kontakt info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-info div {
  background: #e3f2fd;
  padding: 14px 18px;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(26,35,126,0.04);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.08rem;
  color: var(--primary-dark);
}
.contact-info div i {
  font-size: 1.3em;
  color: var(--primary);
}
.form-section {
  margin-top: 32px;
}
@media (max-width: 600px) {
  .form-box {
    padding: 16px 6px;
  }
  .section {
    padding: 12px;
  }
  .gallery {
    gap: 6px !important;
  }
}

@media (max-width: 900px) {
  .navbar .logo {
    font-size: 1.15rem;
  }
  .navbar nav {
    gap: 10px;
  }
  .navbar a {
    font-size: 0.95rem;
  }
  .section {
    margin: 20px;
    padding: 20px;
  }
  .info {
    flex-direction: column;
    gap: 10px;
  }
  .info .box {
    padding: 10px 6px;
    font-size: 0.93rem;
  }
  .gallery img {
    width: 100%;
    height: 180px;
  }
  .form-box, .section {
    padding: 8px 2vw;
    font-size: 0.97rem;
  }
  .form-group input,
  .form-group textarea {
    font-size: 0.97rem;
    min-width: 0;
    max-width: 100%;
    word-break: break-word;
  }
  .form-group label {
    font-size: 0.97rem;
  }
  .btn-main {
    font-size: 0.97rem;
  }
  .contact-info div {
    font-size: 0.97rem;
    word-break: break-word;
  }
  .info .box {
    padding: 8px 2px;
    font-size: 0.91rem;
  }
} 

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo img {
  height: 42px;
  width: 42px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
} 

.video-carousel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
}
.carousel-thumb {
    width: 220px;
    height: 130px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(26,35,126,0.13);
    cursor: pointer;
    opacity: 0.7;
    transition: transform 0.4s, opacity 0.3s;
    border: 3px solid transparent;
}
.carousel-thumb.active, .carousel-thumb:hover {
    opacity: 1;
    transform: scale(1.08);
    border: 3px solid var(--primary);
}
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 2;
    opacity: 0.85;
    transition: background 0.2s;
}
.carousel-btn.left { left: -50px; }
.carousel-btn.right { right: -50px; }
.carousel-btn:hover { background: var(--accent); }

.video-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0; top: 0; width: 100vw; height: 100vh;
    background: rgba(26,35,126,0.75);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.4s;
}
.video-modal.active {
    display: flex;
}
.modal-content {
    background: #fff;
    border-radius: 18px;
    padding: 30px 20px 20px 20px;
    box-shadow: 0 8px 40px rgba(26,35,126,0.18);
    position: relative;
    animation: popIn 0.4s;
}
.close-modal {
    position: absolute;
    top: 12px; right: 18px;
    font-size: 2rem;
    color: var(--primary-dark);
    cursor: pointer;
    z-index: 10;
    transition: color 0.2s;
}
.close-modal:hover { color: var(--accent); }
#modal-video {
    width: 70vw;
    max-width: 900px;
    max-height: 70vh;
    border-radius: 12px;
    background: #000;
}
@keyframes fadeIn {
    from { opacity: 0; } to { opacity: 1; }
}
@keyframes popIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
} 