/* ==========================================================================
   Елена Николова - Блог за Мъжка Жизненост & Male Vigor
   Тема: Бирюзов (Teal / Turquoise) & Modern Responsive Layout
   ========================================================================== */

:root {
  --primary: #0d9488;
  --primary-hover: #0f766e;
  --primary-dark: #115e59;
  --primary-light: #f0fdfa;
  --primary-border: #ccfbf1;
  --accent: #14b8a6;
  --accent-light: #5eead4;
  --accent-glow: rgba(20, 184, 166, 0.25);
  
  --dark-bg: #0f172a;
  --card-bg: #ffffff;
  --body-bg: #f8fafc;
  
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --success: #10b981;
  --warning: #f59e0b;
  --border-radius: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(13, 148, 136, 0.08);
  --shadow-lg: 0 10px 25px rgba(13, 148, 136, 0.12);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--body-bg);
  color: var(--text-main);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-hover);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--primary-border);
  box-shadow: var(--shadow-sm);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary-dark);
}

.logo-badge {
  background: var(--primary);
  color: white;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.75rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-main);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.btn-header-cta {
  background: var(--primary);
  color: white !important;
  padding: 0.6rem 1.25rem !important;
  border-radius: 30px;
  font-weight: 600 !important;
  box-shadow: 0 4px 10px var(--accent-glow);
}

.btn-header-cta:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-main);
  cursor: pointer;
}

/* Nav drawer for mobile */
.nav-links.mobile-open {
  display: flex !important;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  padding: 1.5rem;
  border-bottom: 2px solid var(--primary);
  box-shadow: var(--shadow-lg);
  align-items: flex-start;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 50%, #e0f2fe 100%);
  padding: 4rem 1.5rem;
  border-bottom: 1px solid var(--primary-border);
}

.hero-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  color: var(--primary-dark);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.25rem;
  border: 1px solid var(--primary-border);
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--dark-bg);
  margin-bottom: 1.25rem;
}

.hero-title span {
  color: var(--primary);
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--primary);
  color: white;
  padding: 0.85rem 1.75rem;
  border-radius: 10px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px var(--accent-glow);
  transition: var(--transition);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  color: white;
}

.btn-secondary {
  background: white;
  color: var(--primary-dark);
  padding: 0.85rem 1.75rem;
  border-radius: 10px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--primary-border);
  cursor: pointer;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: var(--primary-light);
  border-color: var(--primary);
}

.hero-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid white;
}

.hero-image-wrapper img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  display: block;
}

.hero-badge-overlay {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  padding: 1rem 1.25rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow-md);
}

.hero-badge-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary-dark);
}

.hero-badge-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Content Containers & Layouts
   ========================================================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3rem auto;
}

.section-label {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark-bg);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Grid Layouts */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 2.5rem;
}

/* Cards */
.card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid #f1f5f9;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-border);
}

.card-img-wrapper {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card-img-wrapper img {
  transform: scale(1.05);
}

.card-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--primary);
  color: white;
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
}

.card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark-bg);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.card-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  flex: 1;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ==========================================================================
   Story / Trainer Feature Section
   ========================================================================== */
.trainer-story-section {
  background: white;
  padding: 4rem 1.5rem;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
}

.story-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
}

.story-img-container {
  position: relative;
}

.story-img {
  width: 100%;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--primary-light);
}

.story-content h2 {
  font-size: 2rem;
  color: var(--dark-bg);
  margin-bottom: 1rem;
}

.story-highlight {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  padding: 1.25rem;
  border-radius: 0 10px 10px 0;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--primary-dark);
  font-weight: 500;
}

/* ==========================================================================
   Interactive Calculator Module
   ========================================================================== */
.calculator-card {
  background: white;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--primary-border);
  padding: 2.5rem;
  max-width: 850px;
  margin: 0 auto;
}

.calc-step {
  display: none;
}

.calc-step.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.calc-option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.calc-btn-option {
  background: var(--body-bg);
  border: 2px solid #e2e8f0;
  padding: 1rem;
  border-radius: 10px;
  cursor: pointer;
  text-align: center;
  font-weight: 600;
  color: var(--text-main);
  transition: var(--transition);
}

.calc-btn-option:hover,
.calc-btn-option.selected {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary-dark);
}

.calc-result-box {
  background: linear-gradient(135deg, #0d9488 0%, #115e59 100%);
  color: white;
  padding: 2.5rem;
  border-radius: 16px;
  text-align: center;
  margin-top: 1.5rem;
}

.calc-score-val {
  font-size: 3.5rem;
  font-weight: 800;
  margin: 0.5rem 0;
  color: #5eead4;
}

/* ==========================================================================
   Certificates & Trust Badges
   ========================================================================== */
.certificates-section {
  background: var(--primary-light);
  padding: 4rem 1.5rem;
  border-top: 1px solid var(--primary-border);
  border-bottom: 1px solid var(--primary-border);
}

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

.cert-item {
  background: white;
  padding: 1.75rem 1.25rem;
  border-radius: 14px;
  text-align: center;
  border: 1px solid var(--primary-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.cert-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.cert-icon {
  width: 55px;
  height: 55px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
  font-size: 1.6rem;
  border: 2px solid var(--primary-border);
}

.cert-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--dark-bg);
  margin-bottom: 0.35rem;
}

.cert-desc {
  font-size: 0.825rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Product Showcase & Order Page
   ========================================================================== */
.product-hero {
  background: white;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--primary-border);
  padding: 2.5rem;
  margin-bottom: 3rem;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
}

.product-image-box {
  text-align: center;
  position: relative;
  background: radial-gradient(circle, #f0fdfa 0%, #ffffff 70%);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--primary-border);
}

.product-image-box img {
  max-width: 100%;
  max-height: 420px;
  object-fit: contain;
  filter: drop-shadow(0 15px 25px rgba(13, 148, 136, 0.2));
}

.price-tag {
  display: inline-flex;
  align-items: baseline;
  gap: 0.75rem;
  margin: 1rem 0;
}

.price-current {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.price-old {
  font-size: 1.25rem;
  color: var(--text-light);
  text-decoration: line-through;
}

.badge-discount {
  background: #ef4444;
  color: white;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
}

/* Order Lead Form */
.order-form-card {
  background: var(--primary-light);
  border: 2px solid var(--primary);
  border-radius: 16px;
  padding: 2rem;
  margin-top: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--dark-bg);
  font-size: 0.95rem;
}

.form-control {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  font-size: 1rem;
  transition: var(--transition);
  background: white;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.btn-submit-order {
  width: 100%;
  background: var(--primary);
  color: white;
  padding: 1rem;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px var(--accent-glow);
  transition: var(--transition);
}

.btn-submit-order:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

/* ==========================================================================
   Thank You Page
   ========================================================================== */
.thank-you-box {
  background: white;
  border-radius: 20px;
  padding: 3.5rem 2rem;
  text-align: center;
  max-width: 650px;
  margin: 3rem auto;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--primary-border);
}

.thank-you-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 1.5rem auto;
}

/* ==========================================================================
   Legal Document Styles
   ========================================================================== */
.legal-container {
  background: white;
  border-radius: 16px;
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid #f1f5f9;
  max-width: 900px;
  margin: 2rem auto;
}

.legal-container h1 {
  color: var(--dark-bg);
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.legal-container h2 {
  color: var(--primary-dark);
  margin: 1.75rem 0 0.75rem 0;
  font-size: 1.35rem;
}

.legal-container p, .legal-container li {
  color: var(--text-muted);
  font-size: 0.975rem;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.legal-container ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

/* ==========================================================================
   Footer & Compliance Disclaimers
   ========================================================================== */
.site-footer {
  background: var(--dark-bg);
  color: #94a3b8;
  padding: 4rem 1.5rem 2rem 1.5rem;
  margin-top: 4rem;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.65rem;
}

.footer-col a {
  color: #cbd5e1;
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-disclaimer-box {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  line-height: 1.6;
  color: #94a3b8;
  text-align: center;
  margin-bottom: 2rem;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

/* ==========================================================================
   Cookie Consent Banner
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #0f172a;
  color: white;
  padding: 1.25rem 1.5rem;
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
  border-top: 2px solid var(--primary);
  display: none;
}

.cookie-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-text {
  font-size: 0.875rem;
  color: #cbd5e1;
  flex: 1;
  min-width: 280px;
}

.cookie-text a {
  color: var(--accent);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 0.75rem;
}

.btn-cookie-accept {
  background: var(--primary);
  color: white;
  border: none;
  padding: 0.6rem 1.25rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
}

.btn-cookie-decline {
  background: transparent;
  color: #94a3b8;
  border: 1px solid #475569;
  padding: 0.6rem 1.25rem;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
}

.btn-cookie-decline:hover {
  color: white;
  border-color: #94a3b8;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid, .story-grid, .product-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .hero-title {
    font-size: 1.85rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
