/* Responsive Styles */

/* Large Devices (Desktops, less than 1200px) */
@media (max-width: 1199.98px) {
  .container {
    max-width: 960px;
  }
  
  .hero h1 {
    font-size: 3rem;
  }
  
  .section-header h2 {
    font-size: 2.2rem;
  }
  
  .about-content,
  .values-content,
  .contact-content {
    gap: var(--spacing-md);
  }
}

/* Medium Devices (Tablets, less than 992px) */
@media (max-width: 991.98px) {
  .container {
    max-width: 720px;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .about-content,
  .values-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .about-image,
  .values-image {
    order: -1;
  }
  
  .menu-items {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
  
  .team-members {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

/* Small Devices (Landscape Phones, less than 768px) */
@media (max-width: 767.98px) {
  .container {
    max-width: 540px;
  }
  
  header {
    padding: var(--spacing-xs) 0;
  }
  
  .logo a {
    font-size: 1.5rem;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  nav {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 80%;
    max-width: 300px;
    background-color: var(--bg-light);
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    transform: translateX(-100%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  nav.active {
    transform: translateX(0);
  }
  
  nav ul {
    flex-direction: column;
    text-align: center;
  }
  
  nav ul li {
    margin: var(--spacing-xs) 0;
  }
  
  nav ul li a {
    display: block;
    padding: var(--spacing-xs) 0;
  }
  
  .hero {
    height: 80vh;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .page-banner {
    height: 30vh;
  }
  
  .banner-content h1 {
    font-size: 2.2rem;
  }
  
  .menu-filter {
    flex-wrap: wrap;
  }
  
  .menu-items,
  .gallery-grid,
  .team-members,
  .achievements,
  .contact-options {
    grid-template-columns: 1fr;
  }
  
  .testimonial .quote {
    padding: var(--spacing-md);
    font-size: 1rem;
  }
  
  .about-text h2,
  .values-text h2,
  .contact-info h2,
  .contact-form h2 {
    font-size: 1.8rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    text-align: center;
  }
  
  .footer-links h4,
  .footer-contact h4,
  .footer-social h4 {
    display: block;
    text-align: center;
  }
  
  .footer-contact p {
    justify-content: center;
  }
  
  .footer-social .social-icons {
    justify-content: center;
  }
}

/* Extra Small Devices (Portrait Phones, less than 576px) */
@media (max-width: 575.98px) {
  .container {
    width: 95%;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .hero p {
    font-size: 0.9rem;
  }
  
  .hero .btn-primary {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .section-header p {
    font-size: 0.9rem;
  }
  
  .page-banner {
    height: 25vh;
  }
  
  .banner-content h1 {
    font-size: 1.8rem;
  }
  
  .banner-content p {
    font-size: 0.9rem;
  }
  
  .menu-filter {
    flex-direction: column;
    align-items: center;
  }
  
  .filter-btn {
    margin-bottom: var(--spacing-xs);
    width: 80%;
    text-align: center;
  }
  
  .testimonial .quote {
    padding: var(--spacing-sm);
    font-size: 0.9rem;
  }
  
  .avatar {
    width: 50px;
    height: 50px;
  }
  
  .gallery-item {
    height: 200px;
  }
  
  .about-text h2,
  .values-text h2,
  .contact-info h2,
  .contact-form h2 {
    font-size: 1.5rem;
  }
  
  .lightbox-content {
    max-width: 95%;
  }
  
  .caption {
    width: 95%;
    font-size: 1rem;
  }
  
  .faq-question h3 {
    font-size: 1rem;
  }
  
  .info-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .info-item i {
    margin-right: 0;
    margin-bottom: var(--spacing-xs);
  }
}

/* Overlay for Mobile Menu */
.menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.menu-overlay.active {
  display: block;
}

/* Close Button for Mobile Menu */
.menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.5rem;
  color: var(--text-dark);
  background: none;
  border: none;
  cursor: pointer;
  display: none;
}

@media (max-width: 767.98px) {
  .menu-close {
    display: block;
  }
}