/* ==========================================================================
   Spotless Pool Maintenance Inc - Main Stylesheet
   ========================================================================== */

/* CSS Variables */
:root {
    --primary-color: #0077b6;
    --primary-dark: #005f8a;
    --primary-light: #00a8e8;
    --secondary-color: #00b4d8;
    --accent-color: #90e0ef;
    --text-color: #1a1a2e;
    --text-light: #4a4a68;
    --text-muted: #6b6b80;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --bg-dark: #023047;
    --border-color: #e0e0e0;
    --success-color: #28a745;
    --error-color: #dc3545;
    --warning-color: #ffc107;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
}

/* Reset and Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

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

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

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

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-color);
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }

p {
    margin-bottom: 1rem;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-outline {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--bg-white);
}

.btn-secondary:hover {
    background-color: #0096c7;
    color: var(--bg-white);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
}

/* Header and Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
}

.navbar {
    height: 70px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    color: var(--text-color);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a.active {
    color: var(--primary-color);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding-top: 120px;
    padding-bottom: 60px;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero h1 {
    font-size: 2.75rem;
    color: var(--bg-dark);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.hero-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* Page Header */
.page-header {
    padding-top: 140px;
    padding-bottom: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--bg-dark) 100%);
    color: var(--bg-white);
    text-align: center;
}

.page-header h1 {
    color: var(--bg-white);
    margin-bottom: 0.5rem;
}

.page-header p {
    color: var(--accent-color);
    font-size: 1.25rem;
    margin-bottom: 0;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.125rem;
    margin-top: -0.5rem;
    margin-bottom: 3rem;
}

.alt-bg {
    background-color: var(--bg-light);
}

/* What We Do Section */
.what-we-do {
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-card h3 {
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Who We Serve Section */
.who-we-serve {
    background-color: var(--bg-light);
}

.serve-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.serve-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.serve-card:hover {
    box-shadow: var(--shadow-lg);
}

.serve-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.serve-content {
    padding: 30px;
}

.serve-content h3 {
    margin-bottom: 0.75rem;
}

.serve-content p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Problem We Solve Section */
.problem-solve {
    background-color: var(--bg-white);
}

.problem-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.problem-text h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.problem-text ul {
    margin-bottom: 1.5rem;
}

.problem-text li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

.problem-text li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.problem-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* Why Choose Us Section */
.why-choose-us {
    background-color: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature {
    text-align: center;
    padding: 30px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature h3 {
    margin-bottom: 0.75rem;
}

.feature p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Lead Form Section */
.lead-form-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--bg-dark) 100%);
    padding: 80px 0;
}

.lead-form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-lg);
}

.lead-form-info h2,
.lead-form-info h3 {
    color: var(--bg-dark);
}

.lead-form-info p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.contact-details {
    margin-top: 30px;
}

.contact-item {
    margin-bottom: 15px;
}

.contact-item strong {
    display: block;
    color: var(--text-color);
    margin-bottom: 5px;
}

.contact-item a,
.contact-item span {
    color: var(--text-light);
}

/* Forms */
.lead-form,
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 3px;
    cursor: pointer;
}

.checkbox-group label {
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-group label a {
    text-decoration: underline;
}

.form-disclaimer {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    margin: 0;
}

.form-disclaimer a {
    text-decoration: underline;
}

/* About Page Styles */
.about-story {
    background-color: var(--bg-white);
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.story-text h2 {
    margin-bottom: 1.5rem;
}

.story-text p {
    color: var(--text-light);
}

.story-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* Mission & Vision */
.mission-vision {
    background-color: var(--bg-light);
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.mv-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.mv-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.mv-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mv-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Values Section */
.our-values {
    background-color: var(--bg-white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.value-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: var(--radius-lg);
    position: relative;
}

.value-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    opacity: 0.3;
}

.value-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Sets Apart Section */
.sets-apart {
    background-color: var(--bg-light);
}

.apart-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.apart-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.apart-list {
    list-style: none;
}

.apart-list li {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.apart-list li:last-child {
    border-bottom: none;
}

.apart-list strong {
    display: block;
    color: var(--text-color);
    margin-bottom: 5px;
}

.apart-list p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Service Area Section */
.service-area {
    background-color: var(--bg-white);
}

.area-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.area-text ul {
    columns: 2;
    margin: 20px 0;
}

.area-text li {
    padding: 5px 0;
    color: var(--text-light);
}

.area-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* Contact Page */
.contact-section {
    background-color: var(--bg-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h2 {
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.contact-card {
    background: var(--bg-light);
    padding: 25px;
    border-radius: var(--radius-md);
    text-align: center;
}

.contact-card-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 15px;
}

.contact-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.contact-card h3 {
    font-size: 1rem;
    margin-bottom: 10px;
}

.contact-card p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.contact-card .small {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.business-hours,
.legal-info {
    background: var(--bg-light);
    padding: 25px;
    border-radius: var(--radius-md);
    margin-top: 20px;
}

.business-hours h3,
.legal-info h3 {
    margin-bottom: 15px;
}

.hours-table,
.legal-table {
    width: 100%;
}

.hours-table td,
.legal-table td {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.hours-table td:last-child,
.legal-table td:last-child {
    text-align: right;
}

.hours-table tr:last-child td,
.legal-table tr:last-child td {
    border-bottom: none;
}

.hours-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 10px;
    margin-bottom: 0;
}

.contact-form-wrapper {
    background: var(--bg-light);
    padding: 40px;
    border-radius: var(--radius-lg);
}

.contact-form-wrapper h2 {
    margin-bottom: 0.5rem;
}

.contact-form-wrapper > p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* Map Section */
.map-section {
    background-color: var(--bg-light);
    text-align: center;
}

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-top: 30px;
}

.map-address {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.map-address p {
    margin-bottom: 0;
}

/* Services Page */
.services-overview {
    background-color: var(--bg-white);
}

.services-main-grid {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.service-detail-card {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 30px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.service-detail-card:nth-child(even) {
    grid-template-columns: 1fr 350px;
}

.service-detail-card:nth-child(even) .service-image {
    order: 2;
}

.service-image {
    height: 100%;
    min-height: 300px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-content h4 {
    font-size: 1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.service-content ul {
    margin-bottom: 1rem;
}

.service-content li {
    padding-left: 20px;
    position: relative;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.service-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.service-content p:last-child {
    margin-bottom: 0;
}

/* Work Examples */
.work-examples {
    background-color: var(--bg-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.gallery-item {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.gallery-caption {
    padding: 20px;
}

.gallery-caption h4 {
    margin-bottom: 0.5rem;
}

.gallery-caption p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* Service Packages */
.service-packages {
    background-color: var(--bg-white);
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.package-card {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    position: relative;
    transition: var(--transition);
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.package-card.featured {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--bg-dark) 100%);
    color: var(--bg-white);
    transform: scale(1.05);
}

.package-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.package-card.featured h3,
.package-card.featured h4,
.package-card.featured li {
    color: var(--bg-white);
}

.package-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--warning-color);
    color: var(--text-color);
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.package-header {
    text-align: center;
    margin-bottom: 30px;
}

.package-header p {
    color: var(--text-light);
    margin-bottom: 0;
}

.package-card.featured .package-header p {
    color: var(--accent-color);
}

.package-features {
    margin-bottom: 30px;
}

.package-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-light);
}

.package-card.featured .package-features li {
    border-color: rgba(255, 255, 255, 0.2);
}

.package-features li:last-child {
    border-bottom: none;
}

.packages-note {
    text-align: center;
    color: var(--text-muted);
    margin-top: 30px;
    margin-bottom: 0;
}

/* Business Model Page */
.business-section {
    padding: 80px 0;
}

.business-section:nth-child(odd) {
    background-color: var(--bg-light);
}

.business-section .section-intro {
    text-align: center;
    color: var(--text-light);
    font-size: 1.125rem;
    max-width: 800px;
    margin: 0 auto 40px;
}

.business-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.business-content-text h3 {
    margin-top: 0;
}

.business-content-text ul {
    margin-left: 20px;
}

.business-content-text li {
    margin-bottom: 10px;
    color: var(--text-light);
}

.business-content-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.target-audience-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.audience-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.audience-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.audience-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
}

.audience-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.audience-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.revenue-model {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.revenue-item {
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.revenue-item h3 {
    color: var(--primary-color);
}

.revenue-item ul {
    margin-left: 20px;
}

.revenue-item li {
    color: var(--text-light);
    margin-bottom: 8px;
}

.data-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.data-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.data-card ul {
    margin-left: 20px;
}

.data-card li {
    color: var(--text-light);
    margin-bottom: 8px;
}

.purpose-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.purpose-item {
    text-align: center;
    padding: 30px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.purpose-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--bg-white);
    border-radius: 50%;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.purpose-item p {
    color: var(--text-light);
    margin-bottom: 0;
}

.compliance-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.compliance-item {
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.compliance-item ul {
    margin-left: 20px;
}

.compliance-item li {
    color: var(--text-light);
    margin-bottom: 8px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--bg-dark) 100%);
    color: var(--bg-white);
    text-align: center;
    padding: 80px 0;
}

.cta-section h2 {
    color: var(--bg-white);
    margin-bottom: 1rem;
}

.cta-section p {
    color: var(--accent-color);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* Legal Content */
.legal-content {
    background-color: var(--bg-white);
    padding: 80px 0;
}

.legal-wrapper {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 50px;
}

.legal-nav {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.legal-nav h3 {
    margin-bottom: 1rem;
}

.legal-nav ul {
    border-left: 2px solid var(--border-color);
    padding-left: 20px;
}

.legal-nav a {
    display: block;
    padding: 8px 0;
    color: var(--text-light);
    font-size: 0.95rem;
}

.legal-nav a:hover,
.legal-nav a.active {
    color: var(--primary-color);
}

.legal-text section {
    margin-bottom: 40px;
}

.legal-text h2 {
    color: var(--primary-color);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    margin-bottom: 20px;
}

.legal-text h3 {
    margin-top: 25px;
    margin-bottom: 15px;
}

.legal-text ul {
    margin-left: 25px;
    margin-bottom: 15px;
}

.legal-text li {
    margin-bottom: 10px;
    color: var(--text-light);
}

.legal-text p {
    color: var(--text-light);
}

.contact-block {
    background: var(--bg-light);
    padding: 25px;
    border-radius: var(--radius-md);
    margin-top: 20px;
}

.contact-block p {
    margin-bottom: 5px;
}

.cookie-table {
    overflow-x: auto;
    margin: 20px 0;
}

.cookie-table table {
    width: 100%;
    border-collapse: collapse;
}

.cookie-table th,
.cookie-table td {
    padding: 12px 15px;
    text-align: left;
    border: 1px solid var(--border-color);
}

.cookie-table th {
    background: var(--bg-light);
    font-weight: 600;
}

.cookie-table td {
    color: var(--text-light);
}

.third-party-list {
    display: grid;
    gap: 20px;
    margin: 25px 0;
}

.third-party-item {
    background: var(--bg-light);
    padding: 20px;
    border-radius: var(--radius-md);
}

.third-party-item h4 {
    margin-bottom: 10px;
}

.third-party-item p {
    margin-bottom: 10px;
}

.browser-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin: 15px 0;
}

.browser-links a {
    padding: 8px 16px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
}

/* Accessibility Page */
.accessibility-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.accessibility-text section {
    margin-bottom: 50px;
}

.accessibility-text h2 {
    color: var(--primary-color);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    margin-bottom: 20px;
}

.accessibility-text h3 {
    margin-top: 25px;
}

.accessibility-text ul {
    margin-left: 25px;
    margin-bottom: 15px;
}

.accessibility-text li {
    margin-bottom: 8px;
    color: var(--text-light);
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: var(--bg-white);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-section h4 {
    color: var(--bg-white);
    margin-bottom: 20px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.footer-section ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-section .contact-list li {
    color: rgba(255, 255, 255, 0.7);
}

.footer-disclaimer {
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-disclaimer p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    padding: 30px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: 900px;
    margin: 0 auto;
}

.cookie-content h3 {
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.cookie-content p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.cookie-link {
    font-size: 0.9rem;
    text-decoration: underline;
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-modal.show {
    display: flex;
}

.cookie-modal-content {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    max-width: 500px;
    width: 100%;
}

.cookie-modal-content h3 {
    margin-bottom: 15px;
}

.cookie-modal-content > p {
    color: var(--text-light);
    margin-bottom: 25px;
}

.cookie-option {
    margin-bottom: 20px;
}

.cookie-option label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.cookie-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
}

.cookie-option p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 5px 0 0 30px;
}

.cookie-modal-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image {
        display: none;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lead-form-wrapper {
        grid-template-columns: 1fr;
    }

    .story-content {
        grid-template-columns: 1fr;
    }

    .mv-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .apart-content {
        grid-template-columns: 1fr;
    }

    .area-content {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .service-detail-card {
        grid-template-columns: 1fr;
    }

    .service-detail-card:nth-child(even) {
        grid-template-columns: 1fr;
    }

    .service-detail-card:nth-child(even) .service-image {
        order: 0;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .packages-grid {
        grid-template-columns: 1fr;
    }

    .package-card.featured {
        transform: none;
    }

    .target-audience-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .revenue-model {
        grid-template-columns: 1fr;
    }

    .data-grid {
        grid-template-columns: 1fr;
    }

    .purpose-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .compliance-info {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-white);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 50px;
        gap: 0;
        transition: var(--transition);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
    }

    .nav-menu a {
        display: block;
        padding: 15px 20px;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .serve-grid {
        grid-template-columns: 1fr;
    }

    .problem-content {
        grid-template-columns: 1fr;
    }

    .business-content-grid {
        grid-template-columns: 1fr;
    }

    .contact-cards {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .legal-wrapper {
        grid-template-columns: 1fr;
    }

    .legal-nav {
        position: static;
        margin-bottom: 30px;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .target-audience-grid {
        grid-template-columns: 1fr;
    }

    .purpose-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cookie-banner {
        padding: 20px;
    }

    .cookie-buttons {
        flex-direction: column;
    }

    .cookie-modal-content {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    section {
        padding: 60px 0;
    }

    .page-header {
        padding-top: 100px;
        padding-bottom: 40px;
    }

    .lead-form-wrapper {
        padding: 30px 20px;
    }

    .contact-form-wrapper {
        padding: 30px 20px;
    }

    .hero {
        padding-top: 100px;
        padding-bottom: 40px;
    }

    .cta-section {
        padding: 60px 0;
    }
}

/* Print Styles */
@media print {
    .header,
    .cookie-banner,
    .cookie-modal,
    .hero-buttons,
    .lead-form,
    .contact-form,
    .cta-section {
        display: none !important;
    }

    .hero {
        padding-top: 0;
        min-height: auto;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    a {
        text-decoration: underline;
    }
}
