@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&family=Merriweather:ital,wght@0,400;0,700;1,400&display=swap');

:root {
    --primary: #386641;
    --primary-light: #6a994e;
    --secondary: #e76f51;
    --earth: #8b5a2b;
    --beige: #f2e8cf;
    --bg-light: #f8f9fa;
    --text-main: #333333;
    --text-muted: #666666;
    --border: #e2e8f0;
    --radius: 12px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Merriweather', serif;
    color: var(--primary);
    margin-bottom: 1rem;
}

a {
    color: var(--primary-light);
    text-decoration: none;
    transition: var(--transition);
}

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

/* Navbar */
header {
    background-color: white;
    padding: 1rem 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Merriweather', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

nav a {
    font-weight: 600;
    color: var(--text-main);
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary);
    transition: var(--transition);
}

nav a:hover::after {
    width: 100%;
}

.user-controls select {
    padding: 0.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    font-family: 'Outfit', sans-serif;
}

.mobile-menu-btn {
    display: none;
}

/* Main Layout */
main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    min-height: 70vh;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(56, 102, 65, 0.8), rgba(56, 102, 65, 0.8)), url('https://images.unsplash.com/photo-1595856724125-9d332d72c057?q=80&w=1200') center/cover;
    color: var(--beige);
    padding: 4rem 2rem;
    border-radius: var(--radius);
    text-align: center;
    margin-bottom: 3rem;
    box-shadow: var(--shadow);
}

.hero h1 {
    color: var(--beige);
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Cards Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

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

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--beige);
    color: var(--earth);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    align-self: flex-start;
}

.badge.available {
    background-color: var(--primary-light);
    color: white;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    font-family: 'Outfit', sans-serif;
}

.btn:hover {
    background-color: var(--primary-light);
    color: white;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
}

/* Section Titles */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--border);
    padding-bottom: 0.5rem;
}

/* Details Pages */
.detail-header {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.detail-header img {
    width: 400px;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius);
}

.detail-info {
    flex: 1;
}

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

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

input, textarea, select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: 'Outfit', sans-serif;
}

/* Info Board */
.info-card {
    background: white;
    border-left: 4px solid var(--secondary);
    padding: 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
}

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

/* Utilities */
.text-center { text-align: center; }
.mt-2 { margin-top: 1rem; }
.mb-2 { margin-bottom: 1rem; }

@media (max-width: 768px) {
    .detail-header {
        flex-direction: column;
    }
    .detail-header img {
        width: 100%;
        height: auto;
    }
    .mobile-menu-btn {
        display: block;
        background: none;
        border: none;
        font-size: 2rem;
        color: var(--primary);
        cursor: pointer;
        padding: 0.5rem;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 1rem 2rem;
        gap: 1rem;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        border-top: 1px solid var(--border);
    }

    nav ul.active {
        display: flex;
    }

    .user-controls {
        margin-left: auto;
    }
}
