/* Wasatch Tree Service - Redesigned to match timmystrees.com */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

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

/* Header */
header {
    background: #1a1a2e;
    color: white;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header-bar {
    background: #1a1a2e;
    padding: 1rem 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.header-phone {
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.header-phone:hover {
    color: #2d8a4e;
}

/* Navigation */
.main-nav {
    background: #252542;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 0;
    justify-content: center;
}

.main-nav li {
    border-right: 1px solid rgba(255,255,255,0.1);
}

.main-nav li:last-child {
    border-right: none;
}

.main-nav a {
    display: block;
    padding: 1rem 1.5rem;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s;
}

.main-nav a:hover {
    background: rgba(255,255,255,0.1);
}

.nav-cta {
    background: #2d8a4e !important;
    font-weight: bold !important;
}

.nav-cta:hover {
    background: #25734a !important;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(26, 26, 46, 0.85), rgba(26, 26, 46, 0.85)), 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%234a4a4a" width="1200" height="600"/></svg>');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 4rem 0;
    min-height: 600px;
}

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

.hero-text {
    padding-top: 2rem;
}

.hero-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.7;
    max-width: 600px;
}

.hero-reviews {
    margin: 2rem 0;
}

.review-badge {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    padding: 1rem 1.5rem;
    border-radius: 5px;
    text-align: center;
}

.review-badge .stars {
    color: #ffa500;
    font-size: 1.5rem;
    letter-spacing: 0.2rem;
    margin-bottom: 0.3rem;
}

.review-badge p {
    font-size: 0.9rem;
    margin: 0.2rem 0;
}

.review-count {
    font-weight: bold;
}

.trust-badges {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin: 2rem 0;
    max-width: 600px;
}

.badge {
    text-align: center;
    padding: 1rem 0.5rem;
    background: rgba(255,255,255,0.1);
    border-radius: 5px;
}

.badge-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.badge p {
    font-size: 0.8rem;
    line-height: 1.3;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* Hero Form */
.hero-form {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    color: #333;
}

.hero-form h3 {
    color: #1a1a2e;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.3rem;
    font-weight: 500;
    font-size: 0.9rem;
    color: #555;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus {
    outline: none;
    border-color: #2d8a4e;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s;
    text-align: center;
}

.btn-primary {
    background: #2d8a4e;
    color: white;
    border: 2px solid #2d8a4e;
}

.btn-primary:hover {
    background: #25734a;
    border-color: #25734a;
}

.btn-phone {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-phone:hover {
    background: white;
    color: #1a1a2e;
}

.btn-white {
    background: white;
    color: #2d8a4e;
    border: 2px solid white;
}

.btn-white:hover {
    background: transparent;
    color: white;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: #2d8a4e;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #25734a;
}

/* Sections */
section {
    padding: 4rem 0;
}

.about-section,
.service-areas-section {
    background: #f9f9f9;
}

h2 {
    font-size: 2.5rem;
    color: #1a1a2e;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 700;
}

h3 {
    font-size: 1.5rem;
    color: #1a1a2e;
    margin-bottom: 1rem;
    font-weight: 600;
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2rem;
    color: #666;
    font-size: 1.1rem;
}

/* About Section */
.about-section h3 {
    text-align: center;
    color: #666;
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

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

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #555;
    font-size: 1.05rem;
}

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

.review-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.review-card .stars {
    color: #ffa500;
    font-size: 1.3rem;
    letter-spacing: 0.2rem;
    margin-bottom: 1rem;
}

.review-text {
    color: #555;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.review-author {
    font-weight: bold;
    color: #333;
    margin-bottom: 0.3rem;
}

.review-date {
    color: #999;
    font-size: 0.9rem;
}

/* CTA Band */
.cta-band {
    background: #2d8a4e;
    color: white;
    text-align: center;
    padding: 3rem 0;
}

.cta-band h2 {
    color: white;
    margin-bottom: 1.5rem;
}

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

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

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

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    text-align: center;
}

.service-card p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.service-card a {
    color: #2d8a4e;
    font-weight: bold;
    text-decoration: none;
}

.service-card a:hover {
    text-decoration: underline;
}

/* Why Choose Us */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

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

.why-icon {
    font-size: 3rem;
    color: #2d8a4e;
    font-weight: bold;
    margin-bottom: 1rem;
}

.why-item h3 {
    margin-bottom: 1rem;
    text-align: center;
}

.why-item p {
    color: #666;
    line-height: 1.7;
}

/* Service Areas */
.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.city-link {
    display: block;
    background: white;
    padding: 1.5rem;
    border-radius: 5px;
    text-align: center;
    color: #1a1a2e;
    font-weight: bold;
    text-decoration: none;
    font-size: 1.1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.city-link:hover {
    background: #2d8a4e;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* FAQ Section */
.faq-list {
    max-width: 900px;
    margin: 2rem auto;
}

.faq-item {
    background: white;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-left: 4px solid #2d8a4e;
}

.faq-item h3 {
    color: #1a1a2e;
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
    text-align: left;
}

.faq-answer p {
    color: #666;
    line-height: 1.8;
}

/* Footer */
footer {
    background: #1a1a2e;
    color: white;
    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 {
    color: white;
    margin-bottom: 1rem;
    text-align: left;
}

.footer-section p,
.footer-section a {
    color: #ddd;
    text-decoration: none;
    line-height: 1.8;
}

.footer-section a:hover {
    color: white;
    text-decoration: underline;
}

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

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

.footer-phone a {
    color: #2d8a4e;
    font-weight: bold;
}

.footer-rating {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.footer-rating .stars {
    color: #ffa500;
    font-size: 1.2rem;
    letter-spacing: 0.2rem;
    margin-bottom: 0.5rem;
}

.footer-rating p {
    font-size: 0.9rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    color: #ddd;
}

/* Star Rating Display */
.stars {
    color: #ffa500;
}

.rating-display {
    text-align: center;
    margin: 2rem 0;
}

.rating-display .stars {
    font-size: 1.5rem;
    letter-spacing: 0.2rem;
}

.rating-text {
    color: #666;
    margin-top: 0.5rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .hero-form {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .header-phone {
        font-size: 1.3rem;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .main-nav li {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .trust-badges {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .reviews-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Content Sections for Subpages */
.content-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.content-section p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #555;
}

.content-section ul,
.content-section ol {
    margin-bottom: 1.5rem;
    margin-left: 2rem;
}

.content-section li {
    margin-bottom: 0.5rem;
    color: #555;
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 1rem 0;
    background: #f5f5f5;
}

.breadcrumbs ul {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.breadcrumbs a {
    color: #2d8a4e;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs span {
    color: #999;
}

/* Lead Form for Contact Page */
.lead-form {
    max-width: 600px;
    margin: 2rem auto;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.lead-form .form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    min-height: 150px;
    resize: vertical;
}

.lead-form .form-group textarea:focus {
    outline: none;
    border-color: #2d8a4e;
}
