/* ============================================
   GOLF LANDING PAGE — Specific Styles
============================================ */

body { line-height: 1.6; }

/* Header */
header {
  background: rgba(10, 10, 11, 0.95);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { color: var(--gold); font-size: 1.25rem; font-weight: bold; display: flex; align-items: center; gap: 0.5rem; }

/* Breadcrumbs */
.breadcrumbs { padding: 1.5rem 0; font-size: 0.85rem; color: var(--muted-foreground); border-bottom: 1px solid var(--border); background: var(--background); }
.breadcrumbs a { transition: color 0.2s; }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs span { margin: 0 0.5rem; }

/* Hero */
.hero {
  position: relative;
  padding: 6rem 0 4rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(10, 10, 11, 0.4) 0%, rgba(15, 15, 17, 0.95) 100%), url('/images/golf-hero-bg.jpg');
  background-size: cover;
  background-position: center;
}
.icon-wrapper {
  width: 80px;
  height: 80px;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin: 0 auto 2rem;
}
.hero h1 {
  font-size: clamp(2rem, 8vw, 3rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #e4c06e, #c9a84c, #a07830);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}
.hero p { color: var(--muted-foreground); font-size: 1.2rem; max-width: 700px; margin: 0 auto 2rem; }

/* Content */
.content-section { padding: 5rem 0; }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 4rem; align-items: center; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.feature-img { width: 100%; border-radius: 12px; border: 1px solid var(--border); box-shadow: 0 20px 40px rgba(0,0,0,0.5); }
.feature-content h2 { font-size: 2.2rem; margin-bottom: 1.5rem; color: var(--foreground); font-weight: 700; }
.feature-content p { color: var(--muted-foreground); margin-bottom: 1.5rem; font-size: 1.1rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 1rem 2rem; border-radius: 8px; font-weight: 600; transition: all 0.2s; gap: 0.5rem; cursor: pointer; text-decoration: none; }
.btn-gold { background: var(--gold); color: #000; border: none; }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-outline { border: 1px solid var(--gold); color: var(--gold); background: transparent; }
.btn-outline:hover { background: rgba(201,168,76,0.1); }

/* Footer */
footer { padding: 4rem 0 3rem; border-top: 1px solid var(--border); background: var(--surface); color: var(--muted-foreground); font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; margin-bottom: 3rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-logo { display: flex; align-items: center; gap: 0.75rem; color: var(--gold); font-weight: 700; font-size: 1.25rem; margin-bottom: 1.5rem; }
.footer-brand p { margin-bottom: 1.5rem; line-height: 1.6; }
.footer-socials { display: flex; gap: 0.75rem; }
.social-btn { display: flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: 9999px; border: 1px solid var(--border); transition: all 0.2s; color: var(--muted-foreground); }
.social-btn:hover { color: var(--gold); border-color: var(--gold); background: rgba(201,168,76,0.05); }
.footer-col h4 { color: var(--foreground); font-size: 1.1rem; margin-bottom: 1.5rem; font-weight: 600; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { display: flex; flex-direction: column; justify-content: space-between; align-items: center; border-top: 1px solid var(--border); padding-top: 2rem; gap: 1rem; }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; } }

/* Floating WhatsApp */
#whatsapp-float { position: fixed; bottom: 2rem; right: 2rem; background-color: #25D366; color: white; width: 3.5rem; height: 3.5rem; border-radius: 9999px; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(0,0,0,0.3); z-index: 100; transition: transform 0.2s; }
#whatsapp-float:hover { transform: scale(1.1); }
#whatsapp-float svg { width: 1.8rem; height: 1.8rem; }

/* Form Section */
.form-section { background: var(--surface); border-top: 1px solid var(--border); padding: 5rem 0; }
.form-container { max-width: 600px; margin: 0 auto; background: var(--card); padding: 3rem; border-radius: 12px; border: 1px solid var(--border); box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.form-container h2 { font-size: 2rem; margin-bottom: 1.5rem; text-align: center; color: var(--foreground); font-weight: 700; }
.form-container p.form-desc { text-align: center; color: var(--muted-foreground); margin-bottom: 2.5rem; font-size: 1rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; font-size: 0.95rem; }
.form-control { width: 100%; padding: 0.75rem 1rem; background: var(--background); border: 1px solid var(--border); border-radius: 6px; color: var(--foreground); font-family: inherit; font-size: 1rem; transition: border-color 0.2s; }
.form-control:focus { outline: none; border-color: var(--gold); }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23c9a84c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 1.25rem; padding-right: 2.5rem; }

.radio-group { display: flex; gap: 2rem; margin-top: 0.5rem; }
.radio-label { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; font-weight: 400; font-size: 0.95rem; }
.radio-label input[type="radio"] { appearance: none; width: 1.125rem; height: 1.125rem; border: 1px solid var(--border); border-radius: 9999px; outline: none; position: relative; background: var(--background); cursor: pointer; }
.radio-label input[type="radio"]:checked { border-color: var(--gold); }
.radio-label input[type="radio"]:checked::after { content: ""; display: block; width: 0.5rem; height: 0.5rem; background: var(--gold); border-radius: 9999px; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }

/* Custom File Input */
.file-input-wrapper { position: relative; display: block; }
.file-input-btn { display: flex; align-items: center; justify-content: center; gap: 0.75rem; width: 100%; padding: 1.5rem; background: var(--background); border: 2px dashed var(--border); border-radius: 8px; text-align: center; cursor: pointer; transition: all 0.2s; }
.file-input-btn:hover { border-color: var(--gold); background: rgba(201, 168, 76, 0.02); }
.file-input-wrapper input[type="file"] { position: absolute; left: 0; top: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.file-name-display { margin-top: 0.5rem; font-size: 0.85rem; color: var(--gold); font-weight: 500; display: none; text-align: center; }

/* Alerts */
.alert { padding: 1rem 1.5rem; border-radius: 6px; margin-bottom: 2rem; font-weight: 500; font-size: 0.95rem; }
.alert-success { background: rgba(34, 197, 94, 0.1); border: 1px solid rgba(34, 197, 94, 0.3); color: #4ade80; }
.alert-error { background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.3); color: #f87171; }

/* Gallery Section */
.gallery-section { padding: 5rem 0; background: var(--surface); border-top: 1px solid var(--border); }
@media (min-width: 640px) { .gallery-section { padding: 7rem 0; } }

/* Button Loading state */
.btn-gold.submitting { opacity: 0.7; pointer-events: none; }
.btn-gold .spinner { display: none; width: 1.25rem; height: 1.25rem; border: 2px solid rgba(0,0,0,0.15); border-top-color: #000; border-radius: 50%; animation: spin 0.8s linear infinite; }
.btn-gold.submitting .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Desktop Nav & Dropdowns */
.nav-desktop { display: none; align-items: center; gap: 0.25rem; align-self: center; }
@media (min-width: 1024px) { .nav-desktop { display: flex; } }
.nav-link { padding: 0.5rem 0.75rem; font-size: 0.875rem; font-weight: 500; border-radius: 0.375rem; transition: color 0.2s; color: var(--muted-foreground); }
.nav-link:hover { color: var(--foreground); }
.nav-link.active { color: var(--gold); }
.nav-cta { margin-left: 0.75rem; padding: 0.5rem 1rem; font-size: 0.875rem; font-weight: 600; border-radius: 0.375rem; background: var(--gold); color: var(--background); transition: background 0.2s; }
.nav-cta:hover { background: var(--gold-light); }

.dropdown { position: relative; display: inline-block; }
.dropdown-content { display: none; position: absolute; background-color: var(--surface); min-width: 220px; border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 10px 25px rgba(0,0,0,0.5); z-index: 100; top: 100%; left: 0; padding: 0.5rem 0; }
.dropdown:hover .dropdown-content { display: block; animation: fadeInNav 0.2s ease-in-out; }
@keyframes fadeInNav { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
.dropdown-content a { color: var(--muted-foreground); padding: 10px 20px; text-decoration: none; display: flex; align-items: center; gap: 10px; font-size: 0.95rem; transition: all 0.2s; text-align: left; }
.dropdown-content a:hover { background-color: rgba(255,255,255,0.05); color: var(--gold); }
.dropdown-content a.active { color: var(--gold); }
.dropdown-submenu { position: relative; }
.dropdown-submenu .submenu-content { display: none; position: absolute; left: 100%; top: 0; background-color: var(--surface); min-width: 220px; border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 10px 25px rgba(0,0,0,0.5); padding: 0.5rem 0; margin-left: 2px; z-index: 101; }
.dropdown-submenu:hover .submenu-content { display: block; animation: fadeInSubNav 0.2s ease-in-out; }
@keyframes fadeInSubNav { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: translateX(0); } }

/* Mobile Menu */
.mobile-menu-btn { display: none; padding: 0.5rem; color: var(--muted-foreground); background: transparent; border: none; cursor: pointer; align-self: center; }
.mobile-menu-btn:hover { color: var(--foreground); }
#mobile-menu { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 999; background: rgba(10, 10, 11, 0.98); backdrop-filter: blur(20px); align-items: center; justify-content: center; }
#mobile-menu.open { display: flex; }
#mobile-menu .mobile-close { position: absolute; top: 1.25rem; right: 1rem; padding: 0.5rem; color: var(--muted-foreground); background: none; border: none; cursor: pointer; }
#mobile-menu .mobile-menu-content { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; width: 100%; max-height: 85vh; overflow-y: auto; padding: 2rem 1.5rem; }
#mobile-menu .mobile-nav-link { font-size: 1.5rem; font-weight: 600; color: var(--foreground); transition: color 0.2s; padding: 0.5rem 1rem; text-decoration: none; }
#mobile-menu .mobile-nav-link:hover, #mobile-menu .mobile-nav-link.active { color: var(--gold); }
#mobile-menu .mobile-sublink { font-size: 1.1rem; color: var(--muted-foreground); transition: color 0.2s; padding: 0.25rem 1rem; text-decoration: none; }
#mobile-menu .mobile-sublink:hover { color: var(--gold); }
#mobile-menu .mobile-cta { margin-top: 1rem; padding: 0.75rem 2rem; font-size: 1rem; font-weight: 600; border-radius: 0.375rem; background: var(--gold); color: var(--background); text-decoration: none; transition: background 0.2s; }
#mobile-menu .mobile-cta:hover { background: var(--gold-light); }

/* Mobile overrides */
@media (max-width: 768px) {
  #btn-volver { display: none !important; }
  .mobile-menu-btn { display: flex; }
}

/* Layout para 2 columnas en sección de formulario */
.form-grid-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

/* En móvil/por defecto: formulario arriba, specs abajo (orden natural) */
.specs-container {
  position: relative;
}

.form-container {
  max-width: 100% !important;
  margin: 0 !important;
}

@media (min-width: 1024px) {
  .form-grid-layout {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
  }
  
  /* En escritorio: specs sticky a la derecha */
  .specs-container {
    position: sticky;
    top: 6rem;
  }
}

.specs-card {
  background: var(--card);
  padding: 3rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  text-align: left;
}

.specs-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--foreground);
  background: linear-gradient(135deg, #e4c06e, #c9a84c, #a07830);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.specs-desc {
  color: var(--muted-foreground);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  margin-top: 0;
}

.specs-image-wrapper {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
}

.specs-image {
  max-width: 100%;
  max-height: 250px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.2));
  transition: transform 0.3s ease;
}

.specs-image:hover {
  transform: scale(1.05);
}

.specs-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.spec-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.spec-item svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.spec-item div {
  font-size: 0.95rem;
  line-height: 1.5;
}

.spec-item strong {
  display: block;
  color: var(--foreground);
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.spec-item span {
  color: var(--muted-foreground);
}
