/*
 * Solar-Powered Phone-Charging Kiosks Template
 * Responsive CSS - Mobile-First Design
 * Bootstrap 5 Compatible
 */

/* Base Mobile Styles (Default) */
/* These styles apply to all screen sizes by default */

/* Mobile-First Typography */
h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.79rem;
}

h3 {
  font-size: 1.61rem;
}

h4 {
  font-size: 1.37rem;
}

/* Mobile Hero Section */
.hero-section {
  min-height: 80vh;
  text-align: center;
  padding: 2rem 0;
}

.hero-content {
  margin-bottom: 2rem;
    padding-top: 250px;
}

/* Mobile Navigation */
.navbar-brand {
  font-size: 1.29rem;
}

.navbar-nav {
  text-align: center;
}

.navbar-nav .nav-link {
  padding: 0.75rem 1rem;
}

/* Mobile Sections */
.section {
  padding: 2rem 0;
}

/* Mobile Cards */
.service-card,
.price-card,
.team-card,
.review-card {
  margin-bottom: 1.62rem;
}

/* Mobile Contact Form */
.contact-form {
  padding: 2rem;
}

.contact-info {
  margin-top: 2rem;
}

/* Mobile Gallery */
.gallery-grid {
  grid-template-columns: 1fr;
  gap: 1rem;
}

.gallery-item {
  height: 250px;
}

/* Mobile Footer */
.footer {
  padding: 2rem 0 1rem;
  text-align: center;
}

.footer .col-md-3 {
  margin-bottom: 2rem;
}

/* Mobile Decorative Shapes */
.decorative-shape {
  display: none;
}

/* Mobile Process Steps */
.process-step {
  margin-bottom: 2rem;
}

/* Mobile Timeline */
.timeline-item {
  padding-left: 2rem;
}

.timeline-item::before {
  width: 15px;
  height: 15px;
}

.timeline-item::after {
  left: 7px;
}

/* Small Mobile Devices (up to 576px) */
@media (max-width: 575.98px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  h1 {
    font-size: 1.87rem;
  }
  
  h2 {
    font-size: 1.56rem;
  }
  
  .hero-section {
    min-height: 70vh;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .service-card,
  .price-card,
  .team-card {
    padding: 1.5rem;
  }
  
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.34rem;
  }
  
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  .feature-icon {
    font-size: 2.65rem;
  }
  
  .core-info-icon {
    font-size: 2rem;
  }
}

/* Tablet Devices (576px and up) */
@media (min-width: 576px) {
  .hero-section {
    min-height: 85vh;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .decorative-shape.shape-2 {
    display: block;
  }
}

/* Medium Devices (768px and up) */
@media (min-width: 768px) {
  /* Typography */
  h1 {
    font-size: 2.36rem;
  }
  
  h2 {
    font-size: 1.99rem;
  }
  
  /* Hero Section */
  .hero-section {
    min-height: 90vh;
    text-align: left;
  }
  
  .hero-content {
    margin-bottom: 0;
    padding-top: 250px;
}
  
  /* Navigation */
  .navbar-brand {
    font-size: 1.62rem;
  }
  
  .navbar-nav {
    text-align: left;
  }
  
  /* Sections */
  .section {
    padding: 3rem 0;
  }
  
  /* Cards */
  .contact-form {
    padding: 2.5rem;
  }
  
  .contact-info {
    margin-top: 0;
  }
  
  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  /* Footer */
  .footer {
    text-align: left;
  }
  
  .footer .col-md-3 {
    margin-bottom: 1rem;
  }
  
  /* Decorative Shapes */
  .decorative-shape {
    display: block;
  }
  
  /* Process Steps */
  .process-step {
    margin-bottom: 1rem;
  }
  
  /* Timeline */
  .timeline-item {
    padding-left: 3rem;
  }
  
  .timeline-item::before {
    width: 20px;
    height: 20px;
  }
  
  .timeline-item::after {
    left: 9px;
  }
}

/* Large Devices (992px and up) */
@media (min-width: 992px) {
  /* Typography */
  h1 {
    font-size: 2.52rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  /* Hero Section */
  .hero-section {
    min-height: 100vh;
  }
  
  /* Sections */
  .section {
    padding: 4rem 0;
  }
  
  /* Cards */
  .contact-form {
    padding: 3rem;
  }
  
  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .gallery-item {
    height: 200px;
  }
  
  /* Footer */
  .footer {
    padding: 3rem 0 1rem;
  }
  
  /* Team Photos */
  .team-photo {
    width: 150px;
    height: 150px;
  }
  
  /* Feature Icons */
  .feature-icon {
    font-size: 3rem;
  }
  
  /* Core Info Icons */
  .core-info-icon {
    font-size: 2.51rem;
  }
  
  /* Process Numbers */
  .process-number {
    width: 60px;
    height: 60px;
    font-size: 1.60rem;
  }
}

/* Extra Large Devices (1200px and up) */
@media (min-width: 1200px) {
  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  
  /* Large Screen Optimizations */
  .hero-section {
    padding: 0;
  }
  
  .decorative-shape.shape-1,
  .decorative-shape.shape-2 {
    display: block;
  }
  
  /* Card Hover Effects */
  .service-card:hover,
  .blog-card:hover {
    transform: translateY(-10px);
  }
  
  .btn-primary:hover {
    transform: translateY(-3px);
  }
}

/* Extra Extra Large Devices (1400px and up) */
@media (min-width: 1400px) {
  /* Container Max Width */
  .container {
    max-width: 1320px;
  }
  
  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  
  /* Hero Section */
  .hero-section {
    padding: 2rem 0;
  }
  
  /* Larger Decorative Shapes */
  .shape-1 {
    width: 250px;
    height: 250px;
  }
  
  .shape-2 {
    width: 200px;
    height: 200px;
  }
}

/* High Resolution Displays */
@media (min-resolution: 2dppx) {
  /* Optimize for retina displays */
  .team-photo,
  .gallery-item {
    image-rendering: -webkit-optimize-contrast;
  }
}

/* Landscape Orientation */
@media (orientation: landscape) and (max-height: 500px) {
  .hero-section {
    min-height: 100vh;
    padding: 1rem 0;
  }
  
  .section {
    padding: 2rem 0;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .decorative-shape {
    display: none;
  }
  
  .hero-section {
    min-height: auto;
    background: white;
    color: black;
  }
  
  .section {
    padding: 1rem 0;
  }
  
  .service-card,
  .price-card,
  .team-card,
  .review-card {
    box-shadow: none;
    border: 1px solid #f1f1f1;
  }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .service-card:hover,
  .blog-card:hover,
  .btn-primary:hover {
    transform: none;
  }
}

/* Dark Mode Support */

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .service-card,
  .price-card,
  .team-card,
  .review-card {
    border: 2px solid var(--text-primary);
  }
  
  .btn-primary {
    border: 2px solid var(--text-primary);
  }
  
  .form-control {
    border: 2px solid var(--text-primary);
  }
}

/* Focus Styles for Accessibility */
@media (any-hover: hover) {
  .btn:focus,
  .form-control:focus,
  .nav-link:focus {
    outline: 2px solid var(--primary-solar);
    outline-offset: 2px;
  }
} 