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

/* Custom font */
@font-face {
  font-family: "Brown Sugar";
  src: url("../fonts/brown-sugar.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Script font for secondary line in logo */
@font-face {
  font-family: "Nefelibata Script";
  src: url("../fonts/Nefelibata-Script.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Smooth font for headings */
@font-face {
  font-family: "Smooth";
  src: url("../fonts/Smooth.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: "Poppins", sans-serif;
  color: #2e2b26;
  background-color: #ede8e0;
  overflow-x: hidden;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(50, 40, 30, 0.45);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  z-index: 1000;
  transition: background 0.4s ease;
}

.header .container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 90%;
  max-width: 1300px;
  padding: 15px 0;
  gap: 40px;
}

/* Logo + texto */
.logo-container {
  display: flex;
  align-items: center;
  gap: 18px;
}

.logo {
  height: 110px;
  transform: scale(1.2);
  transform-origin: left center;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.24);
}

.logo-text {
  font-family: "Brown Sugar", "Playfair Display", serif;
  color: #f4f0eb;
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: 2.5px;
}

/* Per-line styling for logo title */
.logo-text .logo-line1 {
  display: block;
  font-family: "Brown Sugar", "Playfair Display", serif;
  letter-spacing: 2px;
  text-align: center;
}
.logo-text .logo-line2 {
  display: block;
  font-family: "Nefelibata Script", cursive;

  margin-top: 0px;
  text-align: center;
  font-weight: 50;
  font-size: 1.5rem;
}

.hero-content h1 {
  font-family: "Smooth", cursive !important;
  margin-bottom: 10px;
  color: #fff;
  letter-spacing: 1.5px;
}

/* NAV */
.nav {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.nav a {
  margin: 0 15px;
  text-decoration: none;
  color: #f4f0eb;
  font-weight: 500;
  transition: color 0.3s;
}

.nav a:hover {
  color: #d1b99a;
}

.btn-reserva {
  background-color: #b38b63;
  padding: 8px 18px;
  border-radius: 25px;
  color: white;
  font-weight: 500;
}

.btn-reserva:hover {
  background-color: #9f7752;
}

/* ===== HAMBURGER MENU ===== */
.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger span {
  height: 3px;
  width: 25px;
  background: #fff;
  margin-bottom: 5px;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ===== HERO WITH VIDEO ===== */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

/* Background video */
#bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

/* Overlay cálido */
.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(72, 60, 45, 0.3), rgba(50, 40, 30, 0.6));
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-content h1 {
  font-family: "Playfair Display", serif;
  font-size: 2.8rem;
  margin-bottom: 15px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 25px;
}

.btn-primary {
  background-color: #b38b63;
  color: white;
  padding: 12px 26px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s;
}

.btn-primary:hover {
  background-color: #9f7752;
}

/* ===== SECCIONES ===== */
section {
  padding: 100px 10%;
}

.sobre {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 50px;
}

.sobre .texto {
  flex: 1;
  min-width: 300px;
}

.sobre .texto p {
  text-align: justify;
  text-justify: inter-word;
}

.sobre h2 {
  font-family: "Smooth", cursive;
  color: #3a2e25;
  margin-bottom: 15px;
  letter-spacing: 1.5px;
}

.sobre .imagen {
  flex: 1;
  min-width: 300px;
}

.sobre img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

/* ===== CLASES ===== */
.clases {
  background-color: #e5dfd7;
  text-align: center;
  border-top: 1px solid #d8cfc7;
  border-bottom: 1px solid #d8cfc7;
}

/* Override for servicios section background */
#servicios {
  background-color: #EDE8E0;
}

#contacto {
  background-color: #e5dfd7;
}

.clases h2 {
  font-family: "Smooth", cursive;
  margin-bottom: 40px;
  font-size: 2rem;
  letter-spacing: 1.5px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.card {
  background: #f6f3ef;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.card h3 {
  color: #a6845e;
  margin-bottom: 10px;
  font-family: "Smooth", cursive;
  letter-spacing: 1.5px;
}

/* ===== CONTACTO ===== */
.contacto {
  text-align: center;
}

.contacto .contact-links {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

/* Normalize icon sizes for symmetry */
.contacto .contact-links svg {
  width: 32px;
  height: 32px;
  display: block;
}

/* Slightly larger size for Google Maps icon only */
.contacto .maps-link svg {
  width: 38px;
  height: 38px;
}

.contacto .instagram-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #3a2e25;
  text-decoration: none;
}

.contacto .instagram-link:hover {
  color: #b38b63;
}

.contacto .whatsapp-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #3a2e25;
  text-decoration: none;
}

.contacto .whatsapp-link:hover {
  color: #b38b63;
}

.contacto .maps-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #3a2e25;
  text-decoration: none;
}

.contacto .maps-link:hover {
  color: #b38b63;
}

.contacto .contact-links img {
  width: 32px;
  height: 32px;
  display: block;
}

.contacto h2 {
  margin-bottom: 20px;
  font-family: "Smooth", cursive;
  letter-spacing: 1.5px;
}

.contacto p {
  margin-bottom: 20px;
  color: #4a3d3d;
}

/* ===== FOOTER ===== */
.footer {
  background-color: #3c2e2e;
  color: #ede8e0;
  text-align: center;
  padding: 40px 10px;
}

.footer .social a {
  color: #ede8e0;
  text-decoration: none;
  margin: 0 5px;
  transition: color 0.3s;
}

.footer .social a:hover {
  color: #b38b63;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .logo {
    height: 80px;
  }

  .logo-text {
    font-size: 1.1rem;
  }

  .nav {
    display: none;
    flex-direction: column;
    background: rgba(30,25,20,0.95);
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    text-align: center;
    padding: 20px 0;
  }

  .nav.active {
    display: flex;
  }

  .nav a {
    margin: 10px 0;
    font-size: 1rem;
  }

  .hamburger {
    display: flex !important;
    flex-direction: column;
    margin-left: auto;
  }

  section {
    padding: 80px 6%;
  }

  .hero-content h1 {
    font-size: 2rem;
  }
}
/* ===== LOGIN HERO CON VIDEO ===== */
.login-hero {
  height: 100vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

#bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  filter: brightness(0.6) sepia(0.15);
}

.login-hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(72, 60, 45, 0.4), rgba(50, 40, 30, 0.7));
  z-index: -1;
}

.login-box {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 50px 40px;
  width: 90%;
  max-width: 420px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  color: #fff;
  animation: fadeIn 1s ease;
}

.login-box h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.3rem;
  margin-bottom: 10px;
  color: #fefbf7;
}

.login-box p {
  font-size: 1rem;
  margin-bottom: 25px;
  color: #f1e8dc;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.login-form input {
  width: 100%;
  padding: 12px 15px;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  background-color: rgba(255,255,255,0.9);
  color: #2e2b26;
  transition: all 0.3s ease;
}

.login-form input:focus {
  outline: none;
  box-shadow: 0 0 5px #b38b63;
  transform: scale(1.01);
}

.btn-primary {
  background-color: #b38b63;
  color: white;
  padding: 12px 26px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s, transform 0.3s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: #9f7752;
  transform: translateY(-2px);
}

.login-links {
  margin-top: 25px;
}

.login-links a {
  color: #d9c0a7;
  text-decoration: none;
  margin: 5px 8px;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.login-links a:hover {
  color: #fff;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .login-box {
    padding: 40px 25px;
  }
  .login-box h2 {
    font-size: 1.9rem;
  }
}
