/* 
 * Responsive Styles for VR Travel Experience Template
 * Mobile-first approach, working with Bootstrap 5 grid system
 * No Bootstrap overrides - complementary responsive rules only
 */

/* Base Mobile Styles (up to 575px) */
@media (max-width: 575.98px) {
  :root {
    --section-padding: 2rem 0;
    --font-size-3xl: 1.5rem;
    --font-size-2xl: 1.25rem;
    --font-size-xl: 1.125rem;
  }
  
  .hero-section {
    min-height: 90vh;
    padding: 1rem 0;
  }
  
  .hero-title {
    font-size: var(--font-size-2xl);
    margin-bottom: 0.70rem;
  }
  
  .hero-subtitle {
    font-size: var(--font-size-lg);
  }
  
  .hero-description {
    font-size: var(--font-size-base);
  }
  
  .hero-decoration-1,
  .hero-decoration-2 {
    display: none;
  }
  
  .section-title {
    font-size: var(--font-size-2xl);
  }
  
  .section-subtitle {
    font-size: var(--font-size-base);
  }
  
  .service-card {
    margin-bottom: 1.63rem;
  }
  
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-section {
    min-height: 95vh;
  }
  
  .hero-decoration-1 {
    width: 200px;
    height: 200px;
    top: 5%;
    right: 5%;
  }
  
  .hero-decoration-2 {
    width: 150px;
    height: 150px;
    bottom: 15%;
    left: 10%;
  }
  
  .service-card {
    margin-bottom: 1.60rem;
  }
  
  .team-photo {
    width: 130px;
    height: 130px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section {
    min-height: 100vh;
  }
  
  .hero-decoration-1 {
    width: 250px;
    height: 250px;
  }
  
  .hero-decoration-2 {
    width: 180px;
    height: 180px;
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
  
  .team-photo {
    width: 140px;
    height: 140px;
  }
  
  .feature-item {
    margin-bottom: 1.57rem;
  }
  
  .review-card {
    margin-bottom: 1.56rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-decoration-1,
  .hero-decoration-2 {
    display: block;
  }
  
  .team-photo {
    width: 150px;
    height: 150px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: var(--container-max-width);
  }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 600px) {
  .hero-section {
    min-height: 100vh;
    padding: 0.5rem 0;
  }
  
  .hero-title {
    margin-bottom: 0.39rem;
  }
  
  .hero-subtitle {
    margin-bottom: 0.68rem;
  }
  
  .hero-description {
    margin-bottom: 1rem;
  }
}

/* Print styles */
@media print {
  .hero-decoration-1,
  .hero-decoration-2,
  .navbar,
  .footer {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .hero-section {
    background: white;
    color: black;
    min-height: auto;
    padding: 1rem 0;
  }
  
  .hero-title,
  .hero-subtitle,
  .hero-description {
    color: black;
  }
  
  .service-card,
  .review-card,
  .faq-card,
  .price-card {
    border: 1px solid #b7b7b7;
    box-shadow: none;
    page-break-inside: avoid;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .service-card,
  .review-card,
  .faq-card,
  .price-card {
    border: 2px solid currentColor;
  }
  
  .hero-section {
    background: linear-gradient(135deg, #000 0%, #403d3c 100%);
  }
  
  .btn-primary {
    border: 2px solid currentColor;
  }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .service-card:hover,
  .btn-primary:hover,
  .gallery-image:hover {
    transform: none;
  }
  
  .service-card,
  .btn-primary,
  .gallery-image,
  .feature-item,
  .form-control {
    transition: none;
  }
}

/* Dark mode support (future-proofing) */

/* Focus management for accessibility */
@media (any-hover: none) {
  .service-card:hover,
  .feature-item:hover,
  .gallery-image:hover,
  .price-card:hover {
    transform: none;
    background: initial;
    box-shadow: initial;
  }
  
  .service-card:focus,
  .feature-item:focus,
  .gallery-image:focus,
  .price-card:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
  }
}

/* Text sizing adjustments for better readability */
@media (min-width: 1400px) {
  :root {
    --font-size-base: 1.125rem;
    --font-size-lg: 1.25rem;
    --font-size-xl: 1.5rem;
    --font-size-2xl: 1.75rem;
    --font-size-3xl: 2rem;
  }
  
  .section-description {
    max-width: 700px;
  }
}

/* Improve text readability on smaller screens */
@media (max-width: 767.98px) {
  .section-description {
    max-width: 100%;
    padding: 0 1rem;
  }
  
  .service-description,
  .review-text,
  .faq-answer {
    font-size: var(--font-size-base);
  }
}

/* Gallery responsive behavior */
@media (max-width: 575.98px) {
  .gallery-image {
    margin-bottom: 1rem;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .gallery-image {
    margin-bottom: 1.60rem;
  }
}

/* Contact form responsive layout */
@media (max-width: 767.98px) {
  .contact-form .row {
    margin: 0;
  }
  
  .contact-form .col-md-6 {
    padding: 0;
    margin-bottom: 1rem;
  }
}

/* Navbar responsive behavior (complementing Bootstrap) */
@media (max-width: 991.98px) {
  .navbar-brand {
    font-size: var(--font-size-lg);
  }
  
  .navbar-collapse {
    margin-top: 1rem;
  }
}

/* Ensure proper spacing on all screen sizes */
@media (max-width: 575.98px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .row {
    margin-left: -0.5rem;
    margin-right: -0.5rem;
  }
  
  .col,
  [class*="col-"] {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
} 

.hero-content {
    padding-top: 250px;
}