/* Import Georgian font */
@font-face {
    font-family: 'BPG Arial';
    src: url('../fonts/bpg_arial.ttf');
}

.gd-header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #0A1025;
    z-index: 10000 !important;
}

/* Bottom gold line */
.gd-gold-line {
    width: 100%;
    height: 5px;
    background-color: #C8A046; /* Gold */
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

/* Header inner layout */
.gd-header-inner {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px 20px;
}


/* Navigation menu */
.gd-nav ul {
    list-style: none;
    display: flex;
    gap: 100px;
    display: flex;
}

.gd-nav ul li a {
    position: relative;
    font-family: 'BPG Arial', sans-serif;
    font-size: 22px;
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;
    padding: 15px 0;   /* THIS FIXES THE UNDERLINE VISIBILITY */
    display: inline-block;
    transition: color 0.3s ease;
}

/* CENTER UNDERLINE */
.gd-nav ul li a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 8px; /* lift underline slightly so it's visible */
    width: 0%;
    height: 2px;
    background-color: #C8A046;
    transition: width 0.3s ease, left 0.3s ease;
}

.gd-nav ul li a:hover::after {
    width: 100%;
    left: 0;
}

.gd-nav a.active {
    position: relative;
}

.gd-nav a.active::after {
    width: 100%;
    left: 0;
}


/* ============================
   TABLET HEADER FIX (max 1024px)
   ============================ */
@media (max-width: 1024px) {

    .gd-header-inner {
        padding: 14px 20px;
    }

    .gd-nav ul {
        gap: 50px; /* reduce huge 100px spacing */
    }

    .gd-nav ul li a {
        font-size: 18px; /* scale text from 22px to 18px */
        padding-bottom: 12px;
    }

    .gd-nav ul li a::after {
        bottom: 4px; /* keep underline visible */
    }
}

@media (max-width: 768px) {

    .gd-nav ul {
        flex-direction: column;  /* stack vertically */
        gap: 12px;
    }

    .gd-header-inner {
        padding: 12px 10px;
    }

    .gd-nav ul li a {
        font-size: 16px;
    }

    .gd-gold-line {
        height: 3px; /* slightly thinner gold line */
    }
}

