/* ================================
   RESPONSIVE STYLES
   Cloud Restaurant Reservation Tool
   ================================ */

/* Mobile First Approach */

/* Extra Small Devices (phones, less than 576px) */
@media (max-width: 575.98px) {
  /* Typography adjustments */
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  /* Header adjustments */
  #header .navbar-brand {
    font-size: 1.1rem !important;
  }
  
  /* Hero section mobile */
  #hero {
    min-height: 80vh;
    padding: 2rem 0;
    text-align: center;
  }
  
  #hero h1 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }
  
  #hero p {
    font-size: 0.9rem;
  }
  
  /* No animations on mobile */
  #hero::before,
  #hero::after {
    display: none;
  }
  
  /* Section padding adjustments */
  #about,
  #services,
  #features,
  #priceplan,
  #team,
  #reviews,
  #casestudy,
  #process,
  #timeline,
  #career,
  #coreinfo,
  #contacts,
  #blog,
  #faq,
  #gallery {
    padding: 3rem 0;
  }
  
  /* Service cards mobile */
  .service-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .service-card img {
    height: 150px;
  }
  
  /* Team member adjustments */
  .team-member img {
    width: 150px;
    height: 150px;
  }
  
  /* Price cards mobile */
  .price-card {
    padding: 2rem;
    margin-bottom: 1.5rem;
  }
  
  .price-card.featured {
    transform: none;
    border-width: 2px;
  }
  
  .price-value {
    font-size: 2.5rem;
  }
  
  /* Contact form mobile */
  .contact-form {
    padding: 2rem;
  }
  
  /* Blog cards mobile */
  .blog-card img {
    height: 150px;
  }
  
  /* Gallery mobile */
  .gallery-item img {
    height: 200px;
  }
  
  /* Remove hover effects on mobile */
  .service-card:hover,
  .about-feature:hover,
  .gallery-item img:hover {
    transform: none;
  }
  
  /* Footer mobile */
  #footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  /* Mobile menu adjustments */
  .navbar-toggler {
    border: 2px solid var(--primary-coral);
    padding: 0.5rem;
  }
  
  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23FF6B6B' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
  }
  
  /* No scroll animations on mobile */
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* Small Devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  /* Typography adjustments */
  h1 {
    font-size: 1.9rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  /* Hero adjustments */
  #hero {
    min-height: 85vh;
  }
  
  #hero h1 {
    font-size: 1.9rem;
  }
  
  /* Service cards */
  .service-card {
    padding: 1.75rem;
  }
  
  .service-card img {
    height: 180px;
  }
  
  /* Team member adjustments */
  .team-member img {
    width: 175px;
    height: 175px;
  }
  
  /* Price cards */
  .price-card.featured {
    transform: scale(1.02);
  }
  
  /* Gallery */
  .gallery-item img {
    height: 220px;
  }
  
  /* Reduced animations on small devices */
  * {
    animation-duration: 0.2s !important;
    transition-duration: 0.2s !important;
  }
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  /* Hero adjustments */
  #hero {
    min-height: 90vh;
  }
  
  #hero h1 {
    font-size: 2rem;
  }
  
  /* Service cards */
  .service-card img {
    height: 190px;
  }
  
  /* Team member adjustments */
  .team-member img {
    width: 180px;
    height: 180px;
  }
  
  /* Price cards */
  .price-card.featured {
    transform: scale(1.03);
  }
  
  /* Gallery */
  .gallery-item img {
    height: 240px;
  }
  
  /* Contact form */
  .contact-form {
    padding: 2.5rem;
  }
}

/* Large Devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  /* Hero full height */
  #hero {
    min-height: 95vh;
  }
  
  /* Service cards */
  .service-card img {
    height: 200px;
  }
  
  /* Team member adjustments */
  .team-member img {
    width: 190px;
    height: 190px;
  }
  
  /* Gallery */
  .gallery-item img {
    height: 250px;
  }
}

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  /* Hero full height */
  #hero {
    min-height: 100vh;
  }
  
  /* Container max-width for very large screens */
  .container {
    max-width: 1200px;
  }
  
  /* Service cards full size */
  .service-card img {
    height: 200px;
  }
  
  /* Team member full size */
  .team-member img {
    width: 200px;
    height: 200px;
  }
  
  /* Gallery full size */
  .gallery-item img {
    height: 250px;
  }
}

/* Landscape orientation on mobile */
@media (max-width: 767.98px) and (orientation: landscape) {
  #hero {
    min-height: 60vh;
    padding: 1rem 0;
  }
  
  /* Reduce section padding in landscape */
  #about,
  #services,
  #features,
  #priceplan,
  #team,
  #reviews,
  #casestudy,
  #process,
  #timeline,
  #career,
  #coreinfo,
  #contacts,
  #blog,
  #faq,
  #gallery {
    padding: 2rem 0;
  }
}

/* Print styles */
@media print {
  /* Hide navigation and interactive elements */
  #header,
  #footer,
  .btn,
  .navbar,
  .contact-form {
    display: none !important;
  }
  
  /* Adjust typography for print */
  body {
    font-size: 12pt;
    line-height: 1.4;
    color: black;
    overflow-x: hidden;
}
  
  h1, h2, h3, h4, h5, h6 {
    color: black;
    page-break-after: avoid;
  }
  
  /* Remove backgrounds and shadows */
  * {
    background: white !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  
  /* Ensure content fits on page */
  .container {
    width: 100% !important;
    max-width: none !important;
  }
} 