/* --- 1. CSS Variables (Romanian Landscape Theme) --- */
:root {
    --primary-color: #2E5C31; /* Forest Green */
    --secondary-color: #F4C430; /* Subtle Gold/Yellow */
    --dark-bg: #1A1A1A;
    --light-bg: #F9F9F9;
    --text-main: #333333;
    --text-light: #FFFFFF;
}

/* --- 2. Basic Reset --- */
* {
    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-main);
    background-color: var(--light-bg);
}

/* --- 3. Header & Navigation (Flexbox) --- */
header {
    background-color: var(--primary-color);
    color: var(--text-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
}

header .logo h1 span {
    color: var(--secondary-color);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav ul li a:hover, nav ul li a.active {
    color: var(--secondary-color);
}

/* --- 4. Hero Section --- */
.hero {
    background-color: var(--dark-bg); 
    height: 30vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--text-light);
    padding: 0 20px;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.cta-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 25px;
    background-color: var(--secondary-color);
    color: var(--dark-bg);
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
}

.cta-button:hover {
    background-color: #d4a926;
}

/* --- 5. Featured Section (CSS Grid) --- */
.featured {
    padding: 4rem 5%;
    text-align: center;
}

.featured h2 {
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

img.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover; 
    border-radius: 4px;
    margin-bottom: 15px;
    display: block;
}

img.gallery-item {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}}

/* --- 6. Footer --- */
footer {
    text-align: center;
    padding: 20px;
    background-color: var(--dark-bg);
    color: var(--text-light);
}

footer a {
    color: var(--primary-color);
}

/* --- 7. Media Queries (Mobile Responsiveness) --- */
@media screen and (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .grid-container {
        grid-template-columns: 1fr; /* Stacks cards on mobile */
    }

    .hero h2 {
        font-size: 2rem;
    }
}

/* --- 8. Internal Page Headers --- */
.page-header {
    background-color: var(--primary-color);
    color: var(--text-light);
    text-align: center;
    padding: 4rem 5%;
    border-bottom: 5px solid var(--secondary-color);
}

.page-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}
/* --- 9. Photo Gallery Layout --- */
.gallery-section {
    padding: 4rem 5%;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    height: 250px;
    background-color: #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: bold;
    color: #555;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
}

/* --- 10. Contact Form Styling --- */
.contact-section {
    padding: 4rem 5%;
    display: flex;
    justify-content: center;
}

.contact-form {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 600px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--primary-color);
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 5px rgba(244, 196, 48, 0.5);
}

.contact-form button {
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
}