/* 
   Virtual X Tours - Responsive Styles
   Handles responsive design across different screen sizes
*/

/* Large devices (desktops, up to 1200px) */
@media (max-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.25rem;
    }
    
    .hero-content,
    .hero-image {
        width: 48%;
    }
    
    .vr-sphere {
        width: 250px;
        height: 250px;
    }
    
    .sphere {
        width: 170px;
        height: 170px;
    }
    
    .orbit {
        width: 250px;
        height: 250px;
    }
}

/* Medium devices (tablets, up to 992px) */
@media (max-width: 992px) {
    .container {
        max-width: 960px;
    }
    
    h1 {
        font-size: 2.75rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero {
        height: auto;
        min-height: 100vh;
        padding-top: 100px;
        padding-bottom: var(--spacing-xl);
    }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content,
    .hero-image {
        width: 100%;
    }
    
    .hero-content {
        margin-bottom: var(--spacing-xl);
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .benefits-content {
        flex-direction: column-reverse;
    }
    
    .benefits-text,
    .benefits-image {
        width: 100%;
    }
    
    .benefits-image {
        margin-bottom: var(--spacing-xl);
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background: var(--bg-dark);
        flex-direction: column;
        align-items: flex-start;
        padding: var(--spacing-xxl) var(--spacing-lg);
        transition: var(--transition-normal);
        z-index: 1001;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        margin: 0 0 var(--spacing-md) 0;
        width: 100%;
    }
    
    .nav-menu a {
        color: var(--text-light);
        display: block;
        padding: var(--spacing-sm) 0;
        width: 100%;
    }
    
    .nav-menu a.btn-primary {
        margin-top: var(--spacing-md);
        text-align: center;
    }
    
    .menu-toggle {
        display: block;
        z-index: 1002;
    }
    
    .menu-toggle.active i:before {
        content: '\f00d';
        color: var(--text-light);
    }
    
    body.menu-open {
        overflow: hidden;
    }
}

/* Small devices (landscape phones, up to 768px) */
@media (max-width: 768px) {
    .container {
        max-width: 720px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .welcome,
    .services,
    .benefits,
    .featured-tours,
    .cta {
        padding: var(--spacing-xl) 0;
    }
    
    .service-card {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .tours-gallery {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: var(--spacing-md);
        max-width: 250px;
        margin: 0 auto;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        text-align: center;
    }
    
    .footer-links h3::after,
    .footer-services h3::after,
    .footer-contact h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}

/* Extra small devices (portrait phones, up to 576px) */
@media (max-width: 576px) {
    .container {
        max-width: 540px;
        width: 95%;
    }
    
    h1 {
        font-size: 2.25rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .logo a {
        font-size: 1.5rem;
    }
    
    .vr-sphere {
        width: 200px;
        height: 200px;
    }
    
    .sphere {
        width: 140px;
        height: 140px;
    }
    
    .orbit {
        width: 200px;
        height: 200px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons,
    .benefit-item {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .benefit-item {
        padding-left: 0;
        border-left: none;
        padding-top: var(--spacing-md);
        border-top: 3px solid var(--primary-color);
    }
    
    .benefit-item:hover {
        transform: translateY(10px);
        border-top-color: var(--secondary-color);
    }
}
