/**
 * Radyo Feza 97.4 - Responsive CSS
 * Mobile-first responsive tasarım
 */

/* ==================== TABLET (768px and below) ==================== */
@media (max-width: 768px) {
    /* Container */
    .container {
        padding: 0 var(--container-padding);
    }
    
    /* Grid */
    [class*="col-md-"] {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: var(--space-3);
    }
    
    /* Navigation */
    .navbar {
        padding: var(--space-2) 0;
    }
    
    .navbar .logo img {
        height: 50px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 30px 30px;
        gap: var(--space-3);
        box-shadow: var(--shadow-xl);
        transition: right var(--transition-normal);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu li a {
        display: block;
        width: 100%;
        padding: var(--space-2) 0;
        font-size: 16px;
    }
    
    .nav-menu li a.btn-cta {
        text-align: center;
        padding: 12px 24px;
    }
    
    /* Sections */
    section {
        padding: var(--space-8) 0;
    }
    
    /* Hero Section */
    .hero-section {
        min-height: 80vh;
    }
    
    .hero-title {
        font-size: 32px !important;
    }
    
    .hero-subtitle {
        font-size: 24px !important;
    }
    
    /* Buttons */
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: var(--space-2);
    }
    
    .cta-buttons .btn {
        width: 100%;
        text-align: center;
    }
    
    /* Feature Cards */
    .feature-card {
        margin-bottom: var(--space-4);
    }
    
    /* Audio Player */
    .audio-player {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    
    .audio-player .volume-control {
        justify-content: center;
    }
    
    /* Footer */
    .footer-col {
        margin-bottom: var(--space-4);
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    .footer-bottom .row {
        flex-direction: column;
        gap: var(--space-2);
    }
    
    .footer-bottom .text-right {
        text-align: center !important;
    }
    
    /* Scroll to Top */
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* ==================== MOBILE (576px and below) ==================== */
@media (max-width: 576px) {
    /* Typography */
    h1 {
        font-size: 28px;
    }
    
    h2 {
        font-size: 24px;
    }
    
    h3 {
        font-size: 22px;
    }
    
    h4 {
        font-size: 20px;
    }
    
    /* Container */
    .container {
        padding: 0 16px;
    }
    
    /* Sections */
    section {
        padding: var(--space-6) 0;
    }
    
    /* Navbar */
    .navbar .logo img {
        height: 40px;
    }
    
    .nav-menu {
        width: 100%;
        right: -100%;
    }
    
    /* Cards */
    .card-body {
        padding: var(--space-3);
    }
    
    .feature-card {
        padding: var(--space-4) var(--space-3);
    }
    
    /* Forms */
    .form-input,
    .form-textarea {
        padding: 12px 16px;
    }
    
    /* Footer */
    .footer {
        padding: var(--space-8) 0 var(--space-3);
    }
    
    .footer-logo img {
        height: 100px;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* ==================== LARGE DESKTOP (1200px and above) ==================== */
@media (min-width: 1200px) {
    /* Container */
    .container {
        max-width: 1140px;
    }
    
    /* Sections */
    section {
        padding: var(--space-16) 0;
    }
    
    /* Typography */
    h1 {
        font-size: 64px;
    }
    
    h2 {
        font-size: 52px;
    }
}

/* ==================== EXTRA LARGE DESKTOP (1400px and above) ==================== */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* ==================== PRINT STYLES ==================== */
@media print {
    .navbar,
    .hamburger,
    .scroll-to-top,
    .footer,
    .btn {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        color: black;
        background: white;
    }
    
    a {
        text-decoration: underline;
    }
    
    section {
        page-break-inside: avoid;
    }
}

/* ==================== LANDSCAPE ORIENTATION (Mobile) ==================== */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
        padding: var(--space-8) 0;
    }
    
    .nav-menu {
        padding: 60px 30px 30px;
    }
}

/* ==================== HIGH DPI SCREENS ==================== */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* Optimize images and graphics for retina displays */
    .logo img {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* ==================== DARK MODE SUPPORT (Future) ==================== */
@media (prefers-color-scheme: dark) {
    /* Bu bölüm gelecekte dark mode için kullanılabilir */
    /* Şimdilik boş bırakılmıştır */
}

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

/* ==================== UTILITY CLASSES FOR RESPONSIVE ==================== */
.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }
    
    .desktop-only {
        display: none;
    }
}

/* Text alignment responsive */
@media (max-width: 768px) {
    .text-md-center {
        text-align: center !important;
    }
    
    .text-md-left {
        text-align: left !important;
    }
    
    .text-md-right {
        text-align: right !important;
    }
}

