/* AI-Driven SEO Content Brief Generator - Responsive Styles */

/* ===== MOBILE FIRST APPROACH ===== */

/* Extra Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .hero-title {
    font-size: 1.99rem;
  }
  
  .section-title {
    font-size: 1.52rem;
  }
  
  .hero-section {
    min-height: 80vh;
    text-align: center;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .service-card, .feature-card, .price-card, .team-card, .review-card {
    padding: 1.5rem;
    margin-bottom: 1.59rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .navbar-brand {
    font-size: 10px !important;
    font-size: 1.15rem;
  }
  
  .hero-desc {
    font-size: var(--font-size-base);
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.78rem;
  }
  
  .hero-section {
    min-height: 85vh;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .service-card, .feature-card, .price-card {
    margin-bottom: 2rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-title {
    font-size: 2.28rem;
  }
  
  .section-title {
    font-size: 1.89rem;
  }
  
  .hero-section {
    min-height: 90vh;
  }
  
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  .navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
  }
  
  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-title {
    font-size: 2.56rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero-section {
    min-height: 95vh;
  }
  
  .service-card, .feature-card, .price-card {
    height: 100%;
  }
  
  .team-photo {
    width: 140px;
    height: 140px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-title {
    font-size: 2.86rem;
  }
  
  .section-title {
    font-size: 2.34rem;
  }
  
  .hero-section {
    min-height: 100vh;
  }
  
  .container {
    max-width: 1140px;
  }
  
  .service-card, .feature-card, .price-card {
    height: 100%;
  }
  
  .team-photo {
    width: 150px;
    height: 150px;
  }
}

/* ===== RESPONSIVE UTILITIES ===== */

/* Hide/Show elements based on screen size */
@media (max-width: 767.98px) {
  .d-md-none {
    display: none;
  }
  
  .hero-section::before {
    display: none;
  }
  
  .navbar-nav {
    text-align: center;
    padding: 1rem 0;
  }
  
  .navbar-nav .nav-item {
    margin: 0.5rem 0;
  }
}

@media (min-width: 768px) {
  .d-md-block {
    display: block;
  }
}

/* ===== RESPONSIVE TYPOGRAPHY ===== */
@media (max-width: 575.98px) {
  h1 { font-size: 1.86rem; }
  h2 { font-size: 1.57rem; }
  h3 { font-size: 1.27rem; }
  
  .card-title {
    font-size: 1.23rem;
  }
  
  .card-price {
    font-size: 1.78rem;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.85rem; }
  h3 { font-size: 1.45rem; }
}

/* ===== RESPONSIVE SPACING ===== */
@media (max-width: 767.98px) {
  .section-desc {
    margin-bottom: 2rem;
  }
  
  .hero-content {
    padding: 2rem 0;
    padding-top: 125px;
}
}

/* ===== RESPONSIVE GRID ADJUSTMENTS ===== */
@media (max-width: 575.98px) {
  .row > [class*="col-"] {
    margin-bottom: 1rem;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .row > [class*="col-"] {
    margin-bottom: 1.70rem;
  }
}

/* ===== RESPONSIVE NAVIGATION ===== */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(141, 113, 219, 0.95);
    margin-top: 1rem;
    border-radius: 8px;
    padding: 1rem;
  }
  
  .navbar-nav .nav-link {
    font-size: 10px !important;
    padding: 0.5rem 1rem;
    margin: 0.25rem 0;
    border-radius: 4px;
    transition: background-color 0.3s ease;
  }
  
  .navbar-nav .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }
}

/* ===== RESPONSIVE CARDS ===== */
@media (max-width: 767.98px) {
  .service-card, .feature-card, .price-card, .team-card, .review-card, .case-card {
    margin-bottom: 1.70rem;
  }
  
  .card-icon {
    width: 50px;
    height: 50px;
    font-size: 1.31rem;
  }
}

/* ===== RESPONSIVE GALLERY ===== */
@media (max-width: 575.98px) {
  .gallery-item img {
    height: 150px;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .gallery-item img {
    height: 175px;
  }
}

/* ===== RESPONSIVE FORMS ===== */
@media (max-width: 575.98px) {
  .contact-form {
    margin: 1rem;
  }
  
  .btn-primary {
    width: 100%;
    padding: 1rem;
  }
}

/* ===== RESPONSIVE FOOTER ===== */
@media (max-width: 767.98px) {
  .footer {
    padding: 2rem 0 1rem;
  }
  
  .footer .col-md-3, .footer .col-md-4 {
    margin-bottom: 2rem;
    text-align: center;
  }
}

/* ===== RESPONSIVE FAQ ===== */
@media (max-width: 575.98px) {
  .faq-card {
    padding: 1rem;
  }
  
  .faq-question {
    font-size: 1rem;
  }
}

/* ===== RESPONSIVE TEAM SECTION ===== */
@media (max-width: 575.98px) {
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  .team-member {
    margin-bottom: 1.60rem;
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  .navbar, .footer, .btn, button {
    display: none;
  }
  
  .hero-section {
    min-height: auto;
    page-break-after: always;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  h1, h2, h3 {
    page-break-after: avoid;
  }
} 