/* Desktop/tablet-specific header styles loaded only for wider viewports */

@media (min-width: 641px) {
  .top-bar {
    display: block !important;
    background: #1e293b;
    border-bottom: 1px solid #334155;
  }

  .top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    font-size: 0.875rem;
  }

  .contact-info {
    display: flex;
    gap: 1.5rem;
  }

  .contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #d1d5db;
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    transition: color 0.2s ease, background-color 0.2s ease;
  }

  .contact-link:hover {
    color: #fb923c;
    background: rgba(251, 146, 60, 0.1);
  }

  .social-media {
    display: flex;
    gap: 0.75rem;
  }

  .social-link {
    color: #9ca3af;
    padding: 0.5rem;
    border-radius: 0.375rem;
    transition: color 0.2s ease, background-color 0.2s ease;
  }

  .social-link:hover {
    background: rgba(255, 255, 255, 0.1);
  }

  .social-link.facebook:hover { color: #3b82f6; }
  .social-link.instagram:hover { color: #ec4899; }
  .social-link.twitter:hover { color: #1da1f2; }
  .social-link.youtube:hover { color: #ef4444; }
  .social-link.pinterest:hover { color: #bd081c; }
  .social-link.linkedin:hover { color: #3b82f6; }
  .social-link.whatsapp:hover { color: #25d366; }

  .icon {
    width: 1rem;
    height: 1rem;
  }

  .mobile-menu-header {
    display: none;
  }

  .mobile-menu-content {
    padding-top: 1.5rem;
  }
}

@media (min-width: 641px) and (max-width: 768px) {
  .social-media {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    max-width: 200px;
  }
}

@media (min-width: 1200px) {
  .desktop-nav {
    display: block !important;
  }

  .cta-button {
    display: inline-flex !important;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(to right, #ef4444, #dc2626);
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 9999px;
    white-space: nowrap;
    transition: background-color 0.2s ease;
  }

  .cta-button:hover {
    background: linear-gradient(to right, #dc2626, #b91c1c);
  }

  .mobile-menu-toggle {
    display: none !important;
  }

  .nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
  }

  .nav-item {
    position: relative;
  }

  .nav-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #e5e7eb;
    text-decoration: none;
    font-weight: 500;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    white-space: nowrap;
    transition: color 0.2s ease, background-color 0.2s ease;
  }

  .nav-link:hover {
    color: #fb923c;
    background: rgba(251, 146, 60, 0.1);
  }

  .nav-link.active {
    color: #fb923c;
    background: rgba(251, 146, 60, 0.15);
    font-weight: 600;
    position: relative;
  }

  .nav-link.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, #fb923c, #f97316);
    border-radius: 1px;
    transform: translateX(-50%);
  }

  .dropdown-icon {
    width: 1rem;
    height: 1rem;
    transition: transform 0.25s ease;
  }

  .dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
  }

  .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    width: max-content;
    background: #ffffff;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    margin-top: 0.5rem;
    z-index: 1050;
  }

  .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .dropdown-link {
    display: block;
    padding: 0.9rem 1.1rem;
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid #f3f4f6;
    white-space: nowrap;
    transition: color 0.2s ease, background-color 0.2s ease;
  }

  .dropdown-link:last-child {
    border-bottom: none;
  }

  .dropdown-link:hover {
    background: rgba(251, 146, 60, 0.08);
    color: #ea580c;
  }
}
