@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Montserrat:wght@300;400;500;600&display=swap');

:root {

body[data-theme="dark"], body:not([data-theme]) {
    --bg: #0c0c0c;
    --bg-alt: #161616;
    --text: #e8e8e8;
    --text-muted: #a0a0a0;
    --header-bg: rgba(12, 12, 12, 0.97);
    --card-bg: #1a1a1a;
    --input-bg: #111;
    --border: rgba(201, 169, 98, 0.25);
    --sidebar-bg: #111;
    --footer-bg: #080808;
}

body[data-theme="light"] {
    --bg: #faf8f5;
    --bg-alt: #ffffff;
    --text: #2c2c2c;
    --text-muted: #666666;
    --header-bg: rgba(255, 255, 255, 0.97);
    --card-bg: #ffffff;
    --input-bg: #fafafa;
    --border: #e8e4dc;
    --sidebar-bg: #ffffff;
    --footer-bg: #f5f3ef;
}
    --gold: #b8954a;
    --gold-light: #d4bc7a;
    --gold-dark: #8a6d32;
    --green: #1a5c3a;
    --green-light: #2d8a5e;
    --green-soft: #e8f4ee;
    --black: #1a1a1a;
    --dark: #2a2a2a;
    --cream: #faf8f5;
    --white: #ffffff;
    --text: #2c2c2c;
    --muted: #666666;
    --border: #e8e4dc;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    transition: background 0.3s, color 0.3s;
}

/* Header */
header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 85px;
    background: var(--header-bg);
    border-bottom: 2px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: background 0.3s;
}

.menu-btn {
    position: absolute;
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    z-index: 1001;
}

.menu-btn span {
    display: block;
    width: 7px;
    height: 7px;
    background: var(--gold);
    border-radius: 50%;
    transition: 0.3s;
}

.menu-btn:hover span { background: var(--gold-light); }

.theme-toggle {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: 1px solid var(--gold);
    color: var(--gold);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    z-index: 1001;
}

.theme-toggle:hover {
    background: var(--gold);
    color: var(--black);
}

.brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-decoration: none;
}

.brand-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1;
    display: flex;
    align-items: center;
}

.brand img {
    height: 70px;
    width: auto;
    filter: drop-shadow(0 0 6px rgba(201, 169, 98, 0.4));
    display: block;
}

/* Disable underline on all links */
a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}
.sidebar {
    position: fixed;
    top: 0; left: -340px;
    width: 320px;
    height: 100vh;
    background: var(--sidebar-bg);
    border-right: 2px solid var(--gold);
    z-index: 999;
    transition: left 0.35s ease, background 0.3s;
    padding-top: 100px;
    overflow-y: auto;
    box-shadow: 4px 0 20px rgba(0,0,0,0.08);
}

.sidebar.active { left: 0; }

.sidebar ul { list-style: none; }

.sidebar li a {
    display: block;
    padding: 16px 35px;
    color: var(--text);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 500;
    border-bottom: 1px solid var(--border);
    transition: 0.25s;
}

.sidebar li a:hover,
.sidebar li a.active {
    background: var(--green-soft);
    color: var(--green);
    padding-left: 45px;
}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    z-index: 998;
    display: none;
}
.overlay.active { display: block; }

main { margin-top: 85px; }

/* Hero */
.hero {
    min-height: 85vh;
    background: linear-gradient(rgba(12,12,12,0.55), rgba(12,12,12,0.7)), url('../images/hero.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    padding: 80px 40px;
}

body[data-theme="light"] .hero {
    background: linear-gradient(rgba(255,255,255,0.35), rgba(255,255,255,0.55)), url('../images/hero.jpg') center/cover no-repeat;
}

.hero-content {
    max-width: 650px;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 5.5rem;
    font-weight: 700;
    color: var(--text);
    line-height: 0.95;
    margin-bottom: 25px;
    letter-spacing: -1px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text);
    margin-bottom: 35px;
    max-width: 480px;
    font-weight: 400;
}

.btn {
    display: inline-block;
    background: var(--gold);
    color: var(--black);
    padding: 16px 36px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
}

.btn:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--black);
}

/* Sections */
.section {
    padding: 90px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-dark {
    background: var(--bg-alt);
}

.section h2, .page-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem;
    color: var(--text);
    margin-bottom: 20px;
    font-weight: 600;
}

.section .subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
    font-weight: 300;
}

/* Amenities grid with icons */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.95rem;
}

.amenity-item .icon {
    width: 42px;
    height: 42px;
    background: rgba(201, 169, 98, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.3rem;
    flex-shrink: 0;
}

/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 4px;
    transition: 0.4s;
}

.gallery img:hover { transform: scale(1.03); }

/* Calendar page specific */
.reservation-page {
    position: relative;
    min-height: 100vh;
    padding-top: 40px;
}

.vines-left, .vines-right {
    position: absolute;
    top: 0;
    width: 280px;
    height: 100%;
    background-image: url('../images/vine-tile.png');
    background-repeat: repeat-y;
    background-size: 280px auto;
    background-position: top center;
    pointer-events: none;
    opacity: 0.92;
    z-index: 1;
}

.vines-left {
    left: 0;
}

.vines-right {
    right: 0;
    transform: scaleX(-1);
}

.calendar-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.calendar {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 30px;
    margin: 30px auto;
    max-width: 520px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    color: var(--gold);
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    text-align: center;
}

.day {
    padding: 12px 4px;
    border-radius: 6px;
    background: var(--bg-alt);
    font-size: 0.9rem;
    color: var(--text);
}

.day.available { background: #1e3a2f; color: #a8e6c9; cursor: pointer; }
.day.booked { background: #3d1f1f; color: #888; }
body[data-theme="light"] .day.available { background: #e8f4ee; color: var(--green); }
body[data-theme="light"] .day.booked { background: #f5e6e6; color: #aaa; }
.day.selected { 
    background: var(--gold) !important; 
    color: var(--black) !important; 
    font-weight: 600; 
}
.day.header { background: transparent; color: var(--gold); font-weight: 600; font-size: 0.8rem; }

/* Forms */
form {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border);
    max-width: 620px;
    margin: 30px auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

label {
    display: block;
    margin: 18px 0 6px;
    color: var(--gold);
    font-size: 0.9rem;
    font-weight: 500;
}

input, select, textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--border);
    background: var(--input-bg);
    color: var(--text);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
}

textarea { min-height: 110px; }

/* WhatsApp */
.btn-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    z-index: 100;
    transition: 0.3s;
}
.btn-whatsapp:hover { transform: scale(1.08); }

/* Footer */
footer {
    background: var(--footer-bg);
    border-top: 2px solid var(--gold);
    padding: 40px 20px;
    text-align: center;
    color: var(--text-muted);
}

footer a { color: var(--gold); text-decoration: none; margin: 0 12px; }

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 3.2rem; }
    .brand-text { font-size: 1.4rem; }
    .brand img { height: 52px; }
    .section { padding: 60px 20px; }
    .vines-left, .vines-right { width: 120px; opacity: 0.7; }
    .section h2 { font-size: 2.4rem; }
}

@media (max-width: 480px) {
    header { height: 75px; }
    main { margin-top: 75px; }
    .brand-text { font-size: 1.15rem; letter-spacing: 1px; }
    .brand img { height: 42px; }
    .hero-content h1 { font-size: 2.6rem; }
}
/* Scroll reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.55s ease-out, transform 0.55s ease-out;
    will-change: opacity, transform;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Slight delay variants for staggered effect */
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }

/* Hero content also animates on load */
.hero-content {
    opacity: 0;
    transform: translateY(30px);
    animation: heroIn 0.7s ease-out 0.2s forwards;
}

@keyframes heroIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
