/* Ümumi stil */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Dil değiştirici */
.language-switcher {
  display: flex;
  gap: 10px;
  margin-left: 20px;
}

.lang-switcher {
  background: #f1f1f1;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  border-radius: 3px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.lang-switcher:hover {
  background: #ff6b35;
  color: white;
}

/* Mobil uyum */
@media (max-width: 768px) {
  .language-switcher {
    order: 2;
    margin-left: auto;
    margin-right: 15px;
  }
}

body {
  font-family: 'Montserrat', sans-serif;
  color: #333;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .site-header, .hero-content {
  font-family: 'Montserrat', sans-serif;
}

.about, .services, .contact {
  font-family: 'Montserrat', sans-serif;
}

/* Ümumi Header Stil */
.site-header {
  background-color: #fff;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Logo Stili */
.logo {
  flex: 0 0 auto;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .logo {
    transition: transform 0.3s ease;
    transform: translateX(0);
  }
  
  .logo.menu-open {
    transform: translateX(-20px); /* İstədiyiniz məsafəni təyin edin */
  }
}

.logo img {
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.3));
  transition: all 0.3s ease;
}

.logo:hover img {
  filter: drop-shadow(0 5px 9px rgba(0, 0, 0, 0.4));
  transform: scale(1.05);
}

/* Naviqasiya Menyusu */
.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

.main-nav li {
  position: relative;
}

.main-nav a {
  text-decoration: none;
  color: #2a4365;
  font-weight: 600;
  font-size: 1.1rem;
  transition: color 0.3s ease;
  padding: 8px 5px;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #ff6b35;
  transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a:focus::after {
  width: 100%;
}

.main-nav a:hover {
  color: #ff6b35;
}

/* Sosial İkonlar */
.social-icons {
  display: flex;
  gap: 15px;
  flex: 0 0 auto;
  margin-left: 20px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #f8f9fa;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.social-icons a:hover {
  background-color: #ff6b35;
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.social-icons a:hover img {
  filter: brightness(0) invert(1);
}

.social-icons img {
  width: 22px;
  height: 22px;
  transition: filter 0.3s ease;
}

/* Mobil menyu düyməsi */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #2a4365;
  padding: 5px;
  z-index: 1001;
}

.nav-toggle .hamburger {
  transition: transform 0.3s ease;
}

/* Mobil menyu aktiv hamburger ikonu */
.nav-toggle.active .hamburger {
  transform: rotate(90deg);
}

/* Mobil uyğunlaşdırma */
@media (max-width: 992px) {
  .main-nav ul {
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-wrap: wrap;
  }
  
  .logo {
    order: 1;
    flex: 0 0 auto;
  }
  
  .social-icons {
    order: 2;
    margin-left: auto;
    margin-right: 15px;
    display: none;
  }
  
  .nav-toggle {
    display: block;
    order: 3;
  }
  
  .main-nav {
    order: 4;
    flex: 1 1 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  }
  
  .main-nav.active {
    max-height: 500px;
    padding: 20px 0;
  }
  
  .main-nav ul {
    flex-direction: column;
    align-items: center;
    padding: 0;
    gap: 15px;
  }
  
  .main-nav a {
    font-size: 1.2rem;
    padding: 10px 15px;
  }
  
  .main-nav a::after {
    display: none;
  }
  
  /* Mobil menyu aktiv olduqda sosial ikonlar */
  .main-nav.active ~ .social-icons {
    display: flex;
    justify-content: center;
    width: 100%;
    order: 5;
    padding: 15px 0;
    margin-top: 10px;
  }
}

@media (max-width: 480px) {
  .logo img {
    width: 150px;
    height: auto;
  }
  
  .social-icons {
    gap: 10px;
  }
  
  .social-icons a {
    width: 36px;
    height: 36px;
  }
  
  .social-icons img {
    width: 18px;
    height: 18px;
  }
}

.hero {
  background: url('../media/travel_pic2.jpg') center/cover no-repeat;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  opacity: 0.8;
  
  /* Yeni əlavə: Arxa plana qara gradient overlay */
  &::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.5));
    z-index: 0;
  }
}

.hero-content {
  text-align: center;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
}

/* Başlıq üçün yeni stil */
.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 4.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
  line-height: 1.1;
  letter-spacing: 1px;
}

/* Alt başlıq üçün yeni stil */
.hero-content p {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: #f8f9fa;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  margin-bottom: 2rem;
}

/* Düymə üçün yeni stil (əgər HTML-də varsa) */
.hero-content .cta-button {
  display: inline-block;
  background: #ff6b35;
  color: white;
  padding: 1rem 2.5rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
}

.hero-content .cta-button:hover {
  background: #e55a2a;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.tours {
  padding: 60px 0;
}

.tour-list {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.tour-item {
  flex: 1 1 calc(33.333% - 20px);
  background: #f9f9f9;
  padding: 10px;
  border-radius: 8px;
  text-align: center;
  transition: all 0.4s ease;
  opacity: 1;
  transform: scale(1);
}

.tour-item img {
  width: 100%;
  border-radius: 8px;
}

/* ƏLAVƏ EDİLƏCƏK HOVER EFEKTLƏRİ */
.tour-item {
  transition: all 0.3s ease; /* Animasiya üçün əlavə edin */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Kölgə əlavə edin */
}

.tour-image {
  overflow: hidden; /* Şəklin kənarları kəsilməsin deyə */
  border-radius: 8px; /* Şəklin künclərini yumru saxlayır */
}

.tour-item img {
  transition: transform 0.3s ease; /* Şəkil animasiyası */
}

/* Hover effektləri */
.tour-item:hover {
  transform: translateY(-5px); /* Kartı yuxarı qaldırır */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15); /* Daha güclü kölgə */
}

.tour-item:hover img {
  transform: scale(1.0); /* Şəkli yumşaq böyüdür */
}

/* Ətraflı düyməsi üçün effekt (əgər HTML-də varsa) */
.tour-button {
  transition: all 0.3s ease;
}

.tour-button:hover {
  background: #e55a2a; /* Rəng dəyişikliyi */
  transform: translateY(-2px); /* Yuxarı qalxma */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Kölgə */
}

/* Turlar filtrləri üçün əlavə stillər */
.filter-form {
  transition: all 0.3s ease;
}

.filter-button {
  transition: all 0.3s ease;
  background: #ff6b35;
  color: white;
  border: none;
  padding: 10px 25px;
  border-radius: 4px;
  cursor: pointer;
  align-self: flex-end;
}

.filter-button:hover {
  background: #e55a2a;
  transform: translateY(-2px);
}

/* Turların filtrə uyğun görsənməməsi üçün */
.tour-item.hidden {
  display: none;
  opacity: 0;
  transform: scale(0.9);
  height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.services, .about, .contact {
  padding: 60px 20px;
}

.container {
  width: 90%;
  margin: 0 auto;
}

.container2 {
    display: flex;
    justify-content: space-between;
}

.footer-links, .footer-contacts {
    width: 48%;  /* Hər biri təxminən div-in yarısı qədər olacaq */
}

.footer-logo img {
  width: 50%;
  height: 150px;
  max-width: 50%;
}

.footer-links {
  text-align: left;
  padding: 20px;
}

.footer-contact {
  text-align: right;
  padding: 50px;
}

.site-footer {
  margin-top: 30px;
  text-align: center;
  padding: 20px;
  background: #222;
  color: #fff;
}

@media (min-width: 768px) {
  .site-footer {
    margin-top: 35px;
  }
}

form {
  display: grid;
  gap: 15px;
  max-width: 500px;
  margin: 0 auto;
}

form input, form textarea {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

form button {
  padding: 10px;
  background: #0066cc;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* Yeni əlavə olunan hissə: şəkil üzərindəki mətni yerləşdirmək */
.about-image {
  position: relative;
  flex: 1;
}

.about-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
}

.text-overlay {
  position: absolute;
  top: 30px; /* Yuxarıdan məsafə */
  left: 30px; /* Soldan məsafə */
  background-color: rgba(0, 0, 0, 0.5); /* Şəffaf fon */
  color: white;
  padding: 10px;
  border-radius: 5px;
}

table.block-table {
  display: block;
  width: 100%;
  border-collapse: collapse; /* Cədvəlin hüceyrələri arasındakı boşluqları sıfırlayır */
  background: transparent; /* Cədvəlin fonunu şəffaf edirik */
  border: none; /* Cədvəlin kənar xəttini silirik */
}

table.block-table tr, table.block-table td {
  display: block;
  padding: 10px;
  text-align: left;
  border: none; /* Sətir və hüceyrə kənar xəttlərini silirik */
  background: transparent; /* Hüceyrənin fonunu şəffaf edirik */
}

/* Mobil uyğunlaşdırma üçün */
@media (max-width: 768px) {
  .hero {
    height: 60vh;
  }
  
  .hero-content h1 {
    font-size: 2.2rem !important;
  }
  
  .hero-content p {
    font-size: 1.2rem !important;
  }
  
  /* Haqqımızda bölməsinin mobil uyğunluğu */
  .text-overlay {
    position: relative;
    top: 0;
    left: 0;
    padding: 15px;
    background: rgba(0,0,0,0.7);
  }
  
  .block-table td {
    display: block;
    padding: 8px 0;
  }
  
  /* Turlar bölməsinin mobil uyğunluğu */
  .tour-item {
    margin-bottom: 20px;
    flex: 1 1 100%;
  }
  
  /* Footer mobil uyğunluğu */
  .container2 {
    flex-direction: column;
  }
  
  .footer-links, 
  .footer-contact {
    text-align: center !important;
    width: 100%;
    padding: 20px 0 !important;
  }
  
  .footer-logo img {
    width: 100px;
    height: auto;
  }
}

/* Üçlü blok düzülüşü */
.triple-container {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.left-section, .center-section, .right-section {
  flex: 1;
  min-width: 280px;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.left-section {
  text-align: left;
}

.center-section {
  text-align: center;
}

.right-section {
  text-align: right;
}

/* Responsiv görünüş */
@media (max-width: 900px) {
  .triple-container {
    flex-direction: column;
  }

  .left-section, .center-section, .right-section {
    text-align: left !important;
  }
}

/* Desktop versiyada görsənsin */
.desktop-only-table {
  display: block;
}

/* Mobil versiyada gizlənsin */
@media (max-width: 768px) {
  .desktop-only-table {
    display: none;
  }
}

/* Haqqımızda səhifəsi üçün əlavə stillər */
.about-hero {
  background: url('../media/pages/about_hero.jpg') center/cover no-repeat;
}

.tours-hero, .about-hero, .contact-hero, .services-hero {
  background-size: cover;
  background-position: center;
  height: 60vh;
}

.about-content-section {
  padding: 60px 0;
  background: #f9f9f9;
}

.stats-section {
  text-align: center;
  margin-top: 50px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.stat-item {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.stat-item h3 {
  font-size: 2.5rem;
  color: #ff6b35;
  margin-bottom: 10px;
}

/* Turlar səhifəsi üçün əlavə stillər */
.tours-hero {
  background: url('../media/pages/tours_hero.jpg') center/cover no-repeat;
}

.tour-filters {
  background: white;
  padding: 30px 0;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.filter-form {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-group {
  flex: 1;
  min-width: 200px;
}

.filter-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.filter-group select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.filter-button {
  background: #ff6b35;
  color: white;
  border: none;
  padding: 10px 25px;
  border-radius: 4px;
  cursor: pointer;
  align-self: flex-end;
}

.tour-categories {
  text-align: center;
  margin: 40px 0;
}

.category-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
}

.category-button {
  background: #f1f1f1;
  border: none;
  padding: 8px 20px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.category-button.active {
  background: #ff6b35;
  color: white;
}

.pagination {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  gap: 10px;
}

.page-button {
  padding: 8px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
}

.page-button.active {
  background: #ff6b35;
  color: white;
  border-color: #ff6b35;
}

/* Xidmətlər səhifəsi üçün əlavə stillər */
.services-hero {
  background: url('../media/pages/services_hero.jpg') center/cover no-repeat;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  background: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  text-align: center;
}

.service-icon {
  margin-bottom: 20px;
}

.service-button {
  display: inline-block;
  margin-top: 15px;
  padding: 8px 20px;
  background: #ff6b35;
  color: white;
  text-decoration: none;
  border-radius: 4px;
}

.request-container {
  display: flex;
  gap: 40px;
  background: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.request-info {
  flex: 1;
}

.request-form {
  flex: 1;
}

.benefits-list {
  list-style: none;
  margin-top: 20px;
}

.benefits-list li {
  margin-bottom: 10px;
}

/* Əlaqə səhifəsi üçün əlavə stillər */
.contact-hero {
  background: url('../media/pages/contact_hero.jpg') center/cover no-repeat;
}

.contact-social {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-social a {
  color: #2a4365;
  text-decoration: none;
}

.form-map-container {
  display: flex;
  gap: 40px;
  margin-top: 40px;
}

.map-container {
  flex: 1;
}

.form-container {
  flex: 1;
}

.faq-section {
  margin: 60px 0;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 15px;
  text-align: left;
  background: #f9f9f9;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

.faq-answer {
  padding: 0 15px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-question.active + .faq-answer {
  padding: 15px;
  max-height: 500px;
}

/* Responsivlik üçün əlavə stillər */
@media (max-width: 768px) {
  .request-container {
    flex-direction: column;
  }
  
  .form-map-container {
    flex-direction: column;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .filter-form {
    flex-direction: column;
  }
  
  .filter-button {
    align-self: stretch;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}