/* ===============================================
   FOUNTAIN PEN E-STORE - RESPONSIVE STYLES
   Mobile-First Responsive Design
   =============================================== */

/* Mobile Styles (320px - 767px) */
@media (max-width: 767.98px) {
  /* Typography Adjustments */
  :root {
    --font-size-h1: 1.8rem;
    --font-size-h2: 1.5rem;
    --font-size-h3: 1.3rem;
    --font-size-brand: 1.4rem;
    --section-padding: 2.5rem 0;
  }
  
  /* Hero Section */
  .hero-section {
    min-height: 80vh;
    text-align: center;
  }
  
  .hero-section::before {
    width: 200px;
    height: 200px;
  }
  
  /* Navigation */
  .navbar-brand {
    font-size: 1.3rem;
  }
  
  /* Cards Spacing */
  .service-card,
  .review-card,
  .team-card {
    margin-bottom: 2rem;
  }
  
  /* Contact Form */
  .contact-form {
    padding: 1.5rem;
  }
  
  /* Team Avatars */
  .team-avatar {
    width: 100px;
    height: 100px;
  }
  
  /* Feature Icons */
  .feature-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  /* Gallery Images */
  .gallery-img {
    height: 200px;
    margin-bottom: 1rem;
  }
  
  /* Price Cards */
  .price-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .price-value {
    font-size: 2rem;
  }
  
  /* Process Numbers */
  .process-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  /* Footer */
  .footer {
    text-align: center;
    padding: 2rem 0 1rem;
  }
  
  /* Disable animations on mobile for performance */
  .service-card:hover,
  .team-card:hover,
  .case-study-card:hover,
  .blog-card:hover {
    transform: none;
  }
  
  .gallery-img:hover {
    transform: none;
  }
  
  /* FAQ Cards */
  .faq-card {
    margin-bottom: 1rem;
  }
  
  /* Timeline */
  .timeline-item {
    padding-left: 1rem;
  }
  
  /* Core Info Items */
  .core-info-item {
    margin-bottom: 1.5rem;
  }
  
  /* Career Cards */
  .career-card {
    margin-bottom: 1.5rem;
  }
}

/* Tablet Styles (768px - 991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
  /* Typography */
  :root {
    --font-size-h1: 2rem;
    --font-size-h2: 1.7rem;
    --section-padding: 3.5rem 0;
  }
  
  /* Hero Section */
  .hero-section {
    min-height: 90vh;
  }
  
  /* Services Grid */
  .service-card {
    margin-bottom: 2rem;
  }
  
  /* Team Avatars */
  .team-avatar {
    width: 110px;
    height: 110px;
  }
  
  /* Gallery Images */
  .gallery-img {
    height: 220px;
  }
}

/* Large Desktop Styles (1200px+) */
@media (min-width: 1200px) {
  /* Container Max Width */
  .container {
    max-width: var(--container-max-width);
  }
  
  /* Enhanced Hover Effects */
  .service-card:hover {
    transform: translateY(-8px);
  }
  
  .team-card:hover {
    transform: scale(1.05);
  }
  
  /* Gallery Grid Enhancement */
  .gallery-img {
    height: 280px;
  }
}

/* Landscape Phone Adjustments */
@media (max-width: 767.98px) and (orientation: landscape) {
  .hero-section {
    min-height: 70vh;
  }
  
  :root {
    --section-padding: 2rem 0;
  }
}

/* High DPI Displays */
@media (min-resolution: 192dpi) {
  /* Ensure crisp borders and shadows */
  .service-card,
  .review-card,
  .faq-card {
    box-shadow: 0 2px 8px rgba(44, 62, 80, 0.08);
  }
}

/* Print Styles */
@media print {
  .hero-section::before,
  .navbar,
  .footer {
    display: none;
  }
  
  .hero-section {
    min-height: auto;
    padding: 2rem 0;
  }
  
  * {
    box-shadow: none !important;
    transition: none !important;
  }
}

/* Accessibility - Focus States */
@media (min-width: 768px) {
  .service-card:focus-within,
  .review-card:focus-within,
  .team-card:focus-within {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
  }
}

/* Specific Bootstrap Grid Adjustments */
@media (max-width: 575.98px) {
  /* Extra small devices - stack everything */
  .col-sm-6,
  .col-md-4,
  .col-md-6,
  .col-lg-4,
  .col-lg-6 {
    margin-bottom: 1.5rem;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  /* Small devices - optimize for 2-column layouts */
  .col-sm-6:nth-child(odd) {
    padding-right: 0.75rem;
  }
  
  .col-sm-6:nth-child(even) {
    padding-left: 0.75rem;
  }
}

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

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

/* Services Items Mobile Optimization */
@media (max-width: 767.98px) {
  .service-card .card-img-top {
    height: 180px;
  }
  
  .service-card .card-body {
    padding: 1rem;
  }
}

/* Team Section Mobile */
@media (max-width: 767.98px) {
  .team-card {
    margin-bottom: 2rem;
  }
}

/* Process Steps Mobile */
@media (max-width: 767.98px) {
  .process-step {
    margin-bottom: 2rem;
  }
} 

.hero-title {
    padding-top: 100px;
}