/* --- CSS Reset & Variables --- */
:root {
    --bg-color: #f5f2ee;
    --card-bg: #ede9e3;
    --text-primary: #1c1c1c;
    --text-secondary: #6b6560;
    --accent-color: #8b6914;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Typography --- */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* --- Navigation --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: rgba(245, 242, 238, 0.92);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* --- Mobile Menu Toggle --- */
.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* --- Hero Section --- */
#home {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: url('hero.jpg') no-repeat center center/cover;
    padding: 0 20px;
}

#home h1 {
    font-size: 4rem;
    margin-bottom: 10px;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.35);
    animation: fadeInDown 1s ease-out;
}

#home p {
    font-size: 1.2rem;
    color: #f0ece6;
    margin-bottom: 30px;
    font-style: italic;
    text-shadow: 0 1px 6px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease-out 0.3s forwards;
    opacity: 0;
}

.btn {
    padding: 12px 30px;
    border: 1px solid #fff;
    color: #fff;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    background: transparent;
    cursor: pointer;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.6s forwards;
}

.btn:hover {
    background: #fff;
    color: var(--text-primary);
}

/* --- Sections General --- */
section {
    padding: 80px 10%;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--text-primary);
}

.section-title span {
    display: block;
    font-size: 1rem;
    font-family: var(--font-body);
    color: var(--accent-color);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

/* --- Gallery Grid --- */
#gallery {
    background-color: var(--bg-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/2;
    cursor: pointer;
    border-radius: 4px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
}

.gallery-overlay span {
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 1px solid white;
    padding: 10px 20px;
    font-size: 0.8rem;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* --- About Section --- */
#about {
    background-color: var(--card-bg);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
}

.about-img {
    flex: 1 1 400px;
}

.about-img img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 20px 20px 0px rgba(139, 105, 20, 0.15);
}

.about-text {
    flex: 1 1 400px;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-weight: 300;
}

/* --- Contact Section --- */
#contact {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

input, textarea {
    width: 100%;
    padding: 15px;
    background: #fff;
    border: 1px solid #d5cfc8;
    color: var(--text-primary);
    font-family: var(--font-body);
    outline: none;
    transition: border-color 0.3s;
    border-radius: 2px;
}

input:focus, textarea:focus {
    border-color: var(--accent-color);
}

textarea {
    resize: vertical;
    min-height: 150px;
}

/* --- Footer --- */
footer {
    background-color: #e8e3dc;
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid #d5cfc8;
}

.social-links {
    margin-bottom: 20px;
}

.social-links a {
    margin: 0 10px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-links a:hover {
    color: var(--accent-color);
}

.copyright {
    font-size: 0.8rem;
    color: #9a9088;
}

/* --- Lightbox --- */
#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#lightbox.active {
    display: flex;
    opacity: 1;
}

#lightbox img {
    max-width: 90%;
    max-height: 90vh;
    box-shadow: 0 0 40px rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.1);
}

#lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 3rem;
    color: white;
    cursor: pointer;
    transition: color 0.3s;
}

#lightbox-close:hover {
    color: var(--accent-color);
}

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

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Responsive --- */
@media (max-width: 768px) {
    #home h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    section {
        padding: 60px 5%;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
