/* Polish Cuisine Recipes — Promo Website Stylesheet */
/* Theme: Dark navy + gold, extracted from app design system */

:root {
  --color-primary: #C9A84C;
  --color-primary-bright: #FFD700;
  --color-secondary: #0D1B4B;
  --color-bg: #060E2B;
  --color-bg-light: #0B1130;
  --color-surface: #111B3E;
  --color-surface-hover: #162350;
  --color-text-primary: #FFFFFF;
  --color-text-secondary: #C9A84C;
  --color-text-muted: #7A8BBE;
  --color-success: #4CAF50;
  --color-error: #F44336;
  --color-border: rgba(201,168,76,0.2);
  --border-radius: 10px;
  --font-family: 'Roboto', sans-serif;
  --max-width: 1100px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-family);
  background: var(--color-bg);
  color: var(--color-text-primary);
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--color-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--color-primary-bright); }

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

/* ---- NAV ---- */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(6,14,43,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 60px;
}
.nav-logo {
  font-weight: 700; font-size: 1.15rem; color: var(--color-text-primary);
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
}
.nav-logo .icon { font-size: 1.5rem; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
  color: var(--color-text-muted); font-size: .9rem; font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--color-primary); }

.hamburger {
  display: none; background: none; border: none; cursor: pointer;
  width: 32px; height: 32px; position: relative;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.hamburger span {
  display: block; width: 22px; height: 2px; background: var(--color-text-primary);
  border-radius: 2px; transition: all .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 640px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none; position: absolute; top: 60px; left: 0; right: 0;
    flex-direction: column; background: rgba(6,14,43,.97);
    padding: 20px 24px; gap: 18px;
    border-bottom: 1px solid var(--color-border);
  }
  .nav-links.open { display: flex; }
}

/* ---- HERO ---- */
.hero {
  padding: 100px 24px 60px;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex; align-items: center; gap: 48px;
  min-height: 520px;
}
.hero-content { flex: 1; }
.hero-content h1 {
  font-size: 2.4rem; font-weight: 700; line-height: 1.2;
  margin-bottom: 16px;
}
.hero-content h1 .gold { color: var(--color-primary); }
.hero-tagline {
  font-size: 1.1rem; color: var(--color-text-muted); margin-bottom: 32px;
  max-width: 480px;
}
.hero-device { flex: 0 0 280px; position: relative; }
.device-frame {
  position: relative; width: 240px; margin: 0 auto;
  border-radius: 28px; overflow: hidden;
  border: 3px solid rgba(201,168,76,.35);
  box-shadow: 0 20px 60px rgba(0,0,0,.5), 0 0 40px rgba(201,168,76,.08);
}
.device-frame img { width: 100%; display: block; }

@media (max-width: 768px) {
  .hero { flex-direction: column; text-align: center; padding: 90px 24px 40px; gap: 32px; min-height: auto; }
  .hero-content h1 { font-size: 1.8rem; }
  .hero-tagline { margin-left: auto; margin-right: auto; }
  .hero-device { flex: none; }
  .device-frame { width: 200px; }
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; padding: 14px 32px;
  border-radius: 50px; font-weight: 600; font-size: .95rem;
  border: none; cursor: pointer; transition: all .25s;
  text-align: center; line-height: 1;
}
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary-bright), var(--color-primary));
  color: #0D1B4B;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,215,0,.25); color: #0D1B4B; }
.btn-outline {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}
.btn-outline:hover { background: rgba(201,168,76,.1); color: var(--color-primary-bright); }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 768px) { .hero-buttons { justify-content: center; } }

/* ---- SECTIONS ---- */
.section { padding: 72px 24px; }
.section-inner { max-width: var(--max-width); margin: 0 auto; }
.section-title {
  font-size: 1.7rem; font-weight: 700; margin-bottom: 12px;
}
.section-subtitle {
  color: var(--color-text-muted); font-size: 1rem; margin-bottom: 40px;
  max-width: 560px;
}
.section-center { text-align: center; }
.section-center .section-subtitle { margin-left: auto; margin-right: auto; }

.section-alt { background: var(--color-bg-light); }

/* ---- FEATURES ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: 28px 24px;
  text-align: left;
  transition: transform .25s, border-color .25s;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
}
.feature-icon {
  width: 48px; height: 48px;
  background: rgba(201,168,76,.12);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 16px;
}
.feature-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature-card p { color: var(--color-text-muted); font-size: .92rem; }

/* ---- SCREENSHOTS CAROUSEL ---- */
.screenshots-section { max-height: 520px; overflow: hidden; }
.carousel-container {
  position: relative; max-width: 800px; margin: 0 auto;
  height: 350px; overflow: hidden;
}
.carousel-track {
  display: flex; transition: transform .4s ease;
  height: 100%;
}
.carousel-slide {
  flex: 0 0 100%; display: flex; align-items: center; justify-content: center;
  padding: 0 20px;
}
.carousel-slide .device-frame { width: 180px; }
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(201,168,76,.15);
  border: 1px solid var(--color-border);
  color: var(--color-primary); font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .2s;
  z-index: 5;
}
.carousel-btn:hover { background: rgba(201,168,76,.3); }
.carousel-btn.prev { left: 8px; }
.carousel-btn.next { right: 8px; }
.carousel-dots {
  display: flex; justify-content: center; gap: 8px; margin-top: 18px;
}
.carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--color-border); border: none; cursor: pointer;
  transition: background .2s;
}
.carousel-dot.active { background: var(--color-primary); width: 24px; border-radius: 4px; }

/* ---- LIGHTBOX ---- */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,.92);
  align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: 12px; }
.lightbox-close {
  position: absolute; top: 20px; right: 24px;
  background: none; border: none; color: #fff;
  font-size: 2rem; cursor: pointer;
}

/* ---- CTA ---- */
.cta-section {
  text-align: center;
  background: linear-gradient(180deg, var(--color-bg-light), var(--color-bg));
  padding: 64px 24px;
}
.cta-section h2 { font-size: 1.6rem; margin-bottom: 12px; }
.cta-section p { color: var(--color-text-muted); margin-bottom: 28px; max-width: 480px; margin-left: auto; margin-right: auto; }

/* ---- FOOTER ---- */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 28px 24px;
  text-align: center; font-size: .85rem; color: var(--color-text-muted);
}
.footer-inner {
  max-width: var(--max-width); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-links { display: flex; gap: 20px; list-style: none; }
.footer-links a { color: var(--color-text-muted); font-size: .85rem; }
.footer-links a:hover { color: var(--color-primary); }
@media (max-width: 640px) {
  .footer-inner { flex-direction: column; }
}

/* ---- CONTENT PAGES ---- */
.page-header {
  padding: 90px 24px 40px;
  background: var(--color-bg-light);
  border-bottom: 1px solid var(--color-border);
}
.page-header h1 { max-width: var(--max-width); margin: 0 auto; font-size: 1.8rem; }
.page-body {
  max-width: 780px; margin: 0 auto;
  padding: 48px 24px 64px;
  text-align: left;
}
.page-body h2 {
  font-size: 1.3rem; margin-top: 36px; margin-bottom: 12px;
  color: var(--color-primary);
}
.page-body h3 { font-size: 1.1rem; margin-top: 24px; margin-bottom: 8px; }
.page-body p { color: var(--color-text-muted); margin-bottom: 14px; }
.page-body ul, .page-body ol {
  color: var(--color-text-muted); margin-bottom: 14px;
  padding-left: 24px;
}
.page-body li { margin-bottom: 6px; }
.page-body a { text-decoration: underline; }
.page-date { font-size: .85rem; color: var(--color-text-muted); margin-bottom: 24px; }

/* ---- CONTACT FORM ---- */
.contact-card {
  max-width: 600px; margin: 0 auto;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: 36px 32px;
}
.form-group { margin-bottom: 20px; text-align: left; }
.form-group label {
  display: block; font-size: .9rem; font-weight: 500;
  margin-bottom: 6px; color: var(--color-text-primary);
}
.form-group input,
.form-group textarea {
  width: 100%; padding: 12px 16px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px; color: var(--color-text-primary);
  font-family: var(--font-family); font-size: .95rem;
  transition: border-color .2s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--color-primary);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group input[type="file"] { padding: 10px; }
.form-submit { text-align: center; margin-top: 8px; }
.form-msg {
  text-align: center; padding: 14px;
  border-radius: 8px; margin-bottom: 20px; font-size: .95rem;
}
.form-msg.success { background: rgba(76,175,80,.15); color: var(--color-success); }
.form-msg.error { background: rgba(244,67,54,.15); color: var(--color-error); }

/* ---- PRIVACY ACCEPT BTN (required by privacy plugin) ---- */
.privacy-accept-btn {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 999;
  display: flex; align-items: center; justify-content: center;
  padding: 16px 24px 24px;
  background: linear-gradient(to top, var(--color-bg) 60%, transparent);
}
.privacy-accept-btn.hidden { display: none; }
.accept-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 48px;
  background: linear-gradient(135deg, var(--color-primary-bright), var(--color-primary));
  color: #0D1B4B; font-weight: 700; font-size: 1rem;
  border: none; border-radius: 50px; cursor: pointer;
  box-shadow: 0 4px 20px rgba(255,215,0,.3);
  transition: transform .2s, box-shadow .2s;
  text-align: center;
}
.accept-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 28px rgba(255,215,0,.4); }

/* ---- UTILITY ---- */
.text-gold { color: var(--color-primary); }
.text-muted { color: var(--color-text-muted); }
.mt-2 { margin-top: 16px; }
.disclaimer { font-size: .8rem; color: var(--color-text-muted); margin-top: 24px; }
