/* CLAUDER - Modern Responsive Styles */

/* Mobile Menu */
@media (max-width: 768px) {
  .navbar-container {
    position: relative;
  }
  
  .mobile-menu-toggle {
    display: block;
    background: var(--primary);
    border: none;
    font-size: 18px;
    color: white;
    cursor: pointer;
    padding: var(--space-sm);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-2);
    transition: all var(--transition-fast);
  }
  
  .mobile-menu-toggle:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
  }
  
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    box-shadow: var(--shadow-3);
    border-radius: var(--radius-lg);
    margin-top: var(--space-sm);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-normal);
  }
  
  .nav-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  .nav-item {
    width: 100%;
  }
  
  .nav-item a {
    display: block;
    padding: var(--space-md);
    border-bottom: 1px solid var(--divider);
  }
  
  .nav-item:last-child a {
    border-bottom: none;
  }
}

/* Hero Section Mobile */
@media (max-width: 768px) {
  .hero-banner {
    padding: var(--space-lg);
    min-height: 70vh;
  }
  
  .hero-content h4 {
    font-size: 14px;
  }
  
  .hero-title {
    font-size: clamp(32px, 10vw, 48px);
  }
  
  .hero-subtitle {
    font-size: clamp(24px, 8vw, 36px);
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Services Grid Mobile */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .service-card {
    padding: var(--space-lg);
  }
  
  .service-icon {
    width: 56px;
    height: 56px;
    font-size: 24px;
  }
}

/* Categories Mobile */
@media (max-width: 768px) {
  .categories-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .category-card {
    aspect-ratio: 16/9;
  }
}

/* Collaborators Mobile */
@media (max-width: 768px) {
  .collaborator-slide {
    flex-direction: column;
    text-align: center;
    padding: var(--space-lg);
  }
  
  .collaborator-image {
    width: 150px;
    height: 150px;
    order: -1;
    margin-bottom: var(--space-lg);
  }
  
  .collaborator-name {
    font-size: 24px;
  }
  
  .collaborator-description {
    font-size: 16px;
  }
}

/* Services Carousel Mobile */
@media (max-width: 768px) {
  .services-carousel {
    flex-direction: column;
    gap: var(--space-lg);
  }
  
  .service-carousel-card {
    min-width: 100%;
  }
}

/* Footer Mobile */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    text-align: center;
  }
  
  .footer-brand {
    order: -1;
  }
}

/* Social Sidebar Mobile */
@media (max-width: 768px) {
  .social-sidebar {
    display: none;
  }
}

/* Modal Mobile */
@media (max-width: 768px) {
  .modal-dialog {
    margin: var(--space-sm);
    max-width: calc(100% - 32px);
  }
  
  .modal-modern .row_p {
    flex-direction: column;
    gap: var(--space-md);
  }
  
  .modal-modern .modal-header {
    padding: var(--space-md);
  }
  
  .modal-modern .modal-body {
    padding: var(--space-md);
  }
  
  .modal-modern .modal-title {
    font-size: 20px;
  }
}

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Large Desktop */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  
  .hero-title {
    font-size: 120px;
  }
  
  .hero-subtitle {
    font-size: 80px;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .service-icon,
  .category-card,
  .collaborator-image {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  :root {
    --surface: #ffffff;
    --background: #ffffff;
    --text-primary: #212121;
    --text-secondary: #757575;
    --divider: #e0e0e0;
  }
  
  .navbar-main {
    background: rgba(255, 255, 255, 0.95);
  }
  
  .service-card,
  .category-card,
  .modal-modern .modal-content {
    background: #ffffff;
    color: #212121;
  }
}

/* Print Styles */
@media print {
  .social-sidebar,
  .carousel-controls,
  .service-view-btn,
  .btn {
    display: none !important;
  }
  
  .header-section {
    background: none !important;
    color: black !important;
  }
  
  .hero-title,
  .hero-subtitle {
    color: black !important;
  }
}