/* Retro Game Rentals - Responsive CSS */

/* Mobile First Approach */

/* Extra Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .hero-title {
    font-size: 2.05rem;
  }
  
  .hero-subtitle {
    font-size: 1.03rem;
  }
  
  .hero-section {
  padding-top: 50px;
    min-height: 70vh;
    padding: 2rem 0;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .retro-card {
    padding: 1rem;
    margin-bottom: 1.10rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .team-photo {
    width: 150px;
    height: 150px;
  }
  
  .step-number {
    width: 40px;
    height: 40px;
    margin-right: 1rem;
    font-size: 1.04rem;
  }
  
  .process-step {
    flex-direction: column;
    text-align: center;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .navbar-brand {
    font-size: 1.24rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem !important;
    margin: 0.1rem 0;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-title {
    font-size: 2.53rem;
  }
  
  .hero-subtitle {
    font-size: 1.24rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .process-step {
    flex-direction: row;
    text-align: left;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-title {
    font-size: 3.01rem;
  }
  
  .hero-subtitle {
    font-size: 1.43rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .services-item {
    margin-bottom: 1.69rem;
  }
  
  .team-member {
    margin-bottom: 1.69rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-title {
    font-size: 3.61rem;
  }
  
  .hero-subtitle {
    font-size: 1.65rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  
  .team-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-title {
    font-size: 4.02rem;
  }
  
  .hero-subtitle {
    font-size: 1.88rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  
  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
  
  .team-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
  }
  
  .container-xl {
    max-width: 1200px;
  }
}

/* Mobile Specific Styles for Swiper */
@media (max-width: 767.98px) {
  .swiper {
    overflow: visible;
  }
  
  .swiper-slide {
    margin-bottom: 1.10rem;
  }
  
  /* Disable autoplay and effects on mobile */
  .swiper-wrapper {
    transform: none !important;
  }
  
  .swiper-slide {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Tablet and Desktop Swiper */
@media (min-width: 768px) {
  .swiper-pagination {
    position: relative;
    margin-top: 2.07rem;
  }
  
  .swiper-button-next,
  .swiper-button-prev {
    color: var(--primary-electric-blue);
  }
}

/* Navigation Responsive */
@media (max-width: 991.98px) {
  .navbar-toggler {
    border: 2px solid var(--primary-electric-blue);
    padding: 0.25rem 0.5rem;
  }
  
  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%2300ffff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }
  
  .navbar-collapse {
    background: var(--bg-section);
    border-radius: 10px;
    margin-top: 1.24rem;
    padding: 1rem;
  }
}

/* Footer Responsive */
@media (max-width: 767.98px) {
  .footer {
    text-align: center;
    padding: 2rem 0 1rem 0;
  }
  
  .footer .row > div {
    margin-bottom: 2.17rem;
  }
  
  .footer-links {
    margin-bottom: 1.10rem;
  }
  
  .footer-links a {
    display: block;
    margin-bottom: 0.57rem;
  }
}

/* Form Responsive */
@media (max-width: 575.98px) {
  .contact-form .row .col-md-6 {
    margin-bottom: 1.10rem;
  }
  
  .btn-primary {
    width: 100%;
    padding: 1rem;
  }
}

/* Price Plans Responsive */
@media (max-width: 767.98px) {
  .price-plan {
    margin-bottom: 2.17rem;
  }
  
  .plan-price {
    font-size: 2.53rem;
  }
}

@media (min-width: 768px) {
  .price-plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: start;
  }
}

/* Blog Responsive */
@media (min-width: 768px) and (max-width: 991.98px) {
  .blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 992px) {
  .blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

/* Timeline Responsive */
@media (max-width: 767.98px) {
  .timeline-item {
    margin-bottom: 2.17rem;
    padding-left: 0;
    text-align: center;
  }
  
  .timeline-item::before {
    display: none;
  }
}

/* Reviews Slider Responsive */
@media (max-width: 767.98px) {
  .review-item {
    padding: 1.5rem;
    margin-bottom: 1.10rem;
  }
  
  .reviews-slider .swiper-slide {
    width: 100%;
  }
}

@media (min-width: 768px) {
  .reviews-slider .swiper-slide {
    width: 80%;
  }
}

@media (min-width: 992px) {
  .reviews-slider .swiper-slide {
    width: 60%;
  }
}

/* FAQ Responsive */
@media (max-width: 575.98px) {
  .faq-question {
    padding: 0.75rem;
    font-size: 1.04rem;
  }
  
  .faq-answer {
    padding: 0.75rem;
    font-size: 1.04rem;
  }
}

/* Gallery Responsive with Lightbox */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.gallery-item img {
  transition: transform 0.3s ease;
  cursor: pointer;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Services Grid Responsive */
@media (min-width: 576px) and (max-width: 767.98px) {
  .services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 992px) {
  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

/* Features Grid Responsive */
@media (min-width: 768px) {
  .features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 992px) {
  .features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

/* Career Grid Responsive */
@media (min-width: 768px) {
  .career-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 992px) {
  .career-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

/* Core Info Grid Responsive */
@media (min-width: 576px) and (max-width: 767.98px) {
  .coreinfo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .coreinfo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 992px) {
  .coreinfo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

/* Utility classes for responsive design */
.mobile-only {
  display: block;
}

.desktop-only {
  display: none;
}

@media (min-width: 768px) {
  .mobile-only {
    display: none;
  }
  
  .desktop-only {
    display: block;
  }
}

/* Responsive text alignment */
.text-center-mobile {
  text-align: center;
}

@media (min-width: 768px) {
  .text-left-desktop {
    text-align: left;
  }
} 