/* Mobile First Responsive Design */

/* Extra Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  /* Typography */
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .navbar-brand {
    font-size: 1.25rem;
  }
  
  /* Hero Section */
  .hero-section {
    min-height: 90vh;
    padding: 2rem 0;
  }
  
  .hero-decorative {
    width: 100px;
    height: 100px;
  }
  
  /* No animations on mobile as per requirements */
  .hero-decorative {
    animation: none;
  }
  
  /* Sections */
  .section-padding {
    padding: 3rem 0;
  }
  
  /* Cards */
  .card {
    margin-bottom: 1.5rem;
  }
  
  /* Team Images */
  .team-image {
    width: 100px;
    height: 100px;
  }
  
  /* Contact Form */
  .contact-form {
    padding: 1.5rem;
  }
  
  /* Footer */
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  /* Gallery */
  .gallery-item img {
    height: 200px;
  }
  
  /* Price Cards */
  .price-card.featured {
    transform: none;
  }
  
  /* Core Info Grid */
  .coreinfo-grid {
    grid-template-columns: 1fr;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  /* Hero Section */
  .hero-section {
    min-height: 95vh;
  }
  
  .hero-decorative {
    width: 150px;
    height: 150px;
  }
  
  /* No animations on mobile as per requirements */
  .hero-decorative {
    animation: none;
  }
  
  /* Sections */
  .section-padding {
    padding: 4rem 0;
  }
  
  /* Core Info Grid */
  .coreinfo-grid {
    grid-template-columns: 1fr;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  /* Hero Section */
  .hero-decorative {
    animation: none;
  }
  
  /* Core Info Grid */
  .coreinfo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Gallery */
  .gallery-item img {
    height: 220px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  /* Hero Section - Enable animations on desktop */
  .hero-decorative {
    animation: float 6s ease-in-out infinite;
  }
  
  /* Core Info Grid */
  .coreinfo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  /* Gallery */
  .gallery-item img {
    height: 250px;
  }
}

/* Extra Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  /* Container adjustments */
  .container {
    max-width: 1140px;
  }
  
  /* Hero Section */
  .hero-section {
    min-height: 100vh;
  }
  
  /* Sections */
  .section-padding {
    padding: 6rem 0;
  }
  
  /* Typography */
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.25rem;
  }
}

/* Extra Extra Large devices (1400px and up) */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .hero-decorative {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
    color: black;
  }
  
  .card {
    box-shadow: none;
    border: 1px solid #ddd;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .card {
    border: 2px solid var(--text-dark);
  }
  
  .btn-primary {
    border: 2px solid var(--primary-dark);
  }
  
  .form-control {
    border-width: 2px;
  }
}

/* Dark mode support (basic) */

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 600px) {
  .hero-section {
    min-height: 100vh;
  }
  
  .section-padding {
    padding: 3rem 0;
  }
}

/* Specific mobile menu adjustments (as per requirements) */
@media (max-width: 991.98px) {
  /* Use standard Bootstrap 5 navbar behavior only */
  .navbar-collapse {
    background-color: var(--bg-white);
    border-radius: 8px;
    margin-top: 1rem;
    padding: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
  }
  
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
}

/* Hover effects disabled on touch devices */
@media (hover: none) {
  .card:hover,
  .gallery-item:hover {
    transform: none;
  }
  
  .btn:hover {
    background-color: var(--primary-color);
  }
}

/* Focus improvements for keyboard navigation */
@media (prefers-reduced-motion: no-preference) {
  *:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
  }
}

/* Loading state improvements */
@media (prefers-reduced-motion: reduce) {
  .card {
    transition: none;
  }
  
  .gallery-item {
    transition: none;
  }
  
  .btn {
    transition: none;
  }
}

/* Container improvements for very small screens */
@media (max-width: 320px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  h1 {
    font-size: 1.75rem;
  }
  
  .price-value {
    font-size: 1.75rem;
  }
  
  .service-price {
    font-size: 1.5rem;
  }
} 

.hero-section h1 {
    padding-top: 250px;
}
/* Disable horizontal scroll on desktop resolutions */
@media (min-width: 992px) {
    html, body {
        overflow-x: hidden;
        max-width: 100%;
    }
}
