/* ============================================
   Responsive Styles
   ============================================ */

/* ============================================
   Tablet and Below (max-width: 991px)
   ============================================ */

@media (max-width: 991px) {
    
    /* Typography */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    /* Navigation */
    .navbar-collapse {
        background: white;
        padding: 1rem;
        margin-top: 1rem;
        border-radius: 10px;
        box-shadow: var(--shadow);
    }
    
    .nav-link {
        padding: 0.75rem 1rem !important;
    }
    
    /* Hero Section */
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-image {
        margin-top: 2rem;
        width: 320px;
        height: 320px;
        border: 6px solid var(--primary-color);
    }
    
    /* Stats Section */
    .stat-box h2 {
        font-size: 2.5rem;
    }
    
    /* Page Header */
    .page-header {
        padding: 60px 0 40px;
    }
    
    .page-header h1 {
        font-size: 3.5rem;
    }
    
    .page-header .lead {
        font-size: 1.1rem;
    }
    
    /* About Section */
    .avatar-img {
        max-width: 250px;
    }
    
    .biography {
        padding: 1rem;
    }
    
    /* Sidebar Actions - Hide on tablet */
    .sidebar-actions {
        display: none;
    }
    
    /* Productions */
    .production-poster, .production-poster-placeholder {
        height: 400px;
    }
    
    .poster-title i {
        font-size: 3rem;
    }
    
    .poster-title h4 {
        font-size: 2rem;
    }
    
    .production-year {
        font-size: 0.85rem;
        padding: 6px 12px;
    }
    
    .production-image {
        height: 180px;
    }
    
    .production-image i {
        font-size: 4rem;
    }
    
    .production-content {
        padding: 1.5rem;
    }
    
    /* Book Section */
    .book-section {
        padding: 2rem;
    }
    
    .book-icon {
        font-size: 4rem;
    }
    
    /* Videos */
    .channel-info {
        padding: 2rem;
    }
    
    .channel-icon {
        font-size: 4rem;
    }
}

/* ============================================
   Mobile Landscape (max-width: 767px)
   ============================================ */

@media (max-width: 767px) {
    
    /* Typography */
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    
    /* Navigation */
    .navbar-brand {
        gap: 8px;
    }
    
    .brand-text {
        font-size: 1.8rem;
    }
    
    .brand-subtext {
        font-size: 1.8rem;
    }
    
    .navbar-signature {
        max-width: 160px;
    }
    
    /* Hero Section */
    .hero-section {
        padding: 40px 0;
    }
    
    .hero-content {
        padding: 1rem 0;
        text-align: center;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-title .highlight {
        font-size: 2.5rem;
    }
    
    .welcome-text {
        font-size: 1.4rem;
    }
    
    .btn-video {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .hero-image {
        width: 280px;
        height: 280px;
        border: 5px solid var(--primary-color);
    }
    
    /* Stats Section */
    .stat-box {
        padding: 1.5rem 1rem;
    }
    
    .stat-box h2 {
        font-size: 2rem;
    }
    
    .stat-box .plus {
        font-size: 1.5rem;
    }
    
    .stat-box p {
        font-size: 1rem;
    }
    
    /* Page Header */
    .page-header {
        padding: 50px 0 30px;
    }
    
    .page-header h1 {
        font-size: 3rem;
    }
    
    .page-header .lead {
        font-size: 1rem;
    }
    
    /* About Section */
    .avatar-img {
        max-width: 200px;
    }
    
    .biography-text {
        font-size: 1rem;
        text-align: left;
    }
    
    /* Quotes Section */
    .quote-card {
        padding: 1.25rem;
    }
    
    .quote-icon {
        font-size: 1.25rem;
    }
    
    .quote-text {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .quote-author {
        font-size: 1rem;
    }
    
    /* Sidebar Actions - Hide on mobile */
    .sidebar-actions {
        display: none;
    }
    
    /* Gallery */
    .gallery-item img {
        height: 250px;
    }
    
    .gallery-placeholder {
        height: 250px;
    }
    
    .gallery-placeholder i {
        font-size: 3rem;
    }
    
    .gallery-overlay::after {
        font-size: 0.75rem;
        margin-top: 0.75rem;
    }
    
    /* Productions */
    .production-poster, .production-poster-placeholder {
        height: 350px;
    }
    
    .poster-title {
        padding: 1.5rem;
    }
    
    .poster-title i {
        font-size: 2.5rem;
    }
    
    .poster-title h4 {
        font-size: 1.8rem;
    }
    
    .production-year {
        font-size: 0.8rem;
        padding: 6px 10px;
        top: 10px;
        right: 10px;
    }
    
    .production-image {
        height: 150px;
    }
    
    .production-image i {
        font-size: 3rem;
    }
    
    .production-content {
        padding: 1.25rem;
    }
    
    .production-description {
        font-size: 0.95rem;
    }
    
    /* Book Section */
    .book-section {
        padding: 1.5rem;
    }
    
    .book-icon {
        font-size: 3rem;
        margin-bottom: 1rem;
    }
    
    .book-section h3 {
        font-size: 1.3rem;
    }
    
    .book-description {
        font-size: 1rem;
    }
    
    /* Videos */
    .video-info {
        padding: 1.25rem;
    }
    
    .video-info h3 {
        font-size: 1.2rem;
    }
    
    .video-placeholder i {
        font-size: 4rem;
    }
    
    .channel-info {
        padding: 1.5rem;
    }
    
    .channel-icon {
        font-size: 3rem;
    }
    
    /* Sidebar Actions */
    .sidebar-actions {
        position: fixed;
        right: 5px;
        gap: 6px;
    }
    
    .sidebar-btn {
        padding: 8px 10px;
        min-width: 60px;
        border-radius: 8px;
    }
    
    .sidebar-btn i {
        font-size: 1.2rem;
    }
    
    .sidebar-btn span {
        font-size: 0.65rem;
    }
    
    /* Modal */
    .modal-dialog {
        margin: 0.5rem;
    }
    
    /* Footer */
    .footer {
        margin-top: 3rem;
        padding: 1.5rem 0 !important;
    }
}

/* ============================================
   Small Mobile (max-width: 575px)
   ============================================ */

@media (max-width: 575px) {
    
    /* Container padding adjustment */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Typography */
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.3rem; }
    h3 { font-size: 1.1rem; }
    
    /* Navigation */
    .navbar-brand {
        gap: 6px;
    }
    
    .brand-text {
        font-size: 1.5rem;
    }
    
    .brand-subtext {
        font-size: 1.5rem;
    }
    
    .navbar-signature {
        max-width: 140px;
    }
    
    /* Hero Section */
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-title .highlight {
        font-size: 2rem;
        margin-top: 0.3rem;
    }
    
    .hero-image {
        width: 240px;
        height: 240px;
        border: 4px solid var(--primary-color);
    }
    
    /* Stats Section */
    .stat-box {
        padding: 1rem;
    }
    
    .stat-box h2 {
        font-size: 1.75rem;
    }
    
    .stat-box p {
        font-size: 0.95rem;
    }
    
    /* Page Header */
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .page-header .lead {
        font-size: 0.95rem;
    }
    
    /* About Section */
    .avatar-wrapper {
        padding: 1rem;
    }
    
    .avatar-img {
        max-width: 180px;
    }
    
    /* Quotes */
    .quote-card {
        padding: 1rem;
    }
    
    .quote-text {
        font-size: 0.9rem;
        line-height: 1.45;
    }
    
    .quote-author {
        font-size: 0.9rem;
    }
    
    /* Gallery */
    .gallery-item img {
        height: 200px;
    }
    
    .gallery-placeholder {
        height: 200px;
    }
    
    .gallery-overlay i {
        font-size: 2rem;
    }
    
    .gallery-overlay::after {
        font-size: 0.7rem;
        margin-top: 0.5rem;
    }
    
    /* Productions */
    .production-poster, .production-poster-placeholder {
        height: 300px;
    }
    
    .poster-title {
        padding: 1rem;
    }
    
    .poster-title i {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .poster-title h4 {
        font-size: 1.5rem;
    }
    
    .production-year {
        font-size: 0.75rem;
        padding: 5px 8px;
        top: 8px;
        right: 8px;
    }
    
    .production-image {
        height: 120px;
    }
    
    .production-image i {
        font-size: 2.5rem;
    }
    
    .production-content {
        padding: 1rem;
    }
    
    .production-content h3 {
        font-size: 1.1rem;
    }
    
    .production-awards h5 {
        font-size: 1rem;
    }
    
    /* Book Section */
    .book-section {
        padding: 1.25rem;
    }
    
    .book-icon {
        font-size: 2.5rem;
    }
    
    .book-section h3 {
        font-size: 1.1rem;
    }
    
    .book-description {
        font-size: 0.95rem;
    }
    
    /* Videos */
    .video-info h3 {
        font-size: 1.1rem;
    }
    
    .video-info p {
        font-size: 0.9rem;
    }
    
    .channel-info {
        padding: 1.25rem;
    }
    
    .channel-icon {
        font-size: 2.5rem;
    }
    
    .channel-info h3 {
        font-size: 1.2rem;
    }
    
    .channel-info p {
        font-size: 0.95rem;
    }
    
    /* Buttons */
    .btn {
        font-size: 0.9rem;
    }
    
    .btn-lg {
        padding: 10px 20px;
        font-size: 1rem;
    }
    
    /* Form */
    .form-control {
        padding: 10px;
        font-size: 0.95rem;
    }
    
    /* Sidebar - Even smaller on tiny screens */
    .sidebar-actions {
        right: 3px;
    }
    
    .sidebar-btn {
        padding: 6px 8px;
        min-width: 55px;
    }
    
    .sidebar-btn i {
        font-size: 1.1rem;
    }
    
    .sidebar-btn span {
        font-size: 0.6rem;
    }
}

/* ============================================
   Large Desktop (min-width: 1400px)
   ============================================ */

@media (min-width: 1400px) {
    
    .container {
        max-width: 1320px;
    }
    
    .brand-text {
        font-size: 2.5rem;
    }
    
    .brand-subtext {
        font-size: 2.5rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-title .highlight {
        font-size: 4.5rem;
    }
    
    .page-header h1 {
        font-size: 5rem;
    }
    
    .stat-box h2 {
        font-size: 3.5rem;
    }
    
    .hero-image {
        width: 500px;
        height: 500px;
        border: 10px solid var(--primary-color);
    }
}

/* ============================================
   Print Styles
   ============================================ */

@media print {
    
    .navbar,
    .sidebar-actions,
    .footer,
    .btn {
        display: none !important;
    }
    
    .page-header {
        background: white;
        color: black;
        border-bottom: 2px solid #333;
    }
    
    body {
        font-size: 12pt;
        color: black;
    }
    
    a {
        text-decoration: underline;
        color: black;
    }
}

/* ============================================
   Accessibility
   ============================================ */

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    
    :root {
        --primary-color: #000;
        --secondary-color: #B8860B;
        --text-color: #000;
        --bg-light: #fff;
        --border-color: #000;
    }
    
    .btn,
    .nav-link,
    .quote-card,
    .gallery-item,
    .production-card,
    .video-card {
        border: 2px solid #000;
    }
}

/* Reduced Motion Support */
@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;
    }
}

/* Dark Mode Support (Optional) */
@media (prefers-color-scheme: dark) {
    
    /* Uncomment to enable dark mode support
    
    :root {
        --primary-color: #ffffff;
        --secondary-color: #D4A017;
        --text-color: #e0e0e0;
        --bg-light: #1a1a1a;
        --border-color: #333;
    }
    
    body {
        background: #121212;
        color: var(--text-color);
    }
    
    .navbar,
    .quote-card,
    .gallery-item,
    .production-card,
    .video-card,
    .channel-info {
        background: #1e1e1e;
    }
    
    */
}
