/* Responsive Design */

/* Tablets and Small Desktops */
@media (max-width: 992px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-stats {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablets */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-menu a {
        font-size: 1.2rem;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 250px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        flex-direction: column;
        text-align: center;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cookie-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cookie-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .action-buttons .btn {
        width: 100%;
        max-width: 250px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .legal-content {
        padding: 2rem;
    }
    
    .thanks-content h1 {
        font-size: 2.5rem;
    }
    
    .thanks-message {
        font-size: 1.1rem;
    }
}

/* Mobile Phones */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .nav-container {
        padding: 1rem 10px;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .logo img {
        width: 35px;
        height: 35px;
    }
    
    .hero {
        padding: 80px 0 40px;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-icon img {
        width: 30px;
        height: 30px;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonial-avatar img {
        width: 50px;
        height: 50px;
    }
    
    .newsletter-form {
        gap: 0.8rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 10px;
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .contact-item {
        gap: 0.8rem;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
    }
    
    .contact-icon img {
        width: 20px;
        height: 20px;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-logo img {
        width: 35px;
        height: 35px;
    }
    
    .footer-logo span {
        font-size: 1.2rem;
    }
    
    .social-links a {
        width: 35px;
        height: 35px;
    }
    
    .social-links img {
        width: 18px;
        height: 18px;
    }
    
    .cookie-banner {
        padding: 0.8rem;
    }
    
    .cookie-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .cookie-buttons {
        gap: 0.5rem;
    }
    
    .cookie-buttons .btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    
    .modal-content {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .modal-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .modal-buttons .btn {
        width: 100%;
    }
    
    .legal-page {
        padding: 100px 0 60px;
    }
    
    .legal-content {
        padding: 1.5rem;
        margin: 0 10px;
    }
    
    .legal-content h1 {
        font-size: 1.8rem;
    }
    
    .legal-content h2 {
        font-size: 1.4rem;
    }
    
    .legal-content h3 {
        font-size: 1.2rem;
    }
    
    .cookies-table {
        font-size: 0.9rem;
    }
    
    .cookies-table th,
    .cookies-table td {
        padding: 8px;
    }
    
    .thanks-section {
        padding: 100px 0 60px;
    }
    
    .thanks-content h1 {
        font-size: 2rem;
    }
    
    .thanks-message {
        font-size: 1rem;
    }
    
    .step {
        padding: 1.5rem;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .stat {
        padding: 1.5rem;
    }
    
    .stat h4 {
        font-size: 2rem;
    }
}

/* Extra Small Devices */
@media (max-width: 320px) {
    .hero-text h1 {
        font-size: 1.6rem;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .service-card {
        padding: 1.5rem 1rem;
    }
    
    .testimonial-card {
        padding: 1rem;
    }
    
    .legal-content {
        padding: 1rem;
    }
    
    .legal-content h1 {
        font-size: 1.6rem;
    }
    
    .thanks-content h1 {
        font-size: 1.8rem;
    }
    
    .step {
        padding: 1rem;
    }
    
    .stat {
        padding: 1rem;
    }
    
    .contact-form {
        padding: 1rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .cookie-banner,
    .cookie-modal,
    .social-links,
    .btn,
    .hamburger {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
    }
    
    .legal-content {
        box-shadow: none;
        padding: 0;
        margin: 0;
    }
    
    .footer {
        background-color: transparent;
        color: #000;
        padding: 20px 0;
    }
    
    .footer-content {
        display: block;
    }
    
    .footer-section {
        margin-bottom: 20px;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
    
    .hero {
        background: none;
        color: #000;
        padding: 20px 0;
    }
    
    .hero-text h1 {
        color: #000;
    }
    
    .hero-text p {
        color: #000;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .btn-outline {
        border-width: 3px;
    }
    
    .service-card,
    .testimonial-card,
    .stat {
        border: 2px solid #2c3e50;
    }
    
    .cookie-banner {
        border-top: 3px solid #3498db;
    }
    
    .legal-content {
        border: 2px solid #2c3e50;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .btn:hover {
        transform: none;
    }
    
    .service-card:hover {
        transform: none;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #1a1a1a;
        color: #e0e0e0;
    }
    
    .header {
        background-color: #2c3e50;
    }
    
    .nav-menu a {
        color: #e0e0e0;
    }
    
    .service-card,
    .testimonial-card,
    .stat,
    .contact-form {
        background-color: #2c3e50;
        color: #e0e0e0;
    }
    
    .legal-content {
        background-color: #2c3e50;
        color: #e0e0e0;
    }
    
    .form-group input,
    .form-group textarea {
        background-color: #34495e;
        color: #e0e0e0;
        border: 1px solid #4a5568;
    }
    
    .cookies-table th {
        background-color: #34495e;
        color: #e0e0e0;
    }
}
