@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@700&family=Playfair+Display:ital,wght@0,700;1,700&display=swap');

:root {
    --primary-color: #2d5a27; /* Forest Green */
    --secondary-color: #283a43; /* Dark Navy Blue */
    --accent-color: #d4a373; /* Earthy Tan */
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --container-width: 1100px;
}

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

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Nav */
header {
    background: var(--secondary-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    margin-right: 15px;
}

.brand-name {
    font-family: 'Playfair Display', serif;
    color: var(--white);
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

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

.nav-links a:hover {
    color: var(--accent-color);
}

/* Hero Section */
#hero {
    height: 100vh;
    background: url('img/main-background.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
    margin-top: 80px;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-tagline {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.2;
    max-width: 900px;
}

.cta-button {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}

.cta-button:hover {
    background: #1e3d1a;
}

/* Features */
#features {
    padding: 80px 0;
}

#features h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: var(--secondary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

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

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

.feature-item {
    padding: 30px;
    background: var(--light-bg);
    border-radius: 10px;
    transition: transform 0.3s;
}

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

.feature-item h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Gallery */
#gallery {
    padding: 80px 0;
    background: #eee;
}

.gallery-headline {
    text-align: center;
    margin-bottom: 50px;
}

.gallery-headline .italic-lead {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-style: italic;
    font-weight: 300;
    color: var(--secondary-color);
    margin-right: 10px;
}

.script-accent-small {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    font-weight: 700;
    font-style: italic;
    color: var(--primary-color);
}

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

.gallery-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    transition: opacity 0.3s;
}

.gallery-grid img:hover {
    opacity: 0.8;
}

/* Status & Newsletter Side-by-Side */
#status-newsletter {
    padding: 80px 0;
    background: var(--light-bg);
}

.status-newsletter-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: start;
}

.status-column h2 {
    margin-bottom: 20px;
    font-size: 2.2rem;
    color: var(--secondary-color);
}

.field-report {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    margin-top: 30px;
    text-align: left;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.field-report h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.field-image {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.field-report p {
    margin-bottom: 15px;
}

.newsletter-column {
    position: sticky;
    top: 120px;
}

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

.contact-card h2 {
    margin-bottom: 20px;
    text-align: center;
}

.form-intro {
    text-align: center;
    margin-bottom: 25px;
    color: #666;
    font-size: 0.95rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    box-sizing: border-box; /* Ensures padding doesn't affect width */
}

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

.submit-button {
    width: 100%;
    padding: 15px;
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-button:hover {
    background: #1e2b32;
}

.hidden {
    display: none;
}

#form-response {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
}

.success-msg {
    background: #d4edda;
    color: #155724;
}

/* Footer */
footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

/* Responsive */
@media (max-width: 992px) {
    .status-newsletter-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-column {
        position: static;
    }
}

@media (max-width: 768px) {
    .hero-tagline {
        font-size: 2rem;
    }
    
    .nav-links {
        display: none;
    }
}
