/* ==================================================
   BRAND VARIABLES
================================================== */

:root {
    --blue-primary: #0a5cff;
    --blue-dark: #083d9c;
    --blue-soft: #f3f7ff;
    --text-dark: #1f2937;
    --text-muted: #6b7280;
    --border-light: #e5e7eb;
}

/* ==================================================
   GLOBAL BACKGROUND (ALL PAGES)
================================================== */

html {
    background: linear-gradient(
        180deg,
        #f6f9ff 0%,
        #ffffff 45%,
        #f9fbff 100%
    );
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text-dark);
    background: transparent;
    line-height: 1.6;
}

/* subtle professional grain */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: radial-gradient(rgba(0,0,0,0.025) 1px, transparent 1px);
    background-size: 18px 18px;
    pointer-events: none;
    z-index: -1;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==================================================
   CONTAINER
================================================== */

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 24px;
}

/* ==================================================
   HEADER (FIXED + CLEAN)
================================================== */

.site-header {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

/* LOGO FIX */

.site-logo {
    display: flex;
    align-items: center;
    max-width: 220px;
}

.site-logo a {
    display: flex;
    align-items: center;
    height: 60px;
}

.site-logo img,
.custom-logo {
    max-height: 56px;
    width: auto;
    object-fit: contain;
}

/* NAVIGATION */

.site-nav {
    display: flex;
    align-items: center;
}

.primary-menu {
    display: flex;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.primary-menu a {
    text-decoration: none;
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
}

.primary-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--blue-primary);
    transition: width 0.3s ease;
}

.primary-menu a:hover::after {
    width: 100%;
}

/* ==================================================
   HERO SECTION (PROFESSIONAL DEPTH)
================================================== */

.home-hero {
    padding: 120px 0;
    background: linear-gradient(
        135deg,
        var(--blue-soft) 0%,
        #ffffff 60%
    );
}

.home-hero .container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.6rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-tagline {
    font-size: 1.35rem;
    color: var(--text-muted);
    margin-bottom: 36px;
}

.btn-primary {
    background: var(--blue-primary);
    color: #ffffff;
    padding: 16px 36px;
    border-radius: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(10,92,255,0.3);
}

.hero-image img {
    border-radius: 20px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.15);
}

/* ==================================================
   QUICK LINKS (CARDS)
================================================== */

.quick-links {
    padding: 80px 0;
}

.quick-links .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 28px;
}

.quick-links a {
    background: #ffffff;
    border: 1px solid var(--border-light);
    padding: 22px;
    border-radius: 16px;
    text-align: center;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

.quick-links a:hover {
    background: var(--blue-primary);
    color: #ffffff;
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(10,92,255,0.25);
}

/* ==================================================
   ABOUT SECTION
================================================== */

.home-about {
    background: var(--blue-soft);
    padding: 100px 0;
    text-align: center;
}

.home-about h2 {
    font-size: 2.6rem;
    margin-bottom: 24px;
}

.home-about p {
    max-width: 760px;
    margin: auto;
    font-size: 1.15rem;
    color: var(--text-muted);
}

/* ==================================================
   EVENTS & GALLERY
================================================== */

.home-events,
.home-gallery {
    padding: 100px 0;
    text-align: center;
}

.home-events h2,
.home-gallery h2 {
    font-size: 2.4rem;
    margin-bottom: 16px;
}

.home-events p,
.home-gallery p {
    color: var(--text-muted);
    margin-bottom: 28px;
}

.btn-secondary {
    border: 2px solid var(--blue-primary);
    padding: 14px 32px;
    border-radius: 14px;
    color: var(--blue-primary);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--blue-primary);
    color: #ffffff;
}

/* ==================================================
   FOOTER (HORIZONTAL MENU FIXED)
================================================== */

.site-footer {
    background: #f8fafc;
    border-top: 1px solid var(--border-light);
    padding: 60px 0;
    text-align: center;
}

.footer-menu {
    display: flex;
    justify-content: center;
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
}

.footer-menu a:hover {
    color: var(--blue-primary);
}

.footer-copy {
    margin-top: 24px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ==================================================
   RESPONSIVE
================================================== */

@media (max-width: 768px) {

    .home-hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }

    .hero-content h1 {
        font-size: 2.6rem;
    }

    .primary-menu {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-menu {
        flex-wrap: wrap;
    }
}