/* ===== BHAVISHYA INTERIOR - RESPONSIVE STYLES ===== */

/* Extra Large Devices (1200px and up) */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/* Large Devices (992px to 1199px) */
@media (max-width: 1199px) {
  .hero h1 {
    font-size: 3.5rem;
  }

  .section-title h2 {
    font-size: 2.8rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Medium Devices (768px to 991px) */
@media (max-width: 991px) {
  .mobile-menu-btn {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    transition: left 0.3s ease;
    z-index: 999;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links a {
    font-size: 1.5rem;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero p {
    font-size: 1.3rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-content,
  .contact-wrapper,
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image {
    order: -1;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-header h1 {
    font-size: 3rem;
  }

  .page-header p {
    font-size: 1.2rem;
  }
}

/* Small Devices (576px to 767px) */
@media (max-width: 767px) {
  .container {
    padding: 0 20px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.2rem;
  }

  .hero-btns {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .hero-btns .btn {
    width: 100%;
    max-width: 280px;
  }

  .section-title h2 {
    font-size: 2.2rem;
  }

  .section-title p {
    font-size: 1rem;
  }

  .services-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-item.featured {
    grid-column: span 1;
  }

  .about-stats {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .contact-info,
  .contact-form {
    padding: 30px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .page-header h1 {
    font-size: 2.5rem;
  }

  .page-header p {
    font-size: 1.1rem;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }
}

/* Extra Small Devices (less than 576px) */
@media (max-width: 575px) {
  .logo-text {
    font-size: 1.4rem;
  }

  .logo-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .btn {
    padding: 12px 30px;
    font-size: 0.9rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .service-content h3 {
    font-size: 1.4rem;
  }

  .portfolio-overlay h3 {
    font-size: 1.5rem;
  }

  .about-text h2 {
    font-size: 2rem;
  }

  .contact-info h3 {
    font-size: 1.8rem;
  }

  .footer-logo span {
    font-size: 1.2rem;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .page-header p {
    font-size: 1rem;
  }
}

/* Landscape Mode */
@media (orientation: landscape) and (max-height: 500px) {
  .hero {
    height: auto;
    min-height: 500px;
    padding: 100px 0;
  }

  .nav-links {
    height: calc(100vh - 80px);
    overflow-y: auto;
    padding: 20px;
  }

  .nav-links a {
    font-size: 1.2rem;
  }
}

/* Print Styles */
@media print {
  .header,
  .footer,
  .hero-btns,
  .contact-form,
  .back-to-top,
  .mobile-menu-btn {
    display: none !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
    color: #000;
  }

  .container {
    max-width: 100%;
    padding: 0;
  }

  a {
    color: #000 !important;
    text-decoration: underline !important;
  }

  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }

  h1,
  h2,
  h3 {
    page-break-after: avoid;
  }

  .section-title h2::after {
    background: #000 !important;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  /* Optional dark mode styles */
}
