/*==================================
    [ Master Stylesheet ]
    --------------------------------
    :: (1) General
    :: (2) Header
    :: (3) Hero
    :: (4) Sections
    :: (5) Footer
====================================*/

/* :: (1) General */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&family=Montserrat:wght@700&display=swap');

:root {
    --primary-color: #2E7D32; /* A deep, trustworthy green */
    --secondary-color: #1a1a1a; /* A deep charcoal for text and backgrounds */
    --accent-color: #66bb6a;   /* A lighter, friendly green for accents */
    --background-color: #f4f4f4;
    --text-color: #333;
    --white-color: #FFFFFF;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}
a:hover, a:focus {
    color: var(--accent-color);
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--secondary-color);
}

.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}
@media (min-width: 576px) { .container { max-width: 540px; } }
@media (min-width: 768px) { .container { max-width: 720px; } }
@media (min-width: 992px) { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }

/* :: (2) Header */
.header-area {
    position: absolute;
    z-index: 100;
    width: 100%;
    top: 0;
    left: 0;
}
.top-header {
    background-color: rgba(26, 26, 26, 0.5);
    padding: 10px 0;
}
.top-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-header-content p, .top-header-content a {
    color: var(--white-color);
    font-size: 14px;
    margin: 0;
}
.top-header-content .social-links a {
    margin-left: 15px;
}

.main-header {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding: 15px 0;
    transition: all 0.3s ease;
}
.main-header.scrolled {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--white-color);
    animation: slideInDown 0.5s ease-out;
}
@keyframes slideInDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.site-logo a {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}
.main-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
}
.main-nav ul li {
    margin-left: 30px;
}
.main-nav ul li a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--secondary-color);
    text-transform: uppercase;
    font-size: 14px;
    padding: 10px 0;
    position: relative;
}
.main-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}
.main-nav ul li a:hover::after, .main-nav ul li a.active::after {
    width: 100%;
}

.mobile-nav-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

@media (max-width: 991px) {
    .main-nav { display: none; }
    .mobile-nav-toggle { display: block; }
}

/* :: (3) Hero */
.hero-slides .single-hero-slide {
    height: 800px;
    position: relative;
    z-index: 1;
}
.bg-img {
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}
.slide-img {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
    top: 0;
    left: 0;
}
.hero-slides-content {
    color: var(--white-color);
    text-align: center;
}
.hero-slides-content h6 {
    color: var(--white-color);
    text-transform: uppercase;
}
.hero-slides-content h2 {
    font-size: 72px;
    color: var(--white-color);
    margin-bottom: 30px;
}
.hero-slides-content h2 span {
    border: 5px solid var(--primary-color);
    padding: 10px 20px;
}

.hero-slides-content audio {
    display: block;
    margin: 20px auto 0;
    max-width: 100%;
}

/* :: (4) Sections */
.section-padding-100 {
    padding-top: 100px;
    padding-bottom: 100px;
}
.bg-gray {
    background-color: #f8f9fa;
}
.section-heading {
    margin-bottom: 60px;
    text-align: center;
}
.section-heading h2 {
    font-size: 48px;
    text-transform: uppercase;
}

/* Schedule */
.single-schedule {
    border-bottom: 1px solid #ebebeb;
    padding: 20px 0;
}
.single-schedule:last-child {
    border-bottom: none;
}
.programme-time p {
    margin: 0;
    font-weight: 700;
}
.programme-name h5 {
    margin: 0;
    font-size: 20px;
}
.programme-presenter p {
    margin: 0;
}
.programme-presenter span {
    color: var(--primary-color);
    font-weight: 700;
}

/* News */
.single-news-post {
    background-color: var(--white-color);
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.post-thumbnail img {
    width: 100%;
}
.post-content {
    padding: 30px;
}
.post-title {
    font-size: 20px;
    margin-bottom: 5px;
}
.post-date {
    font-size: 14px;
    color: #999;
    margin-bottom: 15px;
}

/* Gallery */
.gallery-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
}
.single-gallery-item {
    position: relative;
    overflow: hidden;
}
.single-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.single-gallery-item:hover img {
    transform: scale(1.1);
}
.gallery-hover-info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(46, 125, 50, 0.8); /* Using the green color with opacity */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.single-gallery-item:hover .gallery-hover-info {
    opacity: 1;
}
.gallery-hover-info h5 {
    color: var(--white-color);
    text-align: center;
}

/* Buttons */
.a-btn, .a-btn-2 {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
}
.a-btn-2 {
    background-color: var(--secondary-color);
}
.a-btn:hover, .a-btn-2:hover {
    background-color: var(--accent-color);
    color: var(--white-color);
}

/* :: (5) Breadcumb Area */
.breadcumb-area {
    position: relative;
    z-index: 1;
    height: 400px;
}
.bg-overlay {
    position: relative;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.5);
}
.breadcumb-content {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
    text-align: center;
}
.breadcumb-content h2 {
    color: var(--white-color);
    font-size: 60px;
    text-transform: uppercase;
}

/* :: (6) Footer */
.footer-area {
    background-color: var(--secondary-color);
    padding: 80px 0;
    color: #a6a6a6;
}
.footer-widget .widget-title {
    color: var(--white-color);
    margin-bottom: 30px;
}
.footer-widget p {
    color: #a6a6a6;
}
.footer-widget .social-links a {
    color: #a6a6a6;
    margin-right: 15px;
}
.footer-widget .social-links a:hover {
    color: var(--primary-color);
}
.footer-widget ul {
    list-style: none;
    padding: 0;
}
.footer-widget ul li a {
    color: #a6a6a6;
    display: block;
    padding: 5px 0;
}
.footer-widget ul li a:hover {
    color: var(--primary-color);
}
.contact-info p {
    margin-bottom: 10px;
}
.contact-info i {
    color: var(--primary-color);
    margin-right: 10px;
}
.copywrite-area {
    background-color: #111;
    padding: 20px 0;
    margin-top: 50px;
    text-align: center;
}
.copywrite-area p {
    color: #6c757d;
    margin: 0;
}

/* :: (7) Mobile Nav */
@media (max-width: 991px) {
    .main-nav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background-color: var(--secondary-color);
        padding: 30px;
        transition: right 0.4s ease;
        z-index: 1001;
    }
    .main-nav.active {
        right: 0;
    }
    .main-nav ul {
        flex-direction: column;
    }
    .main-nav ul li {
        margin-left: 0;
        margin-bottom: 20px;
    }
    .main-nav ul li a {
        color: var(--white-color);
    }
}
