/* Tipografía base */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600&family=Inter:wght@400;500&display=swap');

:root {
  --bg-color: #5f4431; /* café cálido */
  --bg-light: #8a6a4f;
  --text-light: #fffaf2;
  --accent: #f5a623; /* naranja cálido */
  --card-bg: rgba(255,255,255,0.08);
  --radius-lg: 1.25rem;
  --radius-md: .75rem;
  --shadow-card: 0 20px 40px rgba(0,0,0,.45);
  --transition-fast: .18s ease;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  background-color: var(--bg-color);
  color: var(--text-light);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  line-height: 1.5;
}

/* Header */
.main-header {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(15, 10, 8, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .75rem 1rem;
  z-index: 1000;
  box-shadow: 0 10px 30px rgba(0,0,0,.6);
}

.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.logo {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 20px rgba(0,0,0,.6);
  border: 2px solid rgba(255,255,255,.4);
}

.brand-text h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1rem;
  margin: 0;
  color: var(--text-light);
}
.brand-text .tagline {
  font-size: .7rem;
  margin: 0;
  color: rgba(255,255,255,.7);
  letter-spacing: .03em;
}

.nav-toggle {
  background: transparent;
  border: 1px solid rgba(255,255,255,.4);
  color: var(--text-light);
  font-size: 1rem;
  padding: .5rem .75rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: none;
}

.nav ul,
.nav ul#navMenu {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav a {
  color: var(--text-light);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.nav a:hover {
  color: var(--accent);
}

/* Secciones genéricas */
.section-padding {
  padding: 4rem 1rem;
}

h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  margin-top: 0;
  color: var(--text-light);
  font-size: clamp(1.5rem, 1vw + 1rem, 2rem);
  line-height: 1.2;
  text-shadow: 0 12px 30px rgba(0,0,0,.8);
}

p, li, label, input, textarea, a, button {
  font-size: 1rem;
}

/* HERO */
.hero {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media(min-width:768px){
  .hero {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-content {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(255,255,255,.08);
  color: var(--text-light);
}

.hero-content h2 {
  font-size: clamp(1.6rem, 1vw + 1rem, 2.2rem);
  margin-bottom: .5rem;
  color: var(--text-light);
}

.hero-content p {
  color: rgba(255,255,255,.9);
  margin: .5rem 0 1rem;
  font-size: 1rem;
}

.open-hours {
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.hero-img img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  object-fit: cover;
  display: block;
  border: 2px solid rgba(255,255,255,.15);
}

/* BOTÓN CTA */
.btn-cta {
  display: inline-block;
  background: var(--accent);
  color: #1a120b;
  text-decoration: none;
  border: 0;
  border-radius: var(--radius-md);
  font-weight: 600;
  padding: .8rem 1.1rem;
  line-height: 1.2;
  font-size: .95rem;
  box-shadow: 0 14px 30px rgba(0,0,0,.7);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.btn-cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,.9);
}

/* NOSOTROS */
.about {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}
@media(min-width:900px){
  .about {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.about-text p {
  color: rgba(255,255,255,.9);
}
.bullets {
  list-style: "🍷 ";
  padding-left: 1.5rem;
  color: rgba(255,255,255,.9);
  font-size: .95rem;
}

.about-photos {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}
.about-photos img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  object-fit: cover;
  border: 2px solid rgba(255,255,255,.15);
}
.about-photos img.second {
  transform: translateY(10%);
}

/* GALERÍA */
.gallery {
  background: radial-gradient(circle at 50% 0%, rgba(245,166,35,.25) 0%, rgba(0,0,0,0) 70%);
  text-align: center;
}

.gallery-sub {
  color: rgba(255,255,255,.7);
  font-size: .9rem;
  margin-top: .25rem;
}

.gallery-grid {
  margin-top: 2rem;
  max-width: var(--max-width);
  padding: 0 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(240px,45%),1fr));
  gap: 1rem;
  margin-left: auto;
  margin-right: auto;
}
.gallery-item {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: var(--shadow-card);
  border: 2px solid rgba(255,255,255,.1);
}
.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 30px 60px rgba(0,0,0,.9);
}

/* MODAL IMG */
.modal {
  display: none;
  position: fixed;
  z-index: 4000;
  padding-top: 4rem;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,.85);
}
.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 70vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}
#modalCaption {
  margin: 1rem auto 0;
  text-align: center;
  max-width: 90%;
  color: var(--text-light);
  font-size: .9rem;
}
.close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: var(--text-light);
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  text-shadow: 0 10px 20px rgba(0,0,0,.6);
}

/* FACEBOOK */
.facebook {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}
.fb-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  overflow: hidden;
}
.alt-link {
  color: rgba(255,255,255,.8);
  font-size: .9rem;
  margin-top: 1rem;
}
.alt-link a {
  color: var(--accent);
  text-decoration: none;
}

/* UBICACIÓN */
.location {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}
@media(min-width:900px){
  .location {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}
.map-embed iframe {
  width: 100%;
  min-height: 260px;
  border: 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  border: 2px solid rgba(255,255,255,.1);
}
.location-text p {
  color: rgba(255,255,255,.9);
  max-width: 40ch;
}

/* CONTACTO */
.contact {
  background: radial-gradient(circle at 50% 0%, rgba(255,255,255,.07) 0%, rgba(0,0,0,0) 70%);
  text-align: center;
}
.contact-form {
  max-width: 500px;
  margin: 0 auto 2rem;
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(255,255,255,.1);
  text-align: left;
}
.field {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}
label {
  font-size: .8rem;
  color: rgba(255,255,255,.8);
  margin-bottom: .4rem;
}
input, textarea {
  background: rgba(0,0,0,.4);
  color: var(--text-light);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-md);
  padding: .8rem;
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: all var(--transition-fast);
}
input:focus, textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(245,166,35,.3);
}
.contact-direct {
  color: rgba(255,255,255,.9);
  font-size: .95rem;
  line-height: 1.6;
}
.contact-direct a {
  color: var(--accent);
  text-decoration: none;
}

/* WHATSAPP FLOAT */
.wa-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  background: #25d366;
  color: #0b1a0b;
  font-weight: 600;
  border-radius: 999px;
  padding: .8rem 1rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .9rem;
  box-shadow: 0 25px 45px rgba(0,0,0,.7);
  border: 2px solid rgba(255,255,255,.4);
  z-index: 5000;
}
.wa-icon {
  font-size: 1.2rem;
  line-height: 1;
}

/* FOOTER */
.footer {
  text-align: center;
  background: #1a120b;
  color: rgba(255,255,255,.75);
  padding: 2rem 1rem 4rem;
  font-size: .8rem;
  line-height: 1.6;
}
.footer a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}
.copy {
  margin-top: .5rem;
  color: rgba(255,255,255,.5);
  font-size: .75rem;
}

/* RESPONSIVE NAV */
@media(max-width:768px){
  .nav-toggle {
    display: block;
  }
  .nav ul {
    position: absolute;
    top: 60px;
    right: 1rem;
    background: rgba(15,10,8,.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius-md);
    padding: 1rem;
    flex-direction: column;
    min-width: 200px;
    display: none;
    z-index: 2000;
  }
  .nav ul.show {
    display: flex;
  }
  .nav a {
    font-size: 1rem;
  }
}

/* Small helpers */
.card-float {
  animation: floatUp .6s ease both;
}
.shadowed {
  animation: floatUp .6s ease both;
}
@keyframes floatUp {
  from {opacity:0; transform: translateY(20px) scale(.98);}
  to {opacity:1; transform: translateY(0) scale(1);}
}
