/* 
 * The Life International Festivals - 6th Anniversary
 * Main Stylesheet
 */

@font-face {
    font-family: 'TheLifeTemple';
    src: url('fonts/TheLifeTemple.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* ===== Variables ===== */
:root {
    --primary-color: #84754E;
    --secondary-color: #000000;
    --accent-color: #FFFFFF;
    --background-color: #F5F5F5;
    --text-color: #333333;
}

/* ===== Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'TheLifeTemple', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

.container {
    width: 95%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 6rem 0;
}

/* ===== Header Styles ===== */
header {
    background-color: var(--secondary-color);
    color: var(--accent-color);
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    height: 100px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
}

.logo {
    height: 70px;
    width: auto;
    transition: transform 0.3s;
}

.logo:hover {
    transform: scale(1.05);
}

/* ===== Navigation Styles ===== */
.nav-container {
    display: flex;
    align-items: center;
    flex-grow: 1;
    justify-content: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    margin: 0 auto;
    padding: 0;
}

.nav-menu li {
    margin: 0 1.8rem;
    position: relative;
}

.nav-menu li a {
    color: var(--accent-color);
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.3s;
    font-size: 1.1rem;
    letter-spacing: 1px;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

.nav-menu li a:hover {
    color: var(--primary-color);
}

.nav-menu li a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--accent-color);
    font-size: 2rem;
    cursor: pointer;
    z-index: 1001;
    padding: 0.5rem;
}

/* ===== Header Countdown with Clock ===== */
.header-countdown {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-left: auto;
    background-color: rgba(0,0,0,0.3);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    gap: 1rem;
}

/* Analog Clock Styles removed as requested */

.header-countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 0.7rem;
    min-width: 50px;
}

.header-countdown-value {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: bold;
    line-height: 1;
}

.header-countdown-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.2rem;
}

/* ===== Hero Section ===== */
/* 
 * Recommended Image Sizes:
 * - Desktop Banner (home-banner.webp): 1920x800px
 * - Mobile Banner (mobile-banner.webp): 768x500px
 * - About Section Image: 600x400px
 * - Footer Background (footer.webp): 1920x600px
 * - Mobile Footer Background (m-footer.webp): 768x400px
 */
.hero {
    background-image: url('images/home-banner.webp');
    background-size: contain;
    background-position: top center;
    background-repeat: no-repeat;
    height: 700px;
    margin-top: 80px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 
 * Recommended image sizes:
 * Desktop banner: 1920x800px (current size)
 * Mobile banner: 768x500px (current size)
 * About section image: 600x400px (recommended)
 * Footer background: 1920x600px (desktop), 768x400px (mobile)
 */

/* ===== Section Titles ===== */
.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.8rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    font-weight: normal;
    letter-spacing: 2px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: var(--primary-color);
}

/* ===== Countdown Timer Section ===== */
.countdown-section {
    background-color: var(--secondary-color);
    color: var(--accent-color);
    padding: 3rem 0;
    display: none;
}

.countdown-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-title {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    text-transform: uppercase;
    font-weight: normal;
    letter-spacing: 2px;
}

.countdown-container-centered {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

/* Mobile Analog Clock Styles removed as requested */

.countdown {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 100px;
}

.countdown-value {
    font-size: 3rem;
    color: var(--primary-color);
    font-weight: bold;
    line-height: 1;
}

.countdown-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

/* ===== About Section ===== */
.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
    justify-content: center;
}

.about-text {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-image {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.about-image:hover img {
    transform: scale(1.03);
}

/* ===== Schedule Section ===== */
.schedule-section {
    background-color: #f9f9f9;
}

.schedule-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.schedule-tab {
    padding: 1rem 2rem;
    background-color: var(--background-color);
    border: 2px solid var(--primary-color);
    cursor: pointer;
    text-transform: uppercase;
    font-size: 1.1rem;
    transition: all 0.3s;
    margin: 0.5rem;
    border-radius: 5px;
    min-width: 120px;
    text-align: center;
}

.schedule-tab.active {
    background-color: var(--primary-color);
    color: var(--accent-color);
}

.schedule-content {
    max-width: 900px;
    margin: 0 auto;
}

.schedule-day {
    margin-bottom: 3rem;
    display: none;
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.schedule-day.active {
    display: block;
}

.day-title {
    background-color: var(--secondary-color);
    color: var(--accent-color);
    padding: 1.2rem 2rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
    font-weight: normal;
    font-size: 1.3rem;
    text-align: center;
}

.schedule-match {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem;
    border-bottom: 1px solid #ddd;
    transition: background-color 0.3s;
}

.schedule-match:hover {
    background-color: rgba(0,0,0,0.02);
}

.match-time {
    min-width: 120px;
    font-size: 1.1rem;
}

.match-teams {
    flex: 1;
    text-align: center;
    font-size: 1.1rem;
}

.match-type {
    min-width: 120px;
    text-align: right;
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* ===== Location Section ===== */
.location-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: center;
}

.location-info {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
}

.location-info h3 {
    font-weight: normal;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.location-info p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.location-link {
    display: inline-flex;
    align-items: center;
    background-color: var(--primary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 1rem;
    transition: all 0.3s;
    font-size: 1rem;
    font-weight: bold;
}

.location-link:hover {
    background-color: #6d5f3e;
    transform: translateY(-2px);
}

.location-link i {
    margin-right: 0.5rem;
}

.map-container {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ===== Location Map Links ===== */
.location-map {
    margin: 1.5rem 0;
}

.map-link {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 1.5rem;
    background-color: var(--primary-color);
    color: var(--accent-color);
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
    font-size: 1rem;
    font-weight: bold;
}

.map-link:hover {
    background-color: #6d5f40;
    transform: translateY(-2px);
}

.map-link i {
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

/* ===== Contact Section ===== */
.contact-section {
    padding: 6rem 0;
    background-color: var(--accent-color);
    color: var(--text-color);
    position: relative;
    margin-bottom: 0;
    border-top: 1px solid #e0e0e0;
}

.contact-section .section-title h2 {
    color: var(--secondary-color);
}

.contact-content {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.contact-info {
    text-align: center;
    padding: 2rem;
    max-width: 800px;
}

.contact-info h3 {
    font-weight: normal;
    margin-bottom: 2rem;
    font-size: 2.2rem;
    letter-spacing: 2px;
    color: var(--secondary-color);
}

.contact-info p {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    line-height: 1.6;
    color: var(--text-color);
}

.contact-info strong {
    color: var(--primary-color);
}

/* ===== Mobile Countdown Section ===== */
.mobile-countdown-section {
    background-color: var(--secondary-color);
    color: var(--accent-color);
    padding: 3rem 0;
    display: none;
}

/* ===== Clock Countdown Mobile Section ===== */
.clock-countdown-mobile {
    display: none;
    padding: 4rem 0;
    background-color: var(--background-color);
}

.clock-countdown-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

/* Mobile Analog Clock Styles removed as requested */

/* Clock face styles removed as requested */

.mobile-countdown {
    text-align: center;
}

.mobile-countdown-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Desktop Clock in Header styles removed as requested */

/* ===== Footer ===== */
footer {
    background-color: var(--secondary-color);
    color: var(--accent-color);
    padding: 1rem 0;
    position: relative;
    margin-top: 0;
    overflow: hidden;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('images/footer.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.8;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: block;
}

.footer-bottom {
    text-align: center;
    padding-top: 0.5rem;
    position: relative;
    z-index: 3;
    font-size: 1rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    margin-top: auto;
    background-color: rgba(0,0,0,0.8);
    padding: 0.8rem;
    width: 100%;
}

/* ===== Responsive Styles ===== */
@media (max-width: 1200px) {
    .nav-menu li {
        margin: 0 1.2rem;
    }
    
    .header-countdown-item {
        margin: 0 0.5rem;
        min-width: 45px;
    }
    
    .header-countdown-value {
        font-size: 1.3rem;
    }

    .analog-clock {
        width: 50px;
        height: 50px;
    }
    
    .hero {
        background-position: center top;
    }
}

@media (max-width: 1024px) {
    .header-countdown {
        display: none;
    }
    
    .countdown-section {
        display: block;
    }
    
    .nav-menu li {
        margin: 0 1rem;
    }
    
    .clock-countdown-mobile {
        display: block;
    }
    
    .hero {
        height: 600px;
    }
}

@media (max-width: 768px) {
    header {
        height: auto;
        padding: 1rem 0;
    }

    footer {
        min-height: 120px;
    }

    footer::before {
        background-image: url('images/m-footer.webp');
        background-size: cover;
        opacity: 0.8;
    }

    .hero {
        height: 450px;
        margin-top: 60px;
        background-size: contain;
        background-position: top center;
    }
    
    .logo {
        height: 60px;
    }
    
    .nav-container {
        justify-content: flex-end;
    }
    
    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--secondary-color);
        flex-direction: column;
        padding: 6rem 0 2rem;
        z-index: 999;
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
        justify-content: center;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        margin: 0;
        text-align: center;
        padding: 1.5rem 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .nav-menu li a {
        font-size: 1.4rem;
    }

    .mobile-menu-btn {
        display: block;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .countdown-item {
        min-width: 80px;
    }

    .countdown-value {
        font-size: 2.5rem;
    }
    
    .contact-info h3 {
        font-size: 1.8rem;
    }
    
    .contact-info p {
        font-size: 1.2rem;
    }
    
    .schedule-tab {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .match-time,
    .match-teams,
    .match-type {
        font-size: 1rem;
    }

    .countdown-section {
        display: none;
    }

    .mobile-countdown-section {
        display: block;
    }
    
    .hero {
        height: 500px;
        margin-top: 80px;
    }

    .clock-countdown-container {
        flex-direction: column;
        gap: 2rem;
    }
    
    /* Mobile clock styles removed as requested */
    
    footer::before {
        background-image: url('images/m-footer.webp');
        background-size: 100% 100%;
        background-position: center;
        background-repeat: no-repeat;
        top: 0;
        height: 100%;
        opacity: 0.6;
        display: block !important;
        z-index: 1;
        width: 100%;
    }
    
    .footer-bottom {
        background-color: rgba(0,0,0,0.5); /* Consistent styling with desktop version */
        padding: 1.2rem 0.8rem 0.8rem; /* Slightly reduced padding for mobile */
    }
    
    /* Full Mobile Menu Fix */
    .nav-menu {
        top: 80px;
        height: calc(100vh - 80px);
        min-height: 500px;
        padding: 2rem 0;
    }
}

@media (max-width: 480px) {
    .hero {
        background-image: url('images/mobile-banner.webp');
        margin-top: 80px;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        height: 500px;
        width: 100%;
        overflow: hidden;
        max-width: 100%;
    }
    
    .logo {
        height: 50px;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
        padding-bottom: 10px;
    }
    
    .section-title h2::after {
        width: 80px;
        height: 3px;
    }
    
    .countdown-with-clock {
        gap: 1.5rem;
    }
    
    .countdown {
        gap: 1rem;
    }
    
    .countdown-item {
        min-width: 70px;
    }

    .countdown-value {
        font-size: 2rem;
    }
    
    .countdown-label {
        font-size: 0.8rem;
    }
    
    .contact-info h3 {
        font-size: 1.5rem;
    }
    
    .contact-info p {
        font-size: 1rem;
    }
    
    .contact-number {
        font-size: 0.9rem;
        white-space: nowrap;
    }
    
    .schedule-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .schedule-tab {
        width: 80%;
        margin: 0.3rem 0;
    }
    
    .schedule-match {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 1rem;
    }
    
    .match-time,
    .match-teams,
    .match-type {
        width: 100%;
        text-align: center;
        margin: 0.5rem 0;
    }

    /* Mobile analog clock styles removed as requested */
    
    .clock-countdown-mobile {
        padding: 3rem 0;
        margin-top: 20px;
    }
    
    .clock-countdown-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
    }
}