/*
Theme Name: Florería Bety Theme
Theme URI: https://floreriabety.com/
Author: Florería Bety
Description: Tema responsivo para Florería Bety.
Version: 4.0.0
Text Domain: floreria-bety
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --primary: #c2405d;
  --primary-hover: #9f2a44;
  --primary-soft: #fdf0f3;
  --secondary: #1d332d;
  --bg-page: #faf8f5;
  --text-main: #23272a;
  --text-muted: #6b7280;
  --whatsapp: #25d366;
  --whatsapp-hover: #1ebc59;
  --border-color: #eee7e2;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* 1. Barra superior */
.top-announcement {
  background: var(--secondary);
  color: #ffffff;
  text-align: center;
  font-size: 0.85rem;
  padding: 0.6rem 1rem;
  font-weight: 500;
  width: 100%;
}

/* 2. Header y Menú */
.site-header {
  background: #ffffff;
  box-shadow: 0 2px 15px rgba(0,0,0,0.06);
  border-bottom: 1px solid var(--border-color);
  padding: 0.9rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.logo-icon {
  font-size: 1.8rem;
}

.logo-texts {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
}

.logo-tagline {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 6px 10px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--secondary);
  margin: 4px 0;
}

.site-nav ul,
.site-nav .nav-links {
  display: flex;
  list-style: none;
  gap: 0.6rem;
  align-items: center;
}

.site-nav a {
  text-decoration: none;
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  transition: all 0.2s ease;
}

.site-nav a:hover,
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a {
  color: var(--primary);
  background: var(--primary-soft);
}

/* 3. Hero Banner */
.hero {
  background: radial-gradient(circle at 50% 20%, #ffffff 0%, #faeef1 100%);
  padding: 4.5rem 1rem 3.5rem;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.badge-tag {
  display: inline-block;
  background: #ffffff;
  color: var(--primary);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 2px 8px rgba(194, 64, 93, 0.15);
  margin-bottom: 1rem;
}

.hero h2 {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--secondary);
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.hero p {
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
  font-size: 1.15rem;
}

/* 4. Tarjeta Quiénes Somos / Contacto */
.page-content-box {
  background: #ffffff;
  border-radius: 20px;
  padding: 3.5rem 3rem;
  margin: 3.5rem auto;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  max-width: 1050px;
  border: 1px solid var(--border-color);
}

.page-content-box h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: 1.2rem;
  text-align: center;
}

.page-content-box p {
  font-size: 1.05rem;
  color: #4b5563;
  margin-bottom: 1.2rem;
  line-height: 1.7;
}

/* 5. Catálogo de Flores */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.card-arrangement {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-color);
}

.card-thumb-wrap {
  position: relative;
  width: 100%;
  padding-top: 100%;
  overflow: hidden;
}

.card-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding: 1.3rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  padding-top: 0.8rem;
  margin-top: 0.5rem;
}

.card-price {
  font-size: 1.3rem;
  font-weight: 700;
}

.btn-whatsapp-order {
  background: var(--whatsapp);
  color: #ffffff;
  text-decoration: none;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
}

/* 6. Footer y Botón Flotante */
.site-footer {
  background: #18221f;
  color: #94a3b8;
  padding: 3rem 0 2rem;
  text-align: center;
  margin-top: 4rem;
}

.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: var(--whatsapp);
  color: #ffffff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 4px 15px rgba(37,211,102,0.4);
  text-decoration: none;
  z-index: 9999;
}

/* Móvil */
@media (max-width: 850px) {
  .menu-toggle {
    display: block;
  }
  .site-nav {
    display: none;
    width: 100%;
  }
  .site-nav.active {
    display: block;
  }
  .site-nav ul {
    flex-direction: column;
    padding: 1rem 0;
  }
}