/* ============================================================================
   GULF BREEZE INSURANCE GROUP — Custom Demo Site CSS
   "Warm, Tropical, Approachable — Your Coastal Neighbor in Insurance"
   Fonts: Fraunces (headings) + Nunito (body)
   Colors: Teal #0d9488 primary, Coral #f97316 accent
   ============================================================================ */

/* ---- Custom Properties ---- */
:root {
    --gb-font-heading: 'Fraunces', Georgia, serif;
    --gb-font-body: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
    --gb-radius: 16px;
    --gb-radius-lg: 24px;
    --gb-radius-full: 9999px;
    --gb-teal: #0d9488;
    --gb-teal-light: #14b8a6;
    --gb-teal-dark: #0f766e;
    --gb-teal-darker: #115e59;
    --gb-coral: #f97316;
    --gb-coral-light: #fb923c;
    --gb-coral-dark: #ea580c;
    --gb-sand: #f0fdfa;
    --gb-sand-warm: #fefce8;
    --gb-shadow: 0 4px 16px rgba(13, 148, 136, 0.08);
    --gb-shadow-lg: 0 8px 32px rgba(13, 148, 136, 0.12);
    --gb-shadow-xl: 0 16px 48px rgba(13, 148, 136, 0.15);
    --gb-glow-teal: 0 0 0 4px rgba(13, 148, 136, 0.15);
    --gb-glow-coral: 0 0 0 4px rgba(249, 115, 22, 0.15);
}

/* ---- Typography ---- */
body {
    font-family: var(--gb-font-body);
}

h1, h2, h3, h4, h5, h6,
.demo-logo__name,
.demo-stats-bar__number,
.demo-process__number {
    font-family: var(--gb-font-heading);
}

h1 {
    font-weight: 600;
    font-style: normal;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

h2 {
    font-weight: 600;
    letter-spacing: -0.01em;
}

h3 {
    font-weight: 500;
}

/* ---- Header Overrides ---- */
.demo-logo__name {
    font-weight: 600;
    font-size: 1.3125rem;
    color: var(--gb-teal);
    letter-spacing: -0.01em;
}

.demo-header {
    border-bottom: 2px solid var(--gb-sand);
}

.demo-header--scrolled {
    background: rgba(255, 255, 255, 0.97);
    border-bottom-color: transparent;
}

/* ---- Nav Overrides ---- */
.demo-nav a,
.demo-nav__trigger {
    font-family: var(--gb-font-body);
    font-weight: 600;
    border-radius: var(--gb-radius);
}

.demo-nav a:hover,
.demo-nav__trigger:hover {
    background: var(--gb-sand);
    color: var(--gb-teal);
}

.demo-nav__menu {
    border-radius: var(--gb-radius);
    border: 1px solid rgba(13, 148, 136, 0.1);
    box-shadow: var(--gb-shadow-lg);
}

/* ---- Buttons ---- */
.demo-btn {
    font-family: var(--gb-font-body);
    font-weight: 700;
    border-radius: var(--gb-radius-full);
    transition: all 0.2s ease;
}

.demo-btn--primary {
    background: var(--gb-teal);
    box-shadow: 0 2px 8px rgba(13, 148, 136, 0.25);
}

.demo-btn--primary:hover {
    background: var(--gb-teal-dark);
    box-shadow: 0 4px 16px rgba(13, 148, 136, 0.35);
    transform: translateY(-1px);
}

.demo-btn--secondary {
    color: var(--gb-teal);
    border-color: var(--gb-teal);
    border-width: 2px;
}

.demo-btn--secondary:hover {
    background: rgba(13, 148, 136, 0.06);
    color: var(--gb-teal-dark);
    border-color: var(--gb-teal-dark);
}

.demo-btn--coral {
    background: var(--gb-coral);
    color: #fff;
    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.25);
}

.demo-btn--coral:hover {
    background: var(--gb-coral-dark);
    color: #fff;
    box-shadow: 0 4px 16px rgba(249, 115, 22, 0.35);
    transform: translateY(-1px);
}

/* ---- Links ---- */
a {
    color: var(--gb-teal);
}

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

.demo-link {
    color: var(--gb-coral);
    font-weight: 700;
}

.demo-link:hover {
    color: var(--gb-coral-dark);
}

/* ---- Floating Card Hero ---- */
.gb-hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding: 80px 0;
    overflow: hidden;
    text-align: left;
}

.gb-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.gb-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.55) 0%, rgba(13, 148, 136, 0.35) 50%, rgba(30, 41, 59, 0.5) 100%);
}

.gb-hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
}

.gb-hero__floating-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--gb-radius-lg);
    padding: 48px 40px;
    max-width: 560px;
    box-shadow: var(--gb-shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.gb-hero__floating-card h1 {
    font-size: clamp(2rem, 4.5vw, 3rem);
    color: var(--gb-teal-darker);
    margin-bottom: 16px;
    font-style: normal;
}

.gb-hero__floating-card p {
    font-size: 1.0625rem;
    color: var(--demo-text-muted);
    line-height: 1.7;
    margin-bottom: 28px;
}

.gb-hero__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.gb-hero__actions .demo-btn--primary {
    background: var(--gb-teal);
    color: #fff;
    padding: 14px 32px;
    font-size: 1rem;
}

.gb-hero__actions .demo-btn--primary:hover {
    background: var(--gb-teal-dark);
    color: #fff;
}

.gb-hero__actions .demo-btn--coral {
    padding: 14px 32px;
    font-size: 1rem;
}

.gb-hero__trust {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.8125rem;
    color: var(--demo-text-muted);
    font-weight: 600;
}

.gb-hero__trust span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.gb-hero__trust-icon {
    color: var(--gb-teal);
    font-size: 1rem;
}

/* ---- Wave Section Separator ---- */
.gb-wave {
    display: block;
    width: 100%;
    height: 60px;
    position: relative;
    overflow: hidden;
}

.gb-wave--teal {
    background: #fff;
}

.gb-wave--teal svg {
    fill: var(--gb-sand);
}

.gb-wave--white {
    background: var(--gb-sand);
}

.gb-wave--white svg {
    fill: #fff;
}

.gb-wave--teal-solid {
    background: #fff;
}

.gb-wave--teal-solid svg {
    fill: var(--gb-teal-dark);
}

.gb-wave--from-teal {
    background: var(--gb-teal-dark);
}

.gb-wave--from-teal svg {
    fill: #fff;
}

.gb-wave svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ---- Trust Row ("Why Gulf Breeze") ---- */
.gb-trust-section {
    padding: 64px 0;
}

.gb-trust-card {
    text-align: center;
    padding: 32px 24px;
    background: #fff;
    border-radius: var(--gb-radius);
    border: 1px solid rgba(13, 148, 136, 0.1);
    box-shadow: var(--gb-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gb-trust-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--gb-shadow-xl);
}

.gb-trust-card__icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--gb-sand);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 2rem;
    transition: background 0.25s ease;
}

.gb-trust-card:hover .gb-trust-card__icon {
    background: rgba(13, 148, 136, 0.12);
}

.gb-trust-card h3 {
    font-family: var(--gb-font-heading);
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--gb-teal-darker);
}

.gb-trust-card p {
    font-size: 0.9375rem;
    color: var(--demo-text-muted);
    line-height: 1.65;
}

/* ---- Hurricane Checklist ---- */
.gb-checklist-section {
    background: var(--gb-sand);
    padding: 64px 0;
}

.gb-checklist {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.gb-checklist__item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: #fff;
    border-radius: var(--gb-radius);
    padding: 24px;
    border: 1px solid rgba(13, 148, 136, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.25s ease;
    cursor: default;
}

.gb-checklist__item:hover {
    border-color: var(--gb-teal);
    box-shadow: var(--gb-shadow);
    transform: translateX(4px);
}

.gb-checklist__number {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gb-teal);
    color: #fff;
    font-family: var(--gb-font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease;
}

.gb-checklist__item:hover .gb-checklist__number {
    background: var(--gb-coral);
}

.gb-checklist__content {
    flex: 1;
}

.gb-checklist__content h4 {
    font-family: var(--gb-font-heading);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--demo-text);
    margin-bottom: 4px;
}

.gb-checklist__content p {
    font-size: 0.9375rem;
    color: var(--demo-text-muted);
    line-height: 1.6;
    margin: 0;
}

.gb-checklist__check {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    border: 2px solid var(--demo-border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    transition: all 0.25s ease;
    color: transparent;
    font-size: 0.875rem;
}

.gb-checklist__item:hover .gb-checklist__check {
    border-color: var(--gb-teal);
    background: var(--gb-teal);
    color: #fff;
}

/* ---- Service Cards Override ---- */
.demo-service-card,
.gb-service-card {
    border-radius: var(--gb-radius);
    border: 1px solid rgba(13, 148, 136, 0.08);
    border-top: 3px solid var(--gb-teal);
    box-shadow: var(--gb-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.demo-service-card:hover,
.gb-service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--gb-shadow-xl);
    border-top-color: var(--gb-coral);
    border-color: rgba(13, 148, 136, 0.15);
}

.demo-service-card__image {
    border-radius: var(--gb-radius) var(--gb-radius) 0 0;
}

.demo-service-card h3 a:hover,
.gb-service-card h3 a:hover {
    color: var(--gb-teal);
}

.gb-service-card .demo-link,
.demo-service-card .demo-link {
    color: var(--gb-coral);
    font-weight: 700;
}

.gb-service-card .demo-link:hover,
.demo-service-card .demo-link:hover {
    color: var(--gb-coral-dark);
}

/* ---- Testimonials Override ---- */
.demo-testimonial {
    border-radius: var(--gb-radius);
    border: 1px solid rgba(13, 148, 136, 0.08);
    box-shadow: var(--gb-shadow);
    padding-top: 44px;
}

.demo-testimonial:hover {
    transform: translateY(-4px);
    box-shadow: var(--gb-shadow-lg);
}

.demo-testimonial__icon {
    color: var(--gb-teal-light);
    opacity: 0.2;
}

.demo-star {
    color: var(--gb-coral);
}

.demo-testimonial__avatar {
    background: var(--gb-teal);
    width: 44px;
    height: 44px;
    font-size: 0.9375rem;
}

.demo-testimonial__author span {
    color: var(--demo-text-muted);
}

/* ---- Area Tags Override ---- */
.demo-area-tag {
    border-radius: var(--gb-radius-full);
    padding: 10px 20px;
    border: 2px solid rgba(13, 148, 136, 0.15);
    font-weight: 600;
    transition: all 0.2s ease;
}

.demo-area-tag:hover {
    background: var(--gb-teal);
    color: #fff;
    border-color: var(--gb-teal);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.2);
}

/* ---- Stats Bar Override ---- */
.gb-stats-bar {
    background: linear-gradient(135deg, var(--gb-teal-dark) 0%, var(--gb-teal) 100%);
    padding: 56px 0;
}

.gb-stats-bar .demo-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 32px;
}

.gb-stats-bar__item {
    text-align: center;
    min-width: 120px;
}

.gb-stats-bar__number {
    display: block;
    font-family: var(--gb-font-heading);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 4px;
    color: var(--gb-coral-light);
}

.gb-stats-bar__label {
    display: block;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* ---- CTA Bar Override ---- */
.gb-cta-bar {
    background: linear-gradient(135deg, var(--gb-teal-dark) 0%, var(--gb-teal) 60%, var(--gb-teal-light) 100%);
    color: #fff;
    padding: 56px 0;
    position: relative;
    overflow: hidden;
}

.gb-cta-bar--image {
    background: var(--gb-teal-dark);
}

.gb-cta-bar__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.gb-cta-bar__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.88), rgba(13, 148, 136, 0.75));
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.gb-cta-bar .demo-container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}

.gb-cta-bar__content h2 {
    font-family: var(--gb-font-heading);
    font-size: clamp(1.375rem, 3vw, 1.75rem);
    margin-bottom: 6px;
    color: #fff;
}

.gb-cta-bar__content p {
    opacity: 0.9;
    font-size: 0.9375rem;
}

.gb-cta-bar__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.gb-cta-bar__actions .demo-btn--primary {
    background: #fff;
    color: var(--gb-teal);
    border-radius: var(--gb-radius-full);
}

.gb-cta-bar__actions .demo-btn--primary:hover {
    background: #f0fdfa;
    color: var(--gb-teal-dark);
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.2);
}

.gb-cta-bar__actions .demo-btn--secondary {
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
    border-radius: var(--gb-radius-full);
}

.gb-cta-bar__actions .demo-btn--secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
}

/* Decorative circles for CTA warmth */
.gb-cta-bar::before,
.gb-cta-bar::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    pointer-events: none;
}

.gb-cta-bar::before {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -50px;
    z-index: 1;
}

.gb-cta-bar::after {
    width: 200px;
    height: 200px;
    bottom: -80px;
    left: 10%;
    z-index: 1;
}

/* ---- Why Choose / Area Card Override ---- */
.demo-why-card,
.demo-area-card {
    border-radius: var(--gb-radius);
    box-shadow: var(--gb-shadow);
    border: 1px solid rgba(13, 148, 136, 0.08);
}

.demo-why-card:hover {
    box-shadow: var(--gb-shadow-xl);
}

.demo-why-card__image {
    border-radius: var(--gb-radius) var(--gb-radius) 0 0;
}

/* ---- Process Number Override ---- */
.demo-process__number {
    background: var(--gb-teal);
    font-family: var(--gb-font-heading);
    box-shadow: 0 4px 16px rgba(13, 148, 136, 0.25);
}

.demo-process__step h3 {
    font-family: var(--gb-font-heading);
}

/* ---- Section Backgrounds ---- */
.demo-section--alt {
    background: var(--gb-sand);
}

.demo-section h2 {
    color: var(--gb-teal-darker);
}

.demo-section__subtitle {
    font-size: 1.0625rem;
}

/* ---- Content Checklist Override ---- */
.demo-content li::before {
    color: var(--gb-teal);
}

.demo-checklist li::before {
    color: var(--gb-teal);
}

/* ---- Page Hero Override (interior pages) ---- */
.demo-page-hero--image .demo-page-hero__overlay,
.demo-page-hero__overlay {
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.82), rgba(13, 148, 136, 0.68));
}

.demo-page-hero h1,
.demo-page-hero--image h1 {
    font-family: var(--gb-font-heading);
}

/* ---- Footer Override ---- */
.demo-footer::before {
    background: linear-gradient(90deg, var(--gb-teal), var(--gb-coral), var(--gb-teal-light));
}

/* ---- Header Phone Button ---- */
.demo-header__actions .demo-btn--phone {
    background: var(--gb-coral);
    color: #fff;
    border-radius: var(--gb-radius-full);
    font-weight: 700;
}

.demo-header__actions .demo-btn--phone:hover {
    background: var(--gb-coral-dark);
    color: #fff;
}

/* ---- Section heading accents ---- */
.gb-section-label {
    display: inline-block;
    font-family: var(--gb-font-body);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gb-coral);
    margin-bottom: 8px;
}

/* ---- Services section ---- */
.gb-services-section h2 {
    text-align: center;
}

.gb-services-section .demo-section__subtitle {
    text-align: center;
}

/* ---- Form Override ---- */
.demo-form input:focus,
.demo-form select:focus,
.demo-form textarea:focus {
    border-color: var(--gb-teal);
    box-shadow: var(--gb-glow-teal);
}

.demo-form input,
.demo-form select,
.demo-form textarea {
    border-radius: var(--gb-radius);
}

/* ---- Breadcrumbs Override ---- */
.demo-breadcrumbs a {
    color: var(--gb-teal);
}

/* ---- Contact Grid ---- */
.demo-contact-grid {
    gap: 48px;
}

/* ---- FAQ Override ---- */
.demo-faq__item h3 {
    color: var(--gb-teal-darker);
    font-family: var(--gb-font-heading);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .gb-hero {
        min-height: auto;
        padding: 48px 0;
    }

    .gb-hero__floating-card {
        max-width: 100%;
        padding: 32px 24px;
        border-radius: var(--gb-radius);
    }

    .gb-hero__floating-card h1 {
        font-size: 1.875rem;
    }

    .gb-hero__actions {
        flex-direction: column;
    }

    .gb-hero__actions .demo-btn {
        width: 100%;
        justify-content: center;
    }

    .gb-hero__trust {
        justify-content: center;
        font-size: 0.75rem;
    }

    .gb-checklist__item {
        padding: 20px 16px;
        gap: 16px;
    }

    .gb-checklist__number {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

    .gb-cta-bar .demo-container {
        flex-direction: column;
        text-align: center;
    }

    .gb-cta-bar__actions {
        justify-content: center;
    }

    .gb-stats-bar .demo-container {
        gap: 24px;
    }

    .gb-wave {
        height: 40px;
    }
}

@media (max-width: 480px) {
    .gb-hero__floating-card {
        padding: 24px 20px;
    }

    .gb-trust-card {
        padding: 24px 20px;
    }

    .gb-checklist__check {
        display: none;
    }

    .gb-stats-bar__item {
        min-width: 100px;
        flex: 1 1 40%;
    }
}

/* ---- Reduced Motion ---- */
@media (prefers-reduced-motion: reduce) {
    .gb-trust-card,
    .gb-checklist__item,
    .demo-service-card,
    .demo-testimonial,
    .demo-area-tag {
        transition: none;
    }

    .gb-trust-card:hover,
    .gb-checklist__item:hover,
    .demo-service-card:hover,
    .demo-testimonial:hover {
        transform: none;
    }
}
