/* Professional Ghost-Blogging Network Template - Responsive CSS */
/* Mobile-First Responsive Design */

/* Mobile Base Styles (up to 576px) */
@media (max-width: 575.98px) {
  /* Typography Adjustments */
  h1 {
    font-size: 1.875rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .navbar-brand {
    font-size: 1.125rem !important;
  }
  
  /* Hero Section */
  .hero-section {
    min-height: 80vh;
    padding: 2rem 0;
  }
  
  /* Remove animations on mobile */
  .hero-decorative-shape {
    animation: none;
  }
  
  /* Card Adjustments */
  .professional-card,
  .service-card,
  .testimonial-card {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
  }
  
  .contact-form {
    padding: 2rem 1.5rem;
  }
  
  /* Section Spacing */
  .section-padding {
    padding: 3rem 0;
  }
  
  /* Team Photos */
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  /* Service Price */
  .service-price {
    font-size: 1.5rem;
  }
  
  /* Button Adjustments */
  .btn-primary,
  .btn-outline-primary {
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
  }
  
  /* Gallery Grid */
  .gallery-item {
    margin-bottom: 1rem;
  }
  
  /* Footer */
  .footer {
    text-align: center;
    padding: 2rem 0 1rem 0;
  }
  
  /* FAQ Cards */
  .faq-card {
    padding: 1.25rem;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-section {
    min-height: 85vh;
  }
  
  .section-padding {
    padding: 4rem 0;
  }
  
  .professional-card,
  .service-card {
    padding: 1.75rem;
  }
  
  .contact-form {
    padding: 2.5rem;
  }
  
  /* No scroll animations on small devices */
  .hero-decorative-shape {
    animation: none;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section {
    min-height: 90vh;
  }
  
  .section-padding {
    padding: 4.5rem 0;
  }
  
  .professional-card,
  .service-card {
    padding: 2rem;
  }
  
  .contact-form {
    padding: 2.5rem;
  }
  
  /* Restore some animations on tablets */
  .hero-decorative-shape {
    animation: float 8s ease-in-out infinite;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-section {
    min-height: 95vh;
  }
  
  .section-padding {
    padding: 5rem 0;
  }
  
  /* Full animations on large screens */
  .hero-decorative-shape {
    animation: float 6s ease-in-out infinite;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-section {
    min-height: 100vh;
  }
  
  .section-padding {
    padding: 6rem 0;
  }
  
  .contact-form {
    padding: 3.5rem;
  }
  
  /* Enhanced animations on extra large screens */
  .hero-decorative-shape {
    animation: float 6s ease-in-out infinite;
  }
}

/* Accessibility - Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .hero-decorative-shape {
    animation: none !important;
  }
  
  .professional-card:hover,
  .service-card:hover,
  .gallery-item:hover {
    transform: none !important;
  }
  
  .btn-primary:hover {
    transform: none !important;
  }
}

/* Container Adjustments */
@media (max-width: 575.98px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Navbar Responsive */
@media (max-width: 991.98px) {
  .navbar-collapse {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 0;
    text-align: center;
  }
}

/* Grid Adjustments for Services */
@media (max-width: 767.98px) {
  .services-grid .col-md-4 {
    margin-bottom: 2rem;
  }
}

@media (max-width: 575.98px) {
  .services-grid .col-md-4 {
    margin-bottom: 1.5rem;
  }
}

/* Team Grid Responsive */
@media (max-width: 767.98px) {
  .team-grid .col-lg-2 {
    margin-bottom: 2rem;
  }
}

/* Features Grid */
@media (max-width: 991.98px) {
  .features-grid .col-lg-3 {
    margin-bottom: 2rem;
  }
}

/* Reviews Grid */
@media (max-width: 767.98px) {
  .reviews-grid .col-md-6 {
    margin-bottom: 1.5rem;
  }
}

/* Timeline Responsive */
@media (max-width: 767.98px) {
  .timeline-item {
    padding-left: 0;
    border-left: none;
    text-align: center;
    margin-bottom: 2rem;
  }
}

/* Gallery Responsive */
@media (max-width: 575.98px) {
  .gallery-grid .col-6 {
    margin-bottom: 0.5rem;
  }
}

/* Contact Form Responsive */
@media (max-width: 767.98px) {
  .contact-info {
    margin-top: 2rem;
    text-align: center;
  }
}

/* Footer Responsive */
@media (max-width: 767.98px) {
  .footer .row > div {
    margin-bottom: 1.5rem;
    text-align: center;
  }
}

/* Print Styles */
@media print {
  .hero-decorative-shape,
  .navbar,
  .footer {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  h1, h2, h3, h4 {
    page-break-after: avoid;
  }
  
  .professional-card,
  .service-card,
  .testimonial-card {
    box-shadow: none;
    border: 1px solid #ececec;
    break-inside: avoid;
  }
} 

.hero-section h1 {
    padding-top: 275px;
}