:root {
    --primary-color: #B68D40; 
    --text-dark: #2C3539;
    --text-light: #666666;
    --bg-color: #FDFBF7;
    --bg-light: #FFFFFF;
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background-color: var(--bg-color); color: var(--text-dark); line-height: 1.6; }

h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 600; }
h2 { font-size: 2.5rem; text-align: center; margin-bottom: 3rem; color: var(--primary-color); }
h2::after { content: ''; display: block; width: 60px; height: 2px; background: var(--primary-color); margin: 15px auto 0; }

#navbar { position: fixed; top: 0; width: 100%; background: transparent; transition: background 0.3s, box-shadow 0.3s; z-index: 1000; padding: 15px 0; }
#navbar.scrolled { background: rgba(255, 255, 255, 0.98); box-shadow: 0 2px 10px rgba(0,0,0,0.1); }

.nav-container { width: 90%; max-width: 1200px; margin: auto; display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 700; color: var(--bg-color); transition: color 0.3s; }
#navbar.scrolled .logo { color: var(--text-dark); }

.nav-links { list-style: none; display: flex; gap: 20px; }
.nav-links a { text-decoration: none; color: var(--bg-color); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; transition: color 0.3s; font-weight: 500;}
#navbar.scrolled .nav-links a { color: var(--text-dark); }
.nav-links a:hover { color: var(--primary-color) !important; }

.hamburger { display: none; cursor: pointer; }
.hamburger span { display: block; width: 25px; height: 3px; margin: 5px; background-color: var(--bg-color); transition: all 0.3s; }
#navbar.scrolled .hamburger span { background-color: var(--text-dark); }

.hero { height: 100vh; background: #666 url('../img/imagen_vamar.jpg') center/cover no-repeat; position: relative; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; padding: 0 20px; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.4); }
.hero-content { position: relative; z-index: 1; max-width: 800px; }
.hero-content h4 { font-size: 2.5rem; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 10px; color: #e6d7bc; }
.hero-content h1 { font-size: 4.5rem; margin-bottom: 20px; line-height: 1.1; }
.fecha-destacada { font-size: 1.2rem; font-weight: 500; letter-spacing: 2px; margin-bottom: 20px; text-transform: uppercase; }
.frase { font-style: italic; font-size: 1.1rem; margin-bottom: 40px; opacity: 0.9; }

.countdown { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }
.time-box { background: rgba(255, 255, 255, 0.15); backdrop-filter: blur(5px); padding: 15px 20px; border-radius: 8px; min-width: 90px; border: 1px solid rgba(255, 255, 255, 0.2); }
.time-box span { display: block; font-size: 2rem; font-weight: 700; font-family: var(--font-heading); }
.time-box p { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; }

.section { padding: 80px 20px; }
.bg-light { background-color: var(--bg-light); }
.container { max-width: 1000px; margin: auto; }

.hotel-card { display: flex; background: var(--bg-light); border-radius: 10px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.hotel-info { flex: 1; padding: 50px; display: flex; flex-direction: column; justify-content: center; }
.hotel-info h3 { font-size: 1.8rem; margin-bottom: 15px; color: var(--primary-color); }
.hotel-info p { margin-bottom: 20px; color: var(--text-light); }
.hotel-img { flex: 1; background: #eaeaea; display: flex; align-items: center; justify-content: center; }
.hotel-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-placeholder { padding: 10px; text-align: center; color: #999; }

.btn { display: inline-block; padding: 12px 30px; background: var(--primary-color); color: #fff; text-decoration: none; border-radius: 5px; text-transform: uppercase; letter-spacing: 1px; font-size: 0.9rem; transition: background 0.3s; align-self: flex-start; }
.btn:hover { background: #967232; }

.timeline { position: relative; max-width: 800px; margin: auto; }
.timeline::after { content: ''; position: absolute; width: 2px; background: var(--primary-color); top: 0; bottom: 0; left: 50%; margin-left: -1px; }
.timeline-item { padding: 20px 40px; position: relative; background-color: inherit; width: 50%; }
.timeline-item:nth-child(odd) { left: 0; text-align: right; }
.timeline-item:nth-child(even) { left: 50%; }
.timeline-item::after { content: ''; position: absolute; width: 16px; height: 16px; right: -8px; background-color: var(--bg-color); border: 4px solid var(--primary-color); top: 25px; border-radius: 50%; z-index: 1; }
.timeline-item:nth-child(even)::after { left: -8px; }
.timeline-item .time { font-family: var(--font-heading); font-size: 1.5rem; color: var(--primary-color); margin-bottom: 5px; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.card { background: var(--bg-light); padding: 40px 20px; text-align: center; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: transform 0.3s; }
.card:hover { transform: translateY(-5px); }
.card .icon { font-size: 3rem; margin-bottom: 20px; }
.card h3 { margin-bottom: 15px; font-size: 1.3rem; color: var(--primary-color); }
.card p { color: var(--text-light); font-size: 0.95rem; }

footer { text-align: center; padding: 30px 20px; background: var(--text-dark); color: #fff; font-size: 0.9rem; }

@media (max-width: 768px) {
    .nav-links { display: none; flex-direction: column; position: absolute; top: 60px; left: 0; width: 100%; background: #fff; text-align: center; padding: 20px 0; box-shadow: 0 5px 10px rgba(0,0,0,0.1); }
    .nav-links.active { display: flex; }
    .nav-links a { color: var(--text-dark) !important; padding: 15px 0; }
    .hamburger { display: block; }
    #navbar.scrolled .hamburger span { background-color: var(--text-dark); }
    .hero-content h1 { font-size: 3rem; }
    .hotel-card { flex-direction: column; }
    .hotel-img { min-height: 250px; }
    .timeline::after { left: 31px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; text-align: left !important; }
    .timeline-item:nth-child(even) { left: 0%; }
    .timeline-item::after { left: 23px !important; }
}
