/* styles.css */
:root {
    --primary-color: #2e7d32; /* Lawn Green */
    --secondary-color: #1b5e20; /* Darker Green */
    --text-color: #333333;
    --bg-color: #f4f7f6;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: var(--text-color);
    background-color: var(--bg-color);
}

header {
    background-color: var(--primary-color);
    color: white;
    padding: 2.5rem 0;
    text-align: center;
    border-bottom: 5px solid var(--secondary-color);
}

.main-logo {
    max-width: 350px;
    width: 90%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    margin: 0 auto;
    display: block;
}

main {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 2rem;
}

section {
    background: white;
    margin-bottom: 2rem;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.hero {
    text-align: center;
    background-color: #e8f5e9;
    border-top: 4px solid var(--primary-color);
}

.hero h2 {
    color: var(--secondary-color);
    margin-top: 0;
    font-size: 2rem;
}

.hero p {
    font-size: 1.2rem;
    color: #555;
}

h2 {
    color: var(--primary-color);
    border-bottom: 2px solid #e8f5e9;
    padding-bottom: 0.5rem;
}

p {
    font-size: 1.05rem;
}

/* Estimator Styles */
.estimator p {
    margin-bottom: 1.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.form-group input[type="text"],
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    box-sizing: border-box;
}

.map-container {
    position: relative;
    margin-bottom: 1.5rem;
}

#map {
    height: 400px;
    width: 100%;
    background-color: #e0e0e0;
    border-radius: 4px;
    border: 2px solid var(--primary-color);
}

#clear-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    background-color: white;
    border: 1px solid #ccc;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 4px;
    font-weight: bold;
}

#clear-btn:hover {
    background-color: #f0f0f0;
}

.results {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.result-box {
    flex: 1;
    background: #e8f5e9;
    padding: 1.5rem;
    border-radius: 6px;
    text-align: center;
    border: 1px solid #c8e6c9;
}

.result-box h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    color: var(--secondary-color);
}

.result-box p {
    margin: 0;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.submit-btn {
    display: block;
    width: 100%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem;
    font-size: 1.2rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.2s;
}

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

/* Contact Styles */
.contact-info {
    background: #f1f8e9;
    padding: 1.5rem;
    border-radius: 6px;
    margin-top: 1.5rem;
    border-left: 4px solid var(--primary-color);
}

.contact-info p {
    margin: 0.8rem 0;
    font-size: 1.15rem;
}

.contact-info a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.contact-info a:hover {
    text-decoration: underline;
    color: var(--primary-color);
}

footer {
    text-align: center;
    padding: 1.5rem 0;
    background-color: #222;
    color: #ccc;
    margin-top: 3rem;
}
