/* ========================================
   KOMBUCHA BREWING - RESPONSIVE STYLES
   ======================================== */

/* Extra Large Screens (1200px and above) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .section-title {
    font-size: 2.65rem;
  }
  
  .service-card {
    padding: 2.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Large Screens (992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  .container {
    max-width: 960px;
  }
  
  .hero-title {
    font-size: 2.51rem;
  }
  
  .section-title {
    font-size: 2.32rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .coreinfo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Medium Screens (768px to 991px) - Tablets */
@media (min-width: 768px) and (max-width: 991px) {
  .container {
    max-width: 720px;
    padding: 0 1rem;
  }
  
  /* Typography */
  .hero-title {
    font-size: 2.28rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero-subtitle,
  .section-subtitle {
    font-size: 1rem;
  }
  
  /* Navigation */
  .navbar-nav {
    text-align: center;
    margin-top: 1rem;
  }
  
  .navbar-nav .nav-link {
    margin: 0.25rem 0;
  }
  
  /* Hero Section */
  .hero-section h1 {
    padding-top: 150px !important;
}

.hero-section {
    text-align: center;
    padding: 4rem 0;
  }
  
  .hero-shape-1 {
    width: 200px;
    height: 200px;
    top: 5%;
    right: 5%;
  }
  
  .hero-shape-2 {
    width: 150px;
    height: 150px;
    bottom: 10%;
    left: 5%;
  }
  
  /* Sections */
  .section {
    padding: 4rem 0;
  }
  
  /* Grid Layouts */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  
  .coreinfo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  /* Cards */
  .service-card,
  .price-card,
  .case-card {
    padding: 1.5rem;
    margin-bottom: 1.69rem;
  }
  
  .about-feature {
    padding: 1.5rem;
    margin-bottom: 1.73rem;
  }
  
  /* Team Members */
  .team-member img {
    width: 150px;
    height: 150px;
  }
  
  /* Contact Form */
  .contact-form {
    padding: 2rem;
  }
  
  /* Process Items */
  .process-item::after {
    display: none;
  }
  
  /* Footer */
  .footer {
    text-align: center;
    padding: 2rem 0 1rem;
  }
  
  .footer .row > div {
    margin-bottom: 2rem;
  }
}

/* Small Screens (576px to 767px) - Large Mobile */
@media (min-width: 576px) and (max-width: 767px) {
  .container {
    max-width: 540px;
    padding: 0 1rem;
  }
  
  /* Typography */
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.87rem;
  }
  
  .hero-subtitle,
  .section-subtitle {
    font-size: 0.97rem;
  }
  
  .hero-desc,
  .section-desc {
    font-size: 0.91rem;
  }
  
  /* Navigation */
  .navbar {
    padding: 0.75rem 0;
  }
  
  .navbar-brand {
    font-size: 1rem !important;
  }
  
  .navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
  }
  
  .navbar-nav {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    padding: 1rem;
    margin-top: 1rem;
    box-shadow: 0 7px 15px rgba(0, 0, 0, 0.1);
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 0;
    text-align: center;
    border-bottom: 1px solid var(--cream-dark);
  }
  
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
  
  /* Hero Section */
  .hero-section h1 {
    padding-top: 150px !important;
}

.hero-section {
    min-height: 80vh;
    text-align: center;
    padding: 3rem 0;
  }
  
  .hero-shape-1,
  .hero-shape-2 {
    display: none;
  }
  
  /* Sections */
  .section {
    padding: 3rem 0;
  }
  
  .section-desc {
    margin-bottom: 2rem;
  }
  
  /* Grid Layouts */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  
  .coreinfo-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  /* Cards */
  .service-card,
  .price-card,
  .case-card {
    padding: 1.25rem;
    margin-bottom: 1rem;
  }
  
  .service-card img {
    height: 150px;
  }
  
  .about-feature {
    padding: 1.25rem;
    margin-bottom: 1rem;
  }
  
  .about-feature i {
    font-size: 2.60rem;
  }
  
  /* Reviews */
  .review-card {
    padding: 1.25rem;
    margin-bottom: 1rem;
  }
  
  .review-text {
    font-size: 1rem;
  }
  
  /* Team Members */
  .team-member {
    margin-bottom: 1.65rem;
  }
  
  .team-member img {
    width: 120px;
    height: 120px;
  }
  
  /* Contact Form */
  .contact-form {
    padding: 1.5rem;
  }
  
  .form-control {
    padding: 0.6rem 0.8rem;
  }
  
  /* Blog Cards */
  .blog-card img {
    height: 150px;
  }
  
  .blog-card-body {
    padding: 1rem;
  }
  
  /* FAQ */
  .faq-question {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
  }
  
  .faq-answer {
    padding: 1rem;
    font-size: 0.92rem;
  }
  
  /* Footer */
  .footer {
    text-align: center;
    padding: 2rem 0 1rem;
  }
  
  .footer .row > div {
    margin-bottom: 1.69rem;
  }
  
  .footer h5 {
    font-size: 1rem;
  }
}

/* Extra Small Screens (below 576px) - Mobile */
@media (max-width: 575px) {
  .container {
    padding: 0 0.75rem;
  }
  
  /* Typography */
  .hero-title {
    font-size: 1.81rem;
    line-height: 1.1;
  }
  
  .section-title {
    font-size: 1.56rem;
    line-height: 1.2;
  }
  
  .hero-subtitle,
  .section-subtitle {
    font-size: 1.00rem;
  }
  
  .hero-desc,
  .section-desc {
    font-size: 0.89rem;
  }
  
  h3 {
    font-size: 1.19rem;
  }
  
  h4 {
    font-size: 1rem;
  }
  
  /* Navigation */
  .navbar {
    padding: 0.5rem 0;
  }
  
  .navbar-brand {
    font-size: 1.04rem !important;
  }
  
  .navbar-toggler {
    padding: 0.15rem 0.4rem;
    font-size: 0.92rem;
  }
  
  .navbar-nav .nav-link {
    font-size: 1.02rem;
    padding: 0.4rem 0;
  }
  
  /* Hero Section */
  .hero-section h1 {
    padding-top: 150px !important;
}

.hero-section {
    min-height: 70vh;
    text-align: center;
    padding: 2rem 0;
  }
  
  .hero-content h1 {
  padding-top: 100px !important;
}

.hero-content {
  padding-top: 50px !important;
    padding: 0 0.5rem;
  }
  
  .hero-title {
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    margin-bottom: 1.65rem;
  }
  
  .hero-desc {
    margin-bottom: 2rem;
  }
  
  /* Sections */
  .section {
    padding: 2.5rem 0;
  }
  
  .section-desc {
    margin-bottom: 1.61rem;
  }
  
  /* Grid Layouts */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .coreinfo-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  /* Cards */
  .service-card,
  .price-card,
  .case-card {
    padding: 1rem;
    margin-bottom: 0.81rem;
  }
  
  .service-card img {
    height: 120px;
  }
  
  .service-price {
    font-size: 1.30rem;
  }
  
  .about-feature {
    padding: 1rem;
    margin-bottom: 0.99rem;
  }
  
  .about-feature i {
    font-size: 2rem;
  }
  
  /* Process Items */
  .process-item {
    padding: 1rem;
    margin-bottom: 1rem;
  }
  
  .process-item i {
    font-size: 2rem;
  }
  
  .process-item::after {
    display: none;
  }
  
  /* Feature Items */
  .feature-item {
    padding: 1rem;
    margin-bottom: 1rem;
  }
  
  .feature-item i {
    font-size: 2rem;
  }
  
  /* Reviews */
  .review-card {
    padding: 1rem;
    margin-bottom: 0.81rem;
  }
  
  .review-text {
    font-size: 0.91rem;
  }
  
  /* Timeline */
  .timeline-item {
    padding: 1rem;
    margin-bottom: 1rem;
  }
  
  /* Career */
  .career-item {
    padding: 1rem;
    margin-bottom: 1rem;
  }
  
  /* Core Info */
  .coreinfo-item {
    padding: 1rem;
  }
  
  .coreinfo-item i {
    font-size: 2rem;
  }
  
  /* Team Members */
  .team-member {
    margin-bottom: 1rem;
  }
  
  .team-member img {
    width: 100px;
    height: 100px;
  }
  
  .team-member-name {
    font-size: 1rem;
  }
  
  .team-member-role {
    font-size: 0.81rem;
  }
  
  /* Contact Form */
  .contact-form {
    padding: 1rem;
  }
  
  .form-control {
    padding: 0.5rem 0.7rem;
    font-size: 0.95rem;
  }
  
  .btn-primary {
    padding: 0.6rem 1.5rem;
    font-size: 1.03rem;
  }
  
  /* Contact Info */
  #contact-info-phone,
  #contact-info-email,
  #contact-info-address {
    font-size: 0.91rem;
    margin-bottom: 0.73rem;
  }
  
  /* Blog Cards */
  .blog-card img {
    height: 120px;
  }
  
  .blog-card-body {
    padding: 0.75rem;
  }
  
  /* FAQ */
  .faq-question {
    padding: 0.6rem 0.8rem;
    font-size: 0.87rem;
  }
  
  .faq-answer {
    padding: 0.8rem;
    font-size: 0.91rem;
  }
  
  /* Footer */
  .footer {
    text-align: center;
    padding: 1.5rem 0 0.5rem;
  }
  
  .footer .row > div {
    margin-bottom: 1rem;
  }
  
  .footer h5 {
    font-size: 1.03rem;
  }
  
  .footer p, .footer a {
    font-size: 0.83rem;
  }
  
  .footer-bottom {
    padding-top: 1rem;
    margin-top: 1rem;
  }
  
  #site-copyright {
    font-size: 0.77rem;
  }
  
  /* Space Page */
  #space {
    min-height: 60vh;
    font-size: 1.15rem;
    padding: 1rem;
    text-align: center;
  }
  
  /* Breadcrumbs */
  .breadcrumb {
    padding: 0.5rem 0;
    margin-bottom: 1rem;
  }
  
  .breadcrumb-item img {
    width: 16px;
    height: 16px;
  }
}

/* Landscape Mobile Orientation */
@media (max-width: 767px) and (orientation: landscape) {
  .hero-section h1 {
    padding-top: 150px !important;
}

.hero-section {
    min-height: 100vh;
    padding: 1rem 0;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .navbar {
    padding: 0.25rem 0;
  }
}

/* Very Small Screens (320px and below) */
@media (max-width: 320px) {
  .container {
    padding: 0 0.5rem;
  }
  
  .hero-title {
    font-size: 1.60rem;
  }
  
  .section-title {
    font-size: 1.34rem;
  }
  
  .service-card,
  .price-card,
  .case-card,
  .about-feature {
    padding: 0.75rem;
  }
  
  .team-member img {
    width: 80px;
    height: 80px;
  }
  
  .contact-form {
    padding: 0.75rem;
  }
  
  .review-card {
    padding: 0.75rem;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-section::before {
    background-image: url('../GOV_images/hero-bg@2x.webp');
  }
}

/* Print Specific Responsive */
@media print {
  * {
    background: transparent !important;
    color: black !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
    font-weight: bold;
  }
  
  p, blockquote {
    orphans: 3;
    widows: 3;
  }
  
  .container {
    width: auto;
    margin: 0;
    padding: 0;
  }
  
  .section {
    padding: 1rem 0;
  }
  
  .gallery-grid {
    display: none;
  }
}

/* Accessibility Enhancements */
@media (prefers-reduced-motion: reduce) {
  .hero-shape,
  .service-card,
  .price-card,
  .about-feature,
  .case-card,
  .team-member img,
  .gallery-item img,
  .blog-card,
  .review-card,
  .process-item,
  .feature-item,
  .timeline-item,
  .career-item,
  .coreinfo-item {
    transition: none !important;
    transform: none !important;
  }
  
  .btn-primary:hover {
    transform: none !important;
  }
  
  .loading {
    animation: none !important;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --primary-sage: #6e9554;
    --primary-teal: #478695;
    --text-primary: #000000;
    --text-secondary: #3d3d3d;
  }
  
  .btn-primary {
    border: 2px solid var(--primary-sage);
  }
  
  .form-control {
    border: 2px solid var(--text-primary);
  }
  
  .service-card,
  .price-card,
  .case-card,
  .about-feature {
    border: 1px solid var(--text-primary);
  }
} 