/* Urban Sunset Balloon Tours - Responsive Styles */

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Large Tablets and Small Desktops */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 3rem;
  }
  
  .section-title h2 {
    font-size: 2.5rem;
  }
  
  .services-grid,
  .features-grid,
  .priceplan-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  
  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
}

/* Tablets */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 1rem;
  }
  
  .navbar-nav {
    gap: 1rem;
  }
  
  .hero {
    padding-top: 120px;
    min-height: 80vh;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.2rem;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .about-features {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
  }
  
  .services-grid,
  .features-grid,
  .priceplan-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
  }
  
  .coreinfo-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  /* Disable autoplay on mobile for sliders */
  .swiper {
    --swiper-navigation-size: 30px;
  }
  
  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }
}

/* Large Mobile */
@media (max-width: 576px) {
  .container {
    padding: 0 10px;
  }
  
  .navbar-brand {
    font-size: 1.5rem;
  }
  
  .navbar-nav {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    text-align: center;
  }
  
  .hero {
    padding-top: 150px;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .section-title h3 {
    font-size: 1.2rem;
  }
  
  .about-features {
    grid-template-columns: 1fr;
  }
  
  .about-feature,
  .service-card,
  .feature-item,
  .priceplan-card,
  .team-member {
    padding: 1.5rem;
  }
  
  .service-image {
    height: 150px;
  }
  
  .team-member img {
    width: 80px;
    height: 80px;
  }
  
  .contact-form {
    padding: 2rem 1.5rem;
  }
  
  .form-control {
    padding: 0.8rem;
  }
  
  .btn-primary {
    padding: 0.8rem 1.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  .review-item {
    padding: 1.5rem;
  }
  
  .coreinfo-item {
    padding: 1.5rem;
  }
  
  .priceplan-price {
    font-size: 2rem;
  }
  
  .shape-1,
  .shape-2 {
    display: none;
  }
  
  /* Stack form elements vertically on mobile */
  .form-row {
    flex-direction: column;
  }
  
  .form-col {
    width: 100%;
    margin-bottom: 1rem;
  }
}

/* Small Mobile */
@media (max-width: 375px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .section-title h2 {
    font-size: 1.5rem;
  }
  
  .navbar-brand {
    font-size: 1.3rem;
  }
  
  .about-feature,
  .service-card,
  .feature-item,
  .priceplan-card,
  .team-member,
  .review-item,
  .coreinfo-item {
    padding: 1rem;
  }
  
  .contact-form {
    padding: 1.5rem 1rem;
  }
  
  .service-title {
    font-size: 1.2rem;
  }
  
  .priceplan-price {
    font-size: 1.8rem;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .btn-primary,
  .swiper-button-next,
  .swiper-button-prev,
  .swiper-pagination {
    display: none !important;
  }
  
  .hero {
    min-height: auto;
    padding: 2rem 0;
  }
  
  section {
    padding: 2rem 0;
    page-break-inside: avoid;
  }
  
  .service-card,
  .feature-item,
  .priceplan-card,
  .team-member {
    page-break-inside: avoid;
  }
  
  a {
    text-decoration: none;
  }
  
  .hero::before {
    display: none;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --sunset-orange: #d2691e;
    --sunset-pink: #cd853f;
    --sunset-purple: #8a2be2;
    --sunset-gold: #ffd700;
    --sunset-coral: #ff6347;
  }
  
  .btn-primary,
  .service-price,
  .faq-question {
    border: 2px solid var(--black);
  }
  
  .form-control {
    border-width: 3px;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  :root {
    --white: #1a1a1a;
    --light-gray: #2d2d2d;
    --gray: #a0a0a0;
    --dark-gray: #f0f0f0;
    --black: #ffffff;
  }
  
  body {
    background-color: var(--white);
    color: var(--dark-gray);
  }
  
  .about-feature,
  .service-card,
  .feature-item,
  .priceplan-card,
  .team-member,
  .review-item,
  .blog-item,
  .faq-item,
  .contact-form {
    background: var(--light-gray);
    border: 1px solid var(--gray);
  }
  
  .form-control {
    background: var(--light-gray);
    border-color: var(--gray);
    color: var(--dark-gray);
  }
  
  .form-control:focus {
    border-color: var(--sunset-orange);
  }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: 100vh;
    padding-top: 80px;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  
  section {
    padding: 2rem 0;
  }
}

/* Hover and Focus States for Touch Devices */
@media (hover: hover) and (pointer: fine) {
  .service-card:hover,
  .blog-item:hover,
  .gallery-item:hover {
    transform: translateY(-10px);
  }
  
  .about-feature:hover {
    transform: translateY(-10px);
  }
  
  .nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
  }
  
  .btn-primary:hover {
    transform: translateY(-2px);
  }
}

/* Touch Devices - Remove Hover Effects */
@media (hover: none) and (pointer: coarse) {
  .service-card:hover,
  .blog-item:hover,
  .gallery-item:hover,
  .about-feature:hover,
  .nav-link:hover,
  .btn-primary:hover {
    transform: none;
  }
  
  /* Make touch targets larger */
  .nav-link {
    padding: 1rem 1.5rem;
  }
  
  .btn-primary {
    padding: 1rem 2rem;
    min-height: 48px;
  }
  
  .faq-question {
    min-height: 48px;
    display: flex;
    align-items: center;
  }
} 