/* =========================================================
   Gulf Capital Ventures — Stylesheet
   Palette inspired by the brand mark:
   - Deep navy:  #0d2c54
   - Teal:       #1f8a8a
   - Gold:       #d4a23b
   ========================================================= */

:root {
    --navy:        #0d2c54;
    --navy-deep:   #081d3a;
    --teal:        #1f8a8a;
    --teal-soft:   #2fa7a7;
    --gold:        #d4a23b;
    --ink:         #11243f;
    --muted:       #5a6b82;
    --line:        #e4e8ef;
    --bg:          #ffffff;
    --bg-soft:     #f6f8fb;
    --bg-tint:     #eef3f9;

    --font-serif:  "Playfair Display", Georgia, "Times New Roman", serif;
    --font-sans:   "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    --radius:      10px;
    --radius-lg:   16px;
    --shadow-sm:   0 1px 2px rgba(13, 44, 84, 0.06);
    --shadow-md:   0 10px 30px rgba(13, 44, 84, 0.08);
    --shadow-lg:   0 20px 60px rgba(13, 44, 84, 0.12);

    --max-width:   1140px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--teal); }

h1, h2, h3 {
    font-family: var(--font-serif);
    color: var(--navy);
    line-height: 1.2;
    margin: 0 0 .5em;
    font-weight: 600;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1em; }

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: .01em;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .15s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
}
.btn-primary {
    background: var(--navy);
    color: #fff;
    box-shadow: var(--shadow-md);
}
.btn-primary:hover {
    background: var(--teal);
    color: #fff;
    transform: translateY(-1px);
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(140%) blur(10px);
    -webkit-backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid rgba(228, 232, 239, 0.7);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
}
.brand { display: inline-flex; align-items: center; }
.brand-logo {
    height: clamp(56px, 7vw, 84px);
    width: auto;
    display: block;
}

.primary-nav .nav-list {
    display: flex;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.primary-nav .nav-list a {
    font-size: .98rem;
    font-weight: 500;
    color: var(--ink);
    padding: 6px 2px;
    position: relative;
}
.primary-nav .nav-list a::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 0; height: 2px;
    background: var(--teal);
    transition: width .2s ease;
}
.primary-nav .nav-list a:hover::after { width: 100%; }

.nav-toggle {
    display: none;
    background: none;
    border: 0;
    width: 44px; height: 44px;
    padding: 10px;
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    width: 24px; height: 2px;
    margin: 5px auto;
    background: var(--navy);
    transition: transform .25s ease, opacity .2s ease;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    padding: clamp(80px, 12vw, 140px) 0 clamp(80px, 12vw, 140px);
    background:
        radial-gradient(1200px 600px at 80% -10%, rgba(31, 138, 138, 0.18), transparent 60%),
        radial-gradient(900px 500px at -10% 110%, rgba(13, 44, 84, 0.10), transparent 60%),
        linear-gradient(180deg, #f9fbfe 0%, #eef3f9 100%);
}
.hero-inner {
    max-width: 880px;
    text-align: left;
    position: relative;
    z-index: 1;
}
.hero-title {
    margin: 0 0 24px;
    letter-spacing: -0.01em;
}
.hero-title .accent {
    background: linear-gradient(90deg, var(--teal) 0%, var(--navy) 70%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-style: italic;
}
.hero-sub {
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    color: var(--muted);
    max-width: 640px;
    margin-bottom: 36px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-glow {
    position: absolute;
    right: -120px; top: 50%;
    width: 480px; height: 480px;
    transform: translateY(-50%);
    background: radial-gradient(closest-side, rgba(212, 162, 59, 0.18), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* ---------- Sections ---------- */
.section { padding: clamp(70px, 10vw, 120px) 0; }
.section-head { max-width: 760px; margin: 0 0 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 14px;
}
.section-lede { color: var(--muted); font-size: 1.1rem; margin-top: 16px; }

/* ---------- About / Pillars ---------- */
.about { background: var(--bg); }
.pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.pillar {
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--bg);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.pillar:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(31, 138, 138, 0.35);
}
.pillar-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: grid; place-items: center;
    background: linear-gradient(135deg, rgba(13,44,84,.08), rgba(31,138,138,.12));
    color: var(--navy);
    margin-bottom: 18px;
}
.pillar-icon svg { width: 24px; height: 24px; }
.pillar p { color: var(--muted); margin: 0; }

/* ---------- Services ---------- */
.services {
    background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
    position: relative;
}
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.service-card {
    padding: 36px 32px;
    background: var(--bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border-top: 3px solid var(--teal);
    transition: transform .25s ease, box-shadow .25s ease;
}
.service-card:nth-child(2) { border-top-color: var(--navy); }
.service-card:nth-child(3) { border-top-color: var(--gold); }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-num {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 12px;
    letter-spacing: .04em;
}
.service-card p { color: var(--muted); margin: 0; }

/* ---------- Contact ---------- */
.contact {
    background:
        linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, #11365f 100%);
    color: #e9eef7;
    position: relative;
    overflow: hidden;
}
.contact::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(700px 400px at 90% 0%, rgba(31, 138, 138, 0.25), transparent 60%);
    pointer-events: none;
}
.contact h2 { color: #ffffff; }
.contact .eyebrow { color: var(--gold); }
.contact-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: start;
}
.contact-copy p { color: rgba(233, 238, 247, 0.78); max-width: 420px; }
.contact-meta {
    list-style: none;
    padding: 0;
    margin: 32px 0 0;
}
.contact-meta li { color: rgba(233, 238, 247, 0.85); }
.contact-meta a { color: var(--gold); }
.contact-meta a:hover { color: #fff; }

/* Form */
.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 32px;
    backdrop-filter: blur(6px);
}
.form-row { display: flex; flex-direction: column; }
.form-row-full { grid-column: 1 / -1; }
.contact-form label {
    font-size: .85rem;
    font-weight: 500;
    color: rgba(233, 238, 247, 0.85);
    margin-bottom: 6px;
    letter-spacing: .02em;
}
.contact-form .req { color: var(--gold); margin-left: 2px; }
.contact-form .opt { color: rgba(233, 238, 247, 0.5); font-weight: 400; }
.contact-form input,
.contact-form textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    padding: 12px 14px;
    color: #fff;
    font: inherit;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255, 255, 255, 0.4); }
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--teal-soft);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(47, 167, 167, 0.25);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form .btn-primary {
    background: var(--gold);
    color: var(--navy-deep);
    border: 0;
    width: 100%;
}
.contact-form .btn-primary:hover { background: #e8b54f; color: var(--navy-deep); }
.form-status {
    grid-column: 1 / -1;
    margin: 0;
    font-size: .95rem;
    min-height: 1.2em;
}
.form-status.success { color: #7fe3c0; }
.form-status.error   { color: #ff9a9a; }

/* ---------- Footer ---------- */
.site-footer {
    background: #ffffff;
    border-top: 1px solid var(--line);
    padding: 32px 0;
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.footer-logo { height: 52px; width: auto; opacity: .9; }
.footer-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    font-size: .92rem;
    color: var(--muted);
}
.footer-meta a { color: var(--navy); font-weight: 500; }
.footer-meta a:hover { color: var(--teal); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .pillars,
    .service-grid { grid-template-columns: 1fr; }
    .contact-inner { grid-template-columns: 1fr; gap: 40px; }
    .contact-form { padding: 24px; }
}

@media (max-width: 720px) {
    .nav-toggle { display: block; }
    .primary-nav .nav-list {
        position: absolute;
        top: 100%; left: 0; right: 0;
        flex-direction: column;
        gap: 0;
        background: #fff;
        border-bottom: 1px solid var(--line);
        padding: 8px 0 14px;
        max-height: 0;
        overflow: hidden;
        transition: max-height .3s ease;
    }
    .primary-nav .nav-list.open { max-height: 320px; }
    .primary-nav .nav-list li { padding: 0 24px; }
    .primary-nav .nav-list a {
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid var(--line);
    }
    .primary-nav .nav-list li:last-child a { border-bottom: 0; }
    .header-inner { position: relative; }

    .contact-form { grid-template-columns: 1fr; }

    .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* Reveal-on-scroll */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: none;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .pillar:hover, .service-card:hover, .btn-primary:hover { transform: none; }
}
