/* =========================
   LIAZ WEBSITE
========================= */

:root {
    --primary: #006B3F;
    --secondary: #D4AF37;
    --light: #F8F9FA;
    --dark: #212529;
    --white: #ffffff;
}

body {
    font-family: "Segoe UI", Tahoma, sans-serif;
    background: #f5f5f5;
}

/* =========================
   NAVBAR
========================= */

.navbar {
    background: var(--primary);
}

.navbar-brand {
    color: white !important;
    font-weight: bold;
}

.nav-link {
    color: white !important;
    margin-left: 10px;
}

/* =========================
   HERO
========================= */

.hero {
    height: 550px;
    background: url("../images/banner.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.55);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero h1 {
    color: white;
    font-size: 55px;
    font-weight: bold;
}

.hero p {
    color: white;
    font-size: 20px;
}

/* =========================
   SECTION TITLES
========================= */

.section-title {
    font-weight: bold;
    color: #006B3F;
    margin-bottom: 30px;
}

/* =========================
   CARDS
========================= */

.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

/* =========================
   BUTTONS
========================= */

.btn-primary {
    background: #006B3F;
    border: none;
}

.btn-primary:hover {
    background: #00512f;
}

/* =========================
   FOOTER
========================= */

footer {
    background: #212529;
    color: white;
    padding: 40px 0;
    margin-top: 60px;
}


/* =========================================
   LIAZ EVENTS PAGES
========================================= */

body {
    background: #f4f7f5 !important;
}

.events-page,
.event-view-page {
    background: #f4f7f5 !important;
    min-height: 100vh !important;
    padding: 55px 0 70px !important;
}

.events-page .events-heading,
.event-view-title {
    color: #006B3F !important;
    font-weight: 700 !important;
}

.events-page .event-card,
.event-view-card {
    background: #ffffff !important;
    border: none !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10) !important;
}

.events-page .event-card {
    height: 100% !important;
}

.events-page .event-image {
    width: 100% !important;
    height: 230px !important;
    object-fit: cover !important;
    display: block !important;
}

.event-view-image {
    width: 100% !important;
    height: 430px !important;
    object-fit: cover !important;
    display: block !important;
}

.events-page .event-body {
    padding: 24px !important;
}

.event-view-content {
    padding: 40px !important;
}

.events-page .event-title {
    color: #006B3F !important;
    font-size: 21px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
}

.events-page .event-meta {
    color: #555 !important;
    margin-bottom: 10px !important;
}

.events-page .event-description,
.event-description {
    color: #555 !important;
    line-height: 1.7 !important;
}

.events-page .event-button,
.event-back-button {
    background: #006B3F !important;
    border: 1px solid #006B3F !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    padding: 10px 20px !important;
    text-decoration: none !important;
    display: inline-block !important;
    font-weight: 600 !important;
}

.events-page .event-button:hover,
.event-back-button:hover {
    background: #004d2c !important;
    border-color: #004d2c !important;
    color: #ffffff !important;
}

.event-details-box {
    background: #f1f8f4 !important;
    border-left: 5px solid #006B3F !important;
    border-radius: 10px !important;
    padding: 20px 22px !important;
    margin-bottom: 28px !important;
}

.event-detail i {
    color: #006B3F !important;
    margin-right: 8px !important;
}


/* =========================================
   ABOUT PAGE SLIDER
========================================= */

.about-slider .carousel-item img {
    height: 320px;
    object-fit: cover;
}

.about-slider .carousel-caption {
    bottom: 25%;
    background: rgba(0, 0, 0, 0.45);
    border-radius: 10px;
    padding: 15px 20px;
}


/* =========================================
   WELCOME TICKER
========================================= */

.welcome-ticker {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    margin-top: 10px;
}

.welcome-ticker span {
    display: inline-block;
    padding-left: 100%;
    animation: ticker 18s linear infinite;
    color: #FFD700;
    font-size: 1.1rem;
    font-weight: 600;
}

@keyframes ticker {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-200%);
    }
}


/* =========================================
   TABLET / MOBILE
========================================= */

@media (max-width: 768px) {

    .about-slider .carousel-item img {
        height: 220px;
    }

    .about-slider .carousel-caption {
        bottom: 15%;
    }

    .about-slider .carousel-caption h1 {
        font-size: 1.5rem;
    }

    .welcome-ticker span {
        font-size: 0.9rem;
    }
}


/* =========================================
   EVENTS MOBILE
========================================= */

@media (max-width: 767px) {

    .event-view-image {
        height: 240px !important;
    }

    .event-view-content {
        padding: 25px !important;
    }

    .events-page {
        padding: 35px 0 50px !important;
    }

    .events-page .event-image {
        height: 200px !important;
    }
}