/**
 * Base styles for destination landing pages
 * Common structure and layout styles shared across all destinations
 */

/* Override homepage hero styles for destination pages */
.hero-section {
  background-image: none !important;
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  min-height: auto !important;
  display: block !important;
  overflow: visible !important;
}

.hero-overlay {
  display: none !important;
}

.hero-image-wrapper {
  position: relative;
}

.hero-image-wrapper img {
  filter: saturate(1.05) contrast(1.02);
}

/* .hero-content - background removed, let it be transparent */

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1F2937;
  line-height: 1.2;
  text-shadow: none;
}

.hero-description {
  font-size: 1.1rem;
  color: #4B5563;
  line-height: 1.6;
}

.feature-box {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.feature-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.hero-features .row {
  display: flex;
}

.hero-features .col-12.col-sm-6 {
  display: flex;
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
}

.icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.mobile-floating-cta {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 16px;
  width: min(560px, calc(100% - 32px));
  padding: 14px 20px;
  border-radius: 50px;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  z-index: 1200;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease, visibility .3s ease;
}

.mobile-floating-cta.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mobile-floating-cta:hover {
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
  color: #ffffff;
  text-decoration: none;
}

.mobile-floating-cta-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.mobile-floating-cta-content i {
  font-size: 24px;
  flex-shrink: 0;
  color: #ffffff;
}

.mobile-floating-cta-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  text-align: left;
}

.mobile-floating-cta-title {
  font-weight: 700;
  font-size: 16px;
  display: block;
  color: #ffffff;
}

.mobile-floating-cta-subtitle {
  font-size: 13px;
  font-weight: 500;
  color: #ffffff;
  opacity: 0.9;
}

.pill {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.contact-card {
  text-align: center;
  padding: 1.5rem;
}

.contact-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  opacity: 0.9;
}

.bg-soft {
  background-color: #F8F9FA;
}

/* Footer Styles */
.footer {
  background-color: #1a1a1a;
  padding: 60px 0 30px;
  border-top: 1px solid #2d2d2d;
}

.footer-logo {
  margin-bottom: 1.5rem;
}

.footer-logo-image {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.footer-disclaimer {
  font-size: 0.85rem;
  line-height: 1.8;
  color: #ffffff;
  margin-bottom: 2rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 2rem;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-languages {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 2rem;
  justify-content: center;
  align-items: center;
}

.footer-languages a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 0px;
}

.footer-languages .flag-icon {
  width: 20px;
  height: 15px;
  object-fit: cover;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  margin-right: 0.2rem;
}

.footer-company {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #2d2d2d;
  font-size: 0.85rem;
  color: #ffffff;
}

/* Countries Section Styles */
.flags-container {
  margin-top: 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.country-item {
  margin-bottom: 1rem;
}

.country-card {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
  overflow: hidden;
}

.country-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.country-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 1rem;
  height: 100%;
}

.country-flag {
  width: 100%;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
}

.country-flag img {
  width: 100%;
  max-width: 80px;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
}

.country-card .country-name {
  font-size: 0.875rem;
  color: #1F2937;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  margin: 0;
}

/* Tablet and Mobile Hero Styles */
@media (max-width: 991.98px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .hero-section {
    min-height: 70vh;
    position: relative;
    display: flex;
    align-items: center;
    background: #000;
    padding: 0;
    overflow: hidden;
  }
  
  .hero-section .row {
    margin: 0;
    position: relative;
    z-index: 1;
    width: 100%;
  }
  
  .hero-section .col-lg-6:first-child {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    padding: 0;
  }
  
  .hero-section .col-lg-6:last-child {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    position: relative;
    z-index: 2;
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding-bottom: 2rem;
  }
  
  .hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    height: inherit !important;
  }
  
  .hero-section .row:has(.col-lg-6:last-child) {
    height: auto;
  }
  
  .hero-section .col-lg-6:first-child {
    height: 100%;
  }
  
  .hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .hero-bg-mobile {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
  }
  
  .hero-bg-mobile::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
    z-index: 1;
  }
  
  .hero-content {
    background: transparent;
    padding: 3rem 1.5rem;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
  }
  
  .hero-title {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    text-shadow: none;
  }
  
  .hero-description {
    color: #ffffff;
    font-size: 1rem;
    text-align: center;
    text-shadow: none;
  }
  
  .hero-features {
    max-width: 600px;
    margin: 2rem auto;
  }
  
  .hero-features .row {
    flex-direction: column;
    gap: 1rem;
  }
  
  .hero-features .col-12.col-sm-6 {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }
  
  .hero-content .btn {
    max-width: 600px;
    margin: 0 auto;
    display: block;
  }
}

/* Mobile specific - more compact */
@media (max-width: 575.98px) {
  .hero-section {
    min-height: 70vh;
    position: relative;
    align-items: center;
    background: #000;
    padding: 0;
    overflow: hidden;
  }
  
  .hero-section .row {
    height: 100%;
  }
  
  .hero-image-wrapper {
    height: 100%;
  }
  
  .hero-content {
    padding: 2rem 1rem;
  }
  
  .hero-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }
  
  .hero-description {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-features {
    margin: 1.5rem auto;
  }
  
  .hero-features .row {
    gap: 0.75rem;
  }
  
  .feature-box {
    padding: 1rem !important;
  }
  
  .feature-icon {
    font-size: 1.25rem !important;
    margin-bottom: 0.5rem !important;
  }
  
  .feature-title {
    font-size: 0.95rem !important;
  }
  
  .feature-text {
    font-size: 0.8rem !important;
  }
  
  .hero-content .btn {
    padding: 0.75rem 1rem !important;
    font-size: 0.95rem;
  }
}

/* Flag icon styles for language selector */
.flag-icon {
  width: 20px;
  height: 15px;
  margin-right: 5px;
  vertical-align: middle;
  display: inline-block;
  object-fit: cover;
}
