/*
 Theme Name: Polka na Teneryfie Child
 Theme URI: https://polkanateneryfie.com
 Description: Child theme for Polka na Teneryfie - Sunset Premium brand
 Author: Manus AI
 Template: astra
 Version: 1.0.0
*/

/* ===== BRAND BOOK: SUNSET PREMIUM ===== */
/* Colors: Cream Sand #F3E2CF | Espresso #4D1A12 | Sunset Gold #F4821A | Terracotta #E5374F | Warm Taupe #C3B9F2 | Off-white #F7F4E3 */
/* Fonts: Cormorant Garamond (headings) | Manrope (body) */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Manrope:wght@300;400;500;600;700&display=swap');

:root {
  --cream-sand: #F3E2CF;
  --espresso: #4D1A12;
  --sunset-gold: #F4821A;
  --terracotta: #E5374F;
  --warm-taupe: #C3B9F2;
  --off-white: #F7F4E3;
  --text-dark: #2C1810;
  --text-medium: #6B4C3B;
}

/* ===== BASE TYPOGRAPHY ===== */
body {
  font-family: 'Manrope', sans-serif;
  background-color: var(--off-white);
  color: var(--text-dark);
  font-size: 16px;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--espresso);
  font-weight: 600;
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); }

/* ===== HEADER ===== */
.site-header, .ast-header-break-point .main-header-bar {
  background-color: var(--off-white) !important;
  border-bottom: 1px solid var(--cream-sand);
  box-shadow: 0 2px 20px rgba(77, 26, 18, 0.08);
}

.ast-site-identity .site-title a,
.ast-site-identity .site-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  color: var(--espresso) !important;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ===== NAVIGATION ===== */
.main-header-menu .menu-item a {
  font-family: 'Manrope', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--espresso) !important;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.main-header-menu .menu-item a:hover {
  color: var(--sunset-gold) !important;
}

/* ===== BUTTONS ===== */
.ast-button, .button, button, input[type="submit"],
.woocommerce a.button, .woocommerce button.button,
.woocommerce input.button {
  background-color: var(--sunset-gold) !important;
  color: #fff !important;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none !important;
  border-radius: 4px;
  padding: 14px 32px !important;
  transition: all 0.3s ease;
}

.ast-button:hover, .button:hover, button:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover {
  background-color: var(--espresso) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(77, 26, 18, 0.25);
}

/* ===== HERO SECTION ===== */
.hero-section {
  min-height: 90vh;
  background: linear-gradient(135deg, var(--espresso) 0%, #7A2E1A 50%, var(--sunset-gold) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('https://images.unsplash.com/photo-1539037116277-4db20889f2d4?w=1920&q=80') center/cover no-repeat;
  opacity: 0.3;
}

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

.hero-tagline {
  font-family: 'Manrope', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sunset-gold);
  margin-bottom: 20px;
  display: block;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 7vw, 6rem);
  color: var(--off-white);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-title em {
  color: var(--sunset-gold);
  font-style: italic;
}

.hero-subtitle {
  font-family: 'Manrope', sans-serif;
  font-size: 1.1rem;
  color: var(--cream-sand);
  font-weight: 300;
  margin-bottom: 40px;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background-color: var(--sunset-gold) !important;
  color: #fff !important;
  padding: 16px 40px !important;
  font-size: 1rem !important;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.btn-secondary {
  background-color: transparent !important;
  color: var(--off-white) !important;
  padding: 16px 40px !important;
  font-size: 1rem !important;
  border: 2px solid var(--off-white) !important;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.btn-primary:hover { background-color: var(--espresso) !important; transform: translateY(-2px); }
.btn-secondary:hover { background-color: var(--off-white) !important; color: var(--espresso) !important; }

/* ===== TRUST BAR ===== */
.trust-bar {
  background-color: var(--espresso);
  padding: 20px 0;
  text-align: center;
}

.trust-bar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cream-sand);
  font-family: 'Manrope', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.trust-item .trust-icon {
  color: var(--sunset-gold);
  font-size: 1.2rem;
}

/* ===== SECTION STYLES ===== */
.section-label {
  font-family: 'Manrope', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--sunset-gold);
  display: block;
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--espresso);
  font-weight: 600;
  margin-bottom: 20px;
}

.section-subtitle {
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  color: var(--text-medium);
  max-width: 600px;
  line-height: 1.7;
}

/* ===== CATEGORY CARDS ===== */
.categories-section {
  padding: 80px 20px;
  background-color: var(--off-white);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 50px auto 0;
}

.category-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--cream-sand);
  transition: all 0.3s ease;
  text-decoration: none;
  display: block;
  cursor: pointer;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(77, 26, 18, 0.12);
  border-color: var(--sunset-gold);
}

.category-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
}

.category-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  color: var(--espresso);
  font-weight: 600;
  margin-bottom: 8px;
}

.category-count {
  font-family: 'Manrope', sans-serif;
  font-size: 0.8rem;
  color: var(--text-medium);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ===== PRODUCT CARDS ===== */
.products-section {
  padding: 80px 20px;
  background-color: var(--cream-sand);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  max-width: 1100px;
  margin: 50px auto 0;
}

.product-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(77, 26, 18, 0.08);
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(77, 26, 18, 0.15);
}

.product-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.product-card-body {
  padding: 24px;
}

.product-badge {
  display: inline-block;
  background-color: var(--sunset-gold);
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.product-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: var(--espresso);
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.3;
}

.product-card-desc {
  font-family: 'Manrope', sans-serif;
  font-size: 0.9rem;
  color: var(--text-medium);
  line-height: 1.6;
  margin-bottom: 20px;
}

.product-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--cream-sand);
}

.product-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  color: var(--espresso);
  font-weight: 700;
}

.product-price span {
  font-family: 'Manrope', sans-serif;
  font-size: 0.75rem;
  color: var(--text-medium);
  font-weight: 400;
}

.product-card-link {
  background-color: var(--sunset-gold);
  color: #fff;
  padding: 10px 22px;
  border-radius: 6px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s;
}

.product-card-link:hover { background-color: var(--espresso); color: #fff; }

/* ===== ABOUT SECTION ===== */
.about-section {
  padding: 100px 20px;
  background-color: var(--off-white);
}

.about-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

@media (max-width: 768px) {
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
}

.about-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--espresso);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 24px;
}

.about-quote em {
  color: var(--sunset-gold);
  font-style: italic;
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  text-decoration: none;
  transition: all 0.3s ease;
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}

@keyframes pulse-whatsapp {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ===== FOOTER ===== */
.site-footer {
  background-color: var(--espresso) !important;
  color: var(--cream-sand) !important;
}

.site-footer a { color: var(--sunset-gold) !important; }
.site-footer a:hover { color: var(--cream-sand) !important; }

/* ===== WOOCOMMERCE PRODUCT PAGE ===== */
.woocommerce div.product .product_title {
  font-family: 'Cormorant Garamond', serif !important;
  color: var(--espresso) !important;
  font-size: 2.5rem !important;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--sunset-gold) !important;
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 2rem !important;
  font-weight: 700 !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero-cta-group { flex-direction: column; align-items: center; }
  .trust-bar-inner { gap: 20px; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: 1fr; }
}
