/* Pipapo — Premium Global Styles */

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

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

:root {
  --primary: #0091ea;
  --primary-dark: #01416e;
  --primary-light: #f0faff;
  --accent: #ffb300;
  --white: #ffffff;
  --bg-light: #fcfdfe;
  --text: #0a1012;
  --text-mid: #37474f;
  --text-light: #78909c;
  --border: rgba(1, 65, 110, 0.08);
  --shadow-sm: 0 4px 20px rgba(0,0,0,0.04);
  --shadow-lg: 0 30px 60px rgba(0,0,0,0.06);
  --paper: #f9f5e8;
  --paper-dark: #e8dfc0;
}

html, body {
  width: 100%;
  overflow-x: hidden;
  position: relative;
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--bg-light);
  color: var(--text);
  line-height: 1.7;
  opacity: 0;
  animation: pageFadeIn 1s forwards;
}

@keyframes pageFadeIn { to { opacity: 1; } }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ——— NAV ——— */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 2.5rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

nav.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(25px);
  padding: 1rem 4rem;
  box-shadow: 0 5px 40px rgba(0,0,0,0.03);
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: var(--white);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  font-style: italic;
  display: flex;
  flex-direction: column;
}

nav.scrolled .nav-logo { color: #000; }

.nav-logo span {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
  font-weight: 600;
  font-style: normal;
}

nav.scrolled .nav-logo span { color: var(--text-light); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 3.5rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  transition: color 0.3s;
}

nav.scrolled .nav-links a { color: #000; }
.nav-links a:hover { color: var(--accent); }

.nav-cta {
  background: var(--primary-dark);
  color: var(--white) !important;
  padding: 0.7rem 1.6rem;
  font-weight: 700 !important;
  border-radius: 50px;
}

/* ——— FLOATING SOCIALS ——— */
.floating-socials {
  position: fixed;
  bottom: 2.5rem;
  right: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  z-index: 1000;
}
.social-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  color: white;
}
.social-icon:hover { transform: scale(1.15) rotate(10deg); }
.social-icon svg { width: 30px; height: 30px; fill: currentColor; }
.social-whatsapp { background: #25d366; }
.social-instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }

/* ——— BUTTONS ——— */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.1rem 2.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.4s;
  border-radius: 50px;
  text-transform: uppercase;
  border: none;
}

.btn-blue { background: var(--primary-dark); color: var(--white); }
.btn-outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.6); }

/* ——— TICKER ——— */
.ticker-wrapper {
  width: 100%;
  overflow: hidden;
  padding: 4rem 0;
}

.ticker-content {
  display: flex;
  width: max-content;
  gap: 2rem;
}

.animate-left { animation: ticker-left 40s linear infinite; }

@keyframes ticker-left { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.review-card-mini {
  background: var(--white);
  padding: 2.5rem;
  width: 380px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.gallery-ticker-item {
  width: 300px;
  height: 350px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 12px;
}

.gallery-ticker-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ——— RESERVATION ——— */
.res-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  background: var(--white);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(1, 65, 110, 0.1);
  max-width: 1100px;
  margin: 0 auto;
}
.res-form { padding: 5rem; }
.res-info { 
  padding: 5rem; 
  background: linear-gradient(135deg, var(--primary-dark) 0%, #002a4a 100%); 
  color: var(--white); 
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.res-info h3 { font-family: 'Playfair Display'; font-size: 2.5rem; margin-bottom: 2rem; font-style: italic; }
.form-group { margin-bottom: 2rem; }
.form-group label { display: block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 1rem; color: var(--text-light); }
.form-group input, .form-group select {
  width: 100%; padding: 1.2rem; border: 1px solid var(--border); border-radius: 12px; font-family: inherit; font-size: 1rem; color: var(--primary-dark); background: var(--bg-light);
}
.opening-hours { list-style: none; }
.opening-hours li { display: flex; justify-content: space-between; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,0.1); font-size: 1rem; opacity: 0.9; }

/* ——— MOBILE ——— */
@media (max-width: 1000px) {
  nav { padding: 1.2rem 2rem; }
  nav.scrolled { padding: 0.8rem 2rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 3rem; }
  .res-card { grid-template-columns: 1fr; border-radius: 0; }
  .res-form, .res-info { padding: 4rem 2rem; }
}

@media (max-width: 600px) {
  .container { padding: 0 1.5rem; }
  .nav-logo { font-size: 1.6rem; }
  .section-header h2 { font-size: 2.2rem !important; }
  .btn { width: 100%; justify-content: center; padding: 1rem; }
  .review-card-mini { width: 300px; padding: 1.5rem; }
  .gallery-ticker-item { width: 220px; height: 280px; }
  .floating-socials { bottom: 1.5rem; right: 1.5rem; gap: 0.8rem; }
  .social-icon { width: 50px; height: 50px; }
  .social-icon svg { width: 24px; height: 24px; }
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1100;
}
.hamburger span {
  width: 25px;
  height: 2px;
  background-color: var(--white);
  transition: 0.3s;
}
nav.scrolled .hamburger span { background-color: #000; }

.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--primary-dark);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transform: translateX(100%);
  transition: 0.5s;
}
.mobile-nav.active { transform: translateX(0); }
.mobile-nav a { color: white; font-size: 2rem; font-family: 'Playfair Display'; font-style: italic; }
