/* Remote Executive Assistant Collective - Responsive CSS */
/* Mobile-First Approach */

/* === MOBILE STYLES (Base - 320px and up) === */
/* Base styles are already mobile-first in main.css */

/* === SMALL MOBILE (480px and up) === */
@media (min-width: 480px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .service-card {
    margin-bottom: 1.5rem;
  }
  
  .team-photo {
    width: 150px;
    height: 150px;
  }
}

/* === TABLET PORTRAIT (768px and up) === */
@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .section-title h2 {
    font-size: 2.25rem;
  }
  
  .navbar-nav .nav-link {
    margin: 0 1rem;
  }
  
  .hero-section {
    padding: 2rem 0;
  }
  
  .feature-card {
    padding: 2.5rem;
  }
  
  .service-content {
    padding: 2rem;
  }
  
  .team-photo {
    width: 180px;
    height: 180px;
  }
  
  .review-card {
    padding: 2.5rem;
  }
  
  .contact-form {
    padding: 2.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* === TABLET LANDSCAPE (992px and up) === */
@media (min-width: 992px) {
  .hero-title {
    font-size: 3.5rem;
  }
  
  .section-title h2 {
    font-size: 2.5rem;
  }
  
  .navbar {
    padding: 1.5rem 0;
  }
  
  .navbar-brand {
    font-size: 1.75rem;
  }
  
  .hero-section {
    padding: 3rem 0;
  }
  
  .section {
    padding: 6rem 0;
  }
  
  .feature-card {
    padding: 3rem;
    margin-bottom: 0;
  }
  
  .service-card {
    margin-bottom: 0;
  }
  
  .service-content {
    padding: 2.5rem;
  }
  
  .team-photo {
    width: 200px;
    height: 200px;
  }
  
  .team-member {
    margin-bottom: 0;
  }
  
  .review-card {
    padding: 3rem;
    margin-bottom: 0;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-content {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* === DESKTOP (1200px and up) === */
@media (min-width: 1200px) {
  .hero-title {
    font-size: 4rem;
  }
  
  .section-title h2 {
    font-size: 3rem;
  }
  
  .navbar-brand {
    font-size: 2rem;
  }
  
  .hero-section {
    padding: 4rem 0;
  }
  
  .section {
    padding: 8rem 0;
  }
  
  .feature-card {
    padding: 3.5rem;
  }
  
  .service-content {
    padding: 3rem;
  }
  
  .review-card {
    padding: 3.5rem;
  }
  
  .contact-form {
    padding: 3rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .footer-content {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* === LARGE DESKTOP (1400px and up) === */
@media (min-width: 1400px) {
  .container {
    max-width: var(--container-max-width);
  }
  
  .hero-title {
    font-size: 4.5rem;
  }
  
  .section-title h2 {
    font-size: 3.5rem;
  }
  
  .section {
    padding: 10rem 0;
  }
}

/* === SPECIFIC COMPONENT RESPONSIVE STYLES === */

/* Navigation Responsive */
@media (max-width: 767px) {
  .navbar-collapse {
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    margin-top: 1rem;
    padding: 1rem;
  }
  
  .navbar-nav {
    text-align: center;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 0;
    margin: 0;
    border-bottom: 1px solid var(--neutral-light);
  }
  
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
}

/* Hero Section Responsive */
@media (max-width: 767px) {
  .hero-section {
    text-align: center;
    padding: 2rem 0;
  }
  
  .hero-title {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-image {
    margin-top: 2rem;
  }
}

/* Services Grid Responsive */
@media (max-width: 767px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

/* Team Grid Responsive */
@media (max-width: 767px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 992px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 1200px) {
  .team-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
  }
}

/* Reviews Slider Responsive */
@media (max-width: 767px) {
  .reviews-slider {
    padding: 0 1rem;
  }
  
  .review-card {
    padding: 1.5rem;
  }
  
  .review-text {
    font-size: 1rem;
  }
}

/* FAQ Responsive */
@media (max-width: 767px) {
  .faq-question {
    padding: 1rem;
    font-size: 0.9rem;
  }
  
  .faq-answer {
    padding: 0 1rem 1rem;
    font-size: 0.9rem;
  }
}

/* Contact Form Responsive */
@media (max-width: 767px) {
  .contact-form {
    padding: 1.5rem;
  }
  
  .contact-info {
    text-align: center;
    margin-top: 1.5rem;
  }
  
  .contact-info p {
    justify-content: center;
  }
}

/* Gallery Responsive */
@media (max-width: 767px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
}

/* Footer Responsive */
@media (max-width: 767px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }
  
  .footer {
    padding: 2rem 0 1rem;
  }
}

/* Form Elements Responsive */
@media (max-width: 767px) {
  .form-control {
    font-size: 1rem;
    padding: 0.75rem;
  }
  
  .btn-primary {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
  }
}

/* Typography Responsive */
@media (max-width: 767px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.3rem; }
  h4 { font-size: 1.1rem; }
  h5 { font-size: 1rem; }
  h6 { font-size: 0.9rem; }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .section-desc {
    font-size: 0.9rem;
  }
}

/* Spacing Responsive */
@media (max-width: 767px) {
  .section {
    padding: 3rem 0;
  }
  
  .section-title {
    margin-bottom: 2rem;
  }
  
  .container {
    padding: 0 1rem;
  }
}

/* Additional Page Layouts Responsive */
@media (max-width: 767px) {
  .additional-page-section {
    padding: 2rem 0;
  }
  
  .additional-page-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (min-width: 768px) {
  .additional-page-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 992px) {
  .additional-page-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

/* Price Plan Responsive */
@media (max-width: 767px) {
  .priceplan-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .priceplan-price {
    font-size: 1.5rem;
  }
}

/* Case Studies Responsive */
@media (max-width: 767px) {
  .casestudy-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
}

/* Process Responsive */
@media (max-width: 767px) {
  .process-step {
    margin-bottom: 2rem;
  }
  
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .process-step {
    margin-bottom: 1.5rem;
  }
}

/* Timeline Responsive */
@media (max-width: 767px) {
  .timeline::before {
    left: 30px;
  }
  
  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 60px;
    margin-right: 0;
    text-align: left;
  }
  
  .timeline-content {
    padding: 1rem;
  }
  
  .timeline-content::before {
    left: -1.75rem;
  }
  
  .timeline-item:nth-child(odd) .timeline-content::before {
    left: -1.75rem;
    right: auto;
  }
}

/* Career Responsive */
@media (max-width: 767px) {
  .career-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
}

/* Core Info Responsive */
@media (max-width: 767px) {
  .coreinfo-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
}

/* Blog Responsive */
@media (max-width: 767px) {
  .blog-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
}

/* Breadcrumb Responsive */
@media (max-width: 767px) {
  .breadcrumb-section {
    padding: 0.5rem 0;
  }
  
  .breadcrumb-image {
    width: 30px;
    height: 30px;
  }
}

/* Image Responsive */
@media (max-width: 767px) {
  .hero-image img,
  .service-image,
  .team-photo {
    max-width: 100%;
    height: auto;
  }
}

/* Utilities Responsive */
@media (max-width: 767px) {
  .text-center-mobile {
    text-align: center;
  }
  
  .mb-mobile-0 { margin-bottom: 0; }
  .mb-mobile-1 { margin-bottom: 0.5rem; }
  .mb-mobile-2 { margin-bottom: 1rem; }
  .mb-mobile-3 { margin-bottom: 1.5rem; }
  
  .mt-mobile-0 { margin-top: 0; }
  .mt-mobile-1 { margin-top: 0.5rem; }
  .mt-mobile-2 { margin-top: 1rem; }
  .mt-mobile-3 { margin-top: 1.5rem; }
  
  .p-mobile-1 { padding: 0.5rem; }
  .p-mobile-2 { padding: 1rem; }
  .p-mobile-3 { padding: 1.5rem; }
}

/* Print Styles */
@media print {
  * {
    color: black !important;
    background: white !important;
    box-shadow: none !important;
  }
  
  .navbar,
  .breadcrumb-section,
  .footer {
    display: none;
  }
  
  .section {
    page-break-inside: avoid;
  }
  
  .hero-section {
    background: white !important;
    color: black !important;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-image img,
  .service-image,
  .team-photo,
  .gallery-item img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Landscape Orientation */
@media screen and (orientation: landscape) and (max-height: 500px) {
  .hero-section {
    min-height: 80vh;
  }
  
  .section {
    padding: 4rem 0;
  }
} 