/* 
 * 4K Video Downloader - Responsive Stylesheet
 * Author: Manus
 * Date: 2025-06-07
 */

/* ===== RESPONSIVE STYLES ===== */

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Large devices (desktops, 992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  .container {
    max-width: 960px;
  }
  
  .hero-title {
    font-size: 2.75rem;
  }
  
  .hero-subtitle {
    font-size: 1.375rem;
  }
  
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .pricing-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Medium devices (tablets, 768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .container {
    max-width: 720px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .pricing-card.highlighted {
    grid-column: span 2;
    margin-bottom: 2rem;
  }
  
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .comparison-table th,
  .comparison-table td {
    padding: 0.75rem;
  }
  
  .footer-widget {
    margin-bottom: 2rem;
  }
}

/* Small devices (landscape phones, 576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
  .container {
    max-width: 540px;
  }
  
  .header-container {
    height: 70px;
  }
  
  .logo img {
    height: 35px;
  }
  
  .hero {
    padding: 7rem 0 5rem;
  }
  
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .hero-cta .btn {
    margin-bottom: 1rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .section-lg {
    padding: 4rem 0;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-card {
    margin-bottom: 2rem;
  }
  
  .pricing-card.highlighted {
    transform: scale(1);
  }
  
  .steps {
    grid-template-columns: 1fr;
  }
  
  .step {
    margin-bottom: 3rem;
  }
  
  .comparison-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
  
  .footer-widget {
    margin-bottom: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-nav {
    margin-top: 1rem;
    justify-content: center;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575px) {
  .container {
    width: 100%;
    padding: 0 1.25rem;
  }
  
  .header-container {
    height: 60px;
  }
  
  .logo img {
    height: 30px;
  }
  
  .hero {
    padding: 6rem 0 4rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-cta .btn {
    width: 100%;
    margin-bottom: 1rem;
  }
  
  .hero-badges {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .hero-badge {
    margin-bottom: 0.5rem;
  }
  
  .section {
    padding: 2.5rem 0;
  }
  
  .section-lg {
    padding: 3.5rem 0;
  }
  
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-card {
    margin-bottom: 2rem;
  }
  
  .pricing-card.highlighted {
    transform: scale(1);
  }
  
  .steps {
    grid-template-columns: 1fr;
  }
  
  .step {
    margin-bottom: 3rem;
  }
  
  .comparison-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    font-size: 0.875rem;
  }
  
  .comparison-table th,
  .comparison-table td {
    padding: 0.5rem;
  }
  
  .accordion-header {
    padding: 1rem;
  }
  
  .accordion-content {
    padding: 0 1rem;
  }
  
  .accordion-item.active .accordion-content {
    padding: 1rem;
  }
  
  .footer {
    padding: 3rem 0 1.5rem;
  }
  
  .footer-widget {
    margin-bottom: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
  }
  
  .footer-nav {
    margin-top: 1rem;
    flex-direction: column;
    align-items: center;
  }
  
  .footer-nav-link {
    margin: 0.5rem 0;
  }
  
  .social-links {
    justify-content: center;
  }
}

/* Mobile Navigation */
@media (max-width: 991px) {
  .nav-list {
    display: none;
  }
  
  .hamburger {
    display: block;
  }
  
  .nav-mobile {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    z-index: 999;
    display: none;
  }
  
  .nav-mobile.active {
    display: block;
  }
  
  .nav-mobile .nav-list {
    display: block;
  }
  
  .nav-mobile .nav-item {
    margin: 0;
  }
  
  .nav-mobile .nav-link {
    display: block;
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid #f0f0f0;
  }
  
  .nav-mobile .nav-cta {
    margin: 1rem 1.5rem;
    display: block;
  }
  
  .nav-mobile .btn {
    width: 100%;
  }
  
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }
  
  .header-transparent .hamburger span {
    background-color: #ffffff;
  }
}

/* Tablet and Desktop Navigation */
@media (min-width: 992px) {
  .nav-mobile {
    display: none !important;
  }
}

/* Print Styles */
@media print {
  .header,
  .footer,
  .cta,
  .nav,
  .btn {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.5;
    color: #000000;
    background-color: #ffffff;
  }
  
  .container {
    max-width: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
  }
  
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
    page-break-inside: avoid;
  }
  
  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }
  
  p, h2, h3 {
    orphans: 3;
    widows: 3;
  }
  
  .comparison-table {
    border-collapse: collapse;
  }
  
  .comparison-table th,
  .comparison-table td {
    border: 1px solid #000000;
  }
}

