﻿/* ============================================
   G100 Ltd - Custom Styles
   Theme: White, Navy Blue (#1a2a3a), Gold (#c9a14b)
   Mobile-first, scalable, future-ready
   ============================================ */

/* ---------- Base ---------- */
:root {
    --navy: #1a2a3a;
    --gold: #c9a14b;
    --gold-light: #e0c87a;
    --light-bg: #f8f9fa;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-hover: 0 10px 30px rgba(0,0,0,0.08);
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    /* Brand header variables – update these to adjust branding globally */
    --brand-logo-max-height: 80px;          /* Logo size (1.5-2x original ~40-50px) */
    --brand-logo-max-height-mobile: 60px;   /* Smaller logo on mobile */
    --brand-title-size: 2.2rem;             /* Company name size */
    --brand-title-size-mobile: 1.6rem;      /* Company name on mobile */
    --brand-sub-size: 1rem;                 /* "Welcome to" size */
    --brand-sub-color: #6c757d;             /* "Welcome to" colour */
    --brand-gap: 0.5rem;                    /* Spacing between stacked elements */
}

body {
    font-family: var(--font-family);
    color: #333;
    background: #fff;
    line-height: 1.7;
}

a { transition: all 0.2s ease; }
.text-gold { color: var(--gold); }
.bg-gold { background-color: var(--gold); }
.btn-gold {
    background-color: var(--gold);
    border-color: var(--gold);
    color: #fff;
}
.btn-gold:hover {
    background-color: #b8923a;
    border-color: #b8923a;
    color: #fff;
}
.btn-outline-gold {
    color: var(--gold);
    border-color: var(--gold);
}
.btn-outline-gold:hover {
    background-color: var(--gold);
    color: #fff;
}

/* ---------- Brand Header (shared across homepage, login, register) ---------- */
.brand-header {
    text-align: center;
    margin-bottom: 2rem;
}
.brand-header .brand-logo-link {
    display: inline-block;
    text-decoration: none;
    transition: opacity 0.2s ease;
}
.brand-header .brand-logo-link:hover {
    opacity: 0.85;
}
.brand-header .brand-logo {
    max-height: var(--brand-logo-max-height);
    width: auto;
    margin-bottom: var(--brand-gap);
    display: inline-block;
}
.brand-header .brand-sub {
    font-size: var(--brand-sub-size);
    color: var(--brand-sub-color);
    margin: 0;
    line-height: 1.3;
    font-weight: 400;
}
.brand-header .brand-title {
    font-size: var(--brand-title-size);
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    color: var(--navy);
}
.brand-header .brand-title a,
.brand-header .brand-title a:hover {
    color: inherit;
    text-decoration: none;
}
.brand-header .brand-title .brand-title-gold {
    color: var(--gold);
}
.brand-header .brand-tagline {
    color: var(--brand-sub-color);
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

@media (max-width: 576px) {
    .brand-header .brand-logo {
        max-height: var(--brand-logo-max-height-mobile);
    }
    .brand-header .brand-title {
        font-size: var(--brand-title-size-mobile);
    }
    .brand-header .brand-sub {
        font-size: 0.85rem;
    }
}

/* ---------- Navigation ---------- */
.navbar {
    padding: 0.5rem 0;
    background: rgba(255,255,255,0.98) !important;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}
.navbar .nav-link {
    font-weight: 500;
    color: #333;
    padding: 0.5rem 1rem;
}
.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--gold);
}
.navbar-brand {
    padding: 0;
    margin: 0;
}
.navbar-brand .text-primary {
    color: var(--navy) !important;
}

/* Navbar brand column (logo + title + welcome text) */
.brand-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    line-height: 1.2;
}
.brand-nav-logo {
    max-height: 45px;
    width: auto;
    margin-bottom: 2px;
}
.brand-nav-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a2a3a;
    letter-spacing: -0.3px;
    line-height: 1.1;
}
.brand-nav-welcome {
    font-size: 0.65rem;
    color: #6c757d;
    font-weight: 400;
    letter-spacing: 0.2px;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .brand-nav-logo {
        max-height: 38px;
    }
    .brand-nav-title {
        font-size: 0.85rem;
    }
    .brand-nav-welcome {
        font-size: 0.55rem;
    }
}

/* ---------- Hero ---------- */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, #2a3f55 100%);
    color: #fff;
    padding: 5rem 0 6rem;
    position: relative;
    overflow: hidden;
}
.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(201, 161, 75, 0.08);
    pointer-events: none;
}
.hero h1 {
    font-weight: 700;
    font-size: 3.2rem;
    letter-spacing: -1px;
}
.hero .lead {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
}
.hero .btn-gold {
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
}
.hero .btn-outline-light {
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
}
.hero-img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-hover);
}

/* ---------- Section Headings ---------- */
.section-title {
    font-weight: 700;
    color: var(--navy);
    position: relative;
    display: inline-block;
    margin-bottom: 0.5rem;
}
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--gold);
    margin-top: 8px;
    border-radius: 4px;
}
.section-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
}

/* ---------- About / Vision Mission ---------- */
#about {
    background: var(--light-bg);
    padding: 5rem 0;
}
#about .card {
    border: none;
    background: white;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
}
#about .card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}
#about .card-title {
    color: var(--navy);
    font-weight: 700;
}

/* ---------- Services / What We Do ---------- */
#services {
    padding: 5rem 0;
}
#services .card {
    border: none;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
    height: 100%;
    padding: 1rem 0.5rem;
}
#services .card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}
#services .card-icon {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 0.75rem;
}
#services .card-title {
    font-weight: 600;
    color: var(--navy);
}

/* ---------- Membership ---------- */
#membership {
    background: var(--light-bg);
    padding: 5rem 0;
}
#membership .btn-gold {
    padding: 0.75rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
}

/* ---------- Leadership ---------- */
#leadership {
    padding: 5rem 0;
}
#leadership .card {
    border: none;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
    background: white;
}
#leadership .card:hover {
    box-shadow: var(--shadow-hover);
}
#leadership .card-title {
    color: var(--navy);
    font-weight: 600;
}
#leadership .card-subtitle {
    color: var(--gold);
    font-weight: 500;
}

/* ---------- Contact ---------- */
#contact {
    background: var(--light-bg);
    padding: 5rem 0;
}
#contact .form-control {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 0.75rem 1rem;
}
#contact .form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.2rem rgba(201, 161, 75, 0.25);
}
#contact .btn-gold {
    padding: 0.75rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
}

/* ---------- Footer ---------- */
footer {
    background: #0f1a26 !important;
}
footer .text-gold {
    color: var(--gold) !important;
}
footer a.text-light:hover {
    color: var(--gold) !important;
    text-decoration: underline !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .hero {
        padding: 4rem 0 5rem;
        text-align: center;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero .lead {
        font-size: 1rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
}