/* --- Variables --- */
:root {
    --color-wine: #722F37;      /* Merlot Red */
    --color-wine-dark: #4a1a21;
    --color-cream: #FDFBF7;     /* Parchment */
    --color-sand: #E6DCC3;      /* Cork */
    --color-green: #556B2F;     /* Olive/Grape Leaf */
    --color-text: #4A4A4A;
    --color-white: #FFFFFF;
    
    --font-heading: 'Cinzel Decorative', cursive;
    --font-body: 'Lato', sans-serif;
    
    --border-radius: 8px;
    --shadow: 0 5px 15px rgba(114, 47, 55, 0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-body);
    background-color: var(--color-cream);
    color: var(--color-text);
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; border-radius: 4px; filter: sepia(10%); }

/* --- Vine Border --- */
.vine-border {
    height: 10px;
    background: repeating-linear-gradient(45deg, var(--color-wine), var(--color-wine) 10px, var(--color-green) 10px, var(--color-green) 20px);
    width: 100%;
}
.vine-border.bottom { margin-top: 20px; }

/* --- Header --- */
.wine-header {
    background-color: var(--color-white);
    padding: 20px 0;
    border-bottom: 1px solid var(--color-sand);
    position: sticky; top: 0; z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.container { width: 90%; max-width: 1100px; margin: 0 auto; }
.header-flex { display: flex; justify-content: space-between; align-items: center; }

.logo { font-family: var(--font-heading); font-size: 1.8rem; color: var(--color-green); font-weight: 700; display: flex; align-items: center; gap: 5px; }
.wine-text { color: var(--color-wine); }
.grape-icon { font-size: 2rem; }

.vintage-nav ul { display: flex; gap: 30px; align-items: center; }
.vintage-nav a { font-weight: 400; color: #555; font-size: 1.1rem; }
.vintage-nav a:hover, .vintage-nav a.active { color: var(--color-wine); text-decoration: underline; }

.btn-wine { background-color: var(--color-wine); color: var(--color-white) !important; padding: 10px 25px; border-radius: var(--border-radius); font-weight: bold; transition: 0.3s; font-family: var(--font-heading); }
.btn-wine:hover { background-color: var(--color-wine-dark); }

.mobile-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.line { width: 30px; height: 3px; background-color: var(--color-wine); border-radius: 2px; }

/* --- Mobile Menu --- */
.mobile-menu {
    position: fixed; top: 0; right: -100%; width: 280px; height: 100%;
    background-color: var(--color-sand); z-index: 2000;
    display: flex; flex-direction: column; padding: 40px; gap: 20px;
    transition: 0.4s ease; border-left: 3px solid var(--color-wine);
}
.mobile-menu.active { right: 0; }
.close-menu { align-self: flex-end; font-size: 2rem; color: var(--color-wine); background: none; border: none; cursor: pointer; }
.mobile-menu a { font-family: var(--font-heading); font-size: 1.2rem; border-bottom: 1px solid #ccc; padding-bottom: 10px; color: var(--color-wine-dark); font-weight: bold; }

/* --- Hero --- */
.hero { position: relative; height: 600px; display: flex; align-items: center; justify-content: center; text-align: center; margin-bottom: 60px; }
.hero-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center; z-index: -2;
}
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(50, 30, 30, 0.4); z-index: -1; }

.hero-content { z-index: 1; color: var(--color-white); max-width: 800px; padding: 30px; background: rgba(74, 26, 33, 0.7); border-radius: var(--border-radius); border: 2px solid var(--color-sand); }
.vintage-tag { background: var(--color-sand); color: var(--color-wine); padding: 5px 15px; font-weight: bold; font-size: 0.8rem; border-radius: 20px; letter-spacing: 2px; }
.hero h1 { font-family: var(--font-heading); font-size: 3.5rem; line-height: 1.2; margin: 20px 0; color: var(--color-white); text-shadow: 2px 2px 5px rgba(0,0,0,0.5); }
.gold-italic { color: #f1c40f; font-style: italic; font-family: var(--font-heading); }
.hero p { font-size: 1.2rem; margin-bottom: 30px; color: #f0f0f0; }

.hero-actions { display: flex; gap: 15px; justify-content: center; }
.btn { padding: 12px 30px; border-radius: var(--border-radius); font-weight: bold; cursor: pointer; border: none; font-family: var(--font-heading); }
.btn-cream { background: var(--color-sand); color: var(--color-wine-dark); }
.btn-cream:hover { background: #fff; }
.btn-outline { border: 2px solid var(--color-sand); background: transparent; color: var(--color-sand); }
.btn-outline:hover { background: var(--color-sand); color: var(--color-wine); }

/* --- Grid --- */
.section-padding { padding: 80px 0; }
.section-head, .page-head { text-align: center; margin-bottom: 50px; }
.section-head h2, .page-head h1 { font-family: var(--font-heading); font-size: 2.5rem; color: var(--color-wine); margin-bottom: 10px; }
.ornament { font-size: 2rem; color: var(--color-green); margin-top: 5px; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.wine-card { background: var(--color-white); border-radius: var(--border-radius); overflow: hidden; box-shadow: var(--shadow); transition: 0.3s; border: 1px solid #eee; }
.wine-card:hover { transform: translateY(-5px); border-color: var(--color-wine); }
.card-img { position: relative; height: 220px; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.wine-card:hover img { transform: scale(1.05); }

.card-body { padding: 25px; text-align: center; }
.card-body h3 { font-family: var(--font-heading); font-size: 1.4rem; color: var(--color-wine); margin-bottom: 10px; }
.card-body p { font-size: 0.95rem; color: #666; margin-bottom: 20px; }
.read-more { color: var(--color-green); font-weight: bold; font-family: var(--font-heading); text-decoration: underline; }

/* --- Banner --- */
.taste-banner { background-color: var(--color-sand); padding: 60px 0; margin-top: 60px; background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgb3BhY2l0eT0iMC4xIj48Y2lyY2xlIGN4PSIxMCIgY3k9IjEwIiByPSIyIiBmaWxsPSIjNzIyRjM3Ii8+PC9zdmc+'); }
.banner-box { max-width: 600px; margin: 0 auto; text-align: center; border: 3px double var(--color-wine); padding: 40px; background: rgba(255,255,255,0.8); }
.banner-box h2 { font-family: var(--font-heading); color: var(--color-wine); font-size: 2.2rem; margin-bottom: 15px; }
.banner-box p { font-size: 1.1rem; margin-bottom: 25px; color: var(--color-text); }

/* --- Zig-Zag (About) --- */
.zig-zag { display: flex; flex-direction: column; gap: 60px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.row.reverse .text-col { order: 2; }
.row.reverse .img-col { order: 1; }
.text-col h2 { font-family: var(--font-heading); color: var(--color-green); font-size: 2rem; margin-bottom: 20px; }
.check-list { list-style: none; margin-top: 20px; color: #555; }
.check-list li { margin-bottom: 5px; font-weight: bold; }
.img-col img { border-radius: var(--border-radius); box-shadow: 10px 10px 0 var(--color-sand); }

/* --- Guestbook (Testimonials) --- */
.guestbook-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.guest-entry { background: #fff; padding: 40px 30px; border-radius: 4px; box-shadow: var(--shadow); position: relative; border: 1px solid #f0e6d2; }
.wax-seal { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); width: 40px; height: 40px; background: var(--color-wine); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-weight: bold; border: 2px solid var(--color-sand); box-shadow: 0 2px 5px rgba(0,0,0,0.2); }
.guest-entry p { font-style: italic; color: #555; margin: 15px 0 20px; text-align: center; }
.guest-name { text-align: center; border-top: 1px solid #eee; padding-top: 15px; }
.guest-name strong { display: block; font-family: var(--font-heading); color: var(--color-wine-dark); }
.guest-name span { font-size: 0.8rem; color: #888; }

/* --- Contact & Forms --- */
.paper-container { max-width: 800px; margin: 0 auto; background: #fff; padding: 50px; box-shadow: var(--shadow); border: 1px solid #e0e0e0; border-radius: 4px; display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; }
.contact-info h3 { font-family: var(--font-heading); color: var(--color-green); margin-bottom: 20px; font-size: 1.5rem; }
.c-line { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; color: #555; }
.c-line span { font-size: 1.2rem; color: var(--color-wine); }

.vintage-form .form-group { margin-bottom: 20px; }
.vintage-form label { display: block; margin-bottom: 5px; font-weight: bold; font-family: var(--font-heading); color: var(--color-wine); font-size: 0.9rem; }
.vintage-form input, .vintage-form select, .vintage-form textarea { width: 100%; padding: 10px; border: 1px solid #ccc; background: var(--color-cream); border-radius: 4px; font-family: var(--font-body); }
.vintage-form input:focus { border-color: var(--color-wine); outline: none; }
.full-width { width: 100%; }

/* --- Legal --- */
.legal-paper { max-width: 800px; margin: 0 auto; background: #fff; padding: 60px; border: 1px solid #ddd; box-shadow: var(--shadow); }
.legal-paper h1 { font-family: var(--font-heading); color: var(--color-wine); text-align: center; }
.meta { text-align: center; font-style: italic; color: #888; }
.sep-line { width: 100px; height: 2px; background: var(--color-sand); margin: 30px auto; }
.legal-paper h3 { color: var(--color-green); margin-top: 30px; margin-bottom: 10px; font-family: var(--font-heading); }

/* --- Footer --- */
.vintage-footer { background-color: #2b1d1d; color: var(--color-sand); padding: 60px 0 0; margin-top: auto; text-align: center; }
.footer-logo { font-family: var(--font-heading); font-size: 2rem; margin-bottom: 20px; }
.footer-info a { color: var(--color-white); margin: 0 15px; font-weight: 300; }
.footer-info a:hover { color: var(--color-green); }
.copyright { margin-top: 30px; margin-bottom: 20px; font-size: 0.8rem; color: #888; }

@media (max-width: 992px) {
    .vintage-nav { display: none; }
    .mobile-toggle { display: flex; }
    .hero h1 { font-size: 2.5rem; }
    .zig-zag .row { grid-template-columns: 1fr; }
    .paper-container { grid-template-columns: 1fr; }
}