/* GLOBAL RESETS & FONTS */
body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f4f4f4;
}

h1, h2, h3 {
    font-family: 'Oswald', sans-serif;
    color: #8B0000; /* Dark Red - Primary Accent */
    margin-bottom: 0.5em;
    text-transform: uppercase;
}

h1 { font-size: 4.5em; font-weight: 900; line-height: 1; }
h2 { font-size: 3em; font-weight: 700; }
h3 { font-size: 1.5em; font-weight: 700; color: #000; }

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 20px 0;
}

.section-padded {
    padding: 100px 0;
}

.text-center { text-align: center; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }

/* --- LOGO BAR (New Prominent Section) --- */
#logo-bar {
    background-color: #000; /* Black background for contrast */
    padding: 10px 0;
}

.main-logo {
    height: 200px; /* Set the large, fixed height (200px) */
    max-width: 100%;
    object-fit: contain; /* Prevents stretching */
    display: block; /* Ensures center alignment */
    margin: 0 auto;
}

/* --- HEADER & NAVIGATION (Sticky - now only nav) --- */
.sticky-header {
    background: rgba(0, 0, 0, 0.95); /* Semi-transparent black */
    color: #fff;
    padding: 5px 0; /* Reduced padding since logo is gone */
    border-bottom: 4px solid #8B0000;
    position: sticky;
    top: 0;
    z-index: 2000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.sticky-header .container {
    display: flex;
    justify-content: center; /* Center the navigation now that the logo is gone */
    align-items: center;
    padding: 0;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1.0em;
    padding: 15px 15px; 
    transition: background-color 0.3s, color 0.3s;
}

nav a:hover {
    background-color: #8B0000;
    color: #fff;
}

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    font-size: 1.1em;
    transition: transform 0.2s, background-color 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background: #8B0000;
    color: #fff;
}

.btn-primary:hover {
    background: #B22222;
}

.btn-secondary-white {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary-white:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #8B0000;
    border-color: #8B0000;
}

/* --- HERO SECTION --- */
.hero-section {
    background: url('images/hog_hero_bg.jpg') no-repeat center center/cover; 
    height: 80vh; 
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); 
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 800px;
    padding: 20px;
}

.hero-content h1 {
    color: #FFD700; 
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    animation: fadeInDown 1s ease-out;
}

.hero-content p {
    font-size: 1.4em;
    margin-bottom: 40px;
    font-weight: 500;
    animation: fadeInUp 1s ease-out 0.5s forwards;
    opacity: 0;
}

/* --- KEYFRAME ANIMATIONS --- */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}


/* --- MISSION/STATEMENT SECTION --- */
.statement-section {
    background: #fff;
    padding-bottom: 60px;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.mission-card {
    padding: 30px;
    border-top: 4px solid #8B0000;
    background: #fcfcfc;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s;
}

.mission-card:hover {
    box-shadow: 0 5px 20px rgba(139, 0, 0, 0.2);
}

/* --- METHODS SECTION (Image Background - FINAL FIX) --- */
.methods-background {
    /* FIX APPLIED HERE: Removed 'images/' from the URL */
    background: url('hog_eradication_bg.jpg') no-repeat fixed center center/cover; 
    color: #fff;
    position: relative;
    padding: 100px 0; 
}

.methods-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Subtler black overlay (40% opacity) for text readability over the background image */
    background: rgba(0, 0, 0, 0.4); 
    z-index: 1;
}

.methods-background .container {
    position: relative;
    z-index: 2;
}

.section-title-white {
    color: #fff;
}

.subtitle-white {
    font-size: 1.2em;
    text-align: center;
    margin-bottom: 50px;
}

.method-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.method-card-dynamic {
    background: rgba(0, 0, 0, 0.8); 
    padding: 25px;
    border-radius: 8px;
    border-left: 5px solid #FFD700; 
}

.method-card-dynamic h3 {
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 10px;
    margin-top: 0;
}

.method-card-dynamic p {
    color: #ccc;
}

/* --- GALLERY SECTION (STATIC) --- */
.gallery-frame {
    background: #fff;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover; 
    display: block;
    transition: filter 0.3s;
}

.gallery-item:hover img {
    filter: brightness(0.8);
}

.gallery-note {
    text-align: center;
    font-style: italic;
    color: #666;
    margin-top: 30px;
    font-size: 0.9em;
}

/* --- CONTACT SECTION --- */
.contact-section {
    background: #000;
    color: #fff;
    padding: 80px 0;
}

.contact-flex {
    display: flex;
    gap: 50px;
    margin-top: 40px;
}

.contact-form-area {
    flex: 2;
}

.contact-info-area {
    flex: 1;
    background: rgba(139, 0, 0, 0.9);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.contact-info-area h3 {
    color: #fff;
    border-bottom: 2px solid #FFD700;
    padding-bottom: 10px;
    margin-top: 0;
    margin-bottom: 20px;
}

.contact-info-area p {
    margin-bottom: 15px;
    font-size: 1.1em;
}

.contact-info-area a {
    color: #FFD700;
    text-decoration: none;
    font-weight: 700;
}

.contact-form label {
    color: #fff;
    font-weight: 700;
    margin-bottom: 5px;
}

.contact-form input, .contact-form textarea {
    background: #333;
    border: 1px solid #555;
    color: #fff;
}

.btn-submit {
    background: #FFD700;
    color: #000;
}

.btn-submit:hover {
    background: #fff;
}

/* --- FOOTER --- */
footer {
    background: #000;
    color: #999;
    text-align: center;
    padding: 20px 0;
    border-top: 2px solid #333;
}

footer a {
    color: #8B0000;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3em;
    }
    .hero-content p {
        font-size: 1.2em;
    }
    .contact-flex {
        flex-direction: column;
        gap: 30px;
    }
    .main-logo {
        height: 150px; 
    }
}

@media (max-width: 768px) {
    h2 {
        font-size: 2em;
    }
    .hero-section {
        height: 60vh;
    }
    .sticky-header {
        padding: 10px 0; 
    }
    .main-logo {
        height: 100px; 
    }
    .sticky-header .container {
        justify-content: center;
    }
    .section-padded {
        padding: 60px 0;
    }
    .mission-grid, .method-grid {
        grid-template-columns: 1fr;
    }
}