/* assets/css/responsive.css - Responsive Design Styles for GoHoldings */

/* ==========================================
   LARGE SCREENS (1400px+)
   ========================================== */
@media (min-width: 1400px) {
    .divisions-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }

    .mission-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ==========================================
   TABLET & MOBILE (768px and below)
   ========================================== */
@media (max-width: 768px) {
    /* Navigation */
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 1rem 0;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    /* Logo adjustments */
    .logo-text {
        font-size: 1.2rem;
    }

    .logo-icon {
        width: 30px;
        height: 30px;
    }

    .logo-dot {
        width: 8px;
        height: 8px;
    }

    /* Hero section */
    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero {
        padding: 4rem 0;
        min-height: 80vh;
    }

    /* General layout */
    section {
        padding: 3rem 1rem;
    }

    .container {
        padding: 0 1rem;
    }

    /* Buttons */
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        max-width: 250px;
        text-align: center;
    }

    /* Philosophy section */
    .philosophy-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .philosophy-visual {
        min-height: 250px;
        padding: 1.5rem;
    }

    /* Grids */
    .divisions-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .mission-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Cards adjustments */
    .division-card {
        padding: 1.5rem;
    }

    .project-card {
        padding: 1.5rem;
    }

    .mission-card {
        padding: 1.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    /* Project metrics */
    .project-metrics {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    /* Typography */
    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    /* Stats */
    .stat-item {
        padding: 1.5rem;
    }

    .stat-item h3 {
        font-size: 2rem;
    }

    .stat-item p {
        font-size: 1rem;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-section {
        margin-bottom: 1rem;
    }

    /* Highlight box */
    .highlight-box {
        padding: 1rem;
        margin: 1.5rem 0;
    }

    /* Hero stats */
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* ==========================================
   SMALL MOBILE (480px and below)
   ========================================== */
@media (max-width: 480px) {
    /* Hero */
    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero {
        padding: 3rem 0;
    }

    /* Typography */
    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    /* Cards */
    .division-card {
        padding: 1.2rem;
    }

    .project-card {
        padding: 1.2rem;
    }

    .mission-card {
        padding: 1.2rem;
    }

    .contact-form {
        padding: 1.2rem;
    }

    /* Buttons */
    .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }

    /* Grids */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .project-metrics {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    /* Reduce spacing on small screens */
    section {
        padding: 2rem 0.5rem;
    }

    .container {
        padding: 0 0.5rem;
    }

    /* Philosophy */
    .philosophy-visual {
        min-height: 200px;
        padding: 1rem;
    }

    .philosophy-text {
        font-size: 1rem;
    }

    /* Stats */
    .stat-item {
        padding: 1rem;
    }

    .stat-item h3 {
        font-size: 1.8rem;
    }

    /* Division highlights */
    .division-highlights li {
        font-size: 0.8rem;
        padding: 0.3rem 0;
    }

    /* Mission points */
    .mission-points li {
        font-size: 0.8rem;
    }

    /* Company overview */
    .company-overview {
        padding: 1.5rem;
    }

    .company-overview h3 {
        font-size: 1.5rem;
    }

    .company-overview p {
        font-size: 1rem;
    }
}

/* ==========================================
   EXTRA SMALL SCREENS (320px and below)
   ========================================== */
@media (max-width: 320px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }

    section {
        padding: 1.5rem 0.25rem;
    }

    .division-card,
    .project-card,
    .mission-card,
    .contact-form {
        padding: 1rem;
    }
}

/* ==========================================
   MEDIUM SCREENS (769px to 1024px)
   ========================================== */
@media (min-width: 769px) and (max-width: 1024px) {
    .divisions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .philosophy-content {
        gap: 2rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.2rem;
    }
}

/* ==========================================
   PRINT STYLES
   ========================================== */
@media print {
    /* Hide interactive elements */
    .menu-toggle,
    .cta-buttons,
    .btn,
    .network-canvas,
    .bokeh-particle {
        display: none !important;
    }

    /* Adjust colors for print */
    .hero,
    .stats {
        background: white !important;
        color: black !important;
    }

    .hero h1,
    .hero p,
    .stats .section-title {
        color: black !important;
        text-shadow: none !important;
    }

    /* Improve contrast */
    .division-card,
    .project-card,
    .mission-card {
        border: 2px solid #ddd;
        box-shadow: none !important;
    }

    /* Page breaks */
    .division-card,
    .project-card,
    .mission-card {
        page-break-inside: avoid;
    }

    section {
        page-break-before: auto;
    }
}

/* ==========================================
   REDUCED MOTION
   ========================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .bokeh-particle {
        display: none;
    }

    .hero::before,
    .hero::after {
        animation: none;
    }
}

/* ==========================================
   HIGH CONTRAST MODE
   ========================================== */
@media (prefers-contrast: high) {
    .btn {
        border-width: 3px;
    }

    .division-card,
    .project-card,
    .mission-card {
        border: 2px solid #333;
    }

    .hero {
        background: #000 !important;
    }

    .hero::before,
    .hero::after,
    .stats::before {
        display: none;
    }

    /* Enhance text contrast */
    .section-title {
        color: #000 !important;
        -webkit-text-fill-color: #000 !important;
    }

    .stats .section-title {
        color: #fff !important;
    }
}

/* ==========================================
   DARK MODE SUPPORT (if implemented)
   ========================================== */
@media (prefers-color-scheme: dark) {
    /* Future dark mode styles can be added here */
    /* For now, GoHoldings maintains light theme */
}

/* ==========================================
   LANDSCAPE ORIENTATION (MOBILE)
   ========================================== */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 70vh;
        padding: 2rem 0;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .cta-buttons {
        margin-bottom: 1rem;
    }
}

/* ==========================================
   HOVER SUPPORT QUERIES
   ========================================== */
@media (hover: none) {
    /* Touch devices - remove hover effects */
    .division-card:hover,
    .project-card:hover,
    .mission-card:hover,
    .stat-item:hover {
        transform: none;
    }

    .btn:hover {
        transform: none;
    }
}