/*
Theme Name: Friobar Landing
Theme URI: https://friobar.com
Author: Friobar Dev
Description: Landing page moderna para Friobar | Vizzel. Minimalista, responsive, mobile-first.
Version: 1.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: friobar-landing
*/

/* ==========================================
   FRIOBAR | VIZZEL — Landing Page Styles
   Mobile-first | Pure CSS | No frameworks
   ========================================== */

/* ---------- RESET & BASE ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: #0F172A;
  background-color: #FFFFFF;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ---------- UTILITIES ---------- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
  color: #0F172A;
}

.section-subtitle {
  font-size: 0.95rem;
  text-align: center;
  color: #64748B;
  margin-bottom: 40px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 14px 32px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  text-align: center;
}

.btn-outline {
  background: transparent;
  color: #FFFFFF;
  border: 1.5px solid #FFFFFF;
}

.btn-outline:hover {
  background: #FFFFFF;
  color: #0F172A;
}

.btn-primary {
  background: #0F172A;
  color: #FFFFFF;
  border: 1.5px solid #0F172A;
}

.btn-primary:hover {
  background: #1E293B;
  border-color: #1E293B;
}

.btn-full {
  width: 100%;
}

/* ==========================================
   HERO
   ========================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #0F172A;
  color: #FFFFFF;
  text-align: center;
  padding: 40px 20px;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  line-height: 1.15;
}

.hero-subtitle {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.5;
  animation: bounce 2s infinite;
  z-index: 2;
}

.chevron-down {
  font-size: 2rem;
  color: #FFFFFF;
  display: block;
  line-height: 1;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ==========================================
   PRODUCTOS
   ========================================== */
.products {
  padding: 80px 0;
  background: #FFFFFF;
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.product-card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 8px 24px rgba(0, 0, 0, 0.06);
}

.product-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
  background: #F1F5F9;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-name {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: #0F172A;
}

.product-description {
  font-size: 0.85rem;
  color: #64748B;
  margin-bottom: 8px;
  line-height: 1.5;
}

.product-price {
  font-size: 0.9rem;
  font-weight: 600;
  color: #0F172A;
}

/* ==========================================
   RIFA / PARTICIPACIÓN
   ========================================== */
.raffle {
  padding: 80px 0;
  background: #F8FAFC;
}

.form-container {
  max-width: 560px;
  margin: 0 auto;
  background: #FFFFFF;
  border-radius: 16px;
  padding: 32px 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 4px 16px rgba(0, 0, 0, 0.04);
}

.raffle-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 500;
  color: #475569;
}

.form-group input,
.form-group textarea {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  padding: 12px 16px;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  background: #FFFFFF;
  color: #0F172A;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #94A3B8;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #6366F1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background: #0F172A;
  padding: 32px 20px;
  text-align: center;
}

.footer-text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ==========================================
   RESPONSIVE — TABLET (≥ 600px)
   ========================================== */
@media (min-width: 600px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-container {
    padding: 40px 32px;
  }

  .section-title {
    font-size: 2rem;
  }

  .hero-title {
    font-size: 3rem;
  }
}

/* ==========================================
   RESPONSIVE — DESKTOP (≥ 960px)
   ========================================== */
@media (min-width: 960px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .hero-title {
    font-size: 3.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 2.25rem;
  }

  .form-container {
    padding: 48px 40px;
  }

  .container {
    padding: 0 40px;
  }
}
