:root {
    --primary-blue: #002868;
    --dark-blue: #001a4d;
    --light-blue: #003d99;
    --accent-red: #BF0A30;
    --dark-red: #9a0826;
    --footer-red: #FF3B4D;
    --text-dark: #333;
    --text-light: #666;
    --gray-light: #f5f5f5;
    --gray-border: #ddd;
    --white: #fff;
    
    /* Legacy color names for compatibility */
    --primary-green: var(--primary-blue);
    --dark-green: var(--dark-blue);
    --light-green: var(--light-blue);
    --accent-orange: var(--accent-red);
    --dark-orange: var(--dark-red);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    letter-spacing: 0.5px;
}

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

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.top-bar {
    background: var(--primary-green);
    color: var(--white);
    padding: 10px 0;
    text-align: center;
    font-weight: 600;
}

.main-nav {
    background: var(--white);
    padding: 15px 0;
    transition: padding 0.3s ease;
    position: relative;
}

.main-nav.scrolled {
    padding: 10px 0;
}

.nav-wrapper {
    display: flex;
    justify-content: end;
    align-items: center;
    position: relative;
}

.logo {
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    position: absolute;
    left: 20px;
    top: -50px;
    z-index: 100;
    transform-origin: center center;
}

.logo img {
    height: 150px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.15));
}

.main-nav.scrolled .logo {
    top: 50%;
    transform: translateY(-50%) scale3d(0.5, 0.5, 1);
}

.main-nav.scrolled .logo img {
    /* Height stays the same, scale handles the size change */
}

.nav-menu {
    margin-left: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 25px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: color 0.3s;
}

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

.phone-link {
    color: var(--primary-green) !important;
    font-weight: 700;
}

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

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-green);
    margin: 3px 0;
    transition: 0.3s;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: var(--accent-orange);
    color: var(--white) !important;
}

.btn-primary:hover {
    background: var(--dark-orange);
    transform: translateY(-2px);
    color: var(--white) !important;
}

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

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

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.btn.loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.btn.loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 3px solid var(--white);
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Hero Section */
.hero {
    position: relative;
    color: var(--white);
    padding: 120px 0;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* CTA Boxes */
.cta-boxes {
    background: var(--gray-light);
    padding: 60px 0;
    margin-top: -40px;
}

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

.cta-box {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.cta-icon {
    font-size: 4rem;
    margin-bottom: 15px;
}

.cta-box h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

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

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

section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 15px;
    color: var(--primary-green);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 50px;
}

/* About Section */
.about-section {
    background: var(--white);
}

.about-content {
    max-width: 900px;
    margin: 0 auto 50px;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    text-align: center;
    padding: 30px;
    background: var(--gray-light);
    border-radius: 10px;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.feature-card h3 {
    color: var(--primary-green);
    margin-bottom: 10px;
}

/* Services Section */
.services-section {
    background: var(--gray-light);
}

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

.service-category {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.service-category h3 {
    color: var(--primary-green);
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.category-description {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

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

.service-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-border);
}

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

.service-name {
    font-weight: 600;
}

.service-price {
    color: var(--primary-green);
    font-weight: 700;
}

/* Pricing Section */
.pricing-section {
    background: var(--white);
}

.pricing-info {
    max-width: 600px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--gray-light);
    padding: 40px;
    border-radius: 10px;
}

.pricing-card h3 {
    color: var(--primary-green);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.pricing-card ul {
    list-style: none;
}

.pricing-card li {
    padding: 10px 0;
    font-size: 1.1rem;
}

/* Service Areas Section */
.service-areas-section {
    background: var(--gray-light);
}

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

.area-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.area-card h3 {
    color: var(--primary-green);
    margin-bottom: 15px;
    font-size: 1.5rem;
    border-bottom: 3px solid var(--accent-orange);
    padding-bottom: 10px;
}

.cities-list {
    list-style: none;
    columns: 2;
    column-gap: 15px;
}

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

.cities-list li:before {
    content: "▸ ";
    color: var(--primary-green);
    font-weight: 700;
}

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

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-form {
    background: var(--gray-light);
    padding: 40px;
    border-radius: 10px;
}

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

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--gray-border);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.contact-card h3 {
    color: var(--primary-green);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.contact-card a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
}

.contact-card .small {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 5px;
}

/* Footer */
.site-footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-col h3 {
    color: var(--footer-red);
    margin-bottom: 15px;
}

.footer-col p {
    margin-bottom: 10px;
    line-height: 1.8;
}

.footer-col ul {
    list-style: none;
}

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

.footer-col a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

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

.area-list li {
    padding: 3px 0;
}

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

#contact-thank-you {
  display: none;
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
  text-align: center;
  &.show {
    display:block;
  }
  &.visible {
    opacity: 1;
    pointer-events: all;
  }
  h2 {
    font-size: 2rem;
    margin-top: 0;
  }
  p {
    font-size: 1.2rem;
    margin-bottom: 0;
  }
}

/* Responsive */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .logo {
        left: -10px;
    }
    .main-nav.scrolled .logo {
        transform: translateY(-50%) translateX(-25%) scale3d(0.5, 0.5, 1);
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .cities-list {
        columns: 1;
    }
    .pricing-card h3 {
        text-align: center;
    }
}
