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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 0.5em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }

p {
    margin-bottom: 1em;
    color: #666;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #2d5016 0%, #4a7c2c 100%);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1f3b0f 0%, #3a6122 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(45, 80, 22, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #2d5016;
    border: 2px solid #2d5016;
}

.btn-secondary:hover {
    background: #2d5016;
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

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

.nav-brand .logo {
    color: #2d5016;
    font-size: 1.8rem;
    margin-bottom: 0;
}

.nav-brand .tagline {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}

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

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #2d5016;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #2d5016;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 250px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    list-style: none;
    z-index: 100;
}

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

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #333;
    text-decoration: none;
    transition: background 0.3s ease;
}

.dropdown-menu a:hover {
    background: #f8f9fa;
    color: #2d5016;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #2d5016;
    font-weight: 600;
}

.phone a {
    color: #2d5016;
    text-decoration: none;
}

/* Mobile Navigation */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #2d5016;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 80vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><rect fill="%234a7c2c" width="1200" height="800"/><path fill="%232d5016" d="M0 400l50-16.7C100 367 200 350 300 350s200 17 300 50 200 83 300 83 200-50 300-83 200-17 300 0l50 16.7V800H0V400z"/></svg>') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    margin-top: 80px;
}

.hero-content {
    color: white;
    max-width: 800px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Sections */
.services-overview,
.why-choose-us,
.service-areas,
.contact-cta {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    color: #2d5016;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2d5016, #4a7c2c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    color: #2d5016;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.service-card p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #2d5016;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-link:hover {
    gap: 1rem;
    color: #1f3b0f;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-item {
    text-align: center;
    padding: 2rem 1rem;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #2d5016, #4a7c2c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 1.8rem;
    color: white;
}

.feature-item h3 {
    color: #2d5016;
    margin-bottom: 1rem;
}

/* Service Areas */
.service-areas {
    background: #f8f9fa;
}

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

.area-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.area-card h3 {
    color: #2d5016;
    margin-bottom: 0.5rem;
}

/* Contact CTA */
.contact-cta {
    background: linear-gradient(135deg, #2d5016 0%, #4a7c2c 100%);
    color: white;
    text-align: center;
}

.contact-cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.contact-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary {
    background: white;
    color: #2d5016;
}

.cta-buttons .btn-primary:hover {
    background: #f0f0f0;
}

.cta-buttons .btn-secondary {
    border-color: white;
    color: white;
}

.cta-buttons .btn-secondary:hover {
    background: white;
    color: #2d5016;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #4a7c2c;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #ccc;
}

.contact-info i {
    color: #4a7c2c;
    width: 16px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-100vh);
        transition: transform 0.3s ease;
        gap: 1rem;
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .nav-toggle {
        display: flex;
    }

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

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

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

    .header-contact {
        display: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

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

    .service-card {
        padding: 2rem 1.5rem;
    }

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

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

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

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

    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.5rem; }

    .container {
        padding: 0 15px;
    }

    .services-overview,
    .why-choose-us,
    .service-areas,
    .contact-cta {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .btn-large {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .service-card {
        padding: 1.5rem 1rem;
    }

    .area-card {
        padding: 1.5rem 1rem;
    }
}

/* Contact Page Specific Styles */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-method {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.method-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2d5016, #4a7c2c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.method-icon i {
    font-size: 1.5rem;
    color: white;
}

.method-content h3 {
    color: #2d5016;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.method-content p {
    margin-bottom: 0.5rem;
    color: #666;
}

.contact-link {
    color: #2d5016;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
}

.contact-link:hover {
    color: #1f3b0f;
    text-decoration: underline;
}

.contact-address {
    font-style: normal;
    line-height: 1.6;
}

.business-hours p {
    margin-bottom: 0.25rem;
}

/* Contact Form Styles */
.contact-form {
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2d5016;
    box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.form-note {
    font-size: 0.9rem;
    color: #666;
    margin-top: 1rem;
    text-align: center;
}

/* Service Areas Contact */
.service-areas-contact {
    margin: 4rem 0;
    padding: 3rem 0;
    background: #f8f9fa;
    border-radius: 12px;
}

.areas-grid-contact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.area-group h3 {
    color: #2d5016;
    margin-bottom: 1rem;
    border-bottom: 2px solid #4a7c2c;
    padding-bottom: 0.5rem;
}

.area-group ul {
    list-style: none;
    columns: 2;
    column-gap: 1rem;
}

.area-group li {
    margin-bottom: 0.5rem;
    break-inside: avoid;
}

/* Contact FAQ */
.contact-faq {
    margin: 4rem 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.faq-item {
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.faq-item h4 {
    color: #2d5016;
    margin-bottom: 0.75rem;
}

.faq-item p {
    margin: 0;
    line-height: 1.6;
}

/* About Page Specific Styles */
.timeline {
    margin: 2rem 0;
}

.timeline-item {
    display: flex;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.timeline-year {
    background: linear-gradient(135deg, #2d5016, #4a7c2c);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    min-width: 80px;
    text-align: center;
    margin-right: 2rem;
    flex-shrink: 0;
}

.timeline-content h5 {
    color: #2d5016;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    margin: 0;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.expertise-item {
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.expertise-item h4 {
    color: #2d5016;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.expertise-item i {
    color: #4a7c2c;
}

.utah-conditions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.condition-item {
    text-align: center;
    padding: 1.5rem 1rem;
}

.condition-item h4 {
    color: #2d5016;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.condition-item i {
    color: #4a7c2c;
}

.philosophy-points {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

.philosophy-item {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #2d5016;
}

.philosophy-item h4 {
    color: #2d5016;
    margin-bottom: 0.75rem;
}

.service-areas-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.area-column h4 {
    color: #2d5016;
    margin-bottom: 1rem;
    border-bottom: 2px solid #4a7c2c;
    padding-bottom: 0.5rem;
}

.area-column ul {
    list-style: none;
}

.area-column li {
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.area-column li::before {
    content: '•';
    color: #4a7c2c;
    position: absolute;
    left: 0;
}

/* Service Page Specific Styles */
.service-detail {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #2d5016;
}

.service-detail h4 {
    color: #2d5016;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.service-detail i {
    color: #4a7c2c;
}

.service-detail ul {
    margin-top: 1rem;
    padding-left: 1.5rem;
}

.service-detail li {
    margin-bottom: 0.5rem;
}

.warning-signs {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.warning-signs h4 {
    color: #856404;
    margin-bottom: 1rem;
}

.warning-signs ul {
    list-style: none;
    padding: 0;
}

.warning-signs li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.warning-signs i {
    color: #f39c12;
}

.cost-factors {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.factor-item {
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    text-align: center;
}

.factor-item h4 {
    color: #2d5016;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.factor-item i {
    color: #4a7c2c;
}

.emergency-alert {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.emergency-alert h3 {
    color: #721c24;
    margin-bottom: 1rem;
}

.emergency-alert ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.emergency-alert li {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.safety-warning {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.safety-warning h3 {
    color: #0c5460;
    margin-bottom: 1rem;
}

.safety-warning ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.safety-warning li {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

/* Responsive Design for New Elements */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .areas-grid-contact {
        grid-template-columns: 1fr;
    }
    
    .area-group ul {
        columns: 1;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .timeline-year {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
    }
    
    .service-areas-list {
        grid-template-columns: 1fr;
    }
    
    .cost-factors {
        grid-template-columns: 1fr;
    }
}

/* Page Specific Styles */
.page-header {
    background: linear-gradient(135deg, #2d5016 0%, #4a7c2c 100%);
    color: white;
    padding: 8rem 0 4rem;
    margin-top: 80px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

.content-section {
    padding: 4rem 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.sidebar {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    position: sticky;
    top: 120px;
}

.sidebar h3 {
    color: #2d5016;
    margin-bottom: 1rem;
    border-bottom: 2px solid #4a7c2c;
    padding-bottom: 0.5rem;
}

.sidebar ul {
    list-style: none;
}

.sidebar ul li {
    margin-bottom: 0.5rem;
}

.sidebar ul li a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.sidebar ul li a:hover {
    color: #2d5016;
}

@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .sidebar {
        position: static;
    }
    
    .page-header {
        padding: 6rem 0 3rem;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
}