/* Responsive Styles for Luxury Supercar Rental */

/* Large devices (desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .hero-title {
    font-size: 5rem;
  }
  
  .section-title {
    font-size: 3rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 1199.98px) {
  .hero-title {
    font-size: 3.5rem;
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 767.98px) {
  body {
overflow-x: hidden;
    font-size: 14px;
  }
  
  /* Header */
  .navbar-brand {
    font-size: 1.5rem;
  }
  
  .navbar-nav .nav-link {
    margin: 0 0.5rem;
    font-size: 0.9rem;
  }
  
  /* Hero Section */
  .hero-section {
    min-height: 100vh;
    padding: 2rem 0;
  }
  
  .hero-title {
    font-size: 2.5rem;
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  /* Sections */
  section {
    padding: 3rem 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .section-description {
    font-size: 1rem;
  }
  
  /* About Features */
  .about-feature {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .feature-icon {
    font-size: 2.5rem;
  }
  
  /* Services */
  .service-card {
    margin-bottom: 2rem;
  }
  
  .service-content {
    padding: 1.5rem;
  }
  
  .service-name {
    font-size: 1.3rem;
  }
  
  .service-price {
    font-size: 1.5rem;
  }
  
  /* Team */
  .team-image {
    width: 150px;
    height: 150px;
  }
  
  .team-name {
    font-size: 1.1rem;
  }
  
  /* Reviews */
  .review-card {
    padding: 2rem 1.5rem;
    margin: 0.5rem;
  }
  
  .review-text {
    font-size: 1rem;
  }
  
  /* FAQ */
  .faq-question {
    padding: 1rem;
    font-size: 0.9rem;
  }
  
  .faq-answer {
    font-size: 0.9rem;
  }
  
  .faq-answer.active {
    padding: 1rem;
  }
  
  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.5rem;
  }
  
  .gallery-item {
    height: 200px;
  }
  
  /* Contact Form */
  .contact-form {
    padding: 2rem 1.5rem;
  }
  
  .form-control {
    padding: 0.8rem;
    font-size: 0.9rem;
  }
  
  .btn-luxury {
    padding: 0.8rem 2rem;
    font-size: 1rem;
  }
  
  /* Footer */
  footer {
    padding: 2rem 0 1rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  /* Decorative shapes - reduced on mobile */
  .shape-blob-1 {
    width: 200px;
    height: 200px;
  }
  
  .shape-blob-2 {
    width: 150px;
    height: 150px;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .container {
    padding: 0 1rem;
  }
  
  /* Header */
  .navbar-brand {
    font-size: 1.3rem;
  }
  
  /* Hero */
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-description {
    font-size: 0.9rem;
  }
  
  /* Sections */
  section {
    padding: 2rem 0;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  /* About */
  .about-feature {
    padding: 1rem;
  }
  
  .feature-icon {
    font-size: 2rem;
  }
  
  /* Services */
  .service-content {
    padding: 1rem;
  }
  
  .service-name {
    font-size: 1.2rem;
  }
  
  .service-price {
    font-size: 1.3rem;
  }
  
  /* Team */
  .team-image {
    width: 120px;
    height: 120px;
  }
  
  /* Reviews */
  .review-card {
    padding: 1.5rem 1rem;
  }
  
  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-item {
    height: 180px;
  }
  
  /* Contact */
  .contact-form {
    padding: 1.5rem 1rem;
  }
  
  /* Disable animations on small screens for better performance */
  .shape-blob {
    display: none;
  }
  
  /* Reduce motion for mobile users */
  * {
    animation-duration: 0.3s !important;
    transition-duration: 0.3s !important;
  }
}

/* Landscape orientation adjustments */
@media (max-width: 767.98px) and (orientation: landscape) {
  .hero-section {
    min-height: 70vh;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  section {
    padding: 2rem 0;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .service-image,
  .team-image,
  .gallery-item {
    image-rendering: -webkit-optimize-contrast;
  }
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-delay: -1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    background-attachment: initial !important;
    scroll-behavior: auto !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
  }
  
  .shape-blob {
    animation: none !important;
  }
  
  .fade-in {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .service-card {
    background: #1a1a1a;
    color: white;
  }
  
  .about-feature {
    background: #1a1a1a;
    color: white;
  }
  
  .review-card {
    background: var(--primary-midnight);
    color: white;
  }
}

/* Print styles */
@media print {
  .navbar,
  .breadcrumb-container,
  footer,
  .shape-blob {
    display: none !important;
  }
  
  body {
overflow-x: hidden;
    font-size: 12pt;
    line-height: 1.4;
    color: black;
    background: white;
  }
  
  h1, h2, h3, h4, h5, h6 {
    color: black;
    page-break-after: avoid;
  }
  
  .hero-section,
  section {
    page-break-inside: avoid;
    margin: 1cm 0;
  }
}

/* Focus styles for accessibility */
@media (min-width: 768px) {
  .nav-link:focus,
  .btn-luxury:focus,
  .form-control:focus,
  .faq-question:focus {
    outline: 3px solid var(--primary-gold);
    outline-offset: 2px;
  }
}

/* Hover effects only on non-touch devices */
@media (hover: hover) and (pointer: fine) {
  .service-card:hover,
  .about-feature:hover,
  .team-member:hover .team-image {
    transform: translateY(-10px);
  }
  
  .gallery-item:hover {
    transform: scale(1.05);
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  .nav-link {
    padding: 1rem;
  }
  
  .btn-luxury {
    min-height: 44px;
    min-width: 44px;
  }
  
  .faq-question {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  
  /* Remove hover effects on touch devices */
  .service-card:hover,
  .about-feature:hover,
  .gallery-item:hover {
    transform: none;
  }
} 