/* Comprehensive responsive fixes for Albert's portfolio */

/* Fix for mobile navigation */
@media (max-width: 768px) {
  /* Ensure hamburger menu is visible */
  .nav-toggle {
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    position: relative;
    z-index: 2000;
  }
  
  .nav-toggle span {
    background-color: #000000;
    height: 3px;
    border-radius: 3px;
    display: block;
  }
  
  /* Fix mobile menu positioning */
  .nav-menu {
    top: 70px !important;
    width: 85% !important;
    height: calc(100vh - 70px) !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15) !important;
  }
  
  /* Improve mobile menu profile section */
  .mobile-menu-profile {
    padding: 25px 20px !important;
  }
  
  /* Better spacing for mobile sections */
  .section-padding {
    padding: 50px 0 !important;
  }
  
  /* Testimonials grid for mobile */
  .testimonials-grid {
    grid-template-columns: 1fr !important;
    gap: 25px !important;
  }
  
  /* Adjust service cards for mobile */
  .service-card {
    padding: 25px !important;
  }
  
  /* Fix button alignment on mobile */
  .btn {
    text-align: center;
    display: block;
  }
  
  /* Fix contact form on mobile */
  .contact-form input,
  .contact-form textarea {
    padding: 12px !important;
  }
}

/* Small mobile fixes */
@media (max-width: 480px) {
  /* Smaller headings on mobile */
  .hero-text h1 {
    font-size: 28px !important;
  }
  
  .hero-text h2 {
    font-size: 18px !important;
  }
  
  .section-header h2 {
    font-size: 24px !important;
  }
  
  /* Fix container padding */
  .container {
    padding: 0 20px !important;
  }
  
  /* Adjust testimonial cards */
  .testimonial-content {
    padding: 25px 20px !important;
  }
  
  /* Fix portfolio items */
  .portfolio-item {
    margin-bottom: 20px !important;
  }
}

/* Tablet specific fixes */
@media (min-width: 769px) and (max-width: 991px) {
  /* Show hero image on tablets */
  .hero-image {
    display: block !important;
    max-width: 250px !important;
    margin: 0 auto 30px !important;
  }
  
  /* Testimonials grid for tablets */
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  
  /* Fix service cards on tablets */
  .services-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Desktop fixes */
@media (min-width: 992px) {
  /* Ensure desktop navigation is horizontal */
  .nav-menu {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
  }
  
  /* Hide mobile-only elements on desktop */
  .mobile-menu-profile {
    display: none !important;
  }
  
  /* Show hero image on desktop */
  .hero-image {
    display: block !important;
  }
  
  /* Testimonials grid for desktop */
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}
