:root {
    --burgundy: #800020;
    --gold: #d4af37;
    --parchment: #fdfbf7;
    --dark: #2c2c2c;
    --white: #ffffff;
    
    --font-head: 'Cinzel', serif;
    --font-body: 'Libre Baskerville', serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-body);
    background-color: var(--parchment);
    color: var(--dark);
    line-height: 1.7;
    background-image: url('https://www.transparenttextures.com/patterns/cream-paper.png');
}

.container { width: 90%; max-width: 1100px; margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; color: inherit; transition: 0.3s; }

/* Motif Bar */
.motif-bar { height: 10px; background: repeating-linear-gradient(45deg, var(--burgundy), var(--burgundy) 10px, var(--gold) 10px, var(--gold) 20px); }

/* Header */
.otto-header { background-color: var(--white); padding: 25px 0; border-bottom: 3px solid var(--gold); position: sticky; top: 0; z-index: 1000; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.header-flex { display: flex; justify-content: space-between; align-items: center; }

.logo { font-family: var(--font-head); font-size: 1.8rem; font-weight: 700; color: var(--burgundy); letter-spacing: 2px; }
.gold { color: var(--gold); }
.symbol { font-size: 1.5rem; margin-left: 5px; }

.otto-nav ul { display: flex; gap: 30px; list-style: none; align-items: center; }
.otto-nav a { font-family: var(--font-head); font-size: 0.9rem; color: var(--dark); font-weight: bold; }
.otto-nav a:hover, .otto-nav a.active { color: var(--burgundy); }

.btn-gold { background-color: var(--gold); color: var(--white) !important; padding: 10px 25px; border-radius: 2px; border: 1px solid var(--gold); font-family: var(--font-head); }
.btn-gold:hover { background-color: var(--burgundy); border-color: var(--burgundy); }

/* Mobile Menu */
.mobile-toggle { display: none; background: none; border: none; font-size: 2rem; color: var(--burgundy); cursor: pointer; }
.mobile-menu { position: fixed; top: 0; right: -100%; width: 280px; height: 100%; background: var(--parchment); z-index: 2000; padding: 40px; display: flex; flex-direction: column; transition: 0.4s; border-left: 5px solid var(--burgundy); box-shadow: -10px 0 20px rgba(0,0,0,0.2); }
.mobile-menu.active { right: 0; }
.close-menu { align-self: flex-end; background: none; border: none; font-size: 1.5rem; margin-bottom: 20px; cursor: pointer; color: var(--burgundy); }
.mobile-menu a { padding: 15px 0; border-bottom: 1px solid #dcdcdc; font-family: var(--font-head); font-size: 1.1rem; color: var(--dark); }

/* Hero */
.hero-palace {
    height: 650px; background-size: cover; background-position: center; position: relative;
}
.hero-overlay {
    width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(44, 44, 44, 0.7));
    display: flex; align-items: center; justify-content: center; text-align: center;
}
.hero-content { background: rgba(20, 20, 20, 0.8); padding: 50px; border: 2px solid var(--gold); max-width: 700px; color: var(--white); }
.ornament { display: block; font-family: var(--font-head); color: var(--gold); margin-bottom: 15px; letter-spacing: 2px; }
.hero-content h1 { font-family: var(--font-head); font-size: 3.5rem; line-height: 1.2; margin-bottom: 20px; text-shadow: 2px 2px 0 var(--burgundy); }
.hero-content p { font-size: 1.2rem; margin-bottom: 30px; color: #ddd; }

.btn-primary { background-color: var(--burgundy); color: var(--white); padding: 15px 35px; border: 1px solid var(--burgundy); font-family: var(--font-head); margin-right: 15px; display: inline-block; }
.btn-primary:hover { background-color: var(--gold); border-color: var(--gold); }
.btn-secondary { border: 1px solid var(--white); color: var(--white); padding: 15px 35px; font-family: var(--font-head); display: inline-block; }
.btn-secondary:hover { background-color: var(--white); color: var(--dark); }

/* Grid */
.section-padding { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-family: var(--font-head); font-size: 2.5rem; color: var(--burgundy); margin-bottom: 10px; }
.gold-divider { font-size: 2rem; color: var(--gold); }

.tour-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.tour-card { background: var(--white); border: 1px solid #e0e0e0; transition: 0.3s; }
.tour-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.1); border-color: var(--gold); }
.card-img { height: 250px; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.tour-card:hover img { transform: scale(1.1); }
.card-body { padding: 25px; text-align: center; }
.card-body h3 { font-family: var(--font-head); margin-bottom: 10px; color: var(--dark); }
.card-body p { font-size: 0.9rem; color: #666; margin-bottom: 20px; }
.read-more { font-family: var(--font-head); font-weight: bold; color: var(--burgundy); font-size: 0.9rem; }

/* About */
.page-banner { background-color: var(--burgundy); color: var(--gold); padding: 60px 0; text-align: center; border-bottom: 5px solid var(--gold); }
.page-banner h1 { font-family: var(--font-head); font-size: 3rem; }

.heritage-split { display: flex; gap: 50px; align-items: center; }
.text-side { flex: 1; }
.text-side h2 { font-family: var(--font-head); font-size: 2rem; color: var(--dark); margin-bottom: 20px; }
.ornament-line { width: 100px; height: 3px; background-color: var(--gold); margin-bottom: 25px; }
.values-list { list-style: none; margin-top: 30px; font-family: var(--font-head); }
.values-list li { margin-bottom: 10px; font-size: 1.1rem; }
.img-side img { width: 100%; border: 10px solid var(--white); box-shadow: 0 10px 30px rgba(0,0,0,0.15); }

/* Testimonials */
.guestbook-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.entry-card { background: var(--white); padding: 40px; border: 1px solid var(--gold); text-align: center; box-shadow: 5px 5px 0 rgba(0,0,0,0.05); }
.entry-icon { font-size: 2rem; margin-bottom: 15px; }
.entry-card p { font-style: italic; color: #555; margin-bottom: 20px; }
.guest-name { font-family: var(--font-head); font-weight: bold; color: var(--burgundy); }

/* Contact Form */
.contact-parchment { background: var(--white); max-width: 700px; margin: 0 auto; padding: 60px; border: 10px solid var(--parchment); outline: 1px solid var(--gold); box-shadow: 0 0 20px rgba(0,0,0,0.1); }
.contact-header { text-align: center; margin-bottom: 40px; }
.contact-header h2 { font-family: var(--font-head); color: var(--burgundy); font-size: 2rem; }
.info-row { margin-top: 15px; color: var(--gold); font-weight: bold; }
.info-row span { margin: 0 10px; }

.elegant-form .form-group { margin-bottom: 20px; }
.elegant-form label { display: block; font-family: var(--font-head); font-size: 0.9rem; margin-bottom: 5px; color: var(--dark); }
.elegant-form input, .elegant-form select, .elegant-form textarea { width: 100%; padding: 12px; border: 1px solid #ccc; background: var(--parchment); font-family: var(--font-body); }
.elegant-form input:focus, .elegant-form select:focus, .elegant-form textarea:focus { outline: none; border-color: var(--gold); }
.submit-btn { width: 100%; background-color: var(--burgundy); color: var(--white); border: none; padding: 15px; font-family: var(--font-head); font-size: 1.1rem; cursor: pointer; transition: 0.3s; }
.submit-btn:hover { background-color: var(--gold); color: var(--dark); }

/* Legal */
.rules-content { max-width: 800px; margin: 0 auto; background: var(--white); padding: 50px; border: 1px solid var(--gold); }
.rules-content h1 { text-align: center; color: var(--burgundy); font-family: var(--font-head); margin-bottom: 10px; }
.rules-content h3 { color: var(--gold); margin-top: 30px; margin-bottom: 10px; font-family: var(--font-head); }

/* Footer */
.otto-footer { background-color: var(--dark); color: var(--parchment); padding: 60px 0 20px; text-align: center; border-top: 5px solid var(--gold); }
.f-brand h3 { font-family: var(--font-head); color: var(--gold); font-size: 1.8rem; margin-bottom: 10px; }
.f-links a { color: var(--white); margin: 0 15px; font-family: var(--font-head); font-size: 0.9rem; }
.f-links a:hover { color: var(--gold); }
.copyright { margin-top: 40px; font-size: 0.8rem; opacity: 0.6; }

@media (max-width: 900px) {
    .otto-nav { display: none; }
    .mobile-toggle { display: block; }
    .hero-content h1 { font-size: 2.5rem; }
    .tour-grid, .heritage-split, .guestbook-grid { grid-template-columns: 1fr; flex-direction: column; }
    .contact-parchment { padding: 30px; }
}