/*
Theme Name: Custom Location Theme
Author: Gemini AI
Description: A theme with dynamic location sidebars, hero sections, and audio controls.
Version: 1.3
*/

/* 1. GENERAL DEFAULTS */
body { 
    font-family: sans-serif; 
    margin: 0; 
    background-color: #f0f0f0; 
    /* Offset for the fixed header */
    padding-top: 140px; 
    transition: padding 0.3s ease;
    line-height: 1.6;
}

body.menu-open { overflow: hidden; }

/* 2. HEADER & NAVIGATION */
.site-header { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    z-index: 9999; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    background: #fffdf0; 
    padding: 20px;
    gap: 30px; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.logo-circle-nav { 
    width: 100px; 
    height: 100px; 
    border-radius: 50%; 
    border: 5px solid #634b7d; 
    background: #fff; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    overflow: hidden; 
    transition: 0.3s;
}

.logo-circle-nav img { width: 100%; height: 100%; object-fit: cover; }

.nav-box { 
    border: 2px solid #333; 
    padding: 10px 15px; 
    font-weight: bold; 
    background: #fff; 
    text-transform: uppercase; 
    font-size: 14px; 
    text-decoration: none; 
    color: #333; 
    transition: 0.3s;
}

.nav-box:hover { background: #eee; }

/* WordPress Admin Bar Fix */
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
    .admin-bar .site-header { top: 46px; }
}

/* 3. HERO SECTION */
.hero { 
    height: 500px; 
    background-size: cover; 
    background-position: center; 
    position: relative; 
    display: flex; 
    align-items: center; 
    justify-content: space-around; 
    overflow: hidden;
}

.hero-logo-overlay { 
    width: 180px; 
    height: 180px; 
    border-radius: 50%; 
    border: 8px solid #634b7d; 
    background: rgba(255,255,255,0.8); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    overflow: hidden;
}
.hero-logo-overlay img { width: 80%; height: auto; }

.hero-heading-box { 
    border: 4px solid #5b84b1; 
    background: rgba(0,0,0,0.6); 
    padding: 30px; 
    text-align: center; 
    border-radius: 5px; 
    max-width: 500px;
}

.hero-heading-box h1 { margin: 0; font-size: 3rem; text-transform: uppercase; }
.hero-heading-box p { margin: 10px 0 0; font-size: 1.2rem; }

/* 4. MAIN CONTENT GRID */
.content-grid { 
    display: flex; 
    background: #5b84b1; 
    padding: 40px; 
    gap: 40px; 
    min-height: 400px; 
}

.location-sidebar { width: 220px; display: flex; flex-direction: column; gap: 12px; }

.location-btn { 
    background: #8db051; 
    color: white; 
    border: none; 
    padding: 12px 20px; 
    font-weight: bold; 
    cursor: pointer;
    clip-path: polygon(0% 0%, 85% 0%, 100% 50%, 85% 100%, 0% 100%); 
    text-decoration: none; 
    display: block; 
    transition: 0.2s;
}

.location-btn:hover { background: #7a9a45; transform: translateX(5px); }

.cards-container { flex: 1; display: flex; justify-content: space-around; align-items: stretch; gap: 20px; }
.card { 
    flex: 1;
    padding: 25px; 
    text-align: center; 
    color: white; 
    border-radius: 8px; 
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card-circle { 
    width: 150px; 
    height: 150px; 
    border-radius: 50%; 
    border: 3px solid #fff; 
    margin-bottom: 20px; 
    overflow: hidden;
    background: #fff;
}
.card-circle img { width: 100%; height: 100%; object-fit: cover; }

/* 5. LIVE ANNOUNCEMENTS (New) */
.announcement-bar {
    text-align: center;
    padding: 0; /* Backgrounds controlled by PHP */
    overflow: hidden;
}
.ann_header { padding: 15px; font-weight: bold; font-size: 1.5rem; text-transform: uppercase; }
.ann_content { padding: 30px; font-size: 1.1rem; }

/* 6. ABOUT & CONTACT SECTION (New) */
.about-contact-section {
    display: flex;
    min-height: 400px;
}
.contact-side {
    width: 35%;
    padding: 50px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.about-side {
    width: 65%;
    padding: 50px;
}
.contact-info-item { margin-bottom: 20px; font-size: 1.1rem; }

/* 7. AUDIO & TRANSITIONAL FOOTER */
.audio-section { 
    background: linear-gradient(to bottom, #ffffff, #d9e4f5); 
    padding: 25px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 20px; 
    border-top: 2px solid #ccc; 
}

.nav-arrow { background: #5b84b1; color: white; padding: 10px 35px; font-weight: bold; cursor: pointer; border: none; }
.prev-arrow { clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 25% 100%, 0% 50%); }
.next-arrow { clip-path: polygon(0% 0%, 75% 0%, 100% 50%, 75% 100%, 0% 100%); }

/* 8. MODERN MAIN FOOTER */
.site-footer {
    background: #1a1a1a; 
    color: #ffffff;
    padding: 60px 20px 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.footer-col h3 {
    color: #fffdf0;
    margin-bottom: 20px;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-logo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 2px solid #634b7d;
    overflow: hidden;
    background: #fff;
    margin-bottom: 20px;
}

.footer-logo img { width: 100%; height: 100%; object-fit: cover; }

.footer-tagline {
    line-height: 1.6;
    color: #cccccc;
    font-size: 14px;
    margin-bottom: 20px;
}

.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #cccccc; text-decoration: none; transition: color 0.3s; }
.footer-col ul li a:hover { color: #fffdf0; }

.footer-socials { display: flex; gap: 10px; margin-top: 15px; }
.social-link { 
    width: 35px; height: 35px; border-radius: 50%; border: 1px solid #ccc;
    display: flex; align-items: center; justify-content: center;
    color: #ccc; text-decoration: none; font-size: 12px; transition: 0.3s;
}
.social-link:hover { border-color: #634b7d; color: #fff; background: #634b7d; }

.footer-bottom {
    border-top: 1px solid #333;
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    font-size: 12px;
    color: #777;
}

.site-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.nav-group {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* Ensure the file section looks clean */
.file-section .nav-box {
    transition: transform 0.2s;
}
.file-section .nav-box:hover {
    transform: translateY(-5px);
    background: #fff;
}
/* 9. RESPONSIVE QUERIES */
@media screen and (max-width: 850px) {
    body { padding-top: 100px; }
    
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-logo { margin: 0 auto 20px; }
    .footer-socials { justify-content: center; }

    .content-grid { flex-direction: column; padding: 20px; }
    .location-sidebar { width: 100%; }
    .cards-container { flex-direction: column; gap: 20px; align-items: center; }
    .card { width: 100%; box-sizing: border-box; }
    
    .about-contact-section { flex-direction: column; }
    .contact-side, .about-side { width: 100%; box-sizing: border-box; padding: 30px; }
}