/* Responsive Design */

/* Large Desktop */
@media (max-width: 1400px) {
    .container {
        max-width: 1140px;
    }
}

/* Desktop */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
}

/* Tablet */
@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    /* Navigation */
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        gap: 0;
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        margin: 1rem 0;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    /* Hero Section */
    .hero {
        min-height: 70vh;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    /* Page Header */
    .page-header {
        padding: 100px 0 40px;
    }
    
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    /* Grids */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-grid-page {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .story-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-icon {
        width: 150px;
        height: 150px;
    }
    
    /* Service Details */
    .service-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .service-large-icon {
        width: 60px;
        height: 60px;
    }
    
    .package-grid {
        grid-template-columns: 1fr;
    }
    
    /* Cookie Banner */
    .cookie-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* Mobile Large */
@media (max-width: 768px) {
    .container {
        max-width: 540px;
        padding: 0 15px;
    }
    
    /* Typography */
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    /* Sections */
    .section {
        padding: 3rem 0;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    /* Page Header */
    .page-header {
        padding: 90px 0 30px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    /* Buttons */
    .btn-large {
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    /* Grids */
    .info-grid,
    .advantages-grid,
    .services-grid,
    .achievements-grid,
    .reviews-grid,
    .values-grid,
    .team-grid,
    .cert-grid,
    .additional-grid,
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Cards */
    .info-card,
    .advantage-item,
    .service-card,
    .review-card,
    .value-card,
    .team-member,
    .cert-item,
    .additional-service,
    .faq-item {
        padding: 1.5rem;
    }
    
    /* Icons */
    .info-icon,
    .service-icon,
    .value-icon,
    .team-icon,
    .cert-icon,
    .additional-icon {
        width: 50px;
        height: 50px;
    }
    
    /* Achievement Numbers */
    .achievement-number {
        font-size: 2.5rem;
    }
    
    /* Contact */
    .contact-item-detailed {
        padding: 1rem;
    }
    
    .contact-icon {
        width: 30px;
        height: 30px;
    }
    
    /* Form */
    .form-row {
        grid-template-columns: 1fr;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    /* Steps Grid */
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    /* Urgent Contact */
    .urgent-contact {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-button {
        width: 100%;
        justify-content: center;
        max-width: 300px;
    }
    
    /* Cookie Actions */
    .cookie-actions {
        flex-direction: column;
    }
    
    .cookie-actions .btn {
        width: 100%;
    }
    
    /* Tables */
    .cookie-table {
        font-size: 0.9rem;
    }
    
    .cookie-table th,
    .cookie-table td {
        padding: 0.75rem 0.5rem;
    }
}

/* Mobile Medium */
@media (max-width: 576px) {
    .container {
        padding: 0 10px;
    }
    
    /* Typography */
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    /* Navigation */
    .nav-container {
        padding: 0 15px;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
    
    /* Hero */
    .hero-content {
        padding: 1rem;
    }
    
    /* Page Header */
    .page-header {
        padding: 100px 0 20px;
    }
    
    /* Sections */
    .section {
        padding: 2rem 0;
    }
    
    /* Cards */
    .info-card,
    .advantage-item,
    .service-card,
    .review-card,
    .value-card,
    .team-member,
    .cert-item,
    .additional-service,
    .faq-item,
    .contact-form,
    .contact-form-container {
        padding: 1rem;
    }
    
    /* Service Header */
    .service-header {
        padding: 1.5rem;
    }
    
    .service-description {
        padding: 1.5rem;
    }
    
    /* Achievement Grid */
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    .achievement-item {
        padding: 1.5rem;
    }
    
    .achievement-number {
        font-size: 2rem;
    }
    
    /* Contact Items */
    .contact-item-detailed {
        padding: 0.75rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    /* Social Links */
    .social-links-detailed {
        gap: 0.25rem;
    }
    
    .social-link-item {
        padding: 0.5rem;
    }
    
    /* Footer */
    .footer {
        padding: 2rem 0 1rem;
    }
    
    /* Thank You */
    .success-icon {
        width: 80px;
        height: 80px;
    }
    
    .thank-you-message {
        font-size: 1.1rem;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    /* Actions */
    .actions {
        flex-direction: column;
        align-items: center;
    }
    
    .actions .btn {
        width: 100%;
        max-width: 300px;
    }
    
    /* Cookie Settings */
    .cookie-category {
        padding: 1rem 0;
    }
    
    /* Tables */
    .cookie-table th,
    .cookie-table td {
        padding: 0.5rem 0.25rem;
        font-size: 0.8rem;
    }
    
    /* Legal Content */
    .legal-text {
        font-size: 0.95rem;
    }
    
    .contact-box {
        padding: 1rem;
    }
}

/* Mobile Small */
@media (max-width: 400px) {
    /* Typography */
    .hero-title {
        font-size: 1.6rem;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .page-header h1 {
        font-size: 1.6rem;
    }
    
    /* Buttons */
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .btn-large {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    
    /* Cookie Buttons */
    .cookie-buttons .btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    /* Achievement Number */
    .achievement-number {
        font-size: 1.8rem;
    }
    
    /* Step Number */
    .step-number {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    /* Success Icon */
    .success-icon {
        width: 60px;
        height: 60px;
    }
    
    /* Icons */
    .info-icon,
    .service-icon,
    .value-icon,
    .team-icon,
    .cert-icon,
    .additional-icon {
        width: 40px;
        height: 40px;
    }
    
    /* Logo */
    .logo {
        height: 35px;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }
    
    /* Tables */
    .cookie-table {
        font-size: 0.75rem;
    }
    
    .cookie-table th,
    .cookie-table td {
        padding: 0.4rem 0.2rem;
    }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 60vh;
    }
    
    .page-header {
        padding: 80px 0 20px;
    }
    
    .section {
        padding: 2.5rem 0;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* Optimize for high DPI displays */
    .logo,
    .info-icon,
    .service-icon,
    .value-icon,
    .team-icon,
    .cert-icon,
    .additional-icon,
    .contact-icon,
    .social-icon {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print Styles */
@media print {
    .header,
    .cookie-banner,
    .hamburger,
    .nav-menu {
        display: none !important;
    }
    
    .hero {
        margin-top: 0;
    }
    
    .page-header {
        padding-top: 20px;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .section {
        padding: 1rem 0;
        break-inside: avoid;
    }
    
    .btn {
        border: 1px solid #333;
        background: transparent !important;
        color: #333 !important;
    }
    
    a {
        color: #333 !important;
        text-decoration: underline;
    }
}

/* 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;
    }
}

/* Dark Mode Support (commented out as requested) */
/*
@media (prefers-color-scheme: dark) {
    body {
        background-color: #1a1a1a;
        color: #e0e0e0;
    }
    
    .header {
        background-color: #2d2d2d;
    }
    
    .nav-link {
        color: #e0e0e0;
    }
    
    // ... other dark mode styles
}
*/

/* Focus Styles for Accessibility */
button:focus,
input:focus,
textarea:focus,
select:focus,
a:focus {
    outline: 2px solid #94785a;
    outline-offset: 2px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .btn-primary {
        background-color: #000;
        border: 2px solid #000;
    }
    
    .btn-outline {
        border-width: 3px;
    }
    
    .nav-link.active::after {
        height: 3px;
    }
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
