/* contact.css */
/* ==================== 1. RESET ==================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ==================== 2. VARIABLES ==================== */
:root {
  --primary: #800020;
  --accent: #e6a4b4;
  --white: #fff;
  --text: #333;
  --text-light: #555;
  --bg-overlay: rgba(255, 255, 255, 0.98);
  --shadow: rgba(0, 0, 0, 0.1);
  --shadow-strong: rgba(0, 0, 0, 0.15);
  --shadow-text: rgba(0, 0, 0, 0.3);

  --font-main: 'Poppins', sans-serif;
  --font-title: 'League Spartan', sans-serif;
  --font-body: 'Montserrat', sans-serif;

  --radius: 16px;
  --transition: all 0.3s ease;
  --container: 1200px;
  --padding: 40px;
}

/* ==================== 3. CUERPO ==================== */
body {
  font-family: var(--font-main);
  line-height: 1.7;
  color: var(--text);
  background: linear-gradient(135deg, var(--primary) 0%, #d4a5b0 50%, var(--accent) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ==================== 4. HEADER Y MENÚ ==================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--bg-overlay);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px var(--shadow-strong);
  padding: 1rem var(--padding);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: transform 0.4s ease-out;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

header.hide {
  transform: translateY(-100%);
}

/* Logo */
.logo-text {
  font-family: var(--font-title);
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 800;
  color: var(--primary);
}

.logo-chamed {
  color: var(--accent);
}

/* Menú móvil */
#menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--primary);
  padding: 0.5rem;
  z-index: 1001;
}

/* Navegación */
nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  position: relative;
}

nav a:hover {
  color: var(--primary);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

/* Menú móvil activo */
@media (max-width: 768px) {
  #menu-toggle {
    display: block;
  }

  #menu-list {
    position: fixed;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: var(--bg-overlay);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
    padding: 80px 20px 40px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.26, 1.55);
    z-index: 999;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    overflow-y: auto;
    border-radius: 16px 0 0 16px;
  }

  #menu-list.active {
    transform: translateX(0);
  }

  header {
    padding: 1rem 20px;
  }

  nav ul {
    display: none;
  }
}

/* ==================== 5. HERO ==================== */
.hero-section {
  background: url('https://placehold.co/1920x800/800020/e6a4b4?text=Caracas%2C+Venezuela') center/cover no-repeat;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-content {
  max-width: 800px;
  padding: 0 20px;
  z-index: 2;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin: 0;
}

/* ==================== 6. CONTACTO EN DOS COLUMNAS ==================== */
.contact-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .contact-main {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

/* Tarjeta de contacto */
.contact-info {
  background: var(--bg-overlay);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: 0 10px 30px var(--shadow);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
}

.contact-info h2 {
  color: var(--primary);
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

.contact-info p,
.contact-info li {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 0.7rem;
}

.contact-info strong {
  color: var(--primary);
}

.social-list {
  list-style: none;
  padding-left: 0;
}

/* Formulario */
.contact-form-section {
  background: var(--bg-overlay);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: 0 10px 30px var(--shadow);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
}

.contact-form-section h2 {
  color: var(--primary);
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

.form-description {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

/* Formulario interno */
.contact-form label {
  display: block;
  text-align: left;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--primary);
  font-size: 1rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: var(--font-main);
  font-size: 1rem;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(230, 164, 180, 0.3);
}

/* Botón de enviar personalizado */
.btn-submit {
  display: block;
  background: linear-gradient(45deg, var(--primary), var(--accent));
  color: var(--white);
  padding: 14px 40px;
  border: none;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 6px 20px rgba(128, 0, 32, 0.3);
  transition: var(--transition);
  cursor: pointer;
  margin: 20px auto 0;
  max-width: 300px;
  font-family: var(--font-main);
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(128, 0, 32, 0.4);
}

/* ==================== 7. MENSAJE FINAL Y FOOTER ==================== */
.closing-message {
  text-align: center;
  padding: 60px 20px;
  color: var(--white);
  font-style: italic;
  font-size: 1.1rem;
  background: linear-gradient(to right, var(--primary), #d4a5b0);
}

.footer-light {
  text-align: center;
  padding: 3rem 1.5rem;
  color: #555;
  font-size: 1rem;
  background: #f8f9fa;
  border-top: 1px solid #e9ecef;
  margin: 80px 0 40px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.footer-light p {
  margin: 8px 0;
  font-weight: 400;
  line-height: 1.6;
  color: #666;
}

/* ==================== 8. WHATSAPP FLOTANTE ==================== */
.whatsapp-float-btn {
  position: fixed;
  bottom: 30px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 26px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 999;
  border: 3px solid white;
  transition: all 0.3s ease;
  animation: float 3s ease-in-out infinite;
  font-weight: bold;
}

.whatsapp-float-btn:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

@keyframes float {
  0% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-6px) scale(1.05); }
  100% { transform: translateY(0px) scale(1); }
}

/* ==================== 9. MEDIA QUERIES ==================== */
@media (max-width: 480px) {
  .whatsapp-float-btn {
    width: 55px;
    height: 55px;
    font-size: 24px;
    bottom: 20px;
    right: 15px;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .footer-light {
    padding: 2rem 1rem;
    font-size: 0.95rem;
  }
}