﻿/*=======FROM HERE AND DOWN MUST BE COPIED ONTO ALL NEW PAGES================*/
/* ===== BODY BACKGROUND ===== */
/*added 23/03/26*/
:root {
    --primary: #0f2a44;
    --secondary: #1f5fbf;
    --gold: #d4af37;
    --gold-light: #ffd166;
    --text-dark: #0a192f;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: #f9fbff;
    color: #1c1c1c;
}

h1, h2, h3 {
    font-family: 'Crimson Text', serif;
    font-weight: 700;
    
}

h2, h3 {
    color: var(--primary);
}

a {
    color: var(--secondary);
}

    a:hover {
        color: var(--gold);
    }

/* ===== FLOATING PAGE ===== */
.page {
    max-width: 1500px;
    margin: 30px auto;
    padding-top: 175px; /* adjust if needed for hero wall paper to show */
    background: rgba(182, 242, 198, 0.25); /* soft green tint */
    border-radius: 10px;
    overflow: visible;
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.15), 0 35px 60px rgba(0, 0, 0, 0.25);
    position: relative; /* added line */
}

/*=====Start Fixed header Freeze*=====*/
.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    transition: transform .35s ease, box-shadow .35s ease;
    height: auto;
    /*added*/
    backdrop-filter: blur(14px);
    background: rgba(15,42,68,0.85);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/*===END Fixed header Freeze====*/


/*=====START BRAND MENU*=====*/

.brand-menu {
    margin-left: auto; /* pushes menu to right */
}

    .brand-menu .menu {
        background: #4B7F52; /* your green */
        border-radius: 10px 0 10px 0; /* TL & BR only */
        box-shadow: 0 6px 18px rgba(0,0,0,0.15);
        padding: 5px 10px;
        display: flex;
        justify-content: center;
    }

        .brand-menu .menu > li > a {
            padding: 10px 14px;
            font-size: 14px;
            color: #fff;
            position: relative;
            transition: all 0.3s ease;
            text-transform: capitalize;
        }

            .brand-menu .menu > li > a:hover {
                color: #ffd700;
            }


            .brand-menu .menu > li > a::after {
                content: "";
                position: absolute;
                left: 0;
                bottom: 6px;
                width: 0;
                height: 2px;
                background: #ffd700;
                transition: width 0.3s ease;
            }

            .brand-menu .menu > li > a:hover::after {
                width: 100%;
            }

/*=====END BRAND MENU=====*/


/* ===== START BRAND BAR ===== */
.brand-bar > * {
    position: relative;
    z-index: 1;
}


.brand-bar {
    position: relative;
    display: flex;
    min-height: 90px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(25px); /* Safari support */
    border-bottom: 1px solid rgba(0,0,0,0.08);
    overflow: visible; /*important to display the menu items*/
    align-items: center;
    justify-content: space-between; /* FIX */
    padding: 6px 20px; /* ADD */
    gap: 20px;

}

    .brand-bar::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: url('../images/balobfern22.jpg'); /* your pattern image */
        background-size: contain; /* controls density */
        background-repeat: round;
        opacity: 0.30; /* VERY important — keep subtle */
        z-index: 0;
        /* ADD THESE */
        transform: translateX(var(--swayX, 0px));
        /*transform: translateX(0px);*/
        transition: transform 0.2s ease-out;
        will-change: transform;
    }



/*Logo block*/

.brand-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px; /* slightly reduced */
}

.brand-logo {
    height: 90px;
    width: 70px;
    margin-bottom: 5px;
    border-radius: 10px;
}

.brand-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-top: 0;
    color:dodgerblue;
    text-transform: uppercase;
    border-bottom: 2px solid gold;
    display: inline-block;
    padding-bottom: 2px;
    z-index:10001;
}

.brand-tagline {
    font-family: 'Playfair Display', serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    color: white;
    text-transform: uppercase;
    margin-top: 4px;
    max-width: 360px; /* controls wrapping */
    line-height: 1.3;
    white-space: normal;
    z-index:9999;
}

    .brand-tagline::before,
    .brand-tagline::after {
        content: "";
        display: inline-block;
        width: 25px;
        height: 2px;
        background: gold;
        margin: 0 8px;
        vertical-align: middle;
    }


.brand-motto {
    font-family: 'Great Vibes', cursive;
    font-size: 25px; /* script fonts need larger size */
    font-weight: bold;
    letter-spacing: 1.8px;
    /*background: linear-gradient(90deg, #b8860b, #ffd700, #b8860b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;*/
    color: #ffd166;
    margin-top: 0;
    z-index: 9999;
}

/*===END BRAND Bar====*/

/* HAMBURGER BUTTON */
.hamburger {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: #0f2a44;
}

/* ===== TOP HEADER (BALOB THEME) ===== */

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1px 1px;
    position: sticky;
    z-index: 999;
    backdrop-filter: blur(6px);
    background: #ffff;
    color: #fffe;
    border-radius: 10px;
}


/*=== START TOP LINKS SECTION===*/

.top-links {
    margin-left: auto;
}

    .top-links .menu .active {
        right: 0;
    }

    .top-links .menu a {
        text-transform: capitalize;
        font-size: 16px;
    }

    .top-links .menu li a {
        text-transform: capitalize;
        font-size: 16px;
        color: black;
    }


    .top-links a {
        margin-left: 20px;
        color: #ffffff;
        text-decoration: none;
        font-size: 20px;
    }

/* ===== NAVIGATION MENU ===== */
.menu {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

    .menu > li {
        position: relative;
    }

        .menu > li > a {
            display: block;
            padding: 14px 18px;
            color: #fff;
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
            letter-spacing: 0.6px;
            text-transform: uppercase;
            white-space: nowrap;
            /*added*/
            position: relative;
        }

    .menu li a::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -6px;
        width: 0;
        height: 2px;
        background: linear-gradient(90deg,#ffd166,#d4af37);
        transition: .3s ease;
    }


            .menu > li > a:hover::after {
                width: 100%;
            }

            .menu > li > a:hover {
                /*color: #c8a75a; /* subtle gold */
                color: blue;
                text-shadow: 0 0 8px rgba(255, 215, 0, 0.7);
            }




/* ===== DROPDOWN MENU ===== */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 270px;
    padding: 18px 0;
    list-style: none;
    border-top: 3px solid #c8a75a;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all .25s ease;
    z-index: 9999;
}


/* ===== SHOW ON HOVER ===== */

.menu > li:hover > .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li a {
    display: block;
    padding: 10px 28px;
    font-size: 14px;
    color: #666;
    text-decoration: none;
    font-weight: 400;
    letter-spacing: .3px;
    transition: all 0.25s ease;
    position: relative;
}

    .dropdown li a::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        width: 0;
        background: #ffd700; /* gold accent */
        transition: width 0.25s ease;
    }

    .dropdown li a:hover {
        background: #f4f7fb;
        color: #0f2a44;
        padding-left: 40px;
    }

        .dropdown li a:hover::before {
            width: 6px;
        }

/*END MENU Hover*/

/*===SEARCH BOX*/
.search-box {
    margin-left: 20px;
}

    .search-box input {
        padding: 6px 10px;
        border-radius: 6px;
        border: 1px solid #ccc;
    }

/*===END SEARCH BOX======*/

/*=======FROM HERE AND UP MUST BE COPIED ONTO ALL NEW PAGES================*/
