/* ═══════════════════════════════════════════════════════════
   OMEGA AJANS - Responsive Styles
   Mobile First Approach
   ═══════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────
   TABLET (768px+)
   ───────────────────────────────────────────────────────────── */
@media (min-width: 768px) {
  /* Navigation */
  .nav-menu {
    display: flex;
    position: static;
    width: auto;
    height: auto;
    background: transparent;
    flex-direction: row;
    transform: none;
    gap: var(--space-lg);
  }
  
  .nav-link {
    font-size: 0.9rem;
  }
  
  .nav-cta {
    margin-top: 0;
  }
  
  .hamburger {
    display: none;
  }
  
  /* Hero */
  .hero-buttons {
    flex-direction: row;
  }
  
  .hero-logo-icon {
    width: 150px;
    height: 150px;
  }
  
  .hero-logo-icon span {
    font-size: 5rem;
  }
  
  .hero-logo-text {
    font-size: 3rem;
  }
  
  /* About Cards */
  .about-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-cards .card:last-child {
    grid-column: span 2;
  }
  
  /* Melinai */
  .melinai-content {
    grid-template-columns: 1fr 1fr;
  }
  
  /* Projects */
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Contact */
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Form */
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Footer */
  .footer-content {
    grid-template-columns: 2fr 1fr 1fr;
  }
  
  /* Recovery Banner */
  .recovery-banner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ─────────────────────────────────────────────────────────────
   LAPTOP (992px+)
   ───────────────────────────────────────────────────────────── */
@media (min-width: 992px) {
  /* About Cards */
  .about-cards {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .about-cards .card:last-child {
    grid-column: auto;
  }
  
  /* Projects */
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  /* Hero */
  .hero-logo-icon {
    width: 180px;
    height: 180px;
  }
  
  .hero-logo-icon span {
    font-size: 6rem;
  }
  
  .hero-logo-text {
    font-size: 3.5rem;
    letter-spacing: 12px;
  }
}

/* ─────────────────────────────────────────────────────────────
   DESKTOP (1200px+)
   ───────────────────────────────────────────────────────────── */
@media (min-width: 1200px) {
  .container {
    padding: 0 var(--space-lg);
  }
  
  /* Hero */
  .hero-logo-icon {
    width: 200px;
    height: 200px;
  }
  
  .hero-logo-icon span {
    font-size: 7rem;
  }
  
  .hero-logo-text {
    font-size: 4rem;
    letter-spacing: 15px;
  }
  
  /* Cards hover effects enhanced */
  .card:hover {
    transform: translateY(-12px) scale(1.02);
  }
  
  .project-card:hover {
    transform: translateY(-12px);
  }
}

/* ─────────────────────────────────────────────────────────────
   LARGE SCREENS (1400px+)
   ───────────────────────────────────────────────────────────── */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/* ─────────────────────────────────────────────────────────────
   SMALL MOBILE (< 375px)
   ───────────────────────────────────────────────────────────── */
@media (max-width: 374px) {
  html {
    font-size: 14px;
  }
  
  .hero-logo-icon {
    width: 100px;
    height: 100px;
  }
  
  .hero-logo-icon span {
    font-size: 3rem;
  }
  
  .hero-logo-text {
    font-size: 2rem;
    letter-spacing: 5px;
  }
  
  .btn {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.85rem;
  }
  
  .melinai-features {
    grid-template-columns: 1fr;
  }
}

/* ─────────────────────────────────────────────────────────────
   LANDSCAPE MOBILE
   ───────────────────────────────────────────────────────────── */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: var(--space-3xl) 0;
  }
  
  .hero-logo-icon {
    width: 80px;
    height: 80px;
  }
  
  .hero-logo-icon span {
    font-size: 2.5rem;
  }
  
  .hero-logo-text {
    font-size: 1.5rem;
  }
  
  .scroll-indicator {
    display: none;
  }
}

/* ─────────────────────────────────────────────────────────────
   HIGH CONTRAST MODE
   ───────────────────────────────────────────────────────────── */
@media (prefers-contrast: high) {
  :root {
    --border-subtle: rgba(255, 255, 255, 0.3);
    --text-secondary: rgba(255, 255, 255, 0.9);
    --text-muted: rgba(255, 255, 255, 0.7);
  }
  
  .btn-primary,
  .btn-outline:hover {
    border: 2px solid var(--accent-primary);
  }
}

/* ─────────────────────────────────────────────────────────────
   PRINT STYLES
   ───────────────────────────────────────────────────────────── */
@media print {
  .header,
  .hamburger,
  .scroll-indicator,
  .hero-bg,
  .hero-grid,
  .social-links,
  .footer-social {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .section {
    padding: 2rem 0;
    page-break-inside: avoid;
  }
  
  .card,
  .project-card,
  .contact-card {
    border: 1px solid #ccc;
    box-shadow: none;
  }
}
