/* ========================================
   RESPONSIVE STYLES - MOBILE FIRST DESIGN
   Online Ceramics Workshop Template
   ======================================== */

/* Mobile First Base Styles (320px+) */
.hero-section {
  min-height: 70vh;
  padding: 2rem 0;
}

.hero-section h1 {
  font-size: 1.75rem;
  line-height: 1.3;
}

.services-card {
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.team-photo {
  width: 120px;
  height: 120px;
}

.section-padding {
  padding: 2rem 0;
}

/* Disable animations on mobile for better performance */
@media (max-width: 767.98px) {
  .services-card:hover,
  .gallery-item:hover,
  .priceplan-card:hover {
    transform: none;
  }
  
  .services-card,
  .gallery-item,
  .priceplan-card,
  .review-card,
  .blog-item {
    transition: none;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .services-card {
    padding: 1.75rem;
  }
  
  .team-photo {
    width: 130px;
    height: 130px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .hero-section {
    min-height: 80vh;
    padding: 3rem 0;
  }
  
  .hero-section h1 {
    font-size: 2.25rem;
  }
  
  .section-padding {
    padding: 3rem 0;
  }
  
  .services-card {
    padding: 2rem;
  }
  
  .team-photo {
    width: 140px;
    height: 140px;
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 1rem;
  }
  
  /* Re-enable hover effects for tablets and up */
  .services-card,
  .gallery-item,
  .priceplan-card,
  .review-card,
  .blog-item {
    transition: all 0.3s ease;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .hero-section {
    min-height: 100vh;
    padding: 4rem 0;
  }
  
  .hero-section h1 {
    font-size: 2.5rem;
  }
  
  .section-padding {
    padding: var(--section-padding);
  }
  
  .services-card {
    padding: 2rem;
    margin-bottom: 2rem;
  }
  
  .team-photo {
    width: 150px;
    height: 150px;
  }
  
  .gallery-item img {
    height: 300px;
  }
  
  .priceplan-card {
    padding: 2.5rem 2rem;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: var(--container-max-width);
  }
  
  .hero-section h1 {
    font-size: 2.75rem;
  }
  
  .gallery-item img {
    height: 350px;
  }
}

/* Ultra wide screens (1400px and up) */
@media (min-width: 1400px) {
  .hero-section h1 {
    font-size: 3rem;
  }
  
  .section-padding {
    padding: 5rem 0;
  }
}

/* Mobile Navigation Styles */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: var(--cream);
    border-top: 1px solid var(--sage-light);
    margin-top: 1rem;
    padding-top: 1rem;
  }
  
  .navbar-nav {
    text-align: center;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--sage-light);
  }
  
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
}

/* Form Responsive Styles */
@media (max-width: 767.98px) {
  .contact-form {
    padding: 1.5rem;
  }
  
  .btn-primary {
    width: 100%;
    padding: 1rem;
  }
}

/* Grid Adjustments */
@media (max-width: 575.98px) {
  .col-sm-6,
  .col-md-4,
  .col-lg-3,
  .col-lg-4 {
    margin-bottom: 1.5rem;
  }
}

/* Footer Responsive */
@media (max-width: 767.98px) {
  .footer {
    text-align: center;
    padding: 2rem 0 1rem 0;
  }
  
  .footer .col-md-3,
  .footer .col-md-4,
  .footer .col-lg-4,
  .footer .col-lg-2 {
    margin-bottom: 2rem;
    border-right: none !important;
    padding-right: 15px;
  }
}

/* Footer desktop column borders */
@media (min-width: 768px) {
  .footer .col-lg-4:not(:last-child),
  .footer .col-lg-2:not(:last-child),
  .footer .col-md-6:not(:last-child) {
    border-right: 1px solid #333;
    padding-right: 2rem;
  }
}

/* Gallery Responsive Grid */
@media (max-width: 575.98px) {
  .gallery-item img {
    height: 200px;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .gallery-item img {
    height: 220px;
  }
}

/* Card Responsive Adjustments */
@media (max-width: 575.98px) {
  .review-card,
  .faq-card,
  .process-item,
  .timeline-item,
  .career-item,
  .coreinfo-item,
  .casestudy-item,
  .blog-item {
    padding: 1.25rem;
  }
  
  .priceplan-card {
    padding: 2rem 1.5rem;
  }
  
  .priceplan-price {
    font-size: 2rem;
  }
}

/* Typography Responsive Adjustments */
@media (max-width: 575.98px) {
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  .navbar-brand {
    font-size: 1.125rem !important;
  }
}

/* Feature Items Mobile */
@media (max-width: 767.98px) {
  .feature-item {
    padding: 1.25rem;
    margin-bottom: 1.25rem;
  }
}

/* Team Section Mobile */
@media (max-width: 575.98px) {
  .team-member {
    padding: 1rem;
  }
}

/* Process/Timeline Mobile Counter Adjustments */
@media (max-width: 575.98px) {
  .process-item::before,
  .timeline-item::before {
    top: -12px;
    left: 15px;
    width: 24px;
    height: 24px;
    font-size: 0.75rem;
  }
}

/* Services Mobile Layout */
@media (max-width: 767.98px) {
  .services-price {
    font-size: 1.25rem;
  }
}

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

/* Blog Grid Mobile */
@media (max-width: 767.98px) {
  #blog_grid .col-md-4 {
    margin-bottom: 2rem;
  }
}

/* Ensure images are responsive */
img {
  max-width: 100%;
  height: auto;
}

/* Additional mobile optimizations */
@media (max-width: 575.98px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .row {
    margin-left: -0.5rem;
    margin-right: -0.5rem;
  }
  
  .row > * {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}



body {
    overflow-x: hidden;
}

.hero-content {
    padding-top: 225px;
}