/* ============================================================
   assets/css/style.css
   SandHill — Corporate Professional theme (marketing + global)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Sora:wght@500;600;700;800&display=swap');

:root {
    /* Brand + action */
    --ink: #0B1F3A;
    --ink-800: #10294A;
    --primary-blue: #1D4ED8;
    --primary-blue-dark: #1A3FB0;
    --primary-blue-bright: #2563EB;
    --primary-purple: #6D28D9;
    --primary-red: #DC2626;
    --accent-gold: #E0A83D;
    --success: #059669;
    --warning: #D97706;

    /* Neutrals */
    --canvas: #F4F6FA;
    --surface: #FFFFFF;
    --color-surface: #FFFFFF;
    --border: #E5E9F0;
    --color-border-light: #E5E9F0;
    --dark: #0F172A;
    --gray-700: #334155;
    --gray-500: #64748B;
    --gray-300: #CBD5E1;
    --gray-100: #F1F5F9;
    --white: #FFFFFF;

    /* Elevation + shape */
    --shadow-sm: 0 1px 2px rgba(15,31,58,0.06), 0 1px 3px rgba(15,31,58,0.04);
    --shadow-md: 0 10px 30px rgba(15,31,58,0.08);
    --shadow-lg: 0 24px 60px rgba(15,31,58,0.14);
    --radius: 14px;
    --radius-md: 12px;
    --radius-lg: 16px;

    --font-display: 'Sora', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-body);
    background: var(--canvas);
    color: var(--dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .section-title, .hero-text h1 { font-family: var(--font-display); }

.text-accent { color: var(--accent-gold); }
a { text-decoration: none; transition: color 0.2s ease; }

:focus-visible { outline: 2px solid var(--primary-blue); outline-offset: 2px; border-radius: 4px; }

/* ---------- HEADER ---------- */
.site-header {
    background: rgba(255,255,255,0.92);
    backdrop-filter: saturate(180%) blur(8px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 0 rgba(15,31,58,0.02);
    position: sticky;
    top: 0;
    z-index: 1050;
    padding: 0.35rem 0;
}
.site-header .navbar { padding: 0.75rem 0; }

.navbar-brand {
    display: flex; align-items: center; gap: 0.5rem;
    font-family: var(--font-display);
    font-weight: 800; font-size: 1.4rem;
    color: var(--ink); letter-spacing: -0.4px;
}
.navbar-brand .brand-text .text-accent { color: var(--accent-gold); }
.navbar-brand img { height: 38px; width: auto; }

.navbar-nav { gap: 0.25rem; }
.navbar-nav .nav-link {
    font-weight: 600; font-size: 0.92rem; color: var(--gray-700);
    padding: 0.5rem 0.95rem; border-radius: 8px; transition: all 0.18s ease;
}
.navbar-nav .nav-link:hover { color: var(--primary-blue); background: rgba(29,78,216,0.06); }
.navbar-nav .nav-link.active { color: var(--primary-blue); background: rgba(29,78,216,0.10); }

.btn-login {
    background: var(--primary-blue); color: var(--white);
    border-radius: 10px; padding: 0.55rem 1.4rem;
    font-weight: 600; font-size: 0.92rem; border: none;
    transition: all 0.2s ease; box-shadow: 0 6px 16px rgba(29,78,216,0.22);
}
.btn-login:hover { background: var(--primary-blue-dark); color: var(--white); transform: translateY(-1px); box-shadow: 0 10px 22px rgba(29,78,216,0.30); }

/* ---------- HERO ---------- */
.hero-section {
    padding: 5.5rem 0 4.5rem;
    background:
        radial-gradient(1200px 500px at 80% -10%, rgba(29,78,216,0.10), transparent 60%),
        linear-gradient(180deg, #FBFCFE 0%, var(--canvas) 100%);
    border-bottom: 1px solid var(--border);
    position: relative; overflow: hidden;
}
.hero-text h1 { font-size: 3.1rem; font-weight: 800; line-height: 1.15; letter-spacing: -1px; color: var(--ink); }
.hero-text .lead { font-size: 1.15rem; color: var(--gray-500); max-width: 92%; margin-top: 1rem; }
.hero-image img { max-width: 100%; height: auto; animation: float 6s ease-in-out infinite; }

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0); }
}

/* ---------- SECTIONS ---------- */
.section-title { font-size: 2.4rem; font-weight: 700; letter-spacing: -0.6px; color: var(--ink); margin-bottom: 0.5rem; }
.section-subtitle { font-size: 1.08rem; color: var(--gray-500); font-weight: 400; }

.about-section { padding: 5rem 0; background: var(--surface); }
.services-section { padding: 5rem 0; background: var(--canvas); }
.contact-section { padding: 5rem 0; background: var(--surface); }

/* Generic card surface used across marketing sections */
.card, .service-card, .info-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

/* ---------- BUTTONS ---------- */
.btn-primary {
    background: var(--primary-blue); border: none;
    padding: 0.7rem 1.8rem; font-weight: 600; border-radius: 10px;
    transition: all 0.2s; box-shadow: 0 6px 16px rgba(29,78,216,0.24);
}
.btn-primary:hover { background: var(--primary-blue-dark); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(29,78,216,0.32); }
.btn-outline-light { border: 2px solid #fff; color: #fff; border-radius: 10px; }
.btn-outline-light:hover { background: #fff; color: var(--primary-blue); }

/* ---------- SCROLL ANIMATIONS ---------- */
.hidden-animate { opacity: 0; transform: translateY(36px); transition: opacity 0.8s cubic-bezier(0.2,0.9,0.3,1), transform 0.8s cubic-bezier(0.2,0.9,0.3,1); }
.show-animate { opacity: 1 !important; transform: translateY(0) !important; }

/* ---------- FOOTER ---------- */
.site-footer {
    background: var(--ink);
    color: rgba(255,255,255,0.8);
    padding: 3.5rem 0 1.5rem;
    border-top: 3px solid var(--accent-gold);
}
.footer-brand { display: flex; align-items: center; gap: 0.5rem; font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: var(--white); margin-bottom: 1rem; }
.footer-brand span { color: var(--accent-gold); }
.footer-brand img { height: 34px; width: auto; }
.footer-about { font-size: 0.94rem; line-height: 1.7; max-width: 90%; color: rgba(255,255,255,0.68); }

.footer-social a {
    display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px;
    border-radius: 10px; background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.7);
    margin-right: 0.6rem; transition: all 0.2s ease;
}
.footer-social a:hover { background: var(--accent-gold); color: var(--ink); transform: translateY(-2px); }

.site-footer h5 { color: var(--white); font-weight: 700; font-size: 1.05rem; margin-bottom: 1.2rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.65rem; }
.footer-links a { color: rgba(255,255,255,0.65); font-size: 0.94rem; transition: color 0.18s, padding 0.18s; }
.footer-links a:hover { color: var(--accent-gold); padding-left: 4px; }

.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.8rem; font-size: 0.94rem; color: rgba(255,255,255,0.7); }
.footer-contact li i { color: var(--accent-gold); width: 1.3rem; text-align: center; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); margin-top: 2.5rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; font-size: 0.88rem; color: rgba(255,255,255,0.5); }
.footer-bottom p { margin-bottom: 0; }
.footer-legal a { color: rgba(255,255,255,0.5); margin-left: 1rem; transition: color 0.18s; }
.footer-legal a:hover { color: var(--accent-gold); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 991.98px) {
    .navbar-nav { gap: 0.2rem; margin: 0.5rem 0; }
    .btn-login { margin-top: 0.5rem; width: 100%; text-align: center; }
    .hero-text h1 { font-size: 2.5rem; }
    .hero-text .lead { max-width: 100%; }
    .hero-section { padding: 3.5rem 0; text-align: center; }
    .hero-image { margin-top: 2rem; }
    .section-title { font-size: 2rem; }
    .footer-bottom { flex-direction: column; gap: 0.8rem; text-align: center; }
    .footer-legal a { margin: 0 0.5rem; }
}
@media (max-width: 575.98px) {
    .hero-text h1 { font-size: 2rem; }
    .navbar-brand { font-size: 1.15rem; }
    .navbar-brand img { height: 30px; }
    .section-title { font-size: 1.7rem; }
}

@media (prefers-reduced-motion: reduce) {
    * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
    .hero-image img { animation: none; }
}
