/*!
 * Zero-Waste DIY Candle Refill Kiosk Template
 * Responsive CSS - Mobile First Approach
 * 2025 Modern Design
 */

/* Mobile First Base Styles (Up to 575px) */
:root {
  --mobile-section-padding: 2rem 0;
  --mobile-container-padding: 1rem;
  --mobile-font-size: 0.96rem;
}

/* Mobile Base Styles */
@media (max-width: 575.98px) {
  body {
    font-size: var(--mobile-font-size);
  }
  
  .container {
    padding: 0 var(--mobile-container-padding);
  }
  
  section {
    padding: var(--mobile-section-padding);
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.64rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .navbar-brand {
    font-size: 1.16rem;
  }
  
  .service-card,
  .price-card,
  .review-card,
  .career-item {
    padding: 1.5rem;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .contact-info {
    padding: 2rem;
    margin-top: 2rem;
  }
  
  .team-member img {
    width: 120px;
    height: 120px;
  }
  
  .gallery-layout {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  .about-feature,
  .feature-item,
  .process-step {
    padding: 1.5rem;
  }
  
  .blog-card-body {
    padding: 1.5rem;
  }
  
  .faq-card {
    padding: 1.5rem;
  }
  
  .footer-content {
    text-align: center;
    margin-bottom: 2rem;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-title {
    font-size: 2.21rem;
  }
  
  .section-title {
    font-size: 1.87rem;
  }
  
  .gallery-layout {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .service-card,
  .price-card {
    padding: 2rem;
  }
  
  .contact-form {
    padding: 2.5rem;
  }
  
  .team-member img {
    width: 140px;
    height: 140px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-title {
    font-size: 2.83rem;
  }
  
  .section-title {
    font-size: 2.34rem;
  }
  
  .gallery-layout {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .service-card img,
  .blog-card img {
    height: 180px;
  }
  
  .contact-form {
    padding: 3rem;
  }
  
  .about-feature {
    padding: 2rem;
  }
  
  .process-step {
    padding: 2rem;
  }
  
  .team-member img {
    width: 160px;
    height: 160px;
  }
  
  .hero-section {
    padding: 0 2rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .section-title {
    font-size: 2.55rem;
  }
  
  .gallery-layout {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .service-card {
    padding: 2.5rem;
  }
  
  .service-card img {
    height: 200px;
  }
  
  .contact-form {
    padding: 3rem;
  }
  
  .contact-info {
    padding: 3rem;
  }
  
  .team-member img {
    width: 180px;
    height: 180px;
  }
  
  .about-feature {
    padding: 2.5rem;
  }
  
  .process-step {
    padding: 2.5rem;
  }
  
  .blog-card img {
    height: 220px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-title {
    font-size: 3.53rem;
  }
  
  .section-title {
    font-size: 2.89rem;
  }
  
  .gallery-layout {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .service-card {
    padding: 3rem;
  }
  
  .service-card img {
    height: 220px;
  }
  
  .contact-form {
    padding: 4rem;
  }
  
  .contact-info {
    padding: 4rem;
  }
  
  .team-member img {
    width: 200px;
    height: 200px;
  }
  
  .about-feature {
    padding: 3rem;
  }
  
  .process-step {
    padding: 3rem;
  }
  
  .blog-card img {
    height: 240px;
  }
  
  .faq-card {
    padding: 2.5rem;
  }
  
  .gallery-item img {
    height: 280px;
  }
}

/* Ultra-wide screens (1400px and up) */
@media (min-width: 1400px) {
  .hero-title {
    font-size: 4rem;
  }
  
  .section-title {
    font-size: 3rem;
  }
  
  .gallery-layout {
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
  }
  
  .service-card {
    padding: 3.5rem;
  }
  
  .contact-form {
    padding: 4.5rem;
  }
  
  .contact-info {
    padding: 4.5rem;
  }
  
  .gallery-item img {
    height: 320px;
  }
}

/* Tablet Landscape Orientation */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  .hero-section {
    min-height: 100vh;
  }
  
  .navbar-nav {
    flex-direction: row;
  }
  
  .navbar-nav .nav-link {
    margin: 0 1rem;
  }
  
  .service-card,
  .price-card,
  .review-card {
    margin-bottom: 2rem;
  }
  
  .contact-form {
    padding: 2.5rem;
  }
  
  .team-member {
    padding: 2rem;
  }
}

/* Mobile Landscape Orientation */
@media (max-width: 767px) and (orientation: landscape) {
  .hero-section {
    min-height: 100vh;
    padding: 1rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.55rem;
  }
  
  .navbar-collapse {
    background: rgba(0,0,0,0.9);
    margin-top: 1rem;
    border-radius: 10px;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .gallery-layout {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .service-card,
  .price-card {
    padding: 1.5rem;
  }
}

/* Print Styles */
@media print {
  * {
    box-shadow: none !important;
    text-shadow: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  .hero-section {
    background: white !important;
    color: black !important;
    min-height: auto;
  }
  
  .navbar,
  .contact-form,
  .gallery-section {
    display: none !important;
  }
  
  .service-card,
  .price-card,
  .review-card {
    background: white !important;
    color: black !important;
    border: 1px solid #b6b6b6;
  }
  
  .section-title {
    font-size: 18pt;
    color: black !important;
  }
  
  .hero-title {
    font-size: 24pt;
    color: black !important;
  }
  
  a {
    color: black !important;
    text-decoration: underline;
  }
  
  .page-break {
    page-break-after: always;
  }
}

/* High DPI / Retina Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .gallery-item img,
  .service-card img,
  .blog-card img,
  .team-member img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .gallery-item,
  .service-card,
  .price-card,
  .review-card,
  .about-feature,
  .feature-item,
  .process-step,
  .team-member,
  .faq-card,
  .blog-card,
  .career-item,
  .coreinfo-item,
  .case-study-card,
  .timeline-item {
    transition: none !important;
    transform: none !important;
  }
  
  .fade-in,
  .slide-in-left,
  .slide-in-right {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
  
  .gallery-item:hover,
  .service-card:hover,
  .price-card:hover,
  .review-card:hover,
  .about-feature:hover,
  .feature-item:hover,
  .process-step:hover,
  .team-member:hover,
  .faq-card:hover,
  .blog-card:hover,
  .career-item:hover,
  .coreinfo-item:hover,
  .case-study-card:hover,
  .timeline-item:hover {
    transform: none !important;
  }
}

/* Dark Mode Support (if needed in future) */

/* Container Max-Width Adjustments */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/* Navbar Responsive Adjustments */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(0,0,0,0.95);
    margin-top: 1rem;
    border-radius: 10px;
    padding: 1rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 0;
    text-align: center;
  }
}

/* Form Responsive Adjustments */
@media (max-width: 767.98px) {
  .contact-form .form-control {
    padding: 0.75rem;
    font-size: 1rem;
  }
  
  .contact-form .btn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
}

/* Grid System Responsive Adjustments */
@media (max-width: 575.98px) {
  .row {
    margin-left: -0.75rem;
    margin-right: -0.75rem;
  }
  
  .row > * {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

/* Hero Section Responsive Background */
@media (max-width: 767.98px) {
  .hero-section::before {
    opacity: 0.2;
  }
}

/* Footer Responsive Adjustments */
@media (max-width: 767.98px) {
  footer {
    padding: 2rem 0 1rem;
  }
  
  .footer-content {
    text-align: center;
  }
  
  .footer-content h4 {
    margin-top: 2rem;
  }
  
  .footer-content h4:first-child {
    margin-top: 0;
  }
}

/* Breadcrumb Responsive */
@media (max-width: 575.98px) {
  .breadcrumb-section {
    padding: 1rem 0;
  }
  
  .breadcrumb-image img {
    height: 30px;
  }
}

/* Loading Bar Responsive */
@media (max-width: 575.98px) {
  .loading-bar {
    height: 2px;
  }
} 

.hero-content {
    padding-top: 250px;
}