/* ===================================
   OLDSKOOL ARTS & LEGENDS - RESPONSIVE STYLES
   =================================== */

/* === TABLET (768px and below) === */
@media screen and (max-width: 768px) {
    
    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: right 0.3s ease;
        z-index: 999;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .join-btn {
        display: none;
    }
    
    /* Hero Section */
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-text {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    /* Sections */
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    /* Two Column Layout */
    .two-column {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .two-column.reverse {
        direction: ltr;
    }
    
    /* Values Grid */
    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Activities Grid */
    .activities-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Events Grid */
    .events-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    /* Seminars Grid */
    .seminars-grid {
        grid-template-columns: 1fr;
    }
    
    /* CSR Grid */
    .csr-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Benefits Grid */
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    /* Leadership Grid */
    .leadership-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* Meeting Detail */
    .meeting-detail h3 {
        font-size: 1.3rem;
    }
    
    .meeting-tagline {
        font-size: 1.1rem;
    }
}

/* === LARGE TABLET (992px and below) === */
@media screen and (max-width: 992px) {
    
    /* Navigation */
    .nav-menu {
        gap: 25px;
    }
    
    .nav-link {
        font-size: 0.85rem;
    }
    
    /* Hero */
    .hero-title {
        font-size: 2.8rem;
    }
    
    /* Values Grid */
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Activities Grid */
    .activities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Events Grid */
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* CSR Grid */
    .csr-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* === MOBILE (480px and below) === */
@media screen and (max-width: 480px) {
    
    /* Container */
    .container {
        padding: 0 15px;
    }
    
    /* Logo */
    .logo-text {
        font-size: 1.3rem;
    }
    
    .logo-tagline {
        font-size: 0.6rem;
    }
    
    /* Hero */
    .hero {
        height: 100vh;
    }
    
    .hero-title {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }
    
    .hero-text {
        font-size: 0.95rem;
    }
    
    /* Sections */
    .section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
    
    /* Intro Text */
    .intro-text {
        font-size: 1rem;
    }
    
    /* Mission Text */
    .mission-text {
        font-size: 1.05rem;
        padding-left: 15px;
    }
    
    /* Value Card */
    .value-card {
        padding: 30px 20px;
    }
    
    .value-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .value-card h3 {
        font-size: 1.2rem;
    }
    
    /* Activity Card */
    .activity-card {
        padding: 30px 20px;
    }
    
    .activity-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .activity-card h3 {
        font-size: 1.2rem;
    }
    
    /* Event Card */
    .event-content h3 {
        font-size: 1.2rem;
    }
    
    /* CSR Intro */
    .csr-intro {
        font-size: 1.05rem;
    }
    
    /* CSR Item */
    .csr-item {
        padding: 30px 20px;
    }
    
    .csr-item i {
        font-size: 2.5rem;
    }
    
    .csr-item h4 {
        font-size: 1.1rem;
    }
    
    /* Membership Intro */
    .membership-intro {
        font-size: 1rem;
    }
    
    /* Meeting Detail */
    .meeting-detail i {
        font-size: 2.5rem;
    }
    
    .meeting-detail h3 {
        font-size: 1.1rem;
    }
    
    .meeting-tagline {
        font-size: 1rem;
    }
    
    /* Leader Card */
    .leader-image {
        height: 250px;
    }
    
    .leader-info {
        padding: 25px;
    }
    
    .leader-name {
        font-size: 1.5rem;
    }
    
    .leader-bio {
        font-size: 0.95rem;
    }
    
    /* Back to Top */
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
    
    /* Buttons */
    .btn {
        padding: 12px 25px;
        font-size: 0.85rem;
    }
    
    .btn-large {
        padding: 15px 35px;
        font-size: 0.9rem;
    }
}

/* === LARGE DESKTOP (1400px and above) === */
@media screen and (min-width: 1400px) {
    
    .container {
        max-width: 1320px;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .hero-title {
        font-size: 4rem;
    }
}

/* === PRINT STYLES === */
@media print {
    
    .header,
    .hamburger,
    .hero-buttons,
    .btn,
    .back-to-top,
    .scroll-indicator,
    .social-links {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .section {
        page-break-inside: avoid;
    }
}

/* === LANDSCAPE MOBILE === */
@media screen and (max-height: 500px) and (orientation: landscape) {
    
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 100px 0 50px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-text {
        font-size: 0.95rem;
    }
}

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

/* === LOGO + NAV FIT (keeps logo image and menu from overflowing) === */
@media screen and (max-width: 1300px) {
    
    .nav-menu {
        gap: 20px;
    }
    
    .nav-link {
        font-size: 0.85rem;
    }
    
    .logo a {
        gap: 10px;
    }
    
    .logo-img {
        width: 44px;
        height: 44px;
    }
}

/* === NAV DRAWER (switches to hamburger before the full menu overflows) === */
@media screen and (max-width: 1150px) {
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: right 0.3s ease;
        z-index: 999;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .hamburger {
        display: flex;
    }
}

/* === SMALL SCREEN LOGO SIZING === */
@media screen and (max-width: 480px) {
    
    .logo a {
        gap: 8px;
    }
    
    .logo-img {
        width: 40px;
        height: 40px;
    }
    
    .footer-logo {
        gap: 12px;
    }
    
    .footer-logo-img {
        width: 70px;
        height: 70px;
    }
}