/* ============================================================
   Oahu Prep — base.css
   Shared styles: variables, reset, typography, buttons,
   navbar, footer, section utilities, HTMX
   ============================================================ */

:root {
    --orange:       #FF830D;
    --orange-dark:  #e87200;
    --orange-light: #fff4e8;
    --blue:         #0FADCA;
    --blue-dark:    #0F9BB3;
    --blue-light:   #e8f8fb;
    --gray-text:    #5a6578;
    --gray-muted:   #8898aa;
    --gray-border:  #eae8e4;
    --gray-bg:      #f8f7f5;
    --white:        #fdfcfa;
    --dark:         #2b2a35;

    --font-heading: 'Lora', Georgia, serif;
    --font-body:    'DM Sans', -apple-system, sans-serif;

    --shadow-sm:    0 1px 3px rgba(0,0,0,0.08);
    --shadow-md:    0 4px 16px rgba(0,0,0,0.1);
    --shadow-lg:    0 8px 32px rgba(0,0,0,0.12);

    --radius:       12px;
    --radius-lg:    20px;
}


/* — Reset & Base — */

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

html, body {
    overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--dark);
}

a { color: var(--blue-dark); }
a:hover { color: var(--blue); }

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

section { padding: 0; }


/* — Bootstrap Overrides — */

.btn-primary {
    background-color: var(--orange);
    border-color: var(--orange);
    color: var(--white);
    font-weight: 600;
    font-family: var(--font-body);
    transition: all 0.2s ease;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: transparent !important;
    border-color: var(--orange) !important;
    color: var(--orange) !important;
}

.btn-outline-dark {
    font-weight: 600;
    font-family: var(--font-body);
}

.btn-outline-secondary-custom {
    color: var(--blue-dark);
    border-color: var(--blue-dark);
    font-weight: 600;
    font-family: var(--font-body);
}
.btn-outline-secondary-custom:hover {
    background-color: var(--blue-dark);
    border-color: var(--blue-dark);
    color: var(--white);
}

.btn-lg {
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
}


/* — Shared Section Utilities — */

.section-heading {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

.section-heading::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--orange), var(--blue));
    border-radius: 2px;
    margin: 0.6rem auto 0;
}

.section-illustration {
    max-width: 380px;
    width: 100%;
    border-radius: var(--radius-lg);
}

.section-subtext {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.text-accent { color: var(--orange); }


/* ============================================================
   Navbar
   ============================================================ */

#main-navbar {
    background: linear-gradient(135deg, var(--orange) 50%, #2db8d2 100%);
    padding: 0.6rem 0;
    box-shadow: var(--shadow-sm);
}

#main-navbar .brand-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--white);
}

#main-navbar .nav-link {
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: background 0.15s ease, color 0.15s ease;
}

#main-navbar .nav-link:hover,
#main-navbar .nav-link.active {
    color: var(--white);
    background: rgba(255,255,255,0.15);
}

.btn-nav-phone {
    background: rgba(255,255,255,0.15);
    color: var(--white);
    font-weight: 700;
    font-size: 1.05rem;
    border: 2px solid rgba(255,255,255,0.5);
    padding: 0.5rem 1.4rem;
    transition: background 0.15s ease;
}
.btn-nav-phone:hover {
    background: var(--white);
    color: var(--orange);
}

@media (max-width: 991.98px) {
    #main-navbar .navbar-collapse {
        background: var(--orange-dark);
        margin-top: 0.5rem;
        padding: 1rem;
        border-radius: var(--radius);
    }
    .btn-nav-phone {
        margin-top: 0.75rem;
        display: block;
        text-align: center;
    }
}


/* ============================================================
   Footer
   ============================================================ */

#site-footer {
    background: var(--gray-bg);
    position: relative;
}

.footer-accent {
    height: 3px;
    background: linear-gradient(90deg, var(--orange), var(--blue));
}

.footer-brand {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--dark);
    display: block;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    color: var(--gray-text);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.footer-phone {
    display: inline-flex;
    align-items: center;
    color: var(--dark);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    padding: 0.45rem 1.1rem;
    border: 1.5px solid var(--gray-border);
    border-radius: 50rem;
    transition: all 0.2s ease;
}

.footer-phone i {
    color: var(--orange);
    transition: color 0.2s ease;
}

.footer-phone:hover {
    border-color: var(--orange);
    color: var(--orange);
    background: var(--orange-light);
}

.footer-email {
    display: inline-flex;
    align-items: center;
    color: var(--gray-muted);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.15s ease;
}

.footer-email i {
    color: var(--blue);
    font-size: 0.85rem;
}

.footer-email:hover {
    color: var(--orange);
}

.footer-google {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-border);
    display: inline-block;
}

.footer-google-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    font-size: 0.85rem;
    transition: opacity 0.15s ease;
}

.footer-google-link:hover {
    opacity: 0.8;
}

.footer-google-stars {
    color: var(--orange);
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.footer-google-text {
    color: var(--gray-muted);
    font-weight: 500;
}

.footer-heading {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--dark);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    position: relative;
    padding-bottom: 0.6rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--orange), var(--blue));
    border-radius: 1px;
}

.footer-areas {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    max-width: 280px;
}

.footer-areas .footer-link {
    flex: 0 0 50%;
}

.footer-online-note {
    color: var(--blue-dark);
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 0.85rem;
    margin-bottom: 0;
}

.footer-links-col {
    display: flex;
    flex-direction: column;
}

.footer-link {
    color: var(--gray-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.15s ease, padding-left 0.15s ease;
    line-height: 1.9;
}

.footer-link:hover {
    color: var(--orange);
    padding-left: 3px;
}

/* Column dividers */
@media (min-width: 992px) {
    #site-footer .row > [class*="col-lg-4"]:not(:last-child) {
        border-right: 1px solid var(--gray-border);
        padding-right: 2rem;
    }
    #site-footer .row > [class*="col-lg-4"]:not(:first-child) {
        padding-left: 2rem;
    }
}

.footer-bottom {
    border-top: 1px solid var(--gray-border);
    padding: 1.25rem 0;
    text-align: center;
    color: var(--gray-muted);
    font-size: 0.85rem;
}

.footer-divider {
    color: var(--gray-border);
    margin: 0 0.5rem;
}


/* — HTMX — */

.htmx-indicator {
    display: none;
}
.htmx-request .htmx-indicator {
    display: inline-block;
}

@keyframes spin { to { transform: rotate(360deg); } }
.spin { display: inline-block; animation: spin 0.8s linear infinite; }