:root {
    --texas-blue: #0f4aa0;
    --texas-red: #cc1f2f;
    --dark-gray: #111827;
    --warm-cream: #faf8f3;
    --warm-bg: #f5f1e8;
}

* {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: white;
    color: var(--dark-gray);
}

h1, h2, h3, h4, h5, h6, .section-title {
    font-family: 'Playfair Display', serif;
}

.btn-primary {
    background-color: var(--texas-blue);
    color: white;
    padding: 0.875rem 2rem;
    padding-left: 1.5rem;
    border-radius: 1rem;
    font-weight: 600;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    position: relative;
}

.btn-primary::before {
    content: '★';
    font-size: 1.1rem;
    display: inline-block;
}

.btn-primary:hover {
    background-color: #0a3575;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(15, 74, 160, 0.3);
}

.btn-secondary {
    background-color: white;
    color: var(--texas-blue);
    padding: 0.875rem 2rem;
    border-radius: 1rem;
    font-weight: 600;
    border: 3px solid var(--texas-blue);
    transition: all 0.2s;
    display: inline-block;
    text-decoration: none;
}

.btn-secondary:hover {
    background-color: var(--texas-blue);
    color: white;
    transform: translateY(-2px);
}

.btn-secondary-sm {
    background-color: white;
    color: var(--texas-blue);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    border: 2px solid var(--texas-blue);
    transition: all 0.2s;
}

.btn-secondary-sm:hover {
    background-color: var(--texas-blue);
    color: white;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background-color: white;
    border-radius: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(15, 74, 160, 0.1);
    font-weight: 500;
    font-size: 0.875rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-gray);
    font-family: 'Playfair Display', serif;
}

/* Text contrast enhancement for headings over decorative imagery */
.section-title-with-background {
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8), 0 1px 2px rgba(255, 255, 255, 0.6);
}

.section-divider {
    height: 4px;
    background: linear-gradient(to right, var(--texas-blue) 0%, var(--texas-blue) 50%, var(--texas-red) 50%, var(--texas-red) 100%);
    width: 120px;
    margin: 0 auto 2rem;
    border-radius: 2px;
}

.card {
    background-color: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 3px solid rgba(15, 74, 160, 0.1);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--texas-blue);
}

.icon-circle {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border: 2px solid rgba(15, 74, 160, 0.2);
}

.coverage-card {
    background-color: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 3px solid rgba(15, 74, 160, 0.1);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.coverage-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--texas-red);
}

.testimonial-card {
    background-color: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 3px solid rgba(204, 31, 47, 0.1);
}

.form-label {
    display: block;
    font-weight: 500;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #d1d5db;
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: border-color 0.2s;
    background-color: white;
}

.form-input:focus {
    outline: none;
    border-color: var(--texas-blue);
    box-shadow: 0 0 0 3px rgba(15, 74, 160, 0.1);
}

.checkbox-card {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 2px solid #d1d5db;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
    background-color: white;
}

.checkbox-card:hover {
    border-color: var(--texas-blue);
    background-color: #eff6ff;
}

.checkbox-card input[type="checkbox"]:checked,
.checkbox-card input[type="radio"]:checked {
    accent-color: var(--texas-blue);
}

.vehicle-item,
.driver-item {
    background-color: #fefdfb;
    border: 2px solid #e7e4dc;
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.state-chip {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #eff6ff;
    color: var(--texas-blue);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    margin: 0.25rem;
}

#us-map-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.state-path {
    transition: all 0.2s;
    cursor: pointer;
}

.state-path.served {
    fill: var(--texas-blue) !important;
    stroke: white !important;
    stroke-width: 1 !important;
}

.state-path.not-served {
    fill: #e5e7eb !important;
    stroke: white !important;
    stroke-width: 1 !important;
}

.state-path.served:hover {
    fill: var(--texas-red) !important;
    stroke-width: 2 !important;
}

.state-tooltip {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    pointer-events: none;
    z-index: 1000;
    display: none;
}

.hero-section {
    background: #f9fafb;
}

.texas-watermark {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    opacity: 0.05;
    width: 150px;
    height: 150px;
    pointer-events: none;
}

.lone-star {
    fill: var(--texas-blue);
}

header {
    background-color: white;
    border-bottom: 3px solid #f3f4f6;
}

/* Texas Flag Gradient */
.texas-flag-gradient {
    background: linear-gradient(
        to bottom,
        rgba(15, 74, 160, 0.05) 0%,
        rgba(15, 74, 160, 0.02) 33%,
        transparent 33%,
        transparent 66%,
        rgba(204, 31, 47, 0.02) 66%,
        rgba(204, 31, 47, 0.05) 100%
    );
}

/* Warm Wood Texture Background */
.wood-texture-bg {
    background-image: 
        linear-gradient(rgba(250, 248, 243, 0.85), rgba(250, 248, 243, 0.85)),
        url('attached_assets/stock_images/warm_wood_texture_na_e8173c32.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Bluebonnet accent decorations */
.bluebonnet-accent {
    position: absolute;
    opacity: 0.08;
    pointer-events: none;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    body {
        padding-bottom: 5rem;
    }
}
