/* ============================================
   Poolside Business Brokers - Premium Design
   ============================================ */

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --white: #ffffff;
    --off-white: #f8fafc;
    --light-gray: #f1f5f9;
    --border: #e2e8f0;
    --border-hover: #cbd5e1;
    --blue: #2c5282;
    --blue-light: #3b82f6;
    --blue-dark: #1e3a5f;
    --blue-bg: #eff6ff;
    --navy: #0f172a;
    --navy-light: #1e293b;
    --text-heading: #0f172a;
    --text-body: #475569;
    --text-muted: #94a3b8;
    --radius: 6px;
    --radius-lg: 12px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: var(--text-body);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Focus Styles */
:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
}

/* Skip Navigation */
.skip-nav {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--blue);
    color: var(--white);
    padding: 12px 24px;
    font-weight: 600;
    text-decoration: none;
    z-index: 10000;
    transition: top 0.2s;
    border-radius: 0 0 var(--radius) var(--radius);
}

.skip-nav:focus {
    top: 0;
}

/* Navigation */
nav {
    background: var(--white);
    padding: 16px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 44px;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-body);
    font-weight: 500;
    font-size: 0.88em;
    transition: color 0.2s;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.nav-links a:hover {
    color: var(--text-heading);
}

.nav-links a.phone-btn {
    color: var(--white) !important;
}

.nav-links a.phone-btn:hover {
    color: var(--white) !important;
}

.phone-btn {
    background: var(--blue);
    color: var(--white);
    padding: 10px 24px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85em;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: background 0.2s;
}

.phone-btn:hover {
    background: var(--blue-dark);
}

/* Hero Base */
.hero {
    background: var(--navy);
    padding: 100px 48px;
    text-align: center;
    color: var(--white);
}

.hero h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3.2em;
    margin-bottom: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--white);
}

.hero p {
    font-size: 1.15em;
    max-width: 640px;
    margin: 0 auto;
    color: rgba(255,255,255,0.75);
    line-height: 1.8;
    font-weight: 400;
}

/* Buttons */
.cta-btn {
    background: var(--blue);
    color: var(--white);
    padding: 14px 36px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9em;
    display: inline-block;
    transition: background 0.2s, transform 0.2s;
    letter-spacing: 0.02em;
}

.cta-btn:hover {
    background: var(--blue-dark);
    transform: translateY(-1px);
}

.cta-btn-secondary {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.4);
}

.cta-btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border-color: rgba(255,255,255,0.6);
}

.cta-btn-outline {
    background: transparent;
    color: var(--blue);
    border: 1px solid var(--blue);
}

.cta-btn-outline:hover {
    background: var(--blue);
    color: var(--white);
}

.submit-btn {
    background: var(--blue);
    color: var(--white);
    padding: 14px;
    border: none;
    border-radius: var(--radius);
    font-size: 0.9em;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    letter-spacing: 0.02em;
}

.submit-btn:hover {
    background: var(--blue-dark);
}

.submit-btn:disabled {
    background: var(--border);
    color: var(--text-muted);
    cursor: not-allowed;
}

/* Form Base */
.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--text-heading);
    font-size: 0.9em;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 1em;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: var(--white);
    color: var(--text-heading);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(44,82,130,0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* Footer */
footer {
    background: var(--navy);
    color: rgba(255,255,255,0.8);
    padding: 72px 48px 36px;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    height: 70px;
    margin-bottom: 20px;
}

.footer-section h3 {
    margin-bottom: 16px;
    font-size: 0.8em;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
}

.footer-section p {
    color: rgba(255,255,255,0.6);
    line-height: 1.8;
    font-size: 0.95em;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.95em;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.35);
    font-size: 0.85em;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    color: var(--text-heading);
    padding: 4px;
    line-height: 1;
}

/* Section Spacing */
section {
    scroll-margin-top: 80px;
}

/* Responsive Base */
@media (max-width: 768px) {
    nav {
        padding: 12px 20px;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 16px 20px;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 8px 24px rgba(0,0,0,0.08);
        gap: 4px;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 10px 12px;
        border-radius: var(--radius);
    }

    .nav-links a:hover {
        background: var(--off-white);
    }

    .nav-links.active {
        display: flex;
    }

    .hero {
        padding: 72px 20px;
    }

    .hero h1 {
        font-size: 2.2em;
    }

    .hero p {
        font-size: 1em;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    footer {
        padding: 48px 20px 28px;
    }
}

/* Utility */
.section-title {
    text-align: center;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.4em;
    margin-bottom: 16px;
    color: var(--text-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section-intro {
    text-align: center;
    font-size: 1.08em;
    color: var(--text-body);
    max-width: 640px;
    margin: 0 auto 56px;
    line-height: 1.8;
}

/* Accent line */
.gold-line {
    width: 48px;
    height: 3px;
    background: var(--blue);
    margin: 0 auto 28px;
    border-radius: 2px;
}

.gold-line-left {
    width: 48px;
    height: 3px;
    background: var(--blue);
    margin: 0 0 28px;
    border-radius: 2px;
}
