/*
Theme Name: Isus te iubeste
Theme URI: https://isusteiubeste.ro/
Author: Numele tau
Author URI: https://isusteiubeste.ro/
Description: Tema minimală în limba română pentru site-ul "Isus te iubeste".
Version: 1.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: isusteiubeste
Tags: starter, minimal, romanian
*/

/* Basic layout and typography */
html, body { height: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #222;
  background: #fff;
  line-height: 1.6;
}

.container { max-width: 900px; margin: 0 auto; padding: 1rem; }
.site-header, .site-footer { background: #222; color: #fff; padding: 1rem 0; }
.site-logo {
  font-size: 2.2rem !important;
  font-weight: 700;
  letter-spacing: -1px;
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0; /* Previne micșorarea logo-ului */
}
.site-title { margin: 0; font-size: 1.25rem; }
.site-title a { color: inherit; text-decoration: none; }
.site-description { margin: 0.25rem 0 0; color: #bbb; }

.site-header .container { 
  display: flex; 
  align-items: center; 
  gap: 1rem;
  min-height: 80px; /* Înălțime fixă pentru header */
}
.site-logo img { 
  display: block; 
  width: 320px; 
  height: 80px; 
  object-fit: contain;
}
.site-branding { 
  flex: 1; 
  display: none; /* Ascundem branding-ul text, logo-ul nou conține textul */
}
.site-nav { 
  margin-left: auto;
  flex-shrink: 0; /* Previne comprimarea meniului */
}

/* Custom logo handling */
.custom-logo, .site-default-logo { 
  width: 320px; 
  height: 80px; 
  display: block;
  object-fit: contain;
}
.custom-logo { max-height: 80px; }

/* When WP outputs the custom logo it may include inline width/height — make it responsive */
.custom-logo { width: auto; max-width: 320px; height: auto; }

/* Ensure branding and nav align nicely on small screens */
@media (max-width: 768px) {
  .site-header .container { 
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .site-logo img,
  .custom-logo, 
  .site-default-logo { 
    width: 250px; 
    height: auto; 
  }
  .site-nav { 
    order: 3;
    width: 100%;
    margin-top: 0.5rem;
  }
}

@media (max-width: 480px) {
  .site-logo img,
  .custom-logo, 
  .site-default-logo { 
    width: 250px; 
    height: auto; 
  }
}

/* Navigation menu styles */
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}
.site-nav li {
  margin: 0;
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.75rem;
  color: #f2c37a;
  text-decoration: none;
  font-weight: 500;
  border-radius: 6px;
  transition: background 0.2s ease, color 0.2s ease;
}
.site-nav a:hover {
  background: rgba(242, 195, 122, 0.15);
  color: #fff;
}
.site-nav .current-menu-item a {
  background: rgba(242, 195, 122, 0.25);
  color: #fff;
}
.site-nav .menu-icon {
  font-size: 1rem;
}
@media (max-width: 768px) {
  .site-nav ul {
    justify-content: center;
  }
  .site-nav a {
    padding: 0.4rem 0.6rem;
    font-size: 0.9rem;
  }
}

/* Buttons — Orthodox-inspired style */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 2px 0 rgba(0,0,0,0.06);
  transition: transform .08s ease, box-shadow .08s ease, opacity .08s ease;
}
.btn:active { transform: translateY(1px); }

/* Orthodox primary (gold + deep red accent, subtle ornament) */
.btn-orthodox {
  background: linear-gradient(180deg,#fbe7b7 0%,#f2c37a 100%);
  color: #111;
  border: 1px solid rgba(0,0,0,0.06);
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.btn-orthodox:hover{ opacity: .95; }

.btn-orthodox .btn-icon { display:inline-flex; width:20px; height:20px; align-items:center; justify-content:center; }
.btn-orthodox .cross { fill:#8b2e2e; }

/* Outline variant */
.btn-outline {
  background: transparent;
  color: #f2c37a;
  border: 2px solid #f2c37a;
}

/* Compact variant */
.btn-sm { padding: .25rem .5rem; font-size: .9rem; border-radius: 4px; }

/* Buttons container */
.theme-buttons { display: flex; gap: .5rem; align-items:center; }

@media (max-width:599px){ .theme-buttons{ flex-wrap:wrap; } }

/* Focus and accessibility styles */
.btn:focus-visible, .btn:focus { outline: 3px solid rgba(242,195,122,0.35); outline-offset: 2px; }
.btn:focus { box-shadow: 0 0 0 3px rgba(242,195,122,0.12); }

input[type="text"], input[type="email"], textarea { border: 1px solid #ddd; padding: .5rem; border-radius: 4px; width: 100%; }
input:focus, textarea:focus { border-color: #f2c37a; box-shadow: 0 0 0 3px rgba(242,195,122,0.08); outline: none; }

.prayer-error { font-weight: 600; }

/* Utility: visually-hidden text for screen readers */
.screen-reader-text {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap; /* added line */
}

/* Skip link - visible on focus for keyboard users */
.skip-link {
  background: #8b2e2e;
  color: #fff;
  padding: 0.5rem 1rem;
  text-decoration: none;
  font-weight: 600;
  border-radius: 0 0 4px 4px;
  z-index: 100000;
}
.skip-link:focus {
  position: fixed !important;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  height: auto;
  clip: auto;
  overflow: visible;
}

.entry { margin-bottom: 2rem; }
.entry-title { margin: 0 0 0.5rem 0; font-size: 1.5rem; }
.entry-title a { color: #111; text-decoration: none; }
.entry-content img { max-width: 100%; height: auto; }

.site-nav { margin-top: 0.75rem; }

@media (min-width: 800px) {
  .site-title { font-size: 1.5rem; }
}

/* Hero styles for scripture section */
.hero { padding: 2.5rem 0; background: linear-gradient(180deg,#fffaf0,#fff); }
.hero-inner { display:flex; gap:2rem; align-items:flex-start; flex-wrap:wrap; }
.hero-media { flex: 0 0 320px; }
.hero-media img{ width:100%; height:auto; border-radius:8px; box-shadow: 0 6px 18px rgba(0,0,0,0.08); }
.hero-content { flex: 1 1 480px; min-width: 280px; }
.hero-quote { font-style: italic; margin:0 0 1rem 0; padding-left:1rem; border-left:4px solid #f2c37a; color:#222; }
.hero-interpretation h3{ margin-top:.25rem; }

/* Blog calendar day card */
.blog-calendar-day {
  padding: 1.25rem 0 0.5rem 0;
  display: block;
}

.calendar-day-card {
  background: linear-gradient(180deg, #fffaf1, #ffffff);
  border: 1px solid #f0e1cc;
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  margin-bottom: 1rem;
}

.calendar-day-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.calendar-day-header h2 {
  margin: 0;
  color: #8b4513;
  font-size: 1.2rem;
}

.calendar-day-cross {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--cross-color, #333);
  background: #fff;
  font-weight: 700;
  font-size: 0.8rem;
}

.calendar-day-feast {
  margin: 0.75rem 0 0.35rem 0;
  color: #c41e3a;
  font-weight: 700;
}

.calendar-day-saints {
  margin: 0;
  color: #333;
  line-height: 1.6;
}

/* Interactive calendar */
#interactive-calendar {
  max-width: 900px;
  margin: 0 auto;
}

.calendar-widget {
  background: linear-gradient(180deg, #fffaf1, #ffffff);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid #f0e1cc;
  overflow: hidden;
}

.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  padding: 0.75rem 1.25rem 0.25rem 1.25rem;
  font-size: 0.85rem;
  color: #6b5a45;
  background: #fffdf7;
  border-bottom: 1px solid #f0e1cc;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.legend-red { background: #c41e3a; }
.legend-black { background: #111111; }
.legend-today { background: #c9a227; }

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: linear-gradient(90deg, #8b0000, #c41e3a);
  color: #fff;
}

.calendar-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.calendar-nav {
  border: 0;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 36px;
  text-align: center;
  transition: transform 0.15s ease, background 0.15s ease;
}

.calendar-nav:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}

.calendar-grid {
  padding: 1rem 1.25rem 0.5rem 1.25rem;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.35rem;
  margin-bottom: 0.5rem;
  color: #8b4513;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.35rem;
}

.calendar-days .day {
  border: 1px solid #efe0cc;
  background: #fff;
  color: #333;
  border-radius: 10px;
  padding: 0.5rem 0;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.1s ease, background 0.1s ease, border-color 0.1s ease;
  position: relative;
}

.calendar-days .day:hover {
  background: #fff4e1;
  border-color: #e0c59a;
  transform: translateY(-1px);
}

.calendar-days .day.today {
  border-color: #c41e3a;
  background: #fff1f3;
  box-shadow: inset 0 0 0 2px rgba(196, 30, 58, 0.15);
}

.calendar-days .day.selected {
  background: #f7e0b5;
  border-color: #c9a227;
  color: inherit;
  box-shadow: 0 6px 12px rgba(201, 162, 39, 0.18);
}

.calendar-days .day.sunday {
  color: #c41e3a;
}

.calendar-days .day.day-cross-red {
  color: #c41e3a;
  font-weight: 800;
  background: #fff1f3;
  border-color: #f1b4bf;
  box-shadow: 0 6px 14px rgba(196, 30, 58, 0.12);
}

.calendar-days .day.day-cross-black {
  color: #111111;
  font-weight: 800;
  background: #f7f4ef;
  border-color: #d8cfc2;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.calendar-days .day.selected.day-cross-red {
  color: #c41e3a;
  font-weight: 800;
  background: #ffe6ea;
  border-color: #e890a1;
}

.calendar-days .day.selected.day-cross-black {
  color: #111111;
  font-weight: 800;
  background: #eee9e1;
  border-color: #c9bdb0;
}

.calendar-days .day.day-cross-red:hover,
.calendar-days .day.day-cross-black:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.12);
}

.calendar-days .day.empty {
  border: 0;
  background: transparent;
  cursor: default;
}

.calendar-days .day.day-cross-red::after,
.calendar-days .day.day-cross-black::after {
  content: "†";
  position: absolute;
  top: 4px;
  right: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1;
}

.calendar-days .day.day-cross-red::after {
  color: #c41e3a;
}

.calendar-days .day.day-cross-black::after {
  color: #111111;
}

.saints-display {
  padding: 1rem 1.25rem 1.5rem 1.25rem;
  border-top: 1px solid #f0e1cc;
  background: #fffaf3;
}

.saints-content {
  background: #fff;
  border-radius: 14px;
  padding: 1rem 1.25rem;
  border: 1px solid #f1e4d1;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}

.saints-content.major {
  border-left: 4px solid #c41e3a;
}

.saints-header {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 0.75rem;
}

.saints-date {
  background: #fdf0d9;
  border-radius: 12px;
  padding: 0.5rem 0.75rem;
  text-align: center;
  min-width: 70px;
  border: 1px solid #f2d9b0;
}

.date-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #8b4513;
}

.date-month {
  display: block;
  font-size: 0.8rem;
  color: #a46b2d;
}

.saints-title {
  font-size: 1rem;
  font-weight: 700;
  color: #4a2a0d;
}

.saints-subtitle {
  font-size: 0.85rem;
  color: #7b6b55;
}

.saints-cross {
  display: inline-flex;
  align-items: center;
  margin-top: 0.35rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cross-color, #333);
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.8);
}

.saints-feast {
  margin: 0 0 0.6rem 0;
  font-weight: 700;
  color: #c41e3a;
}

.saints-list {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.saint-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.saint-icon {
  font-size: 1rem;
}

.saints-ai {
  margin-top: 0.75rem;
  padding: 0.75rem;
  border-radius: 10px;
  background: #f8f1e4;
  border: 1px solid #f0e1cc;
}

.saints-ai h4 {
  margin: 0 0 0.4rem 0;
  font-size: 0.95rem;
  color: #8b4513;
}

.saints-ai p {
  margin: 0;
  font-size: 0.95rem;
  color: #333;
  line-height: 1.6;
}

.saints-ai.teaching {
  background: #e8f4f8;
  border-color: #cfe4ea;
}

.saints-ai.verse {
  background: #faf5f0;
  border-color: #efdcc6;
}

.saints-actions {
  margin-top: 0.75rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.saints-actions button {
  border: 1px solid #e6d4b8;
  background: #fff;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  color: #6b3b16;
}

.saints-actions button:hover {
  background: #fff4e1;
}

.saints-loading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #8b4513;
  font-weight: 600;
}

@media (max-width: 640px) {
  .calendar-grid {
    padding: 0.75rem;
  }
  .saints-display {
    padding: 0.75rem;
  }
  .calendar-days .day {
    padding: 0.4rem 0;
  }
}

/* Calendar card styles */
.calendar-card {
  background: linear-gradient(to bottom, #fff9f0, #f5e6d3);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  overflow: hidden;
  max-width: 320px;
}
.calendar-card-header {
  background: linear-gradient(to bottom, #c41e3a, #8b0000);
  padding: 1rem;
  text-align: center;
}
.calendar-card-month {
  font-family: Georgia, serif;
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
}
.calendar-card-body {
  padding: 1rem;
}
.calendar-card-body img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}
.calendar-card-footer {
  text-align: center;
  padding: 0.75rem;
  color: #8b4513;
  font-family: Georgia, serif;
  font-size: 0.9rem;
}

/* Section padding utilities */
.section-padding { padding: 2rem 0; }
.section-alt-bg { background: #faf8f6; }

@media (max-width: 599px){
  .hero-inner{ flex-direction:column; }
}

/* Styles for the Învățături listing */
.invataturi-list { list-style: none; margin: 1rem 0; padding: 0; display: grid; gap: 1rem; }
.invataturi-item { padding: 1rem; border: 1px solid #eee; border-radius: 8px; background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,0.02); }
.invataturi-link { color: inherit; text-decoration: none; }
.invataturi-link strong { font-size: 1.05rem; color: #111; }
.invataturi-excerpt { margin-top: 0.5rem; color: #444; }
.invataturi-tags { margin-top: 0.75rem; }
.invataturi-tags a { display: inline-block; background: #f2c37a; color: #111; padding: 0.15rem 0.5rem; border-radius: 999px; font-size: 0.85rem; text-decoration: none; margin-right: 0.4rem; }
.invataturi-tags a:hover { opacity: 0.95; }

@media (max-width: 599px) {
  .invataturi-item { padding: .75rem; }
}

/* Chatbot Widget */
#chatbot-toggle {
  position: fixed !important;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 99999;
  width: auto;
  height: auto;
  padding: 0.5rem 0.75rem;
  border-radius: 2rem;
  border: none;
  background: linear-gradient(135deg, #fff 0%, #f8f4f0 100%);
  color: #8b2e2e;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15), 0 2px 6px rgba(139,46,46,0.2);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
#chatbot-toggle:hover { 
  transform: scale(1.05) translateY(-2px); 
  box-shadow: 0 8px 30px rgba(0,0,0,0.2), 0 4px 10px rgba(139,46,46,0.25); 
}
#chatbot-toggle:focus { outline: 3px solid rgba(242,195,122,0.6); outline-offset: 2px; }

#chatbot-toggle .priest-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #f2c37a 0%, #e8b960 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(139,46,46,0.2);
}
#chatbot-toggle .priest-avatar svg {
  width: 48px;
  height: 48px;
}
#chatbot-toggle .priest-label {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #8b2e2e;
  white-space: nowrap;
  padding-right: 0.25rem;
}

#chatbot-window {
  position: fixed !important;
  bottom: 6rem;
  right: 1.25rem;
  z-index: 99998;
  width: 360px;
  max-width: calc(100vw - 2rem);
  max-height: 520px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
#chatbot-window.chatbot-hidden { opacity: 0; pointer-events: none; transform: translateY(10px); }

.chatbot-header {
  background: linear-gradient(135deg, #8b2e2e 0%, #a94442 100%);
  color: #fff;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
}
.chatbot-header button {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: #faf8f6;
}

.chatbot-msg {
  max-width: 85%;
  padding: 0.6rem 0.85rem;
  border-radius: 12px;
  line-height: 1.45;
  font-size: 0.95rem;
}
.chatbot-msg.bot {
  align-self: flex-start;
  background: #fff;
  border: 1px solid #eee;
  color: #222;
}
.chatbot-msg.user {
  align-self: flex-end;
  background: linear-gradient(135deg, #f2c37a 0%, #e6b36a 100%);
  color: #111;
}

.chatbot-input-area {
  display: flex;
  border-top: 1px solid #eee;
  background: #fff;
}
.chatbot-input-area input {
  flex: 1;
  border: none;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  outline: none;
}
.chatbot-input-area button {
  background: #8b2e2e;
  border: none;
  color: #fff;
  padding: 0 1rem;
  cursor: pointer;
  transition: background 0.15s ease;
}
.chatbot-input-area button:hover { background: #a94442; }

/* Typing indicator animation */
.chatbot-typing {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0.6rem 0.85rem;
}
.chatbot-typing span {
  width: 8px;
  height: 8px;
  background: #8b2e2e;
  border-radius: 50%;
  animation: chatbot-bounce 1.2s infinite ease-in-out;
}
.chatbot-typing span:nth-child(1) { animation-delay: 0s; }
.chatbot-typing span:nth-child(2) { animation-delay: 0.2s; }
.chatbot-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes chatbot-bounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.5; }
  40% { transform: scale(1); opacity: 1; }
}

@media (max-width: 420px) {
  #chatbot-window { bottom: 5rem; right: 0.5rem; width: calc(100vw - 1rem); max-height: 70vh; }
  #chatbot-toggle { 
    bottom: 0.75rem; 
    right: 0.75rem; 
    padding: 0.35rem 0.5rem;
  }
  #chatbot-toggle .priest-avatar { width: 44px; height: 44px; }
  #chatbot-toggle .priest-avatar svg { width: 40px; height: 40px; }
  #chatbot-toggle .priest-label { font-size: 0.8rem; }
}

/* ========================================
   Pricesne Page Styles
   ======================================== */
.pricesne-intro {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 2rem;
}

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

.pricesna-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pricesna-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

/* YouTube Facade - lazy load videos */
.video-facade {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  cursor: pointer;
  background: #000;
}
.video-facade img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: auto;
  min-height: 100%;
  object-fit: cover;
}
.video-facade .play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.video-facade:hover .play-button {
  transform: translate(-50%, -50%) scale(1.1);
}
.video-facade .play-button .play-bg {
  transition: fill 0.2s ease;
}
.video-facade:hover .play-button .play-bg {
  fill: #8b0000;
}
.video-facade.video-loaded {
  cursor: default;
}
.video-facade iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.pricesna-info {
  padding: 1rem;
}
.pricesna-info h3 {
  margin: 0 0 0.5rem 0;
  color: #8b4513;
  font-size: 1.1rem;
}
.pricesna-info p {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
}

.pricesne-description {
  margin-top: 3rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #fff9e6, #fff5d6);
  border-radius: 12px;
  border-left: 4px solid #d4a84b;
}
.pricesne-description p {
  margin: 0;
  color: #8b4513;
  font-size: 1rem;
}

/* ========================================
   Cookie Consent Banner
   ======================================== */
#cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #fff;
  padding: 1rem 1.5rem;
  z-index: 100000;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  animation: slideUpCookie 0.4s ease-out;
}

/* Mut chatbot-ul mai sus când banner-ul cookies este vizibil */
body:has(#cookie-consent:not(.cookie-hidden)) #chatbot-toggle {
  bottom: 6rem;
}
body:has(#cookie-consent:not(.cookie-hidden)) #chatbot-window {
  bottom: 10rem;
}

/* Fallback pentru browsere fără :has() - JS va adăuga această clasă */
body.cookie-banner-visible #chatbot-toggle {
  bottom: 6rem;
}
body.cookie-banner-visible #chatbot-window {
  bottom: 10rem;
}
#cookie-consent.cookie-hidden {
  display: none;
}
#cookie-consent p {
  margin: 0;
  font-size: 0.9rem;
  flex: 1;
  min-width: 200px;
}
#cookie-consent a {
  color: #f2c37a;
  text-decoration: underline;
}
#cookie-consent .cookie-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
#cookie-consent button {
  padding: 0.5rem 1.25rem;
  border-radius: 20px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.9rem;
  transition: transform 0.2s ease;
}
#cookie-consent button:hover {
  transform: scale(1.05);
}
#cookie-consent .btn-accept-cookies {
  background: #f2c37a;
  color: #111;
  border: none;
}
#cookie-consent .btn-decline-cookies {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.5);
}

@keyframes slideUpCookie {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

@media (max-width: 599px) {
  #cookie-consent {
    flex-direction: column;
    text-align: center;
  }
  #cookie-consent .cookie-buttons {
    justify-content: center;
  }
}

/* =============================================
   PAGINA RUGĂCIUNI
   ============================================= */
.prayers-page {
  padding: 2rem 1rem;
  max-width: 1000px;
  margin: 0 auto;
}
.prayers-page h1 {
  text-align: center;
  color: #8B4513;
  margin-bottom: 0.5rem;
}
.prayers-intro {
  text-align: center;
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.prayers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.prayer-card {
  background: linear-gradient(135deg, #FDF5E6 0%, #FFFAF0 100%);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 15px rgba(139, 69, 19, 0.1);
  border: 1px solid rgba(139, 69, 19, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.prayer-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(139, 69, 19, 0.15);
}
.prayer-card h2 {
  color: #8B4513;
  font-size: 1.25rem;
  margin: 0 0 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.prayer-card h2 .icon {
  font-size: 1.4rem;
}
.prayer-text {
  line-height: 1.7;
  color: #333;
  white-space: pre-line;
}
.prayer-note {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(139, 69, 19, 0.2);
  font-style: italic;
  color: #666;
  font-size: 0.9rem;
}

/* =============================================
   PAGINA CONTACT
   ============================================= */
.contact-page {
  padding: 2rem 1rem;
  max-width: 1100px;
  margin: 0 auto;
}
.contact-page h1 {
  text-align: center;
  color: #8B4513;
  margin-bottom: 0.5rem;
}
.contact-intro {
  text-align: center;
  color: #666;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
.contact-form-container {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.contact-form .form-group {
  margin-bottom: 1.25rem;
}
.contact-form label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  color: #333;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #8B4513;
  outline: none;
}
.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}
.contact-form .btn-submit {
  background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
  color: #fff;
  border: none;
  padding: 0.9rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease;
  width: 100%;
}
.contact-form .btn-submit:hover {
  transform: translateY(-2px);
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.info-card {
  background: linear-gradient(135deg, #FDF5E6 0%, #FFFAF0 100%);
  padding: 1.25rem;
  border-radius: 10px;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.info-card .icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}
.info-card h3 {
  margin: 0 0 0.3rem;
  color: #8B4513;
  font-size: 1rem;
}
.info-card p {
  margin: 0;
  color: #555;
  font-size: 0.95rem;
}
.info-card a {
  color: #8B4513;
  text-decoration: none;
}
.info-card a:hover {
  text-decoration: underline;
}

/* =============================================
   PAGINA BLOG
   ============================================= */
.blog-hero {
  padding: 2.25rem 0;
  background: linear-gradient(180deg, #fff6e6, #fff);
  text-align: center;
  border-bottom: 1px solid #f2e4d1;
}
.blog-hero .page-title {
  margin: 0 0 0.5rem;
  color: #8B4513;
  font-size: 2rem;
}
.blog-hero .page-description {
  margin: 0 auto;
  max-width: 640px;
  color: #666;
  font-size: 1.05rem;
}
.blog-categories {
  padding: 1rem 0 0.25rem;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}
.category-link {
  background: #fff;
  border: 1px solid #ead8c0;
  color: #8B4513;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
}
.category-link.active,
.category-link:hover {
  background: #fdf1d9;
}
.category-link .count {
  color: #9d6b37;
}
.featured-article {
  padding: 1.5rem 0;
}
.featured-card {
  display: grid;
  gap: 1rem;
  background: #fff;
  border: 1px solid #f0e1cc;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}
.featured-image {
  position: relative;
}
.featured-image img {
  width: 100%;
  height: auto;
  display: block;
}
.featured-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: #c41e3a;
  color: #fff;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}
.featured-content {
  padding: 1.25rem 1.5rem 1.5rem;
}
.featured-title {
  margin: 0.5rem 0 0.75rem;
  font-size: 1.5rem;
}
.featured-title a {
  color: #2b1a0d;
  text-decoration: none;
}
.featured-excerpt {
  color: #555;
  margin-bottom: 1rem;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  color: #8b5a2b;
  font-weight: 600;
  font-size: 0.85rem;
}
.blog-grid {
  padding: 1.5rem 0 2rem;
}
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.article-card {
  background: #fff;
  border: 1px solid #f1e4d1;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 16px rgba(0,0,0,0.05);
}
.article-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.article-image.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7f1e7;
  height: 180px;
}
.article-image .placeholder-icon {
  font-size: 2rem;
}
.article-content {
  padding: 1rem 1.1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  height: 100%;
}
.article-title {
  margin: 0;
  font-size: 1.1rem;
}
.article-title a {
  color: #2b1a0d;
  text-decoration: none;
}
.article-excerpt {
  margin: 0;
  color: #555;
  font-size: 0.95rem;
}
.article-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #7b5c3a;
  margin-top: auto;
}
.read-more {
  color: #8B4513;
  font-weight: 700;
  text-decoration: none;
}
.read-more:hover {
  text-decoration: underline;
}
.blog-pagination {
  margin-top: 1.5rem;
  text-align: center;
}
.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.75rem;
  margin: 0 0.2rem;
  border-radius: 999px;
  border: 1px solid #ead8c0;
  color: #8B4513;
  text-decoration: none;
  font-weight: 600;
}
.blog-pagination .current {
  background: #fdf1d9;
  border-color: #f1d4a6;
}
@media (max-width: 640px) {
  .featured-content {
    padding: 1rem;
  }
  .featured-title {
    font-size: 1.25rem;
  }
  .articles-grid {
    grid-template-columns: 1fr;
  }
  .article-card {
    flex-direction: row;
    align-items: stretch;
  }
  .article-image,
  .article-image.placeholder {
    flex: 0 0 110px;
    height: 110px;
  }
  .article-image img {
    height: 110px;
  }
  .article-content {
    padding: 0.75rem;
    gap: 0.35rem;
  }
  .article-meta {
    font-size: 0.7rem;
    gap: 0.35rem 0.5rem;
  }
  .article-meta span {
    white-space: nowrap;
  }
  .article-title {
    font-size: 1rem;
  }
  .article-excerpt {
    display: none;
  }
  .article-footer {
    font-size: 0.75rem;
  }
  .article-footer .reading-time {
    display: none;
  }
}

/* =============================================
   PAGINA FAQ
   ============================================= */
.faq-page {
  padding: 2rem 1rem;
  max-width: 900px;
  margin: 0 auto;
}
.faq-page h1 {
  text-align: center;
  color: #8B4513;
  margin-bottom: 0.5rem;
}
.faq-intro {
  text-align: center;
  color: #666;
  margin-bottom: 2rem;
}
.faq-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.faq-category {
  background: #f5f5f5;
  padding: 0.5rem 1.25rem;
  border-radius: 20px;
  font-size: 0.9rem;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}
.faq-category:hover,
.faq-category.active {
  background: #FDF5E6;
  color: #8B4513;
  border-color: #8B4513;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.faq-item {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  border: 1px solid #eee;
}
.faq-item summary {
  padding: 1.25rem;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: #8B4513;
  transition: transform 0.3s ease;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item summary:hover {
  background: #fafafa;
}
.faq-item .faq-answer {
  padding: 0 1.25rem 1.25rem;
  color: #555;
  line-height: 1.7;
  border-top: 1px solid #eee;
}
.faq-item .faq-answer a {
  color: #8B4513;
}
.faq-cta {
  text-align: center;
  margin-top: 3rem;
  padding: 2rem;
  background: linear-gradient(135deg, #FDF5E6 0%, #FFFAF0 100%);
  border-radius: 12px;
}
.faq-cta h2 {
  color: #8B4513;
  margin: 0 0 0.5rem;
}
.faq-cta p {
  margin: 0 0 1rem;
  color: #666;
}
.faq-cta .btn-chatbot {
  display: inline-block;
  background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s ease;
}
.faq-cta .btn-chatbot:hover {
  transform: translateY(-2px);
}

/* =============================================
   PAGINA NEWSLETTER
   ============================================= */
.newsletter-page {
  padding: 2rem 1rem;
  max-width: 800px;
  margin: 0 auto;
}
.newsletter-hero {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
  color: #fff;
  border-radius: 16px;
  margin-bottom: 2rem;
}
.newsletter-hero h1 {
  margin: 0 0 0.5rem;
  font-size: 2rem;
}
.newsletter-hero p {
  margin: 0;
  opacity: 0.9;
  font-size: 1.1rem;
}
.newsletter-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 768px) {
  .newsletter-content {
    grid-template-columns: 1fr;
  }
}
.newsletter-benefits {
  background: #FDF5E6;
  padding: 1.5rem;
  border-radius: 12px;
}
.newsletter-benefits h2 {
  color: #8B4513;
  font-size: 1.25rem;
  margin: 0 0 1rem;
}
.newsletter-benefits ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.newsletter-benefits li {
  padding: 0.75rem 0;
  border-bottom: 1px dashed rgba(139, 69, 19, 0.2);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: #444;
}
.newsletter-benefits li:last-child {
  border-bottom: none;
}
.newsletter-benefits li .icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}
.newsletter-form-container {
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.newsletter-form-container h2 {
  color: #8B4513;
  font-size: 1.25rem;
  margin: 0 0 1rem;
}
.newsletter-form .form-group {
  margin-bottom: 1rem;
}
.newsletter-form label {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 600;
  color: #333;
  font-size: 0.95rem;
}
.newsletter-form input,
.newsletter-form select {
  width: 100%;
  padding: 0.7rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  box-sizing: border-box;
}
.newsletter-form input:focus,
.newsletter-form select:focus {
  border-color: #8B4513;
  outline: none;
}
.newsletter-form .btn-subscribe {
  width: 100%;
  background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
  color: #fff;
  border: none;
  padding: 0.85rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease;
  margin-top: 0.5rem;
}
.newsletter-form .btn-subscribe:hover {
  transform: translateY(-2px);
}
.newsletter-privacy {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #888;
}
.newsletter-privacy a {
  color: #8B4513;
}

/* =============================================
   PAGINA CERERE RUGĂCIUNE
   ============================================= */
.prayer-request-page {
  padding: 2rem 1rem;
  max-width: 800px;
  margin: 0 auto;
}
.prayer-request-page h1 {
  text-align: center;
  color: #8B4513;
  margin-bottom: 0.5rem;
}
.prayer-request-intro {
  text-align: center;
  color: #666;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.prayer-request-form {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.prayer-request-form .form-group {
  margin-bottom: 1.25rem;
}
.prayer-request-form label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  color: #333;
}
.prayer-request-form input,
.prayer-request-form select,
.prayer-request-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  box-sizing: border-box;
}
.prayer-request-form input:focus,
.prayer-request-form select:focus,
.prayer-request-form textarea:focus {
  border-color: #8B4513;
  outline: none;
}
.prayer-request-form textarea {
  resize: vertical;
  min-height: 120px;
}
.prayer-promise {
  background: #FDF5E6;
  padding: 1.25rem;
  border-radius: 10px;
  margin-top: 1.5rem;
  text-align: center;
}
.prayer-promise .icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.prayer-promise p {
  margin: 0;
  font-style: italic;
  color: #8B4513;
  line-height: 1.6;
}

/* =============================================
   ALERTE / NOTIFICĂRI
   ============================================= */
.alert {
  padding: 1rem 1.25rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.alert .icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}
.alert-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}
.alert-error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}
.alert-info {
  background: #d1ecf1;
  color: #0c5460;
  border: 1px solid #bee5eb;
}

/* =============================================
   OPTIMIZĂRI MOBILE
   ============================================= */

/* Touch-friendly tap targets (minim 44px) */
@media (max-width: 768px) {
  /* Header și navigație */
  .site-header .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.75rem;
  }
  .site-branding {
    text-align: center;
    margin-bottom: 0.5rem;
  }
  .site-title {
    font-size: 1.1rem;
  }
  .site-description {
    font-size: 0.85rem;
  }
  .site-logo img,
  .custom-logo,
  .site-default-logo {
    width: 250px;
    max-width: 250px;
    height: auto;
  }
  
  /* Navigație mobile - butoane mai mari pentru touch */
  .site-nav {
    width: 100%;
    margin-left: 0;
  }
  .site-nav ul {
    justify-content: center;
    gap: 0.25rem;
  }
  .site-nav a {
    padding: 0.6rem 0.5rem;
    font-size: 0.8rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .site-nav .menu-icon {
    font-size: 1.1rem;
  }

  
  /* Container padding pe mobil */
  .container {
    padding: 0.75rem;
  }
  
  /* Hero section */
  .hero {
    padding: 1.5rem 0;
  }
  .hero-inner {
    flex-direction: column;
    gap: 1rem;
  }
  .hero-media {
    flex: none;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }
  .hero-content {
    min-width: unset;
    width: 100%;
  }
  .hero-quote {
    font-size: 0.95rem;
    padding-left: 0.75rem;
  }
  
  /* Calendar card */
  .calendar-card {
    max-width: 100%;
    margin: 0 auto;
  }
  
  /* Secțiuni */
  .section-padding {
    padding: 1.25rem 0;
  }
  
  /* Formular */
  .contact-form-container,
  .newsletter-form-container,
  .prayer-request-form {
    padding: 1.25rem;
  }
  .contact-form .btn-submit,
  .newsletter-form .btn-subscribe,
  .prayer-request-form .btn-submit {
    padding: 1rem;
    font-size: 1rem;
    min-height: 48px;
  }
  
  /* Grid-uri */
  .prayers-grid,
  .contact-grid,
  .newsletter-content {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  /* Chatbot */
  #chatbot-toggle {
    bottom: 6.5rem;
    right: 1rem;
    padding: 0.6rem 0.9rem;
  }
  #chatbot-window {
    right: 0.5rem;
    left: 0.5rem;
    width: auto;
    max-width: none;
    bottom: 9.5rem;
  }

  body {
    padding-bottom: 72px;
  }
}

/* Telefoane foarte mici (sub 400px) */
@media (max-width: 400px) {
  .site-nav a {
    padding: 0.5rem 0.35rem;
    font-size: 0.75rem;
  }
  .site-nav .menu-icon {
    display: none;
  }
  .site-title {
    font-size: 1rem;
  }
  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1.25rem;
  }
  .prayer-card,
  .faq-item,
  .info-card {
    padding: 1rem;
  }
  .prayer-card h2 {
    font-size: 1.1rem;
  }
  .prayer-text {
    font-size: 0.9rem;
  }
}

/* Landscape pe telefoane */
@media (max-width: 768px) and (orientation: landscape) {
  .site-header .container {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .site-branding {
    flex: 1;
    text-align: left;
    margin-bottom: 0;
  }
  .site-nav {
    width: auto;
  }
  .hero-inner {
    flex-direction: row;
  }
  .hero-media {
    flex: 0 0 200px;
    max-width: 200px;
  }
}

/* Îmbunătățiri touch */
@media (pointer: coarse) {
  /* Butoane și link-uri mai mari pentru touch */
  .btn,
  .site-nav a,
  .faq-item summary,
  input[type="submit"],
  button {
    min-height: 44px;
  }
  
  /* Spațiu între elemente pentru a evita tap-uri accidentale */
  .site-nav ul {
    gap: 0.35rem;
  }
  .faq-list {
    gap: 0.75rem;
  }
  
  /* Feedback vizual pentru touch */
  .btn:active,
  .site-nav a:active,
  .faq-item summary:active {
    opacity: 0.8;
    transform: scale(0.98);
  }
}

/* Evită text prea mic pe mobil */
@media (max-width: 768px) {
  body {
    font-size: 16px; /* Previne zoom automat pe iOS */
    -webkit-text-size-adjust: 100%;
  }
  input,
  textarea,
  select {
    font-size: 16px; /* Previne zoom pe focus în iOS */
  }
}

/* Smooth scroll pe dispozitive care îl suportă */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Reducere animații pentru utilizatori care preferă asta */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =============================================
   DARK MODE
   ============================================= */
.dark-mode-toggle {
  background: transparent;
  border: 1px solid rgba(242, 195, 122, 0.3);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: background 0.3s ease;
  flex-shrink: 0;
}
.dark-mode-toggle:hover {
  background: rgba(242, 195, 122, 0.15);
}
.dark-mode-toggle .icon-moon {
  display: none;
}
html.dark-mode .dark-mode-toggle .icon-sun {
  display: none;
}
html.dark-mode .dark-mode-toggle .icon-moon {
  display: inline;
}

/* Dark mode color scheme */
html.dark-mode {
  --bg-primary: #1a1a1a;
  --bg-secondary: #242424;
  --bg-card: #2a2a2a;
  --text-primary: #e0e0e0;
  --text-secondary: #a0a0a0;
  --accent: #f2c37a;
  --border: #3a3a3a;
}
html.dark-mode body {
  background: var(--bg-primary);
  color: var(--text-primary);
}
html.dark-mode .site-header,
html.dark-mode .site-footer {
  background: #111;
}
html.dark-mode .container {
  background: transparent;
}
html.dark-mode .prayer-card,
html.dark-mode .faq-item,
html.dark-mode .info-card,
html.dark-mode .contact-form-container,
html.dark-mode .newsletter-form-container,
html.dark-mode .prayer-request-form {
  background: var(--bg-card);
  border-color: var(--border);
}
html.dark-mode .prayer-card h2,
html.dark-mode .faq-page h1,
html.dark-mode .prayers-page h1,
html.dark-mode .contact-page h1,
html.dark-mode .newsletter-hero {
  color: var(--accent);
}
html.dark-mode .prayer-text,
html.dark-mode .faq-answer,
html.dark-mode p {
  color: var(--text-secondary);
}
html.dark-mode input,
html.dark-mode textarea,
html.dark-mode select {
  background: var(--bg-secondary);
  border-color: var(--border);
  color: var(--text-primary);
}
html.dark-mode .hero {
  background: linear-gradient(180deg, #1a1a1a, #242424);
}
html.dark-mode .calendar-card {
  background: linear-gradient(to bottom, #2a2a2a, #1a1a1a);
}
html.dark-mode .section-alt-bg {
  background: var(--bg-secondary);
}
html.dark-mode .faq-item summary {
  color: var(--text-primary);
}
html.dark-mode .faq-item summary:hover {
  background: var(--bg-secondary);
}
html.dark-mode .newsletter-benefits {
  background: var(--bg-secondary);
}

/* =============================================
   PAGINA 404
   ============================================= */
.error-404-page {
  text-align: center;
  padding: 3rem 1rem;
}
.error-hero {
  margin-bottom: 2.5rem;
}
.error-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}
.error-404-page h1 {
  color: #8B4513;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.error-message {
  color: #666;
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto;
}
.error-suggestions {
  margin-bottom: 2.5rem;
}
.error-suggestions h2 {
  color: #8B4513;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.suggestions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}
.suggestion-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.25rem;
  background: linear-gradient(135deg, #FDF5E6 0%, #FFFAF0 100%);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.suggestion-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(139, 69, 19, 0.15);
}
.suggestion-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.suggestion-title {
  font-weight: 600;
  color: #8B4513;
  margin-bottom: 0.25rem;
}
.suggestion-desc {
  font-size: 0.85rem;
  color: #666;
  text-align: center;
}
.error-search {
  margin-bottom: 2.5rem;
}
.error-search h2 {
  color: #8B4513;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.search-form {
  display: flex;
  max-width: 400px;
  margin: 0 auto;
  gap: 0.5rem;
}
.search-field {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
}
.search-submit {
  padding: 0.75rem 1.25rem;
  background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}
.error-quote {
  max-width: 500px;
  margin: 0 auto;
}
.error-quote blockquote {
  font-style: italic;
  color: #666;
  font-size: 1rem;
  line-height: 1.6;
  border-left: 3px solid #f2c37a;
  padding-left: 1rem;
  text-align: left;
}
.error-quote cite {
  display: block;
  margin-top: 0.5rem;
  color: #8B4513;
  font-style: normal;
  font-weight: 600;
}

/* Dark mode 404 */
html.dark-mode .suggestion-card {
  background: var(--bg-card);
}
html.dark-mode .error-404-page h1,
html.dark-mode .error-suggestions h2,
html.dark-mode .error-search h2 {
  color: var(--accent);
}
html.dark-mode .error-message,
html.dark-mode .suggestion-desc,
html.dark-mode .error-quote blockquote {
  color: var(--text-secondary);
}

/* =============================================
   PRINT STYLES
   ============================================= */
@media print {
  /* Ascunde elementele de navigație */
  .site-header,
  .site-footer,
  .site-nav,
  .dark-mode-toggle,
  #chatbot-toggle,
  #chatbot-window,
  #cookie-consent,
  .btn,
  .social-share,
  .search-form,
  .breadcrumbs {
    display: none !important;
  }
  
  /* Resetare culori pentru print */
  body {
    background: #fff !important;
    color: #000 !important;
    font-size: 12pt;
    line-height: 1.5;
  }
  
  /* Titluri clare */
  h1, h2, h3 {
    color: #000 !important;
    page-break-after: avoid;
  }
  
  /* Rugăciuni formatate pentru print */
  .prayer-card {
    background: #fff !important;
    border: 1px solid #ccc !important;
    box-shadow: none !important;
    page-break-inside: avoid;
    margin-bottom: 1rem;
  }
  .prayer-text {
    color: #000 !important;
  }
  
  /* Link-uri vizibile cu URL */
  a[href^="http"]:after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #666;
  }
  
  /* Container fără restricții */
  .container {
    max-width: none;
    padding: 0;
  }
  
  /* Fără umbră */
  * {
    box-shadow: none !important;
  }
}

/* =============================================
   SOCIAL SHARING
   ============================================= */
.social-share {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}
.social-share-label {
  font-weight: 600;
  color: #666;
  font-size: 0.9rem;
}
.social-share a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-decoration: none;
  font-size: 1.2rem;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.social-share a:hover {
  transform: scale(1.1);
  opacity: 0.9;
}
.social-share .share-facebook {
  background: #1877f2;
  color: #fff;
}
.social-share .share-twitter {
  background: #1da1f2;
  color: #fff;
}
.social-share .share-whatsapp {
  background: #25d366;
  color: #fff;
}
.social-share .share-email {
  background: #666;
  color: #fff;
}
.social-share .share-copy {
  background: #f2c37a;
  color: #111;
  cursor: pointer;
  border: none;
}

/* Front page share container */
.front-page-share {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0,0,0,0.1);
}
.front-page-share .social-share {
  justify-content: center;
}
.front-page-share .social-share-label {
  width: 100%;
  text-align: center;
  margin-bottom: 0.5rem;
}
html.dark-mode .front-page-share {
  border-top-color: rgba(255,255,255,0.1);
}

/* =============================================
   BREADCRUMBS
   ============================================= */
.breadcrumbs {
  padding: 0.75rem 0;
  font-size: 0.9rem;
  color: #666;
}
.breadcrumbs a {
  color: #8B4513;
  text-decoration: none;
}
.breadcrumbs a:hover {
  text-decoration: underline;
}
.breadcrumbs .separator {
  margin: 0 0.5rem;
  color: #999;
}
.breadcrumbs .current {
  color: #333;
}
html.dark-mode .breadcrumbs {
  color: var(--text-secondary);
}
html.dark-mode .breadcrumbs a {
  color: var(--accent);
}
html.dark-mode .breadcrumbs .current {
  color: var(--text-primary);
}


/* ==============================================
   FOOTER STYLES - Enhanced with actions
   ============================================== */
.site-footer {
  text-align: center;
}
.footer-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.btn-pwa,
.btn-notifications {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border: 2px solid #f2c37a;
  border-radius: 25px;
  background: transparent;
  color: #f2c37a;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-pwa:hover,
.btn-notifications:hover {
  background: #f2c37a;
  color: #222;
}
.btn-pwa .btn-icon,
.btn-notifications .btn-icon {
  font-size: 1.1rem;
}
.btn-notifications.subscribed {
  background: rgba(76, 175, 80, 0.2);
  border-color: #4CAF50;
  color: #4CAF50;
}
.footer-nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.footer-nav a {
  color: #bbb;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}
.footer-nav a:hover {
  color: #f2c37a;
}
.footer-copyright {
  color: #888;
  font-size: 0.85rem;
  margin: 0;
}

/* Mobile bottom navigation */
.mobile-bottom-nav {
  display: none;
}
@media (max-width: 768px) {
  .mobile-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.2rem;
    background: #111;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 0.35rem 0.5rem calc(0.35rem + env(safe-area-inset-bottom));
    z-index: 99990;
  }
  .mobile-bottom-nav__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    text-decoration: none;
    color: #ddd;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.35rem 0.2rem;
    border-radius: 10px;
  }
  .mobile-bottom-nav__item.is-active {
    background: rgba(242,195,122,0.2);
    color: #f2c37a;
  }
  .mobile-bottom-nav__icon {
    font-size: 1.1rem;
    line-height: 1;
  }
}

/* Front page sections */
.front-page-sections {
  padding: 3rem 0;
  background: #f8f5f0;
}
html.dark-mode .front-page-sections {
  background: var(--bg-secondary);
}
.section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.section-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.section-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
html.dark-mode .section-card {
  background: var(--bg-card);
}
.section-card .card-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}
.section-card h3 {
  margin: 0 0 0.5rem;
  color: #8B4513;
}
html.dark-mode .section-card h3 {
  color: var(--accent);
}
.section-card p {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.section-card .btn-link {
  color: #8B4513;
  font-weight: 600;
  text-decoration: none;
}
.section-card .btn-link:hover {
  text-decoration: underline;
}

/* Audio Player Mini (front page) */
.audio-player-mini {
  background: linear-gradient(135deg, #8B4513 0%, #5D2E0C 100%);
  border-radius: 12px;
  padding: 1.5rem;
  color: #fff;
  margin: 2rem 0;
}
.audio-player-mini h3 {
  margin: 0 0 1rem;
  color: #f2c37a;
  font-size: 1.1rem;
}
.audio-player-mini audio {
  width: 100%;
  margin-bottom: 0.5rem;
}
.audio-player-mini .audio-title {
  font-size: 0.9rem;
  opacity: 0.9;
}

@media (max-width: 480px) {
  .footer-actions {
    flex-direction: column;
    align-items: center;
  }
  .btn-pwa,
  .btn-notifications {
    width: 100%;
    max-width: 250px;
    justify-content: center;
  }
}

