/* Journey Terra - Responsive Stylesheet */

/* Tablet Styles */
@media (max-width: 968px) {
    .container {
        padding: 0 1.5rem;
    }
    
    /* Hero Section */
    .hero-content .container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    /* About Section */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-text .section-header {
        text-align: center;
    }
    
    .about-stats {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }
    
    /* Contact Section */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Cookie Banner */
    .cookie-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cookie-buttons {
        order: 2;
    }
    
    .cookie-policy-link {
        margin-left: 0;
        margin-top: 0.5rem;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    /* Navigation */
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-100vh);
        transition: transform 0.3s ease;
        gap: 1rem;
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    /* Typography */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    /* Hero Section */
    .hero {
        padding: 6rem 0 3rem;
    }
    
    .hero-text h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    /* Sections */
    section {
        padding: 3rem 0;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    /* About */
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-item {
        padding: 1.5rem;
    }
    
    /* Reviews */
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .review-card {
        padding: 1.5rem;
    }
    
    .reviewer {
        justify-content: center;
    }
    
    /* Newsletter */
    .newsletter .section-header h2 {
        font-size: 1.75rem;
    }
    
    .form-group {
        flex-direction: column;
    }
    
    .form-group input {
        margin-bottom: 1rem;
    }
    
    /* Contact */
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    /* Thank You Page */
    .thank-you {
        padding: 4rem 0;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .action-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .social-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .social-btn {
        width: 100%;
        max-width: 300px;
    }
    
    /* Legal Pages */
    .legal-page {
        padding: 4rem 0 3rem;
    }
    
    .legal-content {
        padding: 0 1rem;
    }
    
    .cookie-table {
        font-size: 0.875rem;
    }
    
    .cookie-table th,
    .cookie-table td {
        padding: 0.75rem 0.5rem;
    }
    
    /* Cookie Modal */
    .cookie-modal {
        padding: 0.5rem;
    }
    
    .cookie-modal-content {
        max-height: 95vh;
    }
    
    .cookie-modal-header {
        padding: 1.5rem 1.5rem 0;
    }
    
    .cookie-modal-body {
        padding: 1.5rem;
    }
    
    .cookie-modal-footer {
        padding: 0 1.5rem 1.5rem;
    }
    
    /* Cookie Banner */
    .cookie-banner {
        padding: 1rem 0.5rem;
    }
    
    .cookie-content {
        text-align: center;
    }
    
    .cookie-content p {
        font-size: 0.875rem;
        margin-bottom: 1rem;
    }
    
    .cookie-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .cookie-buttons .btn {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    /* Hero */
    .hero {
        padding: 5rem 0 2rem;
    }
    
    .hero-text h1 {
        font-size: 1.75rem;
    }
    
    /* Buttons */
    .btn {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
    
    .btn-large {
        padding: 1rem 1.25rem;
        font-size: 1rem;
    }
    
    /* Cards */
    .service-card,
    .feature-item,
    .review-card,
    .detail-item {
        padding: 1rem;
    }
    
    .contact-form {
        padding: 1rem;
    }
    
    /* About Stats */
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat {
        padding: 1rem;
    }
    
    .stat h3 {
        font-size: 1.5rem;
    }
    
    /* Cookie Banner */
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-buttons .btn {
        width: 100%;
    }
    
    /* Legal Tables */
    .cookie-table {
        font-size: 0.75rem;
    }
    
    .cookie-table th,
    .cookie-table td {
        padding: 0.5rem 0.25rem;
    }
    
    /* Footer */
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-bottom {
        font-size: 0.75rem;
        line-height: 1.4;
    }
    
    /* Success/Thank You */
    .success-checkmark {
        font-size: 3rem;
    }
    
    .thank-you h1 {
        font-size: 1.75rem;
    }
    
    .lead {
        font-size: 1rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .cookie-banner,
    .cookie-modal,
    .nav-toggle,
    .btn,
    .social-links,
    .social-buttons {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: black;
        background: white;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
    
    .hero {
        background: none;
        color: black;
        padding: 2rem 0;
        margin-top: 0;
    }
    
    .hero::before {
        display: none;
    }
    
    section {
        padding: 1rem 0;
    }
    
    .section-header {
        margin-bottom: 1rem;
    }
    
    .legal-page {
        margin-top: 0;
        padding: 1rem 0;
    }
    
    .page-header {
        margin-bottom: 2rem;
    }
    
    .legal-section {
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
    }
    
    a {
        color: black;
        text-decoration: underline;
    }
    
    .image-placeholder {
        border: 1px solid #ccc;
        background: #f9f9f9;
        color: #666;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .btn-outline {
        border-width: 3px;
    }
    
    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
        border-width: 3px;
        outline: 2px solid #007bff;
        outline-offset: 2px;
    }
    
    .image-placeholder {
        border-width: 3px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .hero::before {
        animation: none;
    }
    
    .spinner {
        animation: none;
        border-top-color: transparent;
    }
}

/* Focus Styles for Accessibility */
*:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

.btn:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.5);
}

.nav-menu a:focus {
    background-color: rgba(0, 123, 255, 0.1);
    border-radius: 4px;
    padding: 0.25rem 0.5rem;
    margin: -0.25rem -0.5rem;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-color: #1a1a1a;
        --text-color: #e0e0e0;
        --card-bg: #2d2d2d;
        --border-color: #404040;
    }
    
    /* Only apply dark mode to specific elements if needed */
    .image-placeholder {
        background-color: #2d2d2d;
        border-color: #404040;
        color: #e0e0e0;
    }
}
