@media (max-width: 1024px) {
    /* General Tablet Adjustments */
    .navbar {
        padding: 1rem 1.5rem;
    }
    .site-name {
        font-size: 1.1rem;
    }
    .nav-links li {
        margin-right: 1.5rem;
    }
    html[dir="rtl"] .nav-links li {
        margin-right: 0;
        margin-left: 1.5rem;
    }
    section { padding: 3.5rem 1.25rem; }
    .section-title {
        font-size: 2.2rem;
    }

    /* Home Page */
    .hero h1 {
        font-size: 3rem;
    }
    .hero p {
        font-size: 1.1rem;
    }

    /* Service Detail Page */
    .service-detail-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .service-form-container {
        position: static;
    }
    .service-info, .service-form-container {
        padding: 2rem;
    }

    /* Place Detail Page */
    .place-detail-hero-content h1 {
        font-size: 2.5rem;
    }
    .place-detail-hero-content p {
        font-size: 1.2rem;
    }
    .place-detail-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .place-booking-sidebar {
        position: static;
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
     .place-booking-sidebar > * {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease-in-out;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }

    html[dir="rtl"] .nav-links {
        right: auto;
        left: -100%;
        transition: left 0.4s ease-in-out;
        box-shadow: 5px 0 15px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        right: 0;
    }

    html[dir="rtl"] .nav-links.active {
        right: auto;
        left: 0;
    }

    .nav-links li {
        margin: 2rem 0;
    }

    .hamburger {
        display: block;
        z-index: 1001;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .service-detail-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-form-container {
        position: static;
    }
    
    .service-info,
    .service-form-container {
        padding: 1.5rem;
    }
    
    .service-detail-image {
        height: 200px;
    }
    
    .places-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-button {
        width: 80%;
        max-width: 300px;
    }
    
    .places-grid {
        grid-template-columns: 1fr;
    }
    
    .place-card {
        height: 350px;
    }
    
    .place-detail-hero {
        height: 40vh;
    }
    
    .place-detail-hero-content h1 {
        font-size: 2rem;
    }
    
    .place-detail-hero-content p {
        font-size: 1.1rem;
    }
    
    .place-detail-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .place-main-info,
    .place-booking-sidebar > * {
        padding: 1.5rem;
    }
    
    .place-booking-sidebar {
        position: static;
        gap: 1.5rem;
    }
    
    .visit-info {
        grid-template-columns: 1fr;
    }
}

/* Projector / very large displays — improve legibility and spacing */
@media (min-width: 1600px) {
    .footer-container {
        max-width: 1800px;
        padding: 3.5rem 4rem;
        gap: 3rem;
    }
    .footer-about p, .footer-links ul a, .footer-contact p {
        font-size: 1.15rem;
        line-height: 2;
    }
    .footer-links h4, .footer-contact h4 {
        font-size: 1.35rem;
    }
    .footer-about .logo img { height: 72px; }
    .footer-bottom p { font-size: 1.05rem; }
}

/* Ensure projector-friendly focus outlines */
@media (pointer: fine) and (hover: hover) {
    .footer-links ul a:focus {
        outline: 3px solid rgba(212,175,55,0.18);
        outline-offset: 4px;
    }
}