/* ==========================================================================
   ErősNő - Minimalist Aqua-Wellness Styling (.hu)
   Color Palette:
   - Primary BG: #FFFFFF
   - Soft Aqua BG: #E8F4F8
   - Accent Aqua: #5DA9C6
   - Accent Hover: #3A8BAA
   - Deep Aqua: #1F5F7A
   - Text Main: #2C3E50
   - Text Muted: #6C7A89
   ========================================================================== */

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

:root {
  --bg-main: #FFFFFF;
  --bg-secondary: #E8F4F8;
  --bg-card: #FFFFFF;
  --bg-accent-light: #F0F8FA;
  
  --accent-color: #5DA9C6;
  --accent-hover: #3A8BAA;
  --accent-dark: #226782;
  --accent-soft: #D4E9F2;
  --accent-tint: rgba(93, 169, 198, 0.08);

  --text-main: #2C3E50;
  --text-muted: #6C7A89;
  --text-light: #8E9AA8;
  --text-white: #FFFFFF;

  --border-light: #E1EFF4;
  --border-focus: #5DA9C6;
  
  --shadow-sm: 0 4px 15px rgba(44, 62, 80, 0.04);
  --shadow-md: 0 10px 30px rgba(93, 169, 198, 0.12);
  --shadow-lg: 0 20px 40px rgba(44, 62, 80, 0.08);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 5rem 0;
}

.bg-secondary {
  background-color: var(--bg-secondary);
}

.text-center { text-align: center; }
.text-accent { color: var(--accent-color); }
.text-muted { color: var(--text-muted); }

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
}

h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); letter-spacing: -0.01em; margin-bottom: 1rem; }
h3 { font-size: clamp(1.3rem, 2vw, 1.75rem); margin-bottom: 0.75rem; }
p { margin-bottom: 1rem; color: var(--text-muted); font-size: 1.05rem; }

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.03em;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

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

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

.nav-link:hover, .nav-link.active {
  color: var(--accent-color);
}

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

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-main);
  margin: 5px 0;
  transition: var(--transition);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background-color: var(--accent-color);
  color: var(--text-white);
  box-shadow: 0 4px 14px rgba(93, 169, 198, 0.35);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(93, 169, 198, 0.45);
}

.btn-secondary {
  background-color: var(--bg-secondary);
  color: var(--text-main);
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  background-color: var(--accent-soft);
  color: var(--accent-dark);
}

.btn-block {
  width: 100%;
}

/* Badge Component */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background-color: var(--bg-secondary);
  color: var(--accent-dark);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1px solid var(--accent-soft);
  margin-bottom: 1.25rem;
}

/* Hero Section */
.hero {
  padding: 4rem 0 5rem;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-main) 100%);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content h1 {
  margin-bottom: 1.25rem;
}

.hero-content p {
  font-size: 1.15rem;
  margin-bottom: 2rem;
}

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

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--bg-main);
}

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

.floating-card {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.floating-icon {
  width: 42px;
  height: 42px;
  background: var(--bg-secondary);
  color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* Section Header */
.section-header {
  max-width: 680px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

/* Cards & Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-soft);
}

.card-icon {
  width: 52px;
  height: 52px;
  background-color: var(--bg-secondary);
  color: var(--accent-color);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}

/* Feature Image Block */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 4rem;
}

.feature-block.reverse {
  direction: rtl;
}

.feature-block.reverse > * {
  direction: ltr;
}

.feature-img-box {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}

.feature-img-box img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

/* Calculator Page Elements */
.calculator-card {
  background: var(--bg-main);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.calc-form-group {
  margin-bottom: 1.75rem;
}

.calc-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--text-main);
}

.calc-val-badge {
  background-color: var(--bg-secondary);
  color: var(--accent-dark);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
}

.range-input {
  width: 100%;
  height: 8px;
  background: var(--border-light);
  border-radius: 4px;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-color);
  box-shadow: 0 2px 8px rgba(93, 169, 198, 0.4);
  cursor: pointer;
  transition: var(--transition);
}

.range-input::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  background: var(--accent-hover);
}

.select-input {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: var(--transition);
}

.select-input:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(93, 169, 198, 0.15);
}

.calc-result-box {
  background: linear-gradient(135deg, var(--bg-secondary), #F4FAF9);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--accent-soft);
  margin-top: 2rem;
}

.calc-result-val {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--accent-dark);
  line-height: 1;
  margin: 0.5rem 0;
}

/* Beverage Table / Comparison */
.bev-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.bev-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 1.75rem;
  border-top: 4px solid var(--accent-color);
  box-shadow: var(--shadow-sm);
}

.bev-card.warn {
  border-top-color: #E67E22;
}

.bev-card.neutral {
  border-top-color: #95A5A6;
}

/* Offer Page (Ajánlat) */
.product-showcase-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: center;
}

.product-img-box {
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent-soft);
}

.product-img-box img {
  max-height: 380px;
  object-fit: contain;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.08));
}

.ingredient-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.25rem 0 2rem;
}

.pill {
  background-color: var(--bg-secondary);
  color: var(--accent-dark);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
}

/* Transparency Section (Minőség és átláthatóság) */
.transparency-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.transparency-card {
  background: var(--bg-main);
  border-radius: var(--radius-md);
  padding: 2rem;
  border-left: 4px solid var(--accent-color);
  box-shadow: var(--shadow-sm);
}

/* Contact & Order Form Page */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3.5rem;
}

.contact-info-card {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--accent-soft);
}

.info-item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.info-icon {
  width: 46px;
  height: 46px;
  background: white;
  color: var(--accent-color);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.form-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

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

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-main);
  background-color: var(--bg-accent-light);
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  background-color: white;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(93, 169, 198, 0.18);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 1.75rem;
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  accent-color: var(--accent-color);
  cursor: pointer;
}

.checkbox-label {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.4;
}

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

.error-msg {
  color: #E74C3C;
  font-size: 0.85rem;
  margin-top: 0.35rem;
  display: none;
}

.has-error .form-control {
  border-color: #E74C3C;
}

.has-error .error-msg {
  display: block;
}

/* Thank You Page */
.thankyou-wrapper {
  max-width: 620px;
  margin: 4rem auto;
  text-align: center;
  background: white;
  border-radius: var(--radius-lg);
  padding: 3.5rem 2.5rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
}

.success-icon-badge {
  width: 80px;
  height: 80px;
  background-color: var(--bg-secondary);
  color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 1.5rem;
  box-shadow: inset 0 0 0 4px var(--accent-soft);
}

/* Footer */
.site-footer {
  background-color: var(--text-main);
  color: #D0D7DE;
  padding: 4rem 0 2rem;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  color: white;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-logo-icon {
  width: 30px;
  height: 30px;
  background: var(--accent-color);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.9rem;
}

.footer-links h4 {
  color: white;
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
}

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

.footer-links li {
  margin-bottom: 0.75rem;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: #8E9AA8;
  font-size: 0.88rem;
}

.disclaimer-box {
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-top: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  line-height: 1.5;
  font-size: 0.85rem;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-grid, .product-showcase-card, .contact-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .feature-block, .feature-block.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .feature-block.reverse > * {
    direction: ltr;
  }
  .transparency-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-150%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-nav-toggle {
    display: block;
  }

  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }

  .product-showcase-card {
    padding: 1.75rem;
  }
}
