/* The Pool Production Co. - Main Stylesheet */

/* ========================================
   CSS Variables
======================================== */
:root {
    --primary: #0077b6;
    --primary-dark: #005a8c;
    --primary-light: #00b4d8;
    --secondary: #90e0ef;
    --accent: #caf0f8;
    --dark: #1a1a2e;
    --gray-900: #16213e;
    --gray-700: #334155;
    --gray-500: #64748b;
    --gray-300: #cbd5e1;
    --gray-200: #e2e8f0;
    --gray-100: #f1f5f9;
    --white: #ffffff;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;

    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1);

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-700);
    background: var(--white);
}

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

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

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

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--dark);
    line-height: 1.3;
}

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

.section {
    padding: 80px 0;
}

.bg-light {
    background: var(--gray-100);
}

.text-center {
    text-align: center;
}

/* ========================================
   Header
======================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.top-bar {
    background: var(--dark);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 24px;
}

.top-bar a {
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar a:hover {
    color: var(--secondary);
}

.top-bar-right span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav {
    padding: 15px 0;
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
}

.logo i {
    font-size: 28px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-menu > li > a {
    display: block;
    padding: 10px 16px;
    color: var(--gray-700);
    font-weight: 500;
    border-radius: var(--radius-md);
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    color: var(--primary);
    background: var(--accent);
}

.has-dropdown {
    position: relative;
}

.has-dropdown > a i {
    font-size: 10px;
    margin-left: 4px;
    transition: var(--transition);
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown a {
    display: block;
    padding: 10px 20px;
    color: var(--gray-700);
}

.dropdown a:hover {
    background: var(--gray-100);
    color: var(--primary);
}

.nav-cta {
    margin-left: 16px;
}

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

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

/* ========================================
   Buttons
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--primary-dark);
    border-color: var(--secondary);
}

.btn-secondary:hover {
    background: var(--accent);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

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

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
}

.btn-outline-white:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
    color: var(--white);
}

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

.btn-white:hover {
    background: var(--gray-100);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 17px;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 14px;
}

.btn-block {
    width: 100%;
}

/* ========================================
   Hero Section
======================================== */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,192L48,176C96,160,192,128,288,138.7C384,149,480,203,576,213.3C672,224,768,192,864,181.3C960,171,1056,181,1152,186.7C1248,192,1344,192,1392,192L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    color: var(--white);
}

.hero h1 {
    font-size: 52px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 20px;
    opacity: 0.95;
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ========================================
   Features Bar
======================================== */
.features-bar {
    background: var(--dark);
    padding: 30px 0;
}

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

.feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--white);
}

.feature-item i {
    font-size: 28px;
    color: var(--secondary);
}

.feature-item span {
    font-weight: 500;
}

/* ========================================
   Section Headers
======================================== */
.section-tag {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-header {
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 40px;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   About Preview
======================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    font-size: 38px;
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 20px;
}

.check-list {
    margin: 24px 0;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-weight: 500;
}

.check-list i {
    color: var(--success);
    font-size: 20px;
    margin-top: 2px;
}

.image-placeholder {
    background: linear-gradient(135deg, var(--gray-200) 0%, var(--gray-300) 100%);
    border-radius: var(--radius-xl);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder i {
    font-size: 80px;
    color: var(--gray-500);
    opacity: 0.3;
}

.image-placeholder.blue {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

.image-placeholder.blue i {
    color: var(--white);
    opacity: 0.3;
}

/* ========================================
   Services Section
======================================== */
.services-tabs {
    max-width: 1000px;
    margin: 0 auto;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 12px 30px;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.tab-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

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

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

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-icon i {
    font-size: 28px;
    color: var(--white);
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--gray-500);
    font-size: 15px;
}

.services-cta {
    text-align: center;
    margin-top: 40px;
}

/* ========================================
   Why Choose Us
======================================== */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-content h2 {
    font-size: 38px;
    margin-bottom: 30px;
}

.why-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.why-item {
    display: flex;
    gap: 20px;
}

.why-icon {
    width: 50px;
    height: 50px;
    background: var(--accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.why-icon i {
    font-size: 22px;
    color: var(--primary);
}

.why-text h4 {
    font-size: 18px;
    margin-bottom: 6px;
}

.why-text p {
    color: var(--gray-500);
    font-size: 15px;
}

/* ========================================
   Testimonials
======================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

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

.testimonial-rating {
    color: var(--warning);
    font-size: 18px;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 17px;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--gray-700);
}

.testimonial-author strong {
    display: block;
    font-size: 16px;
    color: var(--dark);
}

.testimonial-author span {
    font-size: 14px;
    color: var(--gray-500);
}

/* ========================================
   CTA Section
======================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 38px;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ========================================
   Page Hero
======================================== */
.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}

.page-hero h1 {
    font-size: 46px;
    color: var(--white);
    margin-bottom: 12px;
}

.page-hero p {
    font-size: 20px;
    opacity: 0.9;
}

/* ========================================
   Service Pages
======================================== */
.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.intro-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.intro-content p {
    font-size: 17px;
    margin-bottom: 16px;
}

.services-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.service-card-full {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    display: flex;
    gap: 20px;
    transition: var(--transition);
}

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

.service-icon-large {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-icon-large i {
    font-size: 24px;
    color: var(--white);
}

.service-content h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.service-content p {
    color: var(--gray-500);
    font-size: 15px;
}

/* Two Column Grid */
.two-col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.two-col-grid.reverse {
    direction: rtl;
}

.two-col-grid.reverse > * {
    direction: ltr;
}

.col-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.col-content p {
    margin-bottom: 16px;
}

/* Process List */
.process-list {
    margin-top: 30px;
}

.process-item {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
}

.process-number {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.process-item h4 {
    font-size: 18px;
    margin-bottom: 4px;
}

.process-item p {
    color: var(--gray-500);
    font-size: 15px;
    margin: 0;
}

/* Industries Grid */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

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

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

.industry-item i {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 12px;
}

.industry-item h4 {
    font-size: 16px;
}

/* Benefits List */
.benefits-list {
    margin-top: 20px;
}

.benefits-list li {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.benefits-list i {
    color: var(--success);
    font-size: 22px;
    margin-top: 2px;
}

.benefits-list strong {
    display: block;
    font-size: 17px;
    margin-bottom: 4px;
}

.benefits-list p {
    color: var(--gray-500);
    font-size: 15px;
    margin: 0;
}

.benefits-list-simple li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}

.benefits-list-simple i {
    color: var(--primary);
    margin-top: 4px;
}

/* Equipment Grid */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.equipment-item {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.equipment-item i {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 12px;
}

.equipment-item h4 {
    font-size: 17px;
    margin-bottom: 6px;
}

.equipment-item p {
    color: var(--gray-500);
    font-size: 14px;
}

/* Free Estimate Box */
.free-estimate-box {
    background: var(--accent);
    border-radius: var(--radius-xl);
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.estimate-icon {
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.estimate-icon i {
    font-size: 32px;
    color: var(--white);
}

.estimate-content h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.estimate-content p {
    margin-bottom: 16px;
    color: var(--gray-700);
}

/* Signs Grid (Resurfacing) */
.signs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

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

.sign-icon {
    width: 60px;
    height: 60px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.sign-icon i {
    font-size: 24px;
    color: var(--primary);
}

.sign-item h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.sign-item p {
    color: var(--gray-500);
    font-size: 15px;
}

/* Service List */
.service-list-item {
    margin-bottom: 20px;
}

.service-list-item h4 {
    font-size: 18px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-list-item h4 i {
    color: var(--primary);
}

.service-list-item p {
    color: var(--gray-500);
    font-size: 15px;
    padding-left: 28px;
}

/* Process Timeline */
.process-timeline {
    max-width: 700px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 24px;
    margin-bottom: 30px;
    position: relative;
}

.timeline-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 50px;
    bottom: -30px;
    width: 2px;
    background: var(--gray-200);
}

.timeline-number {
    width: 42px;
    height: 42px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.timeline-content h4 {
    font-size: 20px;
    margin-bottom: 6px;
}

.timeline-content p {
    color: var(--gray-500);
}

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

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

.value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.value-icon i {
    font-size: 28px;
    color: var(--white);
}

.value-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.value-card p {
    color: var(--gray-500);
}

/* Service Areas */
.service-area-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    max-width: 600px;
    margin: 0 auto;
}

.service-areas-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.area-col h4 {
    margin-bottom: 10px;
}

.area-col ul {
    color: var(--gray-600);
}

.area-col li {
    padding: 6px 0;
}

/* ========================================
   Contact Page
======================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
}

.contact-info h2 {
    font-size: 32px;
    margin-bottom: 16px;
}

.contact-info > p {
    color: var(--gray-500);
    margin-bottom: 30px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-method {
    display: flex;
    gap: 16px;
}

.method-icon {
    width: 50px;
    height: 50px;
    background: var(--accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.method-icon i {
    font-size: 20px;
    color: var(--primary);
}

.method-content h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.method-content a,
.method-content p {
    color: var(--gray-600);
    font-size: 15px;
}

.method-content a:hover {
    color: var(--primary);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.contact-form-wrapper h3 {
    font-size: 24px;
    margin-bottom: 24px;
}

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

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--gray-700);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-success {
    text-align: center;
    padding: 40px 20px;
}

.form-success i {
    font-size: 60px;
    color: var(--success);
    margin-bottom: 20px;
}

.form-success h4 {
    font-size: 24px;
    margin-bottom: 12px;
}

.form-success p {
    color: var(--gray-500);
}

.form-error {
    background: #fee2e2;
    color: #dc2626;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Map Section */
.map-placeholder {
    background: var(--gray-200);
    border-radius: var(--radius-lg);
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
}

.map-placeholder i {
    font-size: 48px;
    margin-bottom: 16px;
}

/* ========================================
   Footer
======================================== */
.site-footer {
    background: var(--dark);
    color: var(--white);
}

.footer-main {
    padding: 60px 0 40px;
}

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

.footer-about h3 {
    font-size: 22px;
    color: var(--white);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-about p {
    color: var(--gray-300);
    margin-bottom: 20px;
    line-height: 1.7;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--gray-300);
    font-size: 14px;
}

.footer-contact i {
    color: var(--primary-light);
    margin-top: 4px;
}

.footer-contact a {
    color: var(--gray-300);
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-col h4 {
    font-size: 18px;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    color: var(--gray-300);
    font-size: 15px;
}

.footer-col ul a:hover {
    color: var(--white);
}

.business-hours {
    color: var(--gray-300);
    font-size: 14px;
    line-height: 1.8;
}

.footer-cta {
    margin-top: 20px;
}

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

.footer-bottom p {
    color: var(--gray-500);
    font-size: 14px;
}

/* ========================================
   404 Error Page
======================================== */
.error-page {
    padding: 100px 0;
    text-align: center;
}

.error-page h1 {
    font-size: 120px;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 20px;
}

.error-page p {
    font-size: 20px;
    color: var(--gray-500);
    margin-bottom: 30px;
}

/* ========================================
   Responsive
======================================== */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 42px;
    }

    .about-grid,
    .why-grid,
    .two-col-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .two-col-grid.reverse {
        direction: ltr;
    }

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

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

@media (max-width: 768px) {
    .top-bar-content {
        flex-direction: column;
        gap: 8px;
    }

    .top-bar-left {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 30px 30px;
        box-shadow: var(--shadow-xl);
        transition: var(--transition);
        align-items: stretch;
        gap: 0;
    }

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

    .nav-menu > li > a {
        padding: 14px 0;
        border-bottom: 1px solid var(--gray-200);
    }

    .has-dropdown .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0 0 0 20px;
        display: none;
    }

    .has-dropdown.open .dropdown {
        display: block;
    }

    .nav-cta {
        margin: 20px 0 0;
    }

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

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

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

    .hero {
        min-height: 500px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 17px;
    }

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

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

    .feature-item {
        flex-direction: column;
        gap: 8px;
    }

    .section {
        padding: 50px 0;
    }

    .section-header h2 {
        font-size: 30px;
    }

    .tab-buttons {
        flex-wrap: wrap;
    }

    .tab-btn {
        flex: 1;
        min-width: 100px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-about h3 {
        justify-content: center;
    }

    .footer-contact p {
        justify-content: center;
    }

    .free-estimate-box {
        flex-direction: column;
        text-align: center;
    }

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

    .service-areas-list {
        grid-template-columns: 1fr;
    }
}

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

    .hero h1 {
        font-size: 28px;
    }

    .page-hero h1 {
        font-size: 32px;
    }

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

    .cta-content h2 {
        font-size: 28px;
    }
}

/* ========================================
   Content Wrapper (for database content)
======================================== */
.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.content-wrapper h2 {
    font-size: 32px;
    margin-bottom: 20px;
    margin-top: 40px;
}

.content-wrapper h2:first-child {
    margin-top: 0;
}

.content-wrapper h3 {
    font-size: 24px;
    margin-bottom: 12px;
    margin-top: 30px;
    color: var(--primary);
}

.content-wrapper h4 {
    font-size: 20px;
    margin-bottom: 10px;
    margin-top: 24px;
}

.content-wrapper p {
    margin-bottom: 16px;
    font-size: 17px;
    line-height: 1.8;
}

.content-wrapper ul,
.content-wrapper ol {
    margin-bottom: 20px;
    padding-left: 24px;
}

.content-wrapper li {
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.7;
}

.content-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    margin: 20px 0;
    box-shadow: var(--shadow-md);
}

.content-wrapper a {
    color: var(--primary);
    text-decoration: underline;
}

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

.content-wrapper strong {
    font-weight: 600;
    color: var(--dark);
}

.page-content {
    padding: 60px 0;
}

.page-content .content-wrapper {
    text-align: left;
}
