/* ============================================
   Solution Talenteed - Responsive Styles
   Breakpoints inspirés de Talenteedio-Front
   ============================================ */

/* Extra Large Devices (1200px and up) */
@media (max-width: 1200px) {
  .container {
    max-width: 1000px;
  }
  
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
  
  .footer-contact-widget {
    grid-column: span 3;
    margin-top: 20px;
  }
}

/* Large Devices (992px and up) */
@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .about-image {
    order: -1;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .about-content {
    text-align: center;
  }
  
  .about-content .section-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  
  .footer-brand {
    grid-column: span 2;
  }
}

/* Medium Devices (768px and up) */
@media (max-width: 768px) {
  .section-spacing {
    padding: 60px 0;
  }
  
  /* Header Mobile */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 80px 30px 30px;
    gap: 0;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1001;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-menu a {
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
    width: 100%;
  }
  
  .nav-menu a::after {
    display: none;
  }
  
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding: 0 0 0 20px;
    display: none;
  }
  
  .nav-item.open .dropdown {
    display: block;
  }
  
  .menu-toggle {
    display: flex;
    z-index: 1002;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  .menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
  }
  
  .menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }
  
  /* Hero */
  .hero {
    min-height: 80vh;
    margin-top: 70px;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 16px;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
  }
  
  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  /* Testimonials */
  .testimonial-card {
    padding: 40px 25px;
  }
  
  .testimonial-quote p {
    font-size: 15px;
  }
  
  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-brand {
    grid-column: auto;
  }
  
  .footer-brand p {
    text-align: center;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .footer-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-contact li {
    justify-content: center;
    text-align: left;
  }
}

/* Small Devices (576px and up) */
@media (max-width: 576px) {
  .section-spacing {
    padding: 50px 0;
  }
  
  .container {
    padding: 0 15px;
  }
  
  /* Top Bar */
  .top-bar {
    padding: 6px 0;
  }
  
  .top-bar .container {
    justify-content: center;
  }
  
  /* Hero */
  .hero {
    min-height: 70vh;
  }
  
  .hero-content h1 {
    font-size: 1.75rem;
    line-height: 1.3;
  }
  
  .hero-content p {
    font-size: 15px;
    margin-bottom: 30px;
  }
  
  /* Buttons */
  .btn {
    min-width: 140px;
    padding: 15px 25px 12px;
    font-size: 14px;
  }
  
  /* Service Cards */
  .service-card {
    padding: 30px 20px;
  }
  
  .service-icon {
    width: 70px;
    height: 70px;
  }
  
  .service-icon img {
    width: 35px;
    height: 35px;
  }
  
  .service-card h3 {
    font-size: 18px;
  }
  
  /* Testimonials */
  .testimonial-card {
    padding: 30px 20px;
  }
  
  .testimonial-quote::before {
    font-size: 60px;
    top: -20px;
  }
  
  .testimonial-quote p {
    font-size: 14px;
    line-height: 1.8;
  }
  
  /* Footer */
  .footer-main {
    padding: 50px 0 30px;
  }
  
  .footer-grid {
    gap: 30px;
  }
  
  .logo img {
    height: 40px;
  }
  
  /* Scroll Top */
  .scroll-top {
    width: 45px;
    height: 45px;
    bottom: 20px;
    right: 20px;
    font-size: 18px;
  }
}

/* Extra Small Devices (414px and below) */
@media (max-width: 414px) {
  h2 {
    font-size: 1.5rem;
  }
  
  .hero-content h1 {
    font-size: 1.5rem;
  }
  
  .hero-buttons .btn {
    max-width: 100%;
  }
  
  .testimonial-author h4 {
    font-size: 16px;
  }
  
  .footer-title {
    font-size: 16px;
  }
}

/* Hover Effects - Disable on Touch Devices */
@media (hover: none) {
  .service-card:hover {
    transform: none;
  }
  
  .service-card:hover .service-icon {
    transform: none;
    background: rgba(25, 103, 210, 0.1);
  }
  
  .service-card:hover .service-icon img {
    filter: none;
  }
  
  .btn:hover {
    transform: none;
  }
  
  .about-image:hover img {
    transform: none;
  }
}

/* Print Styles */
@media print {
  .header,
  .footer,
  .scroll-top,
  .hero-dots,
  .testimonial-controls {
    display: none;
  }
  
  .hero {
    min-height: auto;
    margin-top: 0;
    padding: 40px 0;
  }
  
  .section-spacing {
    padding: 30px 0;
  }
  
  body {
    background: white;
  }
}
