/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Lato:wght@300;400;700&display=swap');

:root {
    --primary-color: #1A3C34;
    /* Deep Forest Green */
    --secondary-color: #F8F5F2;
    /* Soft Off-White/Sand */
    --accent-color: #C5A059;
    /* Gold/Bronze */
    --text-color: #333333;
    --light-text: #666666;
    --white: #ffffff;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;

    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--secondary-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid var(--primary-color);
    border-radius: 2px;
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* --- Header --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: var(--secondary-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 2px;
}

nav ul {
    display: flex;
    gap: 30px;
}

nav a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
}

nav a:hover {
    color: var(--accent-color);
}

/* --- Hero Section --- */
.hero {
    height: 90vh;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('assets/hero.png') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.hero h1 {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    font-weight: 300;
}

.hero .btn {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--white);
}

.hero .btn:hover {
    background-color: transparent;
    color: var(--white);
}

/* --- Section Global --- */
section {
    padding: 80px 5%;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-title p {
    color: var(--light-text);
    max-width: 600px;
    margin: 0 auto;
}

/* --- About Section --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--light-text);
    margin-bottom: 20px;
}

.about-image img {
    border-radius: 4px;
    box-shadow: 20px 20px 0 var(--accent-color);
}

/* --- Features/Convention --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 0;
    text-align: center;
    border-radius: 6px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.card-img-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.feature-card:hover .card-img {
    transform: scale(1.08);
}

.card-info-content {
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
}

.feature-card h3 {
    margin: 15px 0 10px;
    font-size: 1.4rem;
}

.feature-card p {
    color: var(--light-text);
    font-size: 0.92rem;
}

/* --- Facilities Categories --- */
.facilities-container {
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin-bottom: 50px;
}

.facility-category {
    border-top: 1px solid rgba(26, 60, 52, 0.1);
    padding-top: 35px;
}

.facility-category:first-of-type {
    border-top: none;
    padding-top: 0;
}

.category-title {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    position: relative;
    padding-left: 15px;
    text-align: left;
}

.category-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 22px;
    background-color: var(--accent-color);
}

.card-icon {
    color: var(--accent-color);
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-icon svg {
    stroke: var(--accent-color);
    transition: var(--transition);
}

.feature-card:hover .card-icon svg {
    transform: scale(1.15);
}

.img-overlap {
    position: relative;
    height: 400px;
    margin-top: 40px;
}

.img-overlap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

/* --- Contact Section --- */
.contact-section {
    background-color: var(--primary-color);
    color: var(--white);
}

.contact-section .section-title h2 {
    color: var(--white);
}

.contact-section .section-title p {
    color: rgba(255, 255, 255, 0.7);
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    /* Glassmorphism hint */
    padding: 40px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.form-group input {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1rem;
    border-radius: 2px;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.15);
}

.form-submit-btn {
    width: 100%;
    background-color: var(--accent-color);
    border: none;
    color: var(--white);
    padding: 15px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 2px;
    font-weight: 700;
}

.form-submit-btn:hover {
    background-color: #b08d4a;
}

/* --- Footer --- */
footer {
    background-color: #112822;
    /* Darker green */
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    padding: 40px 5%;
    font-size: 0.9rem;
}

/* --- Mobile Responsive --- */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    header {
        flex-direction: column;
        padding: 15px;
    }

    nav ul {
        margin-top: 20px;
        gap: 15px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }
}

/* --- Scroll Animations --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.animate-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

/* Add staggered transition delay logic */
.features-grid .feature-card:nth-child(1) { transition-delay: 0.1s; }
.features-grid .feature-card:nth-child(2) { transition-delay: 0.2s; }
.features-grid .feature-card:nth-child(3) { transition-delay: 0.3s; }