/* =================================
   BASE STYLES - Shared Across All Pages
   ================================= */

/* Universal Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #FF8C00;
    color: #333;
}

/* =================================
   Header Component
   ================================= */

header {
    background-color: #FF8C00;
    padding: 1rem 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 100px;
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
    object-fit: contain;
    width: auto;
}

/* Only apply hover effect on desktop devices */
@media (hover: hover) and (pointer: fine) {
    .logo:hover {
        transform: scale(2.5); 
        filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    }
}

/* Disable hover on mobile/touch devices */
@media (hover: none) {
    .logo:hover {
        transform: none;
        filter: none;
    }
}

.walogo {
    height: 30px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* =================================
   Navigation
   ================================= */

nav ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

nav a {
    text-decoration: none;
    color: #4A3821;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s;
}

nav a:hover {
    color: #8B4513;
}

/* =================================
   Social Links
   ================================= */

.social-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #FF8C00;
    border-radius: 50%;
    color: #FFE5B4;
    text-decoration: none;
    font-size: 1.5rem;
    transition: background-color 0.3s, transform 0.3s;
}

.social-links a:hover {
    background-color: #6B3410;
    transform: scale(1.1);
}

/* =================================
   Footer Component
   ================================= */

footer {
    background-color: #4A3821;
    color: #FFE5B4;
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
}

/* =================================
   YouTube Modal Styles
   ================================= */

.youtube-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.85);
}

.youtube-modal-content {
    background-color: #2a2a2a;
    margin: 3% auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 900px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    position: relative;
}

.youtube-modal-content h2 {
    color: #FFE5B4;
    text-align: center;
    margin-bottom: 20px;
    font-size: 2rem;
}

.youtube-close {
    color: #FFE5B4;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
}

.youtube-close:hover,
.youtube-close:focus {
    color: #FF0000;
}

.youtube-embed-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
}

.youtube-embed-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.view-channel-button {
    display: inline-block;
    background-color: #FF0000;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background-color 0.3s, transform 0.3s;
}

.view-channel-button:hover {
    background-color: #CC0000;
    transform: scale(1.05);
}

/* =================================
   Base Responsive Design
   ================================= */

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    .header-right {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .youtube-modal-content {
        width: 95%;
        margin: 10% auto;
        padding: 20px;
    }
    
    .youtube-modal-content h2 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .youtube-close {
        font-size: 28px;
        top: 8px;
        right: 15px;
    }
}
