/* Responsive Design - Event Planning Template */

/* Extra Large Screens (1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .hero-title {
    font-size: 3.62rem;
  }
  
  .section-title h2 {
    font-size: 3rem;
  }
}

/* Large Screens (992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .container {
    max-width: 960px;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .section-title h2 {
    font-size: 2.53rem;
  }
}

/* Medium Screens (768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .container {
    max-width: 720px;
  }
  
  .hero-title {
    font-size: 2.61rem;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .navbar-nav {
    flex-direction: row;
  }
  
  .navbar-nav .nav-link {
    margin: 0 0.25rem;
  }
  
  .hero-section {
    min-height: 80vh;
  }
  
  .hero-image img {
    height: 300px;
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
  
  .team-member img {
    width: 120px;
    height: 120px;
  }
}

/* Small Screens (576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .container {
    max-width: 540px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title h2 {
    font-size: 1.88rem;
  }
  
  .hero-section {
    min-height: 70vh;
    text-align: center;
  }
  
  .hero-image {
    margin-top: 2rem;
  }
  
  .hero-image img {
    height: 250px;
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
  
  .service-card img {
    height: 150px;
  }
  
  .about-feature {
    margin-bottom: 1.64rem;
  }
  
  .feature-item {
    flex-direction: column;
    text-align: center;
  }
  
  .feature-item i {
    margin-right: 0;
    margin-bottom: 1rem;
  }
  
  .team-member {
    margin-bottom: 2rem;
  }
  
  .team-member img {
    width: 100px;
    height: 100px;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .decoration-1,
  .decoration-2 {
    display: none;
  }
}

/* Extra Small Screens (up to 575.98px) */
@media (max-width: 575.98px) {
  .container {
    max-width: 100%;
    padding: 0 15px;
  }
  
  /* Typography adjustments */
  h1 { font-size: 1.78rem; }
  h2 { font-size: 1.56rem; }
  h3 { font-size: 1.33rem; }
  h4 { font-size: 1.23rem; }
  h5 { font-size: 1rem; }
  h6 { font-size: 0.93rem; }
  
  .hero-title {
    font-size: 1.83rem;
  }
  
  .section-title h2 {
    font-size: 1.63rem;
  }
  
  .section-title p {
    font-size: 1rem;
  }
  
  /* Header */
  .navbar {
    padding: 0.5rem 0;
  }
  
  .navbar-brand {
    font-size: 1.18rem;
  }
  
  .navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 1rem;
    margin: 0;
    text-align: center;
  }
  
  /* Hero Section */
  .hero-section {
    min-height: 60vh;
    text-align: center;
    padding: 2rem 0;
  }
  
  .hero-content {
    margin-bottom: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.59rem;
  }
  
  .hero-image img {
    height: 200px;
    border-radius: 15px;
  }
  
  .decoration-1,
  .decoration-2 {
    display: none;
  }
  
  /* Sections */
  .section {
    padding: 2rem 0;
  }
  
  .section-title {
    margin-bottom: 2rem;
  }
  
  /* Services */
  .service-card {
    padding: 1.5rem;
    margin-bottom: 1.71rem;
  }
  
  .service-card img {
    height: 120px;
  }
  
  .service-price {
    font-size: 1.36rem;
  }
  
  /* About Features */
  .about-feature {
    padding: 1.5rem 1rem;
    margin-bottom: 1.72rem;
  }
  
  .about-feature i {
    font-size: 2.60rem;
  }
  
  /* Features */
  .feature-item {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
    margin-bottom: 1.66rem;
  }
  
  .feature-item i {
    font-size: 2rem;
    margin-right: 0;
    margin-bottom: 1rem;
  }
  
  /* Price Plans */
  .price-card {
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
  }
  
  .price-value {
    font-size: 2.62rem;
  }
  
  /* Team */
  .team-member {
    padding: 1.5rem;
    margin-bottom: 1.59rem;
  }
  
  .team-member img {
    width: 80px;
    height: 80px;
  }
  
  /* Reviews */
  .review-card {
    padding: 1.5rem;
    margin-bottom: 1.72rem;
  }
  
  .review-card::before {
    font-size: 3rem;
    top: 5px;
    left: 15px;
  }
  
  .review-text {
    font-size: 1rem;
    margin-top: 1.56rem;
  }
  
  /* Process */
  .process-item {
    padding: 1.5rem;
    margin-bottom: 1.61rem;
  }
  
  .process-number {
    width: 35px;
    height: 35px;
    font-size: 1.04rem;
  }
  
  /* Timeline */
  .timeline-item {
    padding-left: 2rem;
    margin-bottom: 1.69rem;
  }
  
  .timeline-item::after {
    width: 15px;
    height: 15px;
    left: -7px;
  }
  
  /* Career */
  .career-item {
    padding: 1.5rem;
    margin-bottom: 1.61rem;
  }
  
  /* Core Info */
  .coreinfo-item {
    padding: 1.5rem;
    margin-bottom: 1.63rem;
  }
  
  .coreinfo-item i {
    font-size: 2.65rem;
  }
  
  /* Contact Form */
  .contact-form {
    padding: 2rem 1.5rem;
  }
  
  .form-control {
    padding: 0.5rem 0.75rem;
  }
  
  .btn-primary {
    padding: 0.75rem 1.5rem;
    width: 100%;
  }
  
  /* Blog */
  .blog-card {
    margin-bottom: 2rem;
  }
  
  .blog-card img {
    height: 150px;
  }
  
  .blog-card-body {
    padding: 1.5rem;
  }
  
  /* FAQ */
  .faq-question {
    padding: 1rem;
    font-size: 1rem;
  }
  
  .faq-question::after {
    right: 1rem;
    font-size: 1.30rem;
  }
  
  .faq-answer {
    padding: 1rem;
    font-size: 0.92rem;
  }
  
  /* Gallery */
  .gallery-item {
    margin-bottom: 1rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  /* Footer */
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  .footer h5 {
    margin-bottom: 1rem;
  }
  
  /* Additional Pages */
  .additional-section {
    padding: 2rem 0;
  }
  
  .additional-item {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }
  
  /* Space Page */
  #space {
    min-height: 40vh;
    font-size: 1.33rem;
    padding: 2rem;
  }
}

/* Landscape Orientation for Mobile */
@media (max-width: 767.98px) and (orientation: landscape) {
  .hero-section {
    min-height: 100vh;
  }
  
  .hero-title {
    font-size: 1.53rem;
  }
  
  .hero-subtitle {
    font-size: 1.00rem;
  }
  
  .hero-image img {
    height: 150px;
  }
  
  .section {
    padding: 1.5rem 0;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-image img,
  .service-card img,
  .gallery-item img,
  .blog-card img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Print Styles */
@media print {
  * {
    background: transparent !important;
    color: black !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  
  .navbar,
  .footer,
  .btn,
  .decoration-1,
  .decoration-2 {
    display: none !important;
  }
  
  .hero-section,
  .section {
    page-break-inside: avoid;
  }
  
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
  }
  
  p, li {
    orphans: 3;
    widows: 3;
  }
  
  .service-card,
  .about-feature,
  .team-member {
    page-break-inside: avoid;
    border: 1px solid #c8c8c8;
    margin-bottom: 1rem;
  }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
  .hero-decoration,
  .decoration-1,
  .decoration-2 {
    animation: none !important;
  }
  
  .service-card:hover,
  .about-feature:hover,
  .team-member:hover,
  .feature-item:hover,
  .price-card:hover {
    transform: none !important;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --primary-coral: #df0001;
    --primary-lavender: #6d12dc;
    --primary-mint: #005501;
    --primary-peach: #d95600;
    --primary-sky: #004dbe;
    --light-gray: #cacaca;
    --medium-gray: #6b6b6b;
    --dark-gray: #333333;
  }
  
  .service-card,
  .about-feature,
  .team-member,
  .contact-form {
    border: 2px solid var(--dark-gray);
  }
} 