/* Responsive Design - responsive.css */

/* Large Tablets and Small Desktops */
@media (max-width: 1200px) {
    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
    }

    .stat-item {
        min-width: 180px;
        flex: 1 1 30%;
    }

    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .philosophy-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .philosophy-card {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .philosophy-card:nth-child(2n) {
        border-right: none;
    }

    .philosophy-card:nth-child(odd) {
        border-right: 1px solid rgba(255, 255, 255, 0.1);
    }

    .vision-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablets */
@media (max-width: 768px) {
    /* Navigation */
    .nav-menu {
        display: none;
    }

    /* Add mobile menu button here if needed */
    .mobile-menu-btn {
        display: block;
        background: none;
        border: none;
        font-size: 24px;
        color: var(--primary-navy);
        cursor: pointer;
    }

    /* Hero Section */
    .hero h1 {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .hero-stats {
        flex-direction: column;
        align-items: center;
    }

    .stat-item {
        width: 100%;
        max-width: 300px;
    }

    /* Section Headers */
    .section-title {
        font-size: 32px;
    }

    /* Portfolio */
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Philosophy */
    .philosophy-grid {
        grid-template-columns: 1fr;
    }

    .philosophy-card {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 60px 30px;
    }

    .philosophy-card:last-child {
        border-bottom: none;
    }

    /* Values */
    .values-grid {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer-links {
        justify-content: center;
    }
}

/* Mobile Phones */
@media (max-width: 480px) {
    /* Navigation */
    .nav-container {
        padding: 0 20px;
    }

    .logo {
        font-size: 20px;
    }

    .logo::before {
        width: 35px;
        height: 35px;
        line-height: 35px;
        font-size: 18px;
    }

    /* Hero Section */
    .hero {
        min-height: 100vh;
        padding: 40px 0;
    }

    .hero-content {
        padding: 0 20px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-description {
        font-size: 16px;
    }

    .stat-number {
        font-size: 36px;
    }

    /* Content Sections */
    .content-section {
        padding: 60px 20px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    /* Portfolio */
    .portfolio-container {
        padding: 0 20px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Philosophy */
    .philosophy-card {
        padding: 40px 20px;
    }

    .philosophy-number {
        font-size: 36px;
    }

    .philosophy-title {
        font-size: 24px;
    }

    /* Values */
    .value-item {
        padding: 30px 20px;
    }

    /* CTA Section */
    .cta-title {
        font-size: 32px;
    }

    .cta-description {
        font-size: 18px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }

    /* Footer */
    .footer-content {
        padding: 0 20px;
    }
}

/* Print Styles */
@media print {
    /* Hide non-essential elements */
    .navbar,
    .language-switch,
    .cta-section,
    .footer {
        display: none;
    }

    /* Adjust colors for print */
    body {
        color: #000;
        background: #fff;
    }

    .section-title {
        color: #000;
    }

    /* Remove shadows and backgrounds */
    .portfolio-card,
    .value-item {
        box-shadow: none;
        border: 1px solid #ddd;
    }

    /* Ensure proper page breaks */
    .portfolio-section,
    .philosophy-section,
    .vision-mission-section {
        page-break-inside: avoid;
    }
}

/* High Resolution Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* Add high-resolution image replacements here if needed */
}

/* Hover Effects Only for Non-Touch Devices */
@media (hover: hover) and (pointer: fine) {
    /* Keep all hover effects as defined in main.css */
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}