/**
 * Responsive Stylesheet for Pandit Ji Website
 * 
 * This file contains all the responsive styles for the website
 * 
 * @version 1.0
 * @date 2025-05-29
 */

/* ===== LARGE DEVICES (Desktops, 1200px and up) ===== */
@media (min-width: 1200px) {
    .container {
        max-width: 1170px;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
}

/* ===== MEDIUM DEVICES (Tablets, 992px and up) ===== */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .service-card .card-img {
        height: 180px;
    }
}

/* ===== SMALL DEVICES (Landscape Phones, 768px and up) ===== */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .service-card .card-img {
        height: 160px;
    }
    
    .about-img {
        margin-bottom: 2rem;
    }
    
    .gallery-item img {
        height: 200px;
    }
    
    .testimonial-item {
        padding: 1.5rem;
    }
    
    .contact-info-item {
        margin-bottom: 1rem;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 1rem;
    }
    
    .map-container {
        height: 350px;
        margin-top: 2rem;
    }
    
    .booking-info {
        margin-top: 2rem;
    }
}

/* ===== EXTRA SMALL DEVICES (Portrait Phones, less than 768px) ===== */
@media (max-width: 767.98px) {
    .hero-section {
        padding: 70px 0;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 1.6rem;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .about-img {
        margin-bottom: 2rem;
    }
    
    .service-card .card-img {
        height: 200px;
    }
    
    .gallery-item img {
        height: 220px;
    }
    
    .testimonial-item {
        padding: 1.2rem;
    }
    
    .contact-form {
        margin-bottom: 2rem;
    }
    
    .map-container {
        height: 300px;
    }
    
    .booking-info {
        margin-top: 2rem;
    }
    
    .main-footer {
        padding-top: 3rem;
    }
    
    .footer-heading {
        margin-top: 1.5rem;
    }
    
    .admin-sidebar {
        min-height: auto;
        margin-bottom: 2rem;
    }
    
    .stat-card {
        min-width: 100%;
    }
    
    .top-bar .contact-info,
    .top-bar .social-icons {
        text-align: center;
    }
    
    .top-bar .social-icons {
        margin-top: 0.5rem;
    }
    
    /* Ensure white color on tablets/small devices with highest specificity */
    .top-bar .contact-info,
    .top-bar .contact-info .contact-item,
    .top-bar .contact-info .contact-item span,
    .top-bar .contact-info .contact-item span i,
    .top-bar .contact-info span,
    .top-bar .contact-info span i,
    .top-bar .social-icons,
    .top-bar .social-icons a,
    .top-bar .social-icons a i {
        color: #FFFFFF !important;
    }
    
    .header-right {
        margin-top: 1rem;
        text-align: center;
    }
    
    .logo {
        text-align: center;
    }
    
    /* Ensure white color on phones in portrait mode with highest specificity */
    .top-bar .contact-info,
    .top-bar .contact-info .contact-item,
    .top-bar .contact-info .contact-item span,
    .top-bar .contact-info .contact-item span i,
    .top-bar .contact-info span,
    .top-bar .contact-info span i,
    .top-bar .social-icons,
    .top-bar .social-icons a,
    .top-bar .social-icons a i {
        color: #FFFFFF !important;
    }
}

/* ===== VERY SMALL DEVICES (Small Portrait Phones, less than 576px) ===== */
@media (max-width: 575.98px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 0.4rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .section-title h2 {
        font-size: 1.4rem;
    }
    
    .service-card .card-title {
        font-size: 1.2rem;
    }
    
    .testimonial-img {
        width: 60px;
        height: 60px;
    }
    
    .testimonial-content::before,
    .testimonial-content::after {
        font-size: 2rem;
    }
    
    .contact-icon {
        width: 35px;
        height: 35px;
        line-height: 35px;
        font-size: 0.9rem;
    }
    
    .map-container {
        height: 250px;
    }
    
    .auth-card {
        padding: 1.5rem;
    }
    
    .profile-img {
        width: 100px;
        height: 100px;
    }
    
    .profile-tabs .nav-link {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
    
    .booking-history-item {
        padding: 1rem;
    }
    
    .back-to-top {
        width: 35px;
        height: 35px;
        line-height: 35px;
        right: 15px;
        bottom: 15px;
    }
    
    /* Ensure white color on mobile phones with highest specificity */
    .top-bar .contact-info,
    .top-bar .contact-info .contact-item,
    .top-bar .contact-info .contact-item span,
    .top-bar .contact-info .contact-item span i,
    .top-bar .contact-info span,
    .top-bar .contact-info span i,
    .top-bar .social-icons,
    .top-bar .social-icons a,
    .top-bar .social-icons a i {
        color: #FFFFFF !important;
    }
}
