/* ============================================================
   navbar.css — Shared header + footer styles
   Full mobile responsiveness included
   ============================================================ */

header {
    position: fixed;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    backdrop-filter: blur(12px);
    background: rgba(0,0,0,0.8);
    z-index: 1000;
    box-sizing: border-box;
}

.logo, .header-btn {
    flex: 1;
}

nav {
    flex: 2;
    display: flex;
    justify-content: center;
}

nav ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

nav li {
    margin: 0 15px;
    font-family: 'Poppins', sans-serif;
    font-weight: 100;
}

.header-btn {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.btn-gradient {
    background: linear-gradient(45deg, #f4b400, #ff8a00);
    color: #000000;
    padding: 10px 25px;
    margin-left: 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    white-space: nowrap;
}

.btn-gradient-1 {
    background: linear-gradient(45deg, #8b6703, #804502);
    color: #000000;
    padding: 10px 25px;
    margin-left: 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    white-space: nowrap;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(244, 180, 0, 0.4);
}

.btn-gradient-1:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 103, 3, 0.4);
}

.logo {
    font-weight: 700;
    font-size: 22px;
    color: white;
    font-family: 'Poppins', sans-serif;
    z-index: 1100;
    text-decoration: none;
}

.logo span {
    color: #f4b400;
}

nav a {
    text-decoration: none;
    color: white;
    transition: 0.3s;
    font-family: 'Poppins', sans-serif;
}

nav a:hover {
    color: #f4b400;
}

/* ============================================================
   HAMBURGER BUTTON — hidden on desktop
   ============================================================ */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    z-index: 1100;
    padding: 5px;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.35s ease;
    transform-origin: center;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   MOBILE HEADER — 768px and below
   ============================================================ */
@media (max-width: 768px) {

    header {
        padding: 18px 5%;
        flex-wrap: nowrap;
    }

    nav,
    .header-btn {
        display: none;
    }

    .hamburger {
        display: flex;
        flex: 0 0 auto;
        margin-left: auto;
    }

    nav.mobile-open {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.97);
        backdrop-filter: blur(16px);
        z-index: 1050;
        animation: fadeInDown 0.3s ease forwards;
    }

    nav.mobile-open ul {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    nav.mobile-open li {
        margin: 0;
    }

    nav.mobile-open a {
        font-size: 22px;
        font-weight: 300;
        letter-spacing: 1px;
        padding: 12px 0;
        display: block;
    }

    .header-btn.mobile-open {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-top: 30px;
        position: fixed;
        bottom: 80px;
        left: 0;
        width: 100%;
        z-index: 1060;
    }

    .header-btn.mobile-open .btn-gradient,
    .header-btn.mobile-open .btn-gradient-1 {
        margin-left: 0;
        width: 70%;
        text-align: center;
        font-size: 15px;
        padding: 14px 20px;
    }

    @keyframes fadeInDown {
        from { opacity: 0; transform: translateY(-20px); }
        to   { opacity: 1; transform: translateY(0); }
    }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    position: relative;
    background: #0a0a0a;
    border-top: 1px solid rgba(255,255,255,0.07);
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
}

/* Subtle gold glow line across the top */
.footer-glow-line {
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(244,180,0,0.5), rgba(255,138,0,0.5), transparent);
    pointer-events: none;
}

/* Main footer row */
.footer-inner {
    display: grid;
    grid-template-columns: 1.4fr 1.6fr;
    gap: 60px;
    padding: 70px 8% 60px;
    align-items: start;
}

/* Brand column */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    line-height: 1;
}

.footer-logo span {
    color: #f4b400;
}

.footer-tagline {
    font-size: 14px;
    font-weight: 300;
    color: #666;
    line-height: 1.75;
    max-width: 340px;
}

/* Social icons */
.footer-socials {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.footer-social {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social:hover {
    background: rgba(244,180,0,0.08);
    border-color: rgba(244,180,0,0.3);
    color: #f4b400;
    transform: translateY(-3px);
}

/* Link columns wrapper */
.footer-links-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-col-title {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    color: #f4b400;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.footer-col-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-col-links a {
    font-size: 13px;
    font-weight: 300;
    color: #666;
    text-decoration: none;
    transition: color 0.25s ease;
    line-height: 1.4;
}

.footer-col-links a:hover {
    color: #f4b400;
}

/* Bottom bar */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 8%;
    border-top: 1px solid rgba(255,255,255,0.05);
    flex-wrap: wrap;
    gap: 12px;
}

.footer-copy {
    font-size: 13px;
    font-weight: 300;
    color: #444;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    font-size: 13px;
    font-weight: 300;
    color: #444;
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-bottom-links a:hover {
    color: #f4b400;
}

/* ============================================================
   FOOTER — Tablet 768px
   ============================================================ */
@media (max-width: 768px) {

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 50px 6% 40px;
    }

    .footer-brand { gap: 16px; }
    .footer-tagline { max-width: 100%; font-size: 13px; }

    .footer-links-group {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .footer-bottom {
        padding: 18px 6%;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* ============================================================
   FOOTER — Small mobile 480px
   ============================================================ */
@media (max-width: 480px) {

    .footer-links-group {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px 16px;
    }

    .footer-bottom-links {
        gap: 16px;
    }
}

/* ============================================================
   FOOTER — Very small 360px
   ============================================================ */
@media (max-width: 360px) {
    .footer-links-group {
        grid-template-columns: 1fr 1fr;
    }
    .footer-col:last-child {
        grid-column: span 2;
    }
}
