/* Responsive Styles for Synergy Biblio Publishers Website */

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
  .container {
    max-width: 960px;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
  }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
  .container {
    max-width: 720px;
  }
  
  .header-container {
    padding: 10px 20px;
  }
  
  .logo img {
    height: 40px;
  }
  
  .nav-item {
    margin-left: 20px;
  }
  
  .hero {
    height: 80vh;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .about-container,
  .submissions-container,
  .contact-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .about-image {
    order: -1;
  }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
  .container {
    max-width: 540px;
  }
  
  .header-container {
    padding: 10px 15px;
  }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 250px;
    height: calc(100vh - 80px);
    background-color: var(--background-color);
    flex-direction: column;
    padding: 20px;
    box-shadow: -5px 0 15px var(--shadow-color);
    transition: right 0.3s ease;
    z-index: 999;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-item {
    margin: 0 0 20px 0;
  }
  
  .mobile-nav-toggle {
    display: block;
  }
  
  .hero {
    height: 70vh;
    min-height: 500px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-text {
    font-size: 1rem;
  }
  
  .section-title {
    margin-bottom: 30px;
  }
  
  .feature-box {
    padding: 20px;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .container {
    width: 100%;
    padding: 0 15px;
  }
  
  .hero {
    height: 60vh;
    min-height: 450px;
  }
  
  .hero-content {
    padding: 0 15px;
  }
  
  .hero-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .section {
    padding: 40px 0;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .feature-box,
  .submission-content,
  .contact-info,
  .contact-form {
    padding: 20px;
  }
  
  .book-image {
    height: 250px;
  }
}

/* Landscape orientation for mobile devices */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    height: auto;
    min-height: 400px;
    padding: 100px 0;
  }
  
  .nav-menu {
    overflow-y: auto;
  }
}

/* High-resolution displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  /* Optimize images for high-resolution displays if needed */
}

/* Print styles */
@media print {
  .header, .footer, .hero-video, .hero-overlay, .btn {
    display: none;
  }
  
  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }
  
  a {
    color: #000;
    text-decoration: underline;
  }
  
  .container {
    width: 100%;
    max-width: none;
    padding: 0;
  }
  
  .section {
    padding: 20px 0;
    page-break-inside: avoid;
  }
}
