/* ═══════════════════════════════════════════════════════════════
   COASTAL CUSTOM POOLS — GLOBAL DESIGN TOKENS & BASE STYLES
   ═══════════════════════════════════════════════════════════════ */

:root {
    --navy: #041632;
    --navy-mid: #0a2040;
    --navy-light: #0d2a52;
    --charcoal: #393837;
    --gold: #C9A84C;
    --gold-light: #dfc278;
    --gold-dim: rgba(201,168,76,0.15);
    --white: #ffffff;
    --off-white: #f7f5f1;
    --light-bg: #f0ede8;
    --light-mid: #e5e1db;
    --text-dark: #1a1a1a;
    --text-mid: #393837;
    --text-muted: #6b6560;
    --border-light: rgba(57,56,55,0.12);
}

/* ─── RESET ELEMENTOR DEFAULTS ─────────────────────────────── */
html {
    overflow-x: hidden !important;
}

body {
    font-family: 'Jost', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden !important;
    max-width: 100vw;
}

/* ─── SECTION LABEL (reusable accent) ──────────────────────── */
.coastal-section-label {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: 'Jost', sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 28px;
}

.coastal-section-label::before {
    content: '';
    display: block;
    width: 32px;
    height: 1px;
    background: var(--gold);
}

/* ─── GOLD RULE DIVIDER ────────────────────────────────────── */
.coastal-gold-rule {
    width: 48px;
    height: 1px;
    background: var(--gold);
    margin: 28px 0;
}

/* ─── BUTTONS ──────────────────────────────────────────────── */
.coastal-btn-gold {
    display: inline-block;
    font-family: 'Jost', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--navy);
    background: var(--gold);
    padding: 16px 36px;
    border: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    text-decoration: none;
    line-height: 1;
}

.coastal-btn-gold:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
    color: var(--navy);
}

.coastal-btn-outline {
    display: inline-block;
    font-family: 'Jost', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--white);
    background: transparent;
    padding: 15px 36px;
    border: 1px solid rgba(255,255,255,0.4);
    cursor: pointer;
    transition: border-color 0.3s, color 0.3s;
    text-decoration: none;
    line-height: 1;
}

.coastal-btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.coastal-btn-outline--dark {
    color: var(--charcoal);
    border-color: var(--border-light);
}

.coastal-btn-outline--dark:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* ─── FADE IN ANIMATIONS ──────────────────────────────────── */
.coastal-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.coastal-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── EDITOR: Disable fade-in so all content is visible ───── */
.elementor-editor-active .coastal-fade-in,
.elementor-editor-preview .coastal-fade-in {
    opacity: 1 !important;
    transform: none !important;
}

/* ─── KEYFRAMES ────────────────────────────────────────────── */
@keyframes coastalFadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes coastalScrollPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* ─── TYPOGRAPHY HELPERS ──────────────────────────────────── */
.coastal-heading-serif {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    color: var(--navy);
}

.coastal-body-text {
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    line-height: 1.8;
    color: var(--charcoal);
}
