/* Additional Responsive Styles */

/* Tablet Styles */
@media (max-width: 1024px) {
    .nav-container {
        padding: 0 1.5rem;
    }
    
    .section-container {
        padding: 0 1.5rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .nav-main-menu {
        gap: 1.5rem;
    }
    
    .grid-item {
        flex: 1 1 50%;
        min-height: 40vh;
    }
    
    .grid-item-title {
        font-size: 1.8rem;
    }
    
    .grid-item-text {
        font-size: 0.9rem;
    }
}

/* Mobile Landscape */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        height: 100vh;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .section {
        padding: 3rem 0;
        min-height: auto;
    }
}

/* Mobile Portrait */
@media (max-width: 480px) and (orientation: portrait) {
    #youtube-iframe {
        width: 100vw;
        height: 100vh;
    }
    .nav-container {
        height: 70px;
    }
    
    .nav-main-menu {
        gap: 1rem;
    }
    
    .nav-link {
        font-size: 0.8rem;
    }
    
    .language-toggle {
        gap: 0.3rem;
    }
    
    .language-toggle .separator {
        font-size: 0.8rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }

    .grid-item-title {
        font-size: 1.2rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .section-text {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .video-container {
        border-radius: 4px;
    }
    
    .contact-details {
        padding: 1.5rem;
    }
    
    .faq-item {
        padding: 1.5rem;
    }
    
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-content {
        gap: 2rem;
    }
    
    .cookie-content {
        padding: 1rem;
    }
    
    .cookie-content p {
        min-width: 250px;
        font-size: 0.9rem;
    }
}


/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .nav-logo a {
        font-weight: 600;
    }
    
    .nav-link {
        font-weight: 500;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .scroll-indicator,
    .cookie-consent {
        display: none !important;
    }
    
    .hero {
        height: auto;
        min-height: 50vh;
    }
    
    .section {
        page-break-inside: avoid;
        min-height: auto;
    }
    
    .video-container {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .scroll-arrow {
        animation: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .nav-link:hover {
        color: #000;
        text-decoration: underline;
    }
    
    .nav-link::after {
        background-color: #000;
    }
    
    .cookie-accept {
        background: #000;
        border: 2px solid #fff;
    }
    
    .social-link {
        border: 2px solid #ccc;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #1a1a1a;
        color: #fff;
    }
    
    .navbar {
        background: black;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-logo a,
    .nav-link {
        color: #fff;
    }
    
    .nav-link:hover {
        color: #8B7355;
    }
    
    .section:nth-child(even) {
        background-color: #2a2a2a;
    }
    
    .section-title {
        color: #fff;
    }
    
    .section-text {
        color: #ccc;
    }
    
    .contact-details,
    .faq-item {
        background: #2a2a2a;
    }
    
    .faq-question {
        color: #fff;
    }
    
    .faq-answer {
        color: #ccc;
    }
}

/* Focus Styles for Accessibility */
.nav-link:focus,
.social-link:focus,
.cookie-accept:focus {
    outline: 2px solid #8B7355;
    outline-offset: 2px;
}

/* Skip to Content Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #8B7355;
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1002;
}

.skip-link:focus {
    top: 6px;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #8B7355;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Page-specific responsive styles */
@media (max-width: 768px) {
    .page-title {
        font-size: 2.8rem;
    }
    
    .problem-aspects,
    .solution-features,
    .tech-grid,
    .benefits-grid,
    .values-grid,
    .reasons-grid {
        grid-template-columns: 1fr;
    }
    
    .component,
    .team-member,
    .contact-method {
        flex-direction: column;
        text-align: center;
    }
    
    .component-icon,
    .method-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .member-photo {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 2.2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 0 1rem;
    }
} 