/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

/* Center text by default for all sections except where specified */
section {
    text-align: center;
}

body {
    background-color: #0a1f0a;
    color: #ffffff;
    line-height: 1.8;
    font-size: 16px;
    background-image: url('assets/images/backgrounds/Background_DeepJungle.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

a {
    color: #ffd700;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: bold;
}

a:hover {
    color: #ffea80;
    text-decoration: none;
}

/* Header Styles */
header {
    background-color: rgba(10, 31, 10, 0.95);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 2px solid #2d5a2d;
}

.logo h1 {
    color: #ffd700;
    font-size: 2rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
}

.slogan {
    text-align: center;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.slogan p {
    font-size: 0.9rem;
    color: #a0a0a0;
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

nav ul li a {
    color: #ffffff;
    font-weight: normal;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

nav ul li a:hover {
    background-color: #2d5a2d;
    color: #ffd700;
}

.instagram-nav-icon {
    color: #E4405F;
}

.reddit-nav-icon {
    color: #FF4500;
}

.youtube-nav-icon {
    color: #FF0000;
}

.linkedin-nav-icon {
    color: #0A66C2;
}

/* Hero Section */
.hero-section {
    padding: 4rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(10, 31, 10, 0.8);
    border-radius: 15px;
    margin-top: 2rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(5px);
}

.hero-content h2 {
    font-size: 2.5rem;
    color: #ffd700;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: left;
    color: #e0e0e0;
}

/* Section Header Styles */
.section-header {
    padding: 2rem 5%;
    max-width: 1200px;
    margin: 2rem auto;
    background: rgba(10, 31, 10, 0.8);
    border-radius: 15px;
    backdrop-filter: blur(5px);
}

.section-header h2 {
    font-size: 2rem;
    color: #ffd700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.section-header p {
    font-size: 1rem;
    line-height: 1.6;
    color: #e0e0e0;
}

/* Media Grid Styles */
.media-section {
    padding: 2rem 5%;
    max-width: 1200px;
    margin: 2rem auto;
    background: rgba(10, 31, 10, 0.8);
    border-radius: 15px;
    backdrop-filter: blur(5px);
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.media-item {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out;
}

.media-item:hover {
    transform: translateY(-5px);
}

.media-item video,
.media-item img {
    width: 100%;
    height: auto;
    display: block;
}

.pdf-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 20px;
    text-align: center;
    color: #ffd700;
    font-size: 1.2rem;
}

.pdf-link i {
    font-size: 3rem;
    margin-bottom: 10px;
}

/* YouTube CTA */
.youtube-cta {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.youtube-cta-text {
    font-size: 1.1rem;
    color: #e0e0e0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.youtube-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #FF0000;
    color: #ffffff;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-size: 1.2rem;
    font-weight: bold;
    transition: background-color 0.3s;
}

.youtube-button:hover {
    background-color: #CC0000;
}

.youtube-button i {
    font-size: 1.5rem;
}

/* Footer Styles */
footer {
    background-color: rgba(10, 31, 10, 0.95);
    color: #ffffff;
    text-align: center;
    padding: 1.5rem 2rem;
    margin-top: 2rem;
    border-top: 2px solid #2d5a2d;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content p {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #a0a0a0;
}

.footer-content .social-links a {
    color: #ffffff;
    font-size: 1.5rem;
    margin: 0 0.8rem;
    transition: color 0.3s;
}

.footer-content .social-links a:hover {
    color: #ffd700;
}

/* Responsive Design */

/* Tablet Styles (768px - 1024px) */
@media (max-width: 1024px) {
    header {
        padding: 1rem 1.5rem;
    }
    
    .hero-section,
    .section-header,
    .media-section {
        padding: 2rem 3%;
        margin: 1.5rem auto;
    }
    
    .media-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
}

/* Mobile Styles (768px and below) */
@media (max-width: 768px) {
    /* Header and Navigation */
    header {
        padding: 1rem;
    }
    
    .logo h1 {
        font-size: 1.5rem;
        text-align: center;
        line-height: 1.3;
    }
    
    .slogan {
        margin: 0.5rem 0;
    }
    
    .slogan p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    /* Mobile Navigation - Stack vertically */
    nav ul {
        flex-direction: column;
        gap: 0.3rem;
        margin-top: 1rem;
    }
    
    nav ul li a {
        justify-content: center;
        padding: 0.7rem 1rem;
        font-size: 1rem;
        width: 100%;
        text-align: center;
    }
    
    /* Social media icons in nav - make them larger for touch */
    .instagram-nav-icon,
    .reddit-nav-icon,
    .youtube-nav-icon,
    .linkedin-nav-icon {
        font-size: 1.2rem;
    }
    
    /* Hero Section */
    .hero-section {
        padding: 2rem 4%;
        margin: 1rem auto;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-content p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.2rem;
    }
    
    /* Section Headers */
    .section-header {
        padding: 1.5rem 4%;
        margin: 1rem auto;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
        margin-bottom: 0.8rem;
    }
    
    .section-header p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    /* Media Section */
    .media-section {
        padding: 1.5rem 4%;
        margin: 1rem auto;
    }
    
    /* Media Grid - Single column on mobile */
    .media-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1rem 0;
    }
    
    .media-item {
        border-radius: 8px;
    }
    
    /* YouTube CTA */
    .youtube-cta {
        margin-top: 1.5rem;
        gap: 0.8rem;
    }
    
    .youtube-cta-text {
        font-size: 1rem;
    }
    
    .youtube-button {
        padding: 1rem 1.8rem;
        font-size: 1.1rem;
        border-radius: 8px;
        /* Make button more touch-friendly */
        min-height: 48px;
        min-width: 200px;
    }
    
    /* Footer */
    footer {
        padding: 1.5rem 1rem;
    }
    
    .footer-content .social-links a {
        font-size: 1.8rem;
        margin: 0 1rem;
        /* Make footer social icons more touch-friendly */
        padding: 0.5rem;
        border-radius: 50%;
        transition: background-color 0.3s, color 0.3s;
    }
    
    .footer-content .social-links a:hover {
        background-color: rgba(255, 215, 0, 0.2);
    }
}

/* Small Mobile Styles (480px and below) */
@media (max-width: 480px) {
    /* Even more compact for very small screens */
    body {
        font-size: 14px;
    }
    
    header {
        padding: 0.8rem;
    }
    
    .logo h1 {
        font-size: 1.3rem;
    }
    
    .slogan p {
        font-size: 0.75rem;
    }
    
    nav ul li a {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .hero-section,
    .section-header,
    .media-section {
        padding: 1.2rem 3%;
        margin: 0.8rem auto;
        border-radius: 10px;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
    }
    
    .section-header h2 {
        font-size: 1.4rem;
    }
    
    .section-header p {
        font-size: 0.85rem;
    }
    
    .media-grid {
        gap: 1rem;
    }
    
    .youtube-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
        min-width: 180px;
    }
    
    .footer-content .social-links a {
        font-size: 1.6rem;
        margin: 0 0.8rem;
    }
}

/* Landscape Mobile Styles */
@media (max-width: 768px) and (orientation: landscape) {
    /* Adjust for landscape mobile viewing */
    .hero-section,
    .section-header,
    .media-section {
        padding: 1rem 4%;
    }
    
    .media-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    nav ul {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    nav ul li a {
        padding: 0.5rem 0.8rem;
        font-size: 0.9rem;
    }
}

/* Touch-friendly improvements for all mobile devices */
@media (hover: none) and (pointer: coarse) {
    /* This targets touch devices specifically */
    nav ul li a,
    .youtube-button,
    .footer-content .social-links a {
        /* Ensure minimum touch target size of 44px */
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Remove hover effects on touch devices */
    .media-item:hover {
        transform: none;
    }
    
    /* Make links more touch-friendly */
    a {
        padding: 0.2rem;
    }
}


