/* =============================================
   UPCYCLED OCEAN-PLASTIC EYEWEAR BRAND
   Responsive CSS - Bootstrap 5 Compatible
   ============================================= */

/* Respect User Preferences */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Mobile First Approach - Base Styles (320px+) */
@media (max-width: 575.98px) {
  /* Typography Adjustments */
  :root {
    --heading-size-h1: 2rem;
    --heading-size-h2: 1.75rem;
    --heading-size-h3: 1.5rem;
    --heading-size-h4: 1.25rem;
    --navbar-brand-size: 1.25rem;
    --paragraph-size: 0.875rem;
  }
  
  /* Hero Section */
  .hero-section {
    min-height: 80vh;
    padding: 2rem 0;
  }
  
  .hero-decorative-blob {
    display: none;
  }
  
  /* Service Cards */
  .service-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .service-price {
    font-size: 1.25rem;
  }
  
  /* Feature Items */
  .feature-item {
    padding: 1.5rem;
  }
  
  .feature-icon {
    font-size: 2.5rem;
  }
  
  /* Price Cards */
  .price-card {
    padding: 2rem;
  }
  
  .price-amount {
    font-size: 2rem;
  }
  
  /* Team Photos */
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  /* Contact Form */
  .contact-form {
    padding: 2rem;
  }
  
  /* Gallery Images */
  .gallery-image {
    height: 200px;
  }
  
  /* Section Padding */
  .section-padding,
  .about-section,
  .services-section,
  .features-section,
  .priceplan-section,
  .team-section,
  .reviews-section,
  .casestudy-section,
  .process-section,
  .timeline-section,
  .career-section,
  .coreinfo-section,
  .contact-section,
  .blog-section,
  .faq-section,
  .gallery-section {
    padding: 2.5rem 0;
  }
  
  .add-page-section {
    padding: 2.5rem 0;
  }
  
  /* Footer */
  .footer {
    padding: 2rem 0 1rem;
  }
  
  .footer-section {
    margin-bottom: 1.5rem;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  /* Typography Adjustments */
  :root {
    --heading-size-h1: 2.25rem;
    --heading-size-h2: 1.875rem;
    --navbar-brand-size: 1.375rem;
  }
  
  /* Hero Section */
  .hero-section {
    min-height: 90vh;
  }
  
  .hero-decorative-blob.blob-1 {
    width: 150px;
    height: 150px;
  }
  
  .hero-decorative-blob.blob-2 {
    width: 120px;
    height: 120px;
  }
  
  /* Team Photos */
  .team-photo {
    width: 140px;
    height: 140px;
  }
  
  /* Gallery Images */
  .gallery-image {
    height: 220px;
  }
  
  /* Section Padding */
  .section-padding,
  .about-section,
  .services-section,
  .features-section,
  .priceplan-section,
  .team-section,
  .reviews-section,
  .casestudy-section,
  .process-section,
  .timeline-section,
  .career-section,
  .coreinfo-section,
  .contact-section,
  .blog-section,
  .faq-section,
  .gallery-section {
    padding: 3rem 0;
  }
  
  .add-page-section {
    padding: 3rem 0;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  /* Gallery Images */
  .gallery-image {
    height: 240px;
  }
  
  /* Service Cards Grid */
  .service-card {
    height: 100%;
  }
  
  /* Price Cards */
  .price-card {
    height: 100%;
  }
  
  /* Feature Items */
  .feature-item {
    height: 100%;
  }
  
  /* Contact Layout */
  .contact-section .row {
    align-items: stretch;
  }
  
  .contact-form,
  .contact-info {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  /* Hero Section */
  .hero-decorative-blob.blob-1 {
    width: 180px;
    height: 180px;
  }
  
  .hero-decorative-blob.blob-2 {
    width: 140px;
    height: 140px;
  }
  
  /* Gallery Images */
  .gallery-image {
    height: 260px;
  }
  
  /* Team Layout */
  .team-section .row {
    justify-content: center;
  }
  
  /* Process Steps */
  .process-step {
    min-height: 150px;
  }
  
  /* Timeline Items */
  .timeline-item {
    min-height: 120px;
  }
  
  /* FAQ Cards */
  .faq-card {
    min-height: 120px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  /* Gallery Images */
  .gallery-image {
    height: 280px;
  }
  
  /* Services Grid */
  .services-section .row {
    justify-content: center;
  }
  
  /* Features Grid */
  .features-section .row {
    justify-content: center;
  }
  
  /* Price Plans */
  .priceplan-section .row {
    justify-content: center;
  }
  
  /* Team Grid */
  .team-section .row {
    justify-content: center;
  }
  
  /* Core Info Grid */
  .coreinfo-section .row {
    justify-content: center;
  }
}

/* Extra extra large devices (1400px and up) */
@media (min-width: 1400px) {
  /* Container adjustments for very large screens */
  .container-xxl {
    max-width: 1320px;
  }
  
  /* Hero Section */
  .hero-section {
    padding: 0 2rem;
  }
  
  /* Gallery Images */
  .gallery-image {
    height: 300px;
  }
  
  /* Large spacing for big screens */
  .section-padding,
  .about-section,
  .services-section,
  .features-section,
  .priceplan-section,
  .team-section,
  .reviews-section,
  .casestudy-section,
  .process-section,
  .timeline-section,
  .career-section,
  .coreinfo-section,
  .contact-section,
  .blog-section,
  .faq-section,
  .gallery-section {
    padding: 5rem 0;
  }
  
  .add-page-section {
    padding: 5rem 0;
  }
}

/* Print Styles */
@media print {
  .hero-decorative-blob,
  .navbar,
  .footer,
  .btn,
  .contact-form {
    display: none;
  }
  
  .hero-section,
  .section-padding,
  .about-section,
  .services-section,
  .features-section,
  .priceplan-section,
  .team-section,
  .reviews-section,
  .casestudy-section,
  .process-section,
  .timeline-section,
  .career-section,
  .coreinfo-section,
  .contact-section,
  .blog-section,
  .faq-section,
  .gallery-section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
  
  .service-card,
  .price-card,
  .feature-item,
  .team-member,
  .review-card,
  .casestudy-card,
  .process-step,
  .timeline-item,
  .career-position,
  .coreinfo-item,
  .blog-card,
  .faq-card {
    page-break-inside: avoid;
    margin-bottom: 1rem;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --primary-ocean: #0066cc;
    --primary-coral: #cc3366;
    --primary-seafoam: #009966;
    --primary-pearl: #ffffff;
    --primary-driftwood: #333333;
    
    --primary-ocean-light: #3399ff;
    --primary-ocean-dark: #003366;
    --primary-coral-light: #ff6699;
    --primary-coral-dark: #990033;
    --primary-seafoam-light: #33cc99;
    --primary-seafoam-dark: #006644;
    --primary-pearl-light: #ffffff;
    --primary-pearl-dark: #cccccc;
    --primary-driftwood-light: #666666;
    --primary-driftwood-dark: #000000;
  }
  
  .service-card,
  .price-card,
  .feature-item,
  .review-card,
  .casestudy-card,
  .process-step,
  .timeline-item,
  .career-position,
  .coreinfo-item,
  .blog-card,
  .faq-card,
  .contact-form,
  .contact-info {
    border: 2px solid var(--primary-driftwood-dark);
  }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 500px) {
  .hero-section {
    min-height: 100vh;
    padding: 1rem 0;
  }
  
  .hero-decorative-blob {
    display: none;
  }
  
  .section-padding,
  .about-section,
  .services-section,
  .features-section,
  .priceplan-section,
  .team-section,
  .reviews-section,
  .casestudy-section,
  .process-section,
  .timeline-section,
  .career-section,
  .coreinfo-section,
  .contact-section,
  .blog-section,
  .faq-section,
  .gallery-section {
    padding: 2rem 0;
  }
  
  .add-page-section {
    padding: 2rem 0;
  }
}

/* Dark mode support (if browser supports it) */

.hero-content {
    padding-top: 275px;
}