/*
Theme Name: Eilatiyot Shavot Yoter
Theme URI: https://eilat-shine-guide.lovable.app
Description: ערכת נושא לפורטל "אילתיות שוות יותר" - מבוססת Hello Elementor כ-Child Theme. תומכת RTL, Elementor Pro, וכוללת עיצוב מלא של הפורטל.
Author: Eilatiyot
Version: 1.0.0
Template: hello-elementor
Text Domain: eilatiyot
Tags: rtl-language-support, custom-colors, custom-menu, featured-images
*/

/* ===== Base / Typography ===== */
:root {
  --eilat-primary: #c14563;
  --eilat-primary-glow: #d56b85;
  --eilat-sunset: #e87a4a;
  --eilat-turquoise: #4ecdc4;
  --eilat-cream: #fdf8f3;
  --eilat-foreground: #2d1b2e;
  --eilat-muted: #6b5d6c;
  --eilat-border: #f0e1e5;
  --eilat-card: #ffffff;
  --eilat-bg: #ffffff;
  --eilat-shadow-warm: 0 12px 40px -12px rgba(193, 69, 99, 0.25);
  --eilat-shadow-soft: 0 4px 20px -8px rgba(193, 69, 99, 0.12);
  --eilat-gradient-warm: linear-gradient(135deg, #c14563 0%, #e87a4a 100%);
  --eilat-gradient-soft: linear-gradient(135deg, #fdf2f5 0%, #fef0e8 100%);
}

body, html {
  font-family: 'Assistant', -apple-system, BlinkMacSystemFont, sans-serif !important;
  direction: rtl;
  background: var(--eilat-bg);
  color: var(--eilat-foreground);
}

* { box-sizing: border-box; }

input[type="email"] { direction: ltr; text-align: left; }

/* ===== Helper classes for Elementor HTML widget ===== */
.eilat-gradient-text {
  background: var(--eilat-gradient-warm);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.eilat-shadow-warm { box-shadow: var(--eilat-shadow-warm); }
.eilat-shadow-soft { box-shadow: var(--eilat-shadow-soft); }
.eilat-bg-gradient { background: var(--eilat-gradient-warm); }
.eilat-bg-soft { background: var(--eilat-gradient-soft); }

/* ===== Hero Section ===== */
.eilat-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, hsl(340 60% 55%) 0%, hsl(18 80% 60%) 100%);
  color: white;
  overflow: hidden;
  padding: 100px 20px 80px;
}

.eilat-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.1) 0%, transparent 50%);
  pointer-events: none;
}

.eilat-hero-inner { position: relative; z-index: 2; max-width: 900px; }
.eilat-hero h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  margin-bottom: 1rem;
  line-height: 1.1;
  color: white;
}
.eilat-hero p {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  opacity: 0.95;
  margin-bottom: 2rem;
}
.eilat-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  background: white;
  color: var(--eilat-primary);
  border-radius: 16px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}
.eilat-hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
  color: var(--eilat-primary);
}

/* ===== Section base ===== */
.eilat-section {
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}
.eilat-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.eilat-section-title {
  text-align: center;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 900;
  margin-bottom: 0.75rem;
  color: var(--eilat-foreground);
}
.eilat-section-subtitle {
  text-align: center;
  color: var(--eilat-muted);
  max-width: 500px;
  margin: 0 auto 3rem;
  font-size: 1.05rem;
}

/* ===== Categories Grid ===== */
.eilat-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 18px;
  max-width: 1100px;
  margin: 0 auto;
}
.eilat-category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px 14px;
  background: white;
  border: 1px solid var(--eilat-border);
  border-radius: 20px;
  text-decoration: none;
  color: var(--eilat-foreground);
  aspect-ratio: 1;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(193, 69, 99, 0.04);
}
.eilat-category-card:hover {
  transform: translateY(-6px);
  border-color: rgba(193, 69, 99, 0.3);
  box-shadow: var(--eilat-shadow-warm);
  color: var(--eilat-primary);
}
.eilat-category-card svg,
.eilat-category-card i {
  width: 40px;
  height: 40px;
  color: var(--eilat-primary);
  font-size: 40px;
}
.eilat-category-card span {
  font-weight: 700;
  font-size: 0.9rem;
  text-align: center;
  line-height: 1.3;
}

/* ===== About Section ===== */
.eilat-about {
  background: var(--eilat-gradient-soft);
}
.eilat-about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 768px) {
  .eilat-about-content { grid-template-columns: 1fr; }
}
.eilat-about-text h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 900;
  margin-bottom: 1rem;
}
.eilat-about-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--eilat-muted);
  margin-bottom: 1rem;
}

/* ===== Events Section ===== */
.eilat-events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.eilat-event-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--eilat-shadow-soft);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--eilat-foreground);
}
.eilat-event-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--eilat-shadow-warm);
}
.eilat-event-image {
  height: 180px;
  background: var(--eilat-gradient-soft);
  background-size: cover;
  background-position: center;
  position: relative;
}
.eilat-event-date {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  background: rgba(255,255,255,0.95);
  padding: 6px 14px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--eilat-primary);
}
.eilat-event-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.eilat-event-body h3 {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 10px;
  line-height: 1.4;
}
.eilat-event-meta {
  color: var(--eilat-muted);
  font-size: 0.9rem;
  margin-bottom: 4px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.eilat-event-cta {
  margin-top: auto;
  padding: 10px;
  background: rgba(193, 69, 99, 0.08);
  color: var(--eilat-primary);
  text-align: center;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.9rem;
}

/* ===== Newsletter ===== */
.eilat-newsletter {
  background: var(--eilat-gradient-warm);
  color: white;
  padding: 60px 20px;
  text-align: center;
}
.eilat-newsletter h2 { color: white; font-size: 2rem; margin-bottom: 0.5rem; font-weight: 900; }
.eilat-newsletter p { opacity: 0.95; margin-bottom: 1.5rem; }
.eilat-newsletter form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.eilat-newsletter input {
  flex: 1;
  min-width: 220px;
  padding: 14px 20px;
  border: none;
  border-radius: 14px;
  font-size: 1rem;
  direction: ltr;
  text-align: left;
}
.eilat-newsletter button {
  padding: 14px 28px;
  background: white;
  color: var(--eilat-primary);
  border: none;
  border-radius: 14px;
  font-weight: 700;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.2s;
}
.eilat-newsletter button:hover { transform: scale(1.05); }

/* ===== Footer ===== */
.eilat-footer {
  background: var(--eilat-foreground);
  color: white;
  padding: 50px 20px 20px;
  text-align: center;
}
.eilat-footer a { color: rgba(255,255,255,0.8); text-decoration: none; margin: 0 12px; }
.eilat-footer a:hover { color: white; }
.eilat-footer-bottom {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  opacity: 0.7;
  font-size: 0.9rem;
}

/* ===== Cookie Consent ===== */
.eilat-cookie-banner {
  position: fixed;
  bottom: 20px;
  inset-inline-start: 20px;
  inset-inline-end: 20px;
  max-width: 480px;
  margin: 0 auto;
  background: white;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  z-index: 9999;
  display: none;
}
.eilat-cookie-banner.show { display: block; }
.eilat-cookie-banner h4 { margin: 0 0 8px; font-weight: 700; }
.eilat-cookie-banner p { font-size: 0.9rem; color: var(--eilat-muted); margin-bottom: 12px; }
.eilat-cookie-actions { display: flex; gap: 10px; }
.eilat-cookie-btn {
  flex: 1;
  padding: 10px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-weight: 700;
}
.eilat-cookie-btn.accept { background: var(--eilat-gradient-warm); color: white; }
.eilat-cookie-btn.decline { background: #f0f0f0; color: var(--eilat-foreground); }

/* ===== Animations ===== */
@keyframes eilatFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.eilat-animate { animation: eilatFadeUp 0.7s ease-out both; }

/* ===== Responsive ===== */
@media (max-width: 640px) {
  .eilat-categories-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .eilat-category-card { padding: 16px 8px; gap: 8px; }
  .eilat-category-card span { font-size: 0.75rem; }
  .eilat-section { padding: 50px 16px; }
}
