/* Gift Wrapping Service Template - Responsive CSS */

/* Mobile First Approach */

/* Extra Small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
  /* Disable animations on mobile */
  * {
    animation: none !important;
    transition: none !important;
  }
  
  /* Typography adjustments */
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  .navbar-brand {
    font-size: 1.25rem;
  }
  
  /* Hero section */
  #hero {
    min-height: 100vh;
    padding: 100px 0 60px;
    text-align: center;
  }
  
  .hero-content {
    margin-bottom: 40px;
    padding-top: 250px;
}
  
  /* Section spacing */
  section {
    padding: 60px 0;
  }
  
  .section-header {
    margin-bottom: 40px;
  }
  
  /* Cards adjustments */
  .service-card,
  .price-card,
  .review-card,
  .blog-card,
  .career-card {
    margin-bottom: 30px;
  }
  
  /* Team photos */
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  /* Contact form */
  .contact-form {
    padding: 30px 20px;
  }
  
  .contact-info {
    padding: 30px 20px;
  }
  
  /* Gallery grid */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  /* Process steps */
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  /* Footer */
  #footer {
    padding: 40px 0 20px;
  }
  
  .footer-section {
    margin-bottom: 30px;
    text-align: center;
  }
  
  /* Price amount */
  .price-amount {
    font-size: 2.5rem;
  }
  
  /* Decorative shapes - hide on mobile */
  .decorative-shape {
    display: none;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  /* Disable animations on mobile */
  * {
    animation: none !important;
    transition: none !important;
  }
  
  h1 {
    font-size: 2.25rem;
  }
  
  h2 {
    font-size: 1.875rem;
  }
  
  #hero {
    padding: 120px 0 80px;
  }
  
  section {
    padding: 70px 0;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Decorative shapes - reduce size */
  .shape-1 {
    width: 150px;
    height: 150px;
  }
  
  .shape-2 {
    width: 100px;
    height: 100px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  h1 {
    font-size: 2.25rem;
  }
  
  h2 {
    font-size: 1.875rem;
  }
  
  #hero {
    padding: 120px 0 80px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-content {
    margin-bottom: 40px;
    padding-top: 250px;
}
  
  /* Decorative shapes */
  .shape-1 {
    width: 180px;
    height: 180px;
  }
  
  .shape-2 {
    width: 130px;
    height: 130px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .container {
    max-width: 1140px;
  }
}

/* Ultra wide screens */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 600px) {
  #hero {
    min-height: 100vh;
    padding: 100px 0 60px;
  }
  
  section {
    padding: 60px 0;
  }
}

/* Print styles */
@media print {
  * {
    background: transparent !important;
    color: black !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  
  #header,
  #footer {
    display: none;
  }
  
  .decorative-shape {
    display: none;
  }
  
  .btn {
    display: none;
  }
  
  a {
    text-decoration: underline;
  }
  
  .page-break {
    page-break-before: always;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --primary-color: #000080;
    --secondary-color: #008000;
    --text-dark: #000000;
    --text-light: #333333;
    --light-gray: #F0F0F0;
  }
  
  .btn-primary {
    border: 2px solid #000000;
  }
  
  .form-control {
    border: 2px solid #000000;
  }
}

/* Dark mode support */

/* Focus styles for accessibility */
.btn:focus,
.form-control:focus,
.nav-link:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Skip to content link for screen readers */
.skip-to-content {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-color);
  color: white;
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 9999;
}

.skip-to-content:focus {
  top: 6px;
}

/* Loading states */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Hover states for touch devices */
@media (hover: none) {
  .service-card:hover,
  .price-card:hover,
  .review-card:hover,
  .blog-card:hover,
  .feature-card:hover {
    transform: none;
  }
  
  .gallery-image:hover {
    transform: none;
  }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .loading::after {
    animation: none;
  }
} 

body {
    overflow-x: hidden;
}