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

:root {
    --jd-green: #367C2B;
    --jd-gold: #FFDE00;
    --dark-bg: #1a1a1a;
    --darker-bg: #0d0d0d;
    --text-light: #f5f5f5;
    --text-gray: #b0b0b0;
    --card-bg: #242424;
}

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

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

/* Header */
header {
    background-color: var(--darker-bg);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--jd-green);
}

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

.logo img {
    height: 100px;
    width: auto;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 1rem;
}

nav a:hover,
nav a.active {
    color: var(--jd-gold);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--text-light);
    font-size: 1.2rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--jd-gold);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                url('images/field-grading.jpg') center/cover no-repeat;
    min-height: 500px;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-overlay {
    width: 100%;
    text-align: center;
    padding: 4rem 0;
}

.hero h1 {
    font-size: 3rem;
    color: var(--jd-gold);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-light);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.page-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
                linear-gradient(135deg, var(--jd-green) 0%, var(--darker-bg) 100%);
    min-height: 300px;
    display: flex;
    align-items: center;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.5rem;
    color: var(--jd-gold);
    margin-bottom: 0.5rem;
}

.page-hero p {
    font-size: 1.2rem;
    color: var(--text-light);
}

/* Buttons */
.cta-button {
    display: inline-block;
    background-color: var(--jd-green);
    color: var(--text-light);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s;
    border: 2px solid var(--jd-green);
}

.cta-button:hover {
    background-color: transparent;
    border-color: var(--jd-gold);
    color: var(--jd-gold);
    transform: translateY(-2px);
}

/* About Section */
.about {
    padding: 4rem 0;
    background-color: var(--card-bg);
}

.about h2 {
    color: var(--jd-gold);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.about p {
    font-size: 1.1rem;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    color: var(--text-gray);
    line-height: 1.8;
}

/* Gallery */
.gallery {
    padding: 4rem 0;
}

.gallery h2 {
    color: var(--jd-gold);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

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

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    border: 2px solid var(--jd-green);
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: scale(1.05);
    border-color: var(--jd-gold);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

/* Services */
.services-list {
    padding: 4rem 0;
}

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

.service-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    border: 2px solid var(--jd-green);
    transition: all 0.3s;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--jd-gold);
    box-shadow: 0 5px 20px rgba(255, 222, 0, 0.2);
}

.service-icon {
    font-size: 3rem;
    color: var(--jd-gold);
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--jd-gold);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Contact */
.contact-section {
    padding: 4rem 0;
}

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

.contact-info h2 {
    color: var(--jd-gold);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.contact-info p {
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

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

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

.contact-item i {
    font-size: 2rem;
    color: var(--jd-gold);
    margin-top: 0.2rem;
}

.contact-item h3 {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.contact-item p,
.contact-item a {
    color: var(--text-gray);
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--jd-gold);
}

/* Contact Form */
.contact-form-container {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    border: 2px solid var(--jd-green);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    background-color: var(--darker-bg);
    border: 1px solid var(--jd-green);
    border-radius: 4px;
    color: var(--text-light);
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--jd-gold);
}

.submit-button {
    width: 100%;
    padding: 1rem;
    background-color: var(--jd-green);
    color: var(--text-light);
    border: 2px solid var(--jd-green);
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-button:hover {
    background-color: transparent;
    border-color: var(--jd-gold);
    color: var(--jd-gold);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--jd-green) 0%, var(--darker-bg) 100%);
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--jd-gold);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

/* Footer */
footer {
    background-color: var(--darker-bg);
    padding: 2rem 0;
    border-top: 3px solid var(--jd-green);
}

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

.footer-logo img {
    height: 100px;
    width: auto;
}

.footer-info {
    text-align: center;
}

.footer-info p {
    color: var(--text-gray);
    margin: 0.3rem 0;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: var(--text-light);
    font-size: 1.5rem;
    transition: color 0.3s;
}

.footer-social a:hover {
    color: var(--jd-gold);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .hero h1 {
        font-size: 2rem;
    }

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

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

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