/* 
   Responsive CSS for Bespoke Tailoring Auctions
   Created for the executive-style tailoring auction website
*/

/* Large Devices (Desktops, less than 1200px) */
@media (max-width: 1199.98px) {
    .container {
        max-width: 960px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .service-item, 
    .price-item, 
    .coreinfo-item {
        padding: 25px;
    }
    
    .team-grid,
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

/* Medium Devices (Tablets, less than 992px) */
@media (max-width: 991.98px) {
    .container {
        max-width: 720px;
    }
    
    .section {
        padding: 80px 0;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .about-img {
        margin-bottom: 30px;
    }
    
    .service-grid, 
    .price-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .contact-info {
        padding: 30px 0;
    }
}

/* Small Devices (Landscape Phones, less than 768px) */
@media (max-width: 767.98px) {
    .container {
        max-width: 540px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .hero-section {
        height: 80vh;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-desc {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .feature-item, 
    .team-member {
        margin-bottom: 30px;
    }
    
    .reviews-slider {
        padding: 0 20px;
    }
    
    .review-item {
        padding: 20px;
    }
    
    .review-text {
        font-size: 1rem;
    }
    
    .footer-grid {
        gap: 30px;
    }
    
    /* Mobile Navigation */
    .mobile-nav-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background-color: white;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 80px 20px 30px;
        transition: all 0.4s ease;
        z-index: 999;
        overflow-y: auto;
        display: block;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        margin: 0 0 15px;
        display: block;
    }
    
    .nav-menu li a {
        display: block;
        padding: 8px 0;
    }
    
    .mobile-nav-close {
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 1.5rem;
        cursor: pointer;
        display: none; /* Hide by default */
    }
    
    .nav-menu.active .mobile-nav-close {
        display: block; /* Only show when menu is active */
    }
}

/* Extra Small Devices (Portrait Phones, less than 576px) */
@media (max-width: 575.98px) {
    .section {
        padding: 50px 0;
    }
    
    .hero-section {
        height: 70vh;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .service-item, 
    .price-item, 
    .coreinfo-item,
    .feature-item {
        padding: 20px;
    }
    
    .price-tag {
        font-size: 2rem;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .form-control {
        padding: 10px;
    }
    
    .page-title {
        font-size: 2.2rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .footer {
        padding: 60px 0 20px;
    }
    
    .footer-grid {
        gap: 40px;
    }
}

/* Specific Responsive Tweaks */

/* Hero Slider Navigation */
@media (max-width: 767.98px) {
    .hero-slider .swiper-button-next,
    .hero-slider .swiper-button-prev {
        width: 40px;
        height: 40px;
    }
    
    .hero-slider .swiper-button-next:after,
    .hero-slider .swiper-button-prev:after {
        font-size: 1.2rem;
    }
}

/* Review Slider Navigation */
@media (max-width: 575.98px) {
    .reviews-slider .swiper-button-next,
    .reviews-slider .swiper-button-prev {
        display: none;
    }
}

/* Shape Elements Positioning */
@media (max-width: 767.98px) {
    .shape {
        transform: scale(0.7);
    }
}

/* Animation Adjustments */
@media (max-width: 767.98px) {
    [data-aos] {
        opacity: 1 !important;
        transform: translateZ(0) !important;
    }
} 