/* Four Season's Land Surveying - Main Stylesheet */

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

body {
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1.7;
    color: #2a2a2a;
    background: #fff;
}

a { color: inherit; }

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


/* === Header & Navigation === */
.header {
    background: #fff;
    padding: 0.75rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid #2d5016;
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.25rem;
    font-weight: bold;
    color: #2d5016;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.logo-icon {
    width: 55px;
    height: 55px;
    margin-right: 0.75rem;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.25rem;
}

.nav-menu a {
    text-decoration: none;
    color: #2d5016;
    font-family: Arial, sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s;
}

.nav-menu a:hover,
.nav-menu a.active {
    border-bottom-color: #2d5016;
}


/* === Layout === */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}


/* === Hero Sections === */
.hero {
    min-height: 85vh;
    background: linear-gradient(135deg, rgba(74, 124, 89, 0.75), rgba(45, 80, 22, 0.7)),
                url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 800" xmlns="http://www.w3.org/2000/svg"><defs><linearGradient id="skyGradient" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:%2340B2B5;stop-opacity:1" /><stop offset="100%" style="stop-color:%237ED7DA;stop-opacity:1" /></linearGradient><radialGradient id="sunGradient" cx="50%" cy="50%" r="50%"><stop offset="0%" style="stop-color:%23FFF68F;stop-opacity:1" /><stop offset="70%" style="stop-color:%23FFE55C;stop-opacity:1" /><stop offset="100%" style="stop-color:%23FFB84D;stop-opacity:0.9" /></radialGradient><radialGradient id="lightRays" cx="50%" cy="50%" r="80%"><stop offset="0%" style="stop-color:%23FFFACD;stop-opacity:0.4" /><stop offset="30%" style="stop-color:%23FFF68F;stop-opacity:0.2" /><stop offset="70%" style="stop-color:%23FFE55C;stop-opacity:0.1" /><stop offset="100%" style="stop-color:%23FFE55C;stop-opacity:0" /></radialGradient></defs><rect width="1200" height="800" fill="url(%23skyGradient)"/><circle cx="950" cy="150" r="200" fill="url(%23lightRays)"/><circle cx="950" cy="150" r="90" fill="url(%23sunGradient)"/><path d="M0,500 Q200,400 400,450 T800,420 T1200,440 L1200,800 L0,800 Z" fill="%234A7C59" opacity="0.7"/><path d="M0,550 Q300,450 600,500 T1200,480 L1200,800 L0,800 Z" fill="%235A8C69"/><path d="M0,600 Q400,520 800,560 T1200,550 L1200,800 L0,800 Z" fill="%236B9D7A"/><g fill="none" stroke="%23FFFFFF" stroke-width="2" stroke-linecap="round"><path d="M395,250 Q400,245 405,252"/><path d="M405,252 Q410,245 415,250"/><path d="M220,180 Q225,175 230,182"/><path d="M230,182 Q235,175 240,180"/><path d="M680,200 Q685,195 690,202"/><path d="M690,202 Q695,195 700,200"/></g></svg>');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding-top: 80px;
    color: #fff;
}

.hero-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 2.75rem;
    font-weight: normal;
    line-height: 1.3;
    margin-bottom: 1.25rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.hero-text h1 strong { font-weight: bold; }

.hero-text p {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    line-height: 1.8;
}

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

.hero-contact {
    background: #fff;
    color: #2a2a2a;
    padding: 2rem;
    border-left: 4px solid #f4c430;
}

.hero-contact h3 {
    font-family: Arial, sans-serif;
    font-size: 1.1rem;
    font-weight: bold;
    color: #2d5016;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-contact p { margin-bottom: 0.75rem; }

.hero-contact a {
    color: #2d5016;
    text-decoration: none;
    font-weight: 500;
}

.hero-contact a:hover { text-decoration: underline; }

.phone-number {
    font-family: Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    color: #2d5016;
    margin: 1rem 0;
}

/* Page hero - for interior pages */
.page-hero {
    background: #2d5016;
    color: #fff;
    padding: 7rem 0 3rem;
}

.page-hero h1 {
    font-size: 2.25rem;
    font-weight: normal;
    margin-bottom: 0.75rem;
}

.page-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
}


/* === Buttons === */
.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    font-family: Arial, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid;
    transition: all 0.2s;
    cursor: pointer;
}

.btn-primary {
    background: #f4c430;
    color: #1a1a1a;
    border-color: #f4c430;
}

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

.btn-outline {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.btn-outline:hover {
    background: #fff;
    color: #2d5016;
}

.btn-green {
    background: #2d5016;
    color: #fff;
    border-color: #2d5016;
}

.btn-green:hover {
    background: #3d6b1e;
    border-color: #3d6b1e;
}

.btn-white {
    background: #fff;
    color: #2d5016;
    border-color: #fff;
}

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


/* === About / Intro Section === */
.about-section {
    padding: 4rem 0;
    background: #f9f9f7;
    border-top: 1px solid #e0e0d8;
    border-bottom: 1px solid #e0e0d8;
}

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

.about-content h2 {
    font-size: 1.5rem;
    color: #2d5016;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

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

.about-content p {
    color: #444;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.about-sidebar {
    background: #2d5016;
    color: #fff;
    padding: 1.75rem;
}

.about-sidebar h3 {
    font-family: Arial, sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    color: #f4c430;
}

.about-sidebar ul { list-style: none; }

.about-sidebar li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    font-family: Arial, sans-serif;
    font-size: 0.95rem;
}

.about-sidebar li:last-child { border-bottom: none; }


/* === Services Section === */
.services-section {
    padding: 4rem 0;
    background: white;
}

.section-header {
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 1.75rem;
    color: #2d5016;
    margin-bottom: 0.75rem;
}

.section-header p {
    color: #555;
    font-size: 1.05rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-item {
    padding: 1.5rem;
    border: 1px solid #ddd;
    background: #fff;
    transition: border-color 0.2s;
}

.service-item:hover { border-color: #2d5016; }

.service-item h3 {
    font-family: Arial, sans-serif;
    font-size: 1rem;
    font-weight: bold;
    color: #2d5016;
    margin-bottom: 0.5rem;
}

.service-item p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

.services-cta {
    margin-top: 2.5rem;
}


/* === Stats / Why Section === */
.why-section {
    padding: 4rem 0;
    background: #2d5016;
    color: #fff;
}

.why-section h2 {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 2.5rem;
    font-weight: normal;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

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

.why-item .number {
    font-family: Arial, sans-serif;
    font-size: 2.5rem;
    font-weight: bold;
    color: #f4c430;
    display: block;
    margin-bottom: 0.5rem;
}

.why-item h4 {
    font-family: Arial, sans-serif;
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.why-item p {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.5;
}


/* === Service Area === */
.area-section {
    padding: 3rem 0;
    background: #f9f9f7;
    border-top: 1px solid #e0e0d8;
}

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

.area-content h2 {
    font-size: 1.5rem;
    color: #2d5016;
    margin-bottom: 1rem;
}

.counties-list {
    font-family: Arial, sans-serif;
    font-size: 1rem;
    color: #444;
}

.counties-list strong { color: #2d5016; }


/* === Contact CTA === */
.contact-cta {
    padding: 4rem 0;
    background: #fff;
    text-align: center;
    border-top: 1px solid #e0e0d8;
}

.contact-cta h2 {
    font-size: 1.75rem;
    color: #2d5016;
    margin-bottom: 1rem;
}

.contact-cta p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1.5rem;
}

.contact-cta .phone-large {
    font-family: Arial, sans-serif;
    font-size: 2rem;
    font-weight: bold;
    color: #2d5016;
    margin-bottom: 1.5rem;
}

.contact-cta .phone-large a {
    color: inherit;
    text-decoration: none;
}

.contact-cta .phone-large a:hover { text-decoration: underline; }


/* === Contact Form === */
.contact-section {
    padding: 4rem 0;
    background: #f9f9f7;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h2 {
    font-size: 1.5rem;
    color: #2d5016;
    margin-bottom: 1.5rem;
}

.contact-info > p {
    color: #444;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.contact-details { margin-top: 2rem; }

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #ddd;
}

.contact-item:last-child { border-bottom: none; }

.contact-icon {
    width: 24px;
    height: 24px;
    color: #2d5016;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.contact-item-label {
    font-family: Arial, sans-serif;
    font-size: 0.85rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666;
    margin-bottom: 0.25rem;
}

.contact-item-value {
    font-size: 1.1rem;
    color: #2a2a2a;
}

.contact-item-value a {
    color: #2d5016;
    text-decoration: none;
}

.contact-item-value a:hover { text-decoration: underline; }

.contact-form-section {
    background: #fff;
    border: 1px solid #ddd;
    padding: 2rem;
}

.contact-form-section h2 {
    font-family: Arial, sans-serif;
    font-size: 1.25rem;
    font-weight: bold;
    color: #2d5016;
    margin-bottom: 1.5rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.form-group label {
    font-family: Arial, sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid #ccc;
    font-family: Georgia, serif;
    font-size: 1rem;
    color: #333;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2d5016;
}

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

.form-group small {
    font-size: 0.8rem;
    color: #666;
    margin-top: 0.25rem;
}

.form-submit {
    width: 100%;
    margin-top: 1rem;
}

.form-status {
    text-align: center;
    padding: 1rem;
    margin-top: 1rem;
    display: none;
}

.form-status.success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
    display: block;
}

.form-status.error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
    display: block;
}


/* === FAQ Section === */
.faq-section {
    padding: 4rem 0;
    background: #f9f9f7;
    border-bottom: 1px solid #e0e0d8;
}

.faq-section h2 {
    font-size: 1.75rem;
    color: #2d5016;
    margin-bottom: 2rem;
    text-align: center;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border: 1px solid #ddd;
    margin-bottom: 1rem;
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: #fff;
    border: none;
    text-align: left;
    font-family: Arial, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #2d5016;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover { background: #f9f9f7; }

.faq-icon {
    width: 20px;
    height: 20px;
    color: #2d5016;
    transition: transform 0.2s;
}

.faq-item.active .faq-icon { transform: rotate(45deg); }

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

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

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 1.5rem 1.5rem;
}


/* === Resources Section === */
.resources-section {
    padding: 4rem 0;
    background: #fff;
}

.resources-section h2 {
    font-size: 1.75rem;
    color: #2d5016;
    margin-bottom: 2rem;
    text-align: center;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .resources-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .resources-grid {
        grid-template-columns: 1fr;
    }
}

.resource-item {
    border: 1px solid #ddd;
    padding: 1.5rem;
}

.resource-item h3 {
    font-family: Arial, sans-serif;
    font-size: 1.1rem;
    font-weight: bold;
    color: #2d5016;
    margin-bottom: 0.75rem;
}

.resource-item p {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.resource-item a {
    color: #2d5016;
    text-decoration: none;
    font-family: Arial, sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
}

.resource-item a:hover { text-decoration: underline; }


/* === Service Cards (detail page) === */
.service-card {
    background: #fff;
    border: 1px solid #ddd;
    padding: 2rem;
    transition: border-color 0.2s;
}

.service-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (max-width: 768px) {
    .service-cards-grid {
        grid-template-columns: 1fr;
    }
}

.service-card:hover { border-color: #2d5016; }

.service-card h2 {
    font-family: Arial, sans-serif;
    font-size: 1.25rem;
    font-weight: bold;
    color: #2d5016;
    margin-bottom: 1rem;
}

.service-card > p {
    color: #444;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.service-card h3 {
    font-family: Arial, sans-serif;
    font-size: 0.9rem;
    font-weight: bold;
    color: #333;
    margin: 1.25rem 0 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.service-card li {
    padding: 0.3rem 0;
    padding-left: 1.25rem;
    position: relative;
    color: #555;
    font-size: 0.95rem;
}

.service-card li::before {
    content: "–";
    position: absolute;
    left: 0;
    color: #2d5016;
}


/* === Values Section === */
.values-section {
    padding: 4rem 0;
    background: #fff;
}

.values-section h2 {
    text-align: center;
    font-size: 1.75rem;
    color: #2d5016;
    margin-bottom: 2.5rem;
}

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

.value-item {
    text-align: center;
    padding: 1.5rem;
    border: 1px solid #ddd;
}

.value-item h3 {
    font-family: Arial, sans-serif;
    font-size: 1.1rem;
    font-weight: bold;
    color: #2d5016;
    margin-bottom: 0.75rem;
}

.value-item p {
    color: #555;
    font-size: 0.95rem;
}


/* === Area Grid === */
.area-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.area-item {
    text-align: center;
    padding: 1rem;
    border: 1px solid rgba(255,255,255,0.3);
    font-family: Arial, sans-serif;
    font-size: 0.9rem;
}


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

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer h4 {
    font-family: Arial, sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    margin-bottom: 1rem;
}

.footer p {
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer ul { list-style: none; }

.footer li { margin-bottom: 0.4rem; }

.footer a {
    color: #aaa;
    text-decoration: none;
    font-size: 0.95rem;
}

.footer a:hover { color: #fff; }

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #aaa;
}

.social-link:hover { color: #fff; }

.social-link svg {
    width: 18px;
    height: 18px;
}


/* === Mobile Menu Button === */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: #2d5016;
}

@media (max-width: 600px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .header {
        position: fixed;
    }
    
    .nav-menu {
        display: none;
        position: fixed;
        top: 73px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        border-top: 1px solid #ddd;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        z-index: 999;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        border-bottom: 1px solid #eee;
        list-style: none;
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem 1.5rem;
    }
}


/* === Responsive === */
@media (max-width: 900px) {
    .hero-container { grid-template-columns: 1fr; }
    .hero-contact { max-width: 400px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .area-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .resources-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .nav-menu { display: none; }
    .hero-text h1 { font-size: 2rem; }
    .page-hero h1 { font-size: 1.75rem; }
    .services-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .area-grid { grid-template-columns: repeat(2, 1fr); }
    .form-row { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}
