/* Responsive Design for Sustainable Live-Event Ticketing */

/* Mobile First Approach */
/* Base styles are mobile-first, then scale up with media queries */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .hero-title {
    font-size: 3.54rem;
  }
  
  .hero-subtitle {
    font-size: 1.58rem;
  }
  
  .section-title {
    font-size: 2.62rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .hero {
    padding: 0 2rem;
  }
  
  .hero-title {
    font-size: 4rem;
  }
  
  .hero-subtitle {
    font-size: 1.76rem;
  }
  
  .section {
    padding: 6rem 0;
  }
  
  .section-title {
    font-size: 3rem;
  }
  
  .navbar-nav {
    flex-direction: row;
  }
  
  .navbar-nav .nav-link {
    margin: 0 1rem;
  }
  
  .service-card {
    margin-bottom: 0;
  }
  
  .about-feature {
    margin-bottom: 0;
  }
  
  .feature-item {
    margin-bottom: 0;
  }
  
  .price-card {
    margin-bottom: 0;
  }
  
  .team-member {
    margin-bottom: 0;
  }
  
  .contact-form {
    margin-bottom: 0;
  }
  
  .blog-card {
    margin-bottom: 0;
  }
  
  .core-info-item {
    margin-bottom: 0;
  }
}

/* Large devices (desktops, 996px and up) */
@media (min-width: 992px) {
  .hero-title {
    font-size: 4.63rem;
  }
  
  .hero-subtitle {
    font-size: 2rem;
  }
  
  .section {
    padding: 8rem 0;
  }
  
  .section-title {
    font-size: 3.61rem;
  }
  
  .navbar {
    padding: 1.5rem 0;
  }
  
  .navbar-brand {
    font-size: 1.60rem;
  }
  
  .hero-content {
    padding-right: 3rem;
    padding-top: 225px;
}
  
  .process-item {
    flex-direction: row;
    text-align: left;
  }
  
  .timeline-item {
    flex-direction: row;
    text-align: left;
  }
  
  .contact-info {
    padding: 4rem;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-title {
    font-size: 5rem;
  }
  
  .hero-subtitle {
    font-size: 2.27rem;
  }
  
  .section-title {
    font-size: 4rem;
  }
  
  .container {
    max-width: 1140px;
  }
  
  .hero-content {
    padding-right: 4rem;
    padding-top: 225px;
}
}

/* Extra extra large devices (1400px and up) */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/* Mobile-specific styles */
@media (max-width: 575.98px) {
  .hero {
    min-height: 70vh;
    padding: 2rem 1rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-desc {
    font-size: 1.01rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .section-title {
    font-size: 1.90rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .navbar-brand {
    font-size: 1.11rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 0;
    margin: 0;
  }
  
  .about-feature {
    padding: 1.5rem;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  .feature-item {
    padding: 1.5rem;
  }
  
  .price-card {
    padding: 1.5rem;
  }
  
  .team-member {
    padding: 1.5rem;
  }
  
  .team-member img {
    width: 120px;
    height: 120px;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .contact-info {
    padding: 2rem;
  }
  
  .blog-card-body {
    padding: 1rem;
  }
  
  .process-item {
    flex-direction: column;
    text-align: center;
  }
  
  .process-number {
    margin-right: 0;
    margin-bottom: 1rem;
  }
  
  .timeline-item {
    flex-direction: column;
    text-align: center;
  }
  
  .timeline-date {
    margin-right: 0;
    margin-bottom: 1rem;
    min-width: auto;
  }
  
  .career-item {
    padding: 1.5rem;
  }
  
  .core-info-item {
    padding: 1.5rem;
  }
  
  .case-study-card {
    padding: 1.5rem;
  }
  
  .faq-question {
    padding: 1rem;
  }
  
  .faq-answer {
    padding: 1rem;
  }
  
  .footer {
    padding: 2rem 0 1rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
}

/* Tablet-specific styles */
@media (min-width: 576px) and (max-width: 991.98px) {
  .hero {
    min-height: 80vh;
  }
  
  .hero-content {
    padding-right: 2rem;
    padding-top: 225px;
}
  
  .service-card img {
    height: 180px;
  }
  
  .gallery-item img {
    height: 220px;
  }
  
  .process-item {
    flex-direction: column;
    text-align: center;
  }
  
  .process-number {
    margin-right: 0;
    margin-bottom: 1rem;
  }
  
  .timeline-item {
    flex-direction: column;
    text-align: center;
  }
  
  .timeline-date {
    margin-right: 0;
    margin-bottom: 1rem;
    min-width: auto;
  }
}

/* Accessibility Features */
/* High contrast mode */
@media (prefers-contrast: high) {
  :root {
    --color-primary: #152a23;
    --color-secondary: #3d6e63;
    --color-accent: #973b15;
    --color-gray: #000000;
    --color-white: #FFFFFF;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    --box-shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.4);
  }
  
  .btn {
    border: 2px solid;
  }
  
  .form-control {
    border: 2px solid var(--color-primary);
  }
  
  .navbar {
    border-bottom: 2px solid var(--color-primary);
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .hero::before {
    animation: none;
  }
  
  .gallery-item:hover {
    transform: none;
  }
  
  .gallery-item:hover img {
    transform: none;
  }
}

/* Dark mode support (if needed in future) */

/* Print optimizations */
@media print {
  .hero {
    background: none !important;
    color: var(--color-black) !important;
    min-height: auto !important;
  }
  
  .hero::before {
    display: none;
  }
  
  .section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
  
  .service-card,
  .about-feature,
  .feature-item,
  .price-card,
  .team-member,
  .review-card,
  .case-study-card,
  .career-item,
  .core-info-item {
    page-break-inside: avoid;
    box-shadow: none;
    border: 1px solid var(--color-gray);
  }
  
  .btn {
    border: 1px solid var(--color-primary);
    background: none !important;
    color: var(--color-primary) !important;
  }
  
  .gallery-item {
    page-break-inside: avoid;
  }
  
  .contact-form {
    border: 1px solid var(--color-gray);
    box-shadow: none;
  }
  
  .navbar-nav {
    display: none;
  }
  
  .footer {
    color: var(--color-black) !important;
    background: none !important;
    border-top: 1px solid var(--color-gray);
  }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 500px) {
  .hero {
    min-height: 100vh;
  }
  
  .hero-title {
    font-size: 2.61rem;
  }
  
  .hero-subtitle {
    font-size: 1.27rem;
  }
}

/* Container max-width adjustments for better content flow */
@media (min-width: 1400px) {
  .container-fluid {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Grid system enhancements */
@media (max-width: 575.98px) {
  .row {
    margin-left: -0.5rem;
    margin-right: -0.5rem;
  }
  
  .col,
  [class*="col-"] {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}

/* Image responsiveness */
.img-fluid {
  max-width: 100%;
  height: auto;
}

/* Ensure all images are responsive */
img {
  max-width: 100%;
  height: auto;
}

/* Navigation improvements for mobile */
@media (max-width: 991.98px) {
  .navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
  }
  
  .navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(39, 81, 76, 0.25);
  }
  
  .navbar-collapse {
    background: var(--color-white);
    border-top: 1px solid var(--color-secondary-light);
    margin-top: 1rem;
    padding-top: 1rem;
  }
}

/* Form improvements */
@media (max-width: 575.98px) {
  .form-control {
    font-size: 16px; /* Prevents zoom on iOS */
  }
}

/* Button improvements */
@media (max-width: 575.98px) {
  .btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.98rem;
  }
  
  .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
}

/* Card improvements */
@media (max-width: 575.98px) {
  .card {
    margin-bottom: 1rem;
  }
  
  .card-body {
    padding: 1rem;
  }
}

/* Utility classes for responsive design */
.d-mobile-none {
  display: none;
}

@media (min-width: 768px) {
  .d-mobile-none {
    display: block;
  }
}

.d-desktop-none {
  display: block;
}

@media (min-width: 768px) {
  .d-desktop-none {
    display: none;
  }
}

/* Spacing utilities for mobile */
@media (max-width: 575.98px) {
  .mb-mobile-3 {
    margin-bottom: 1rem;
  }
  
  .mt-mobile-3 {
    margin-top: 1rem;
  }
  
  .py-mobile-3 {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
}

/* Text size adjustments for better readability */
@media (max-width: 575.98px) {
  .lead {
    font-size: 1.25rem;
  }
  
  .display-1 {
    font-size: 2.64rem;
  }
  
  .display-2 {
    font-size: 2rem;
  }
  
  .display-3 {
    font-size: 1.89rem;
  }
  
  .display-4 {
    font-size: 1.65rem;
  }
} 