/* ====================================================
   RESPONSIVE STYLES - MOBILE FIRST APPROACH
   Local Maker Marketplace Template
   ==================================================== */

/* Base Mobile Styles (Default) */
/* All styles in main.css are mobile-first */

/* Small Mobile Devices (320px and up) */
@media (max-width: 374px) {
  .hero-section h1 {
    font-size: 1.87rem;
    padding-top: 150px;
}
  
  .hero-section p {
    font-size: 1.03rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .services-item {
    padding: 1.5rem;
  }
  
  .navbar-brand {
    font-size: 1rem;
  }
  
  .btn-primary,
  .btn-outline-primary {
    padding: 0.6rem 1.5rem;
    font-size: 0.94rem;
  }
}

/* Mobile Landscape (576px and up) */
@media (min-width: 576px) {
  .hero-section h1 {
    font-size: 2.33rem;
    padding-top: 150px;
}
  
  .hero-section p {
    font-size: 1rem;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .contact-form {
    padding: 2.5rem;
  }
  
  .services-item {
    padding: 2rem;
  }
  
  .team-member img {
    width: 120px;
    height: 120px;
  }
  
  .hero-shape-1 {
    width: 150px;
    height: 150px;
  }
  
  .hero-shape-2 {
    width: 100px;
    height: 100px;
  }
}

/* Tablet Portrait (768px and up) */
@media (min-width: 768px) {
  .hero-section {
    padding: 8rem 0;
  }
  
  .hero-section h1 {
    font-size: 2.61rem;
    padding-top: 150px;
}
  
  .hero-section p {
    font-size: 1.15rem;
  }
  
  .section {
    padding: 5rem 0;
  }
  
  .section-title {
    margin-bottom: 4rem;
  }
  
  .navbar {
    padding: 1.5rem 0;
  }
  
  .navbar-brand {
    font-size: 1.32rem;
  }
  
  .contact-form {
    padding: 3rem;
  }
  
  .services-item {
    padding: 2.5rem;
  }
  
  .services-item img {
    width: 100px;
    height: 100px;
  }
  
  .team-member img {
    width: 150px;
    height: 150px;
  }
  
  .reviews-item {
    padding: 2.5rem;
  }
  
  .faq-item {
    padding: 2.5rem;
  }
  
  .gallery-item img {
    height: 300px;
  }
  
  .hero-shape-1 {
    width: 200px;
    height: 200px;
  }
  
  .hero-shape-2 {
    width: 150px;
    height: 150px;
  }
  
  /* Two column layout for mobile cards */
  .services-grid .col-md-6 {
    margin-bottom: 2rem;
  }
  
  .reviews-grid .col-md-6 {
    margin-bottom: 2rem;
  }
}

/* Tablet Landscape (992px and up) */
@media (min-width: 992px) {
  .hero-section h1 {
    font-size: 3rem;
    padding-top: 150px;
}
  
  .hero-section p {
    font-size: 1.33rem;
  }
  
  .section {
    padding: 6rem 0;
  }
  
  .section-title {
    margin-bottom: 5rem;
  }
  
  .navbar {
    padding: 2rem 0;
  }
  
  .navbar-brand {
    font-size: 1.35rem;
  }
  
  .services-item {
    padding: 3rem;
  }
  
  .services-item img {
    width: 120px;
    height: 120px;
  }
  
  .team-member {
    padding: 2rem;
  }
  
  .team-member img {
    width: 180px;
    height: 180px;
  }
  
  .reviews-item {
    padding: 3rem;
  }
  
  .faq-item {
    padding: 3rem;
  }
  
  .gallery-item img {
    height: 350px;
  }
  
  .contact-form {
    padding: 4rem;
  }
  
  .footer {
    padding: 4rem 0 2rem;
  }
  
  /* Three column layout for desktop */
  .services-grid .col-lg-4 {
    margin-bottom: 3rem;
  }
  
  .reviews-grid .col-lg-4 {
    margin-bottom: 3rem;
  }
  
  .team-grid .col-lg-4 {
    margin-bottom: 3rem;
  }
}

/* Desktop (1200px and up) */
@media (min-width: 1200px) {
  .hero-section h1 {
    font-size: 3.62rem;
    padding-top: 150px;
}
  
  .hero-section p {
    font-size: 1.45rem;
  }
  
  .section {
    padding: 7rem 0;
  }
  
  .services-item {
    padding: 3.5rem;
  }
  
  .services-item img {
    width: 140px;
    height: 140px;
  }
  
  .team-member img {
    width: 200px;
    height: 200px;
  }
  
  .gallery-item img {
    height: 400px;
  }
  
  .contact-form {
    padding: 5rem;
  }
}

/* Large Desktop (1400px and up) */
@media (min-width: 1400px) {
  .hero-section h1 {
    font-size: 4rem;
    padding-top: 150px;
}
  
  .hero-section p {
    font-size: 1.48rem;
  }
  
  .section {
    padding: 8rem 0;
  }
  
  .services-item {
    padding: 4rem;
  }
  
  .contact-form {
    padding: 6rem;
  }
}

/* Navigation Responsive Styles */
@media (max-width: 991px) {
  .navbar-toggler {
    border: none;
    padding: 0.5rem;
  }
  
  .navbar-toggler:focus {
    box-shadow: none;
  }
  
  .navbar-collapse {
    margin-top: 1rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--neutral-light);
  }
  
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
}

/* Form Responsive Styles */
@media (max-width: 767px) {
  .form-control {
    padding: 0.8rem;
    font-size: 0.98rem;
  }
  
  .form-label {
    font-size: 0.92rem;
  }
  
  .btn-primary,
  .btn-outline-primary {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
  }
}

/* Card Responsive Adjustments */
@media (max-width: 767px) {
  .card {
    margin-bottom: 1.84rem;
  }
  
  .card-body {
    padding: 1.5rem;
  }
  
  .card-header {
    padding: 1.5rem;
  }
}

/* Hero Section Responsive Adjustments */
@media (max-width: 767px) {
  .hero-section {
    text-align: center;
  }
  
  .hero-section .col-lg-6:first-child {
    order: 2;
  }
  
  .hero-section .col-lg-6:last-child {
    order: 1;
    margin-bottom: 2rem;
  }
  
  .hero-shapes {
    display: none;
  }
}

/* Gallery Responsive Grid */
@media (max-width: 575px) {
  .gallery-item {
    margin-bottom: 1rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
}

@media (min-width: 576px) and (max-width: 767px) {
  .gallery-item img {
    height: 250px;
  }
}

/* Footer Responsive Styles */
@media (max-width: 767px) {
  .footer {
    text-align: center;
  }
  
  .footer .col-md-4 {
    margin-bottom: 2rem;
  }
  
  .footer-bottom {
    margin-top: 2rem;
    padding-top: 2rem;
  }
}

/* Utility Responsive Classes */
@media (max-width: 767px) {
  .text-center-mobile {
    text-align: center;
  }
  
  .mb-4-mobile {
    margin-bottom: 1.94rem;
  }
  
  .py-5-mobile {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}

@media (min-width: 768px) {
  .text-left-tablet {
    text-align: left;
  }
  
  .text-right-tablet {
    text-align: right;
  }
}

/* Animation Responsive Adjustments */
@media (max-width: 767px) {
  .fade-in {
    transform: translateY(10px);
  }
  
  .services-item:hover,
  .card:hover,
  .gallery-item:hover {
    transform: none;
  }
}

/* Spacing Responsive Utilities */
@media (max-width: 575px) {
  .py-6 {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  
  .my-6 {
    margin-top: 3rem;
    margin-bottom: 3rem;
  }
}

@media (min-width: 576px) and (max-width: 767px) {
  .py-6 {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  
  .my-6 {
    margin-top: 4rem;
    margin-bottom: 4rem;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .hero-shapes,
  .btn,
  .fade-in {
    display: none !important;
  }
  
  .hero-section {
    background: none !important;
    color: black !important;
    padding: 2rem 0 !important;
  }
  
  .section {
    padding: 2rem 0 !important;
  }
  
  .card {
    box-shadow: none !important;
    border: 1px solid #f0d9dc !important;
  }
  
  body {
    font-size: 12pt !important;
    line-height: 1.4 !important;
  }
  
  h1, h2, h3, h4, h5, h6 {
    color: black !important;
  }
}

/* Timeline Responsive Styles */
@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-marker {
    left: 30px;
  }
  
  .timeline-content {
    max-width: none;
  }
}

/* Hero Buttons Responsive */
@media (max-width: 575px) {
  .hero-buttons {
    flex-direction: column;
  }
  
  .hero-buttons .btn {
    width: 100%;
    min-width: auto;
  }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  :root {
    --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-heavy: 0 8px 32px rgba(0, 0, 0, 0.5);
  }
  
  .card,
  .services-item,
  .reviews-item,
  .faq-item,
  .contact-form {
    border: 2px solid var(--neutral-gray);
  }
  
  .btn-primary,
  .btn-outline-primary {
    border: 2px solid var(--neutral-dark);
  }
} 