:root {
    --primary-color: #8B4513;
    --secondary-color: #D2691E;
    --accent-color: #F4A460;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f9f9f9;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 15px rgba(0, 0, 0, 0.2);
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --max-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    background: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgba(139, 69, 19, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    z-index: 1000;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

nav ul {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    list-style: none;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

nav a::before {
    content:'';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

nav a:hover::before,
nav a:focus::before {
    left: 100%;
}

nav a:hover,
nav a:focus {
    color: var(--accent-color);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    outline: none;
}

header {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.4),rgba(0,0,0,0.6)),
                url('https://images.unsplash.com/photo-1509440159596-0249088772ff?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80') center/cover no-repeat fixed;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 0 1rem;
}

header .hero-content {
    max-width: 800px;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: var(--shadow);
    animation: fadeInUp 1s ease forwards;
}

header h1 {
    font-family:'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: 1rem;
}

header p.subtitle {
    font-size: 1.2rem;
    color: #fff;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 4rem 2rem;
    background: #ffffff;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 4rem;
}

h2 {
    font-family:'Playfair Display', Georgia, serif;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

ul {
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 1.1rem;
    padding-left: 1.5rem;
}

p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    text-align: justify;
}

form {
    display: flex;
    flex-direction: column;
    max-width: 600px;
}

form label {
    margin-top: 1rem;
    font-weight: 600;
    color: var(--primary-color);
}

form input, form textarea {
    margin-top: 0.5rem;
    padding: 0.75rem 1rem;
    border: 2px solid var(--secondary-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: border 0.3s ease;
}

form input:focus, form textarea:focus {
    border: 2px solid var(--accent-color);
    outline: none;
}

.btn {
    margin-top: 1.5rem;
    background: var(--primary-color);
    color: #ffffff;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn:hover, .btn:focus {
    background: var(--secondary-color);
    outline: none;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.lightbox {
    position: fixed;
    top: 0; left: 0; bottom: 0; right: 0;
    background:rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 2000;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.lightbox .lightbox-caption {
    color: #ffffff;
    margin-top: 1rem;
    font-size: 1.2rem;
    text-align: center;
}

.lightbox .lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 2.5rem;
    cursor: pointer;
}

@keyframes fadeInUp {
    0% {opacity: 0; transform: translateY(30px);}
    100% {opacity: 1; transform: translateY(0);}
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .container {
        padding: 3rem 1rem;
        margin-bottom: 3rem;
    }
}
