/* public_html/addons/demo/assets/css/demo.css */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  background-color: #f8f9fa;
  color: #212529;
}

.page-header {
  padding: 2rem 1rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.page-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.nav-section {
  padding: 1.5rem 0;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.nav-btn {
  padding: 0.75rem 2rem;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
}

.hero-section {
  margin: 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  /* CHANGED: Increased padding for better spacing */
}

.header4 {
  width: 100%;
}

.header4 .container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mbr-figure img {
  width: 55%;
  /* CHANGED: Increased from 45% to 55% for larger image */
  height: auto;
  max-width: 600px;
  /* CHANGED: Added max-width for responsive scaling */
  display: block;
  margin: 0 auto;
  /* CHANGED: Added auto margins for centering */
}

.hero-image {
  width: 100%;
  height: auto;
  min-height: 300px;
  max-height: 450px;
  object-fit: cover;
  display: block;
}

.subtitle-section {
  padding: 3rem 1rem 2rem;
}

.sub-title {
  font-size: 2rem;
  font-weight: 700;
  color: #333;
  position: relative;
  display: inline-block;
}

.sub-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #667eea, #764ba2);
}

.travel-cards-container {
  display: flex;
  gap: 2rem;
  justify-content: center;
  padding: 2rem 1rem;
  flex-wrap: wrap;
}

.travel-card {
  flex: 1 1 calc(33.333% - 1.5rem);
  min-width: 250px;
  max-width: 350px;
  text-align: center;
}

/* CHANGED: Set uniform image dimensions - 320px x 240px */
.travel-image {
  width: 320px;
  height: 240px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  display: block;
  margin: 0 auto;
}

.travel-card:hover .travel-image {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  transform: translateY(-10px);
}

.travel-heading {
  margin-top: 1.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #667eea;
  letter-spacing: 2px;
}

.action-section {
  padding: 3rem 1rem 4rem;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  margin: 2rem 0;
  border-radius: 20px;
}

.action-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #495057;
  max-width: 800px;
  margin: 0 auto 2rem;
}

.action-button {
  padding: 1rem 3rem;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.action-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(40, 167, 69, 0.5);
}

.footer-section {
  padding: 2rem 1rem;
  background-color: #343a40;
  color: #fff;
  margin-top: 3rem;
}

.footer-rule {
  border: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #667eea, transparent);
  margin-bottom: 1.5rem;
}

.footer-links {
  text-align: center;
}

.footer-link {
  color: #adb5bd;
  text-decoration: none;
  margin: 0 1.5rem;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #667eea;
  text-decoration: none;
}

@media (max-width: 991.98px) {
  .page-title {
    font-size: 2rem;
  }
  
  .sub-title {
    font-size: 1.75rem;
  }
  
  .travel-heading {
    font-size: 1.3rem;
  }
  
  /* CHANGED: Increased image size for tablets */
  .mbr-figure img {
    width: 60%;
  }
  
  /* CHANGED: Adjusted image dimensions for tablets */
  .travel-image {
    width: 280px;
    height: 210px;
  }
}

@media (max-width: 767.98px) {
  .page-title {
    font-size: 1.75rem;
  }
  
  .hero-image {
    min-height: 300px;
  }
  
  .sub-title {
    font-size: 1.5rem;
  }
  
  .travel-cards-container {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  
  .travel-card {
    flex: 1 1 100%;
    min-width: auto;
    max-width: 100%;
  }
  
  /* CHANGED: Responsive image dimensions for mobile */
  .travel-image {
    width: 100%;
    max-width: 300px;
    height: 225px;
  }
  
  .action-text {
    font-size: 1rem;
  }
  
  .action-button {
    padding: 0.875rem 2rem;
    font-size: 1.1rem;
  }
  
  .footer-link {
    display: block;
    margin: 0.5rem 0;
  }
  
  /* CHANGED: Larger image on mobile */
  .mbr-figure img {
    width: 70%;
  }
}

@media (max-width: 575.98px) {
  .page-header {
    padding: 1.5rem 0.5rem;
  }
  
  .page-title {
    font-size: 1.5rem;
  }
  
  .nav-btn {
    padding: 0.625rem 1.5rem;
    font-size: 1rem;
  }
  
  .hero-image {
    min-height: 250px;
  }
  
  .subtitle-section {
    padding: 2rem 0.5rem 1rem;
  }
  
  .sub-title {
    font-size: 1.3rem;
  }
  
  .travel-cards-container {
    padding: 1.5rem 0.5rem;
  }
  
  /* CHANGED: Smaller dimensions for extra small screens */
  .travel-image {
    width: 100%;
    max-width: 250px;
    height: 188px;
  }
  
  .travel-heading {
    font-size: 1.2rem;
    margin-top: 1rem;
  }
  
  .action-section {
    padding: 2rem 1rem 3rem;
  }
  
  .action-text {
    font-size: 0.95rem;
  }
  
  .action-button {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
  
  /* CHANGED: Extra large on small screens */
  .mbr-figure img {
    width: 75%;
  }
}

.nav-btn:focus,
.action-button:focus,
.footer-link:focus {
  outline: 3px solid #667eea;
  outline-offset: 2px;
}

@media print {
  .nav-section,
  .footer-section {
    display: none;
  }
  
  .hero-image,
  .travel-image {
    max-height: 300px;
  }
}