/*
 * Responsive CSS for Curated Micro-Vacation Planning Agency
 * Mobile & Tablet Optimizations - Bootstrap 5 Compatible
 */

/* ========== LARGE SCREENS ========== */
@media (min-width: 1200px) {
  .hero-section {
    padding: 0 2rem;
  }
  
  .service-card {
    padding: 2.5rem 2rem;
  }
  
  .section-padding-xl {
    padding: 5rem 0;
  }
}

/* ========== TABLETS ========== */
@media (max-width: 991.98px) {
  /* Hero Section */
  .hero-section {
    min-height: 80vh;
    text-align: center;
    padding: 3rem 0;
  }
  
  .hero-section::before {
    top: -30%;
    right: -20%;
    width: 80%;
    height: 100%;
  }
  
  /* Typography */
  h1 { font-size: var(--font-size-2xl); }
  h2 { font-size: var(--font-size-xl); }
  h3 { font-size: var(--font-size-lg); }
  
  /* Navigation */
  .navbar-collapse {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-md);
    padding: 1rem;
    margin-top: 0.62rem;
    box-shadow: var(--shadow-md);
  }
  
  /* Cards */
  .service-card,
  .team-card,
  .testimonial-card {
    margin-bottom: 2rem;
  }
  
  /* Sections */
  section {
    padding: 3rem 0;
  }
  
  .section-sm {
    padding: 2rem 0;
  }
}

/* ========== MOBILE LANDSCAPE ========== */
@media (max-width: 767.98px) {
  /* Hero Section */
  .hero-section {
    min-height: 70vh;
    padding: 2rem 0;
  }
  
  .hero-section::before {
    display: none;
  }
  
  /* Typography */
  h1 { font-size: var(--font-size-xl); }
  h2 { font-size: var(--font-size-lg); }
  h3 { font-size: var(--font-size-base); }
  
  /* Navigation */
  .navbar-brand {
    font-size: 10px !important;
    font-size: var(--font-size-base) !important;
  }
  
  /* Cards */
  .service-card {
    padding: 1.5rem 1rem;
    margin-bottom: 1.62rem;
  }
  
  .service-card .service-icon {
    font-size: 2.57rem;
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  .testimonial-card {
    padding: 1.5rem;
    margin-bottom: 1.75rem;
  }
  
  /* FAQ */
  .faq-question,
  .faq-answer {
    padding: 1rem;
  }
  
  /* Forms */
  .form-control {
    margin-bottom: 1rem;
  }
  
  /* Gallery */
  .gallery-item img {
    height: 200px;
  }
  
  /* Sections */
  section {
    padding: 2.5rem 0;
  }
  
  .section-sm {
    padding: 1.5rem 0;
  }
  
  /* Footer */
  .footer {
    padding: 2rem 0 1.5rem;
    text-align: center;
  }
}

/* ========== MOBILE PORTRAIT ========== */
@media (max-width: 575.98px) {
  /* Typography */
  h1 { font-size: var(--font-size-lg); }
  h2 { font-size: var(--font-size-base); }
  p { font-size: var(--font-size-sm); }
  
  /* Hero Section */
  .hero-section {
    min-height: 60vh;
    padding: 1.5rem 0;
  }
  
  /* Cards */
  .custom-card {
    margin-bottom: 1rem;
  }
  
  .service-card {
    padding: 1rem;
  }
  
  .service-card .service-icon {
    font-size: 2rem;
  }
  
  .service-price {
    font-size: var(--font-size-xl);
  }
  
  .team-card {
    padding: 1rem;
  }
  
  .team-photo {
    width: 80px;
    height: 80px;
  }
  
  .testimonial-card {
    padding: 1rem;
  }
  
  /* FAQ */
  .faq-question,
  .faq-answer {
    padding: 0.75rem;
  }
  
  .faq-question {
    font-size: var(--font-size-sm);
  }
  
  .faq-answer {
    font-size: var(--font-size-xs);
  }
  
  /* Gallery */
  .gallery-item img {
    height: 180px;
  }
  
  /* Sections */
  section {
    padding: 2rem 0;
  }
  
  .section-sm {
    padding: 1rem 0;
  }
  
  /* Navigation */
  .navbar {
    padding: 0.5rem 1rem;
  }
  
  .navbar-brand {
    font-size: 10px !important;
    font-size: var(--font-size-sm) !important;
  }
  
  .navbar-nav .nav-link {
    font-size: 10px !important;
    padding: 0.5rem 0;
    text-align: center;
  }
  
  /* Forms */
  .form-control {
    font-size: var(--font-size-sm);
    padding: 0.75rem;
  }
  
  .btn {
    font-size: var(--font-size-sm);
    padding: 0.75rem 1.5rem;
  }
  
  /* Footer */
  .footer {
    padding: 1.5rem 0 1rem;
  }
  
  .footer h5 {
    font-size: var(--font-size-sm);
    margin-bottom: 0.62rem;
  }
  
  .footer p {
    font-size: var(--font-size-xs);
    margin-bottom: 0.62rem;
  }
}

/* ========== EXTRA SMALL DEVICES ========== */
@media (max-width: 480px) {
  /* Container padding */
  .container-fluid {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  
  /* Hero Section */
  .hero-section {
    min-height: 50vh;
    padding: 1rem 0;
  }
  
  /* Typography */
  h1 { font-size: var(--font-size-base); }
  h2 { font-size: var(--font-size-sm); }
  
  /* Cards */
  .service-card,
  .team-card,
  .testimonial-card {
    padding: 0.75rem;
  }
  
  .service-card .service-icon {
    font-size: 1.53rem;
  }
  
  .team-photo {
    width: 60px;
    height: 60px;
  }
  
  /* Gallery */
  .gallery-item img {
    height: 150px;
  }
  
  /* Sections */
  section {
    padding: 1.5rem 0;
  }
  
  .section-sm {
    padding: 0.75rem 0;
  }
}

/* ========== PRINT STYLES ========== */
@media print {
  .hero-section::before,
  .navbar,
  .footer,
  .btn,
  .gallery-item:hover img {
    display: none !important;
  }
  
  .hero-section {
    min-height: auto;
    background: white !important;
    padding: 1rem 0;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
    color: black !important;
    background: white !important;
  }
  
  h1, h2, h3, h4, h5, h6 {
    color: black !important;
    page-break-after: avoid;
  }
  
  .custom-card {
    border: 1px solid #d4d4d4 !important;
    box-shadow: none !important;
    background: white !important;
  }
  
  .service-price,
  .testimonial-author {
    color: black !important;
  }
}

/* ========== HIGH CONTRAST MODE ========== */
@media (prefers-contrast: high) {
  :root {
    --primary-ocean: #0081e4;
    --primary-coral: #ff5714;
    --primary-sage: #009205;
    --primary-amethyst: #7d09c4;
    --text-primary: #000000;
    --text-secondary: #2e2e2e;
    --border-light: #5d5d5d;
  }
  
  .custom-card {
    border: 2px solid var(--border-light);
  }
  
  .btn {
    border: 2px solid currentColor;
  }
}

/* ========== LANDSCAPE ORIENTATION ========== */
@media (orientation: landscape) and (max-height: 500px) {
  .hero-section {
    min-height: 100vh;
    padding: 1rem 0;
  }
  
  section {
    padding: 1.5rem 0;
  }
  
  .navbar {
    padding: 0.25rem 1rem;
  }
} 

.hero-content {
    padding-top: 150px;
}