/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Base Styles */
:root {
    --primary-color: #2c7a4d;
    --secondary-color: #1e4d2b;
    --accent-color: #4CAF50;
    --text-color: #333;
    --light-bg: #f5f5f5;
    --white: #ffffff;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

* {
    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 {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Section Spacing for Scroll Target */
section {
    scroll-margin-top: 100px; /* Space for fixed header */
    position: relative;
    padding-top: 80px; /* Push content down below fixed header */
    margin-top: -80px; /* Pull the section up to compensate */
    padding-bottom: 3rem; /* Add some space at the bottom of each section */
}

/* Reset the first section's margin to prevent extra space at the top */
section:first-child {
    margin-top: 0;
    padding-top: 0;
}

/* Target the actual heading elements for better scroll positioning */
section h2 {
    position: relative;
    z-index: 1;
    margin-top: 0;
    padding-top: 20px; /* Space above the heading */
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

/* Add decorative underline to section headings */
section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

/* Header */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 0;
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 0.5rem 0;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    height: 50px; /* Adjust based on your logo's aspect ratio */
    width: auto;
}

header h1 {
    font-size: 1.5rem;
    margin: 0;
}

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

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: background-color 0.3s;
    border-radius: 4px;
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Hero Section */
#hero {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), 
                url('../images/park-background.jpg') no-repeat center center/cover;
    height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    color: white;
    position: relative;
    background-attachment: fixed;
}

#hero .container {
    padding: 2rem 0;
    width: 100%;
}

.hero-content {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    display: inline-block;
    margin-top: 2rem;
    max-width: 800px;
}

#hero h2 {
    font-size: 2.5rem;
    color: white;
    margin: 0 0 1rem 0;
    padding: 0;
}

#hero p {
    font-size: 1.2rem;
    color: white;
    margin: 0;
    padding: 0;
}

#hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Sections */
section {
    padding: 4rem 0;
}

#about {
    padding: 3rem 0 2rem;
}

#about p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

#about p:last-child {
    margin-bottom: 0;
}

section h2 {
    color: var(--primary-color);
    margin: 1.5rem 0 1.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
}

#contact {
    padding: 3rem 0 4rem;
}

/* Amenities */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.amenity {
    text-align: center;
    padding: 2rem 1rem;
    background-color: var(--light-bg);
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.amenity:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.amenity i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Contact Section */
.contact-grid {
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

/* Map Section */
.map-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.map-pin-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    background-color: rgba(44, 122, 77, 0.1);
}

.map-pin-link:hover {
    background-color: rgba(44, 122, 77, 0.2);
    transform: translateY(-1px);
}

.map-pin-link i {
    color: #ea4335; /* Google Maps red color */
    font-size: 1.2rem;
}

/* Contact Info Styling */
.contact-info p {
    display: flex;
    align-items: center;
    margin: 0.5rem 0;
    line-height: 1.6;
}

.contact-info i {
    width: 1.5rem;
    text-align: center;
    color: var(--primary-color);
    margin-right: 0.5rem;
    flex-shrink: 0;
}

.contact-info a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Location section styling - matches Contact section */
.location-info {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.location-info h3 {
    color: var(--primary-color);
    margin: 0 0 1rem 0;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.location-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
}

.location-info p {
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
}

.location-info i {
    width: 1.5rem;
    text-align: center;
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.location-info a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.location-info a:hover {
    color: var(--primary-color);
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    height: 100%;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 300px;
    border: none;
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.2s;
    margin: 1rem 0;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.cta-buttons {
    text-align: center;
    margin: 2rem 0;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
}

footer p {
    margin: 0.5rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul {
        margin-top: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    #hero h2 {
        font-size: 2rem;
    }
    
    .amenities-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

section {
    animation: fadeIn 0.6s ease-out forwards;
}
