/*
Theme Name: Elevat
Theme URI: https://elevat.ro
Author: Elena Iancu
Description: Tema custom Elevat - Social Lifestyle Magazine
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: elevat
*/

:root {
  --red: #E63946;
  --dark: #1A1A2E;
  --white: #FFFFFF;
  --bg: #F8F8F8;
  --gray: #888888;
  --border: #EBEBEB;
  --text: #1A1A2E;
  --cream: #FDF6EC;
}

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

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--white);
  color: var(--text);
}

/* GOOGLE FONTS */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,900;1,700&family=Montserrat:wght@400;500;600;700;800;900&display=swap');

/* TOP BAR */
.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  border-bottom: 1px solid var(--border);
}
.top-left {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--dark);
  text-transform: uppercase;
}
.heart { color: var(--red); }
.top-right { display: flex; align-items: center; gap: 12px; }
.icon-search { font-size: 16px; cursor: pointer; color: var(--dark); text-decoration: none; }

/* LOGO */
.logo-wrap {
  text-align: center;
  padding: 18px 20px 0;
  border-bottom: 1px solid var(--border);
}
.site-logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 44px;
  font-weight: 900;
  color: var(--dark);
  letter-spacing: 6px;
  text-decoration: none;
  display: inline-block;
  line-height: 1;
}
.site-logo .a { color: var(--red); }

/* NAV */
.main-nav {
  display: flex;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border-bottom: 1px solid var(--border);
  padding: 0 8px;
  list-style: none;
}
.main-nav::-webkit-scrollbar { display: none; }
.main-nav li a {
  color: var(--gray);
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 12px 12px;
  display: block;
  white-space: nowrap;
  position: relative;
  transition: color 0.2s;
}
.main-nav li a:hover,
.main-nav li.current-menu-item a { color: var(--dark); }
.main-nav li.current-menu-item a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 12px; right: 12px;
  height: 2px;
  background: var(--red);
}

/* TICKER */
.ticker-wrap {
  background: var(--cream);
  border-top: 1px solid #F0E8D8;
  border-bottom: 1px solid #F0E8D8;
  padding: 8px 0;
  overflow: hidden;
  white-space: nowrap;
}
.ticker-inner { display: flex; align-items: center; }
.ticker-label {
  background: var(--red);
  color: white;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 12px;
  margin-right: 16px;
  flex-shrink: 0;
}
.ticker-track {
  display: inline-block;
  animation: ticker 30s linear infinite;
  font-size: 11px;
  font-weight: 500;
  color: #5A4A3A;
}
@keyframes ticker { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* SECTION LABELS */
.sec-wrap { padding: 0 16px; max-width: 1200px; margin: 0 auto; }
.sec-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 0 14px;
}
.sec-label h2 {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--dark);
  white-space: nowrap;
}
.sec-line { flex: 1; height: 1px; background: var(--border); }
.sec-dot { width: 6px; height: 6px; background: var(--red); border-radius: 50%; flex-shrink: 0; }
.sec-link {
  font-size: 10px;
  font-weight: 700;
  color: var(--red);
  text-decoration: none;
  white-space: nowrap;
}

/* HERO */
.hero-card {
  background: white;
  margin: 16px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(26,26,46,0.08);
}
.hero-card .hero-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}
.hero-img-placeholder {
  width: 100%;
  height: 260px;
  background: linear-gradient(160deg, #1a1a2e 0%, #457B9D 100%);
}
.hero-body { padding: 16px; }
.hero-cat-tag {
  display: inline-block;
  border: 1px solid var(--border);
  color: var(--gray);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
  text-decoration: none;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 900;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 12px;
  text-decoration: none;
  display: block;
}
.hero-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hero-author { display: flex; align-items: center; gap: 8px; }
.author-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: white; font-weight: 800;
  flex-shrink: 0;
}
.author-name { font-size: 12px; font-weight: 700; color: var(--dark); display: block; }
.author-date { font-size: 11px; color: var(--gray); display: block; }

/* ARTICLE CARDS */
.article-card {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
}
.article-card:last-child { border-bottom: none; }
.article-thumb {
  width: 90px; height: 90px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg, #1a1a2e, #2d3252);
}
.article-thumb img { width: 100%; height: 100%; object-fit: cover; }
.article-body { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.article-cat {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 5px;
  display: block;
}
.article-title {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.35;
  margin-bottom: 6px;
  display: block;
}
.article-meta { font-size: 10px; color: var(--gray); }

/* FEATURED CARD */
.featured-card {
  margin: 0 16px 16px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(26,26,46,0.08);
  text-decoration: none;
  display: block;
}
.featured-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.featured-img-ph {
  width: 100%; height: 200px;
  background: linear-gradient(135deg, #2e1a2e, #522d52);
}
.featured-body { padding: 14px; background: white; }
.featured-cat {
  font-size: 9px; font-weight: 800;
  letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 6px; display: block;
}
.featured-title {
  font-family: 'Playfair Display', serif;
  font-size: 18px; font-weight: 700;
  color: var(--dark); line-height: 1.3;
  margin-bottom: 8px; display: block;
}
.featured-meta { font-size: 10px; color: var(--gray); }

/* SPORT FEATURED */
.sport-featured {
  margin: 0 16px 12px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  height: 200px;
  display: block;
  text-decoration: none;
}
.sport-featured img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.sport-featured-ph {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, #1a1a2e, #457B9D);
}
.sport-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,26,46,0.95) 0%, transparent 60%);
}
.sport-body { position: absolute; bottom: 0; left: 0; right: 0; padding: 16px; }
.sport-tag {
  background: #E8003D; color: white;
  font-size: 9px; font-weight: 800; letter-spacing: 2px;
  text-transform: uppercase; padding: 3px 8px;
  border-radius: 2px; display: inline-block; margin-bottom: 8px;
}
.sport-title {
  font-family: 'Playfair Display', serif;
  font-size: 18px; font-weight: 900;
  color: white; line-height: 1.25;
}

/* HOROSCOP */
.zodiac-scroll {
  display: flex;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  gap: 10px;
  padding: 0 16px 16px;
}
.zodiac-scroll::-webkit-scrollbar { display: none; }
.zodiac-item {
  flex-shrink: 0;
  background: white;
  border-radius: 12px;
  padding: 14px 12px;
  text-align: center;
  width: 80px;
  border: 1px solid var(--border);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}
.zodiac-item:hover { background: var(--dark); }
.zodiac-item:hover .z-name,
.zodiac-item:hover .z-date { color: rgba(255,255,255,0.6); }
.z-emoji { font-size: 24px; display: block; margin-bottom: 6px; }
.z-name { font-size: 10px; font-weight: 800; color: var(--dark); text-transform: uppercase; margin-bottom: 2px; transition: color 0.2s; display: block; }
.z-date { font-size: 8px; color: var(--gray); transition: color 0.2s; display: block; }

.horoscop-daily {
  margin: 0 16px 16px;
  background: var(--dark);
  border-radius: 12px;
  padding: 20px;
}
.hd-label { font-size: 9px; font-weight: 800; letter-spacing: 2px; color: var(--red); text-transform: uppercase; margin-bottom: 8px; display: block; }
.hd-sign { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 900; color: white; margin-bottom: 10px; display: block; }
.hd-text { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.65; margin-bottom: 12px; }
.hd-stars { display: flex; align-items: center; gap: 10px; }
.hd-rating { font-size: 16px; color: #FFD700; }
.hd-sub { font-size: 10px; color: rgba(255,255,255,0.3); }

/* BANII TAI */
.bani-card {
  background: white;
  border-radius: 12px;
  padding: 16px;
  margin: 0 16px 12px;
  border: 1px solid var(--border);
  display: flex; gap: 14px; align-items: center;
  text-decoration: none;
}
.bani-icon { font-size: 32px; flex-shrink: 0; }
.bani-cat { font-size: 9px; font-weight: 800; letter-spacing: 2px; color: #457B9D; text-transform: uppercase; margin-bottom: 4px; display: block; }
.bani-title { font-family: 'Playfair Display', serif; font-size: 15px; font-weight: 700; color: var(--dark); line-height: 1.3; margin-bottom: 4px; display: block; }
.bani-meta { font-size: 10px; color: var(--gray); }

/* DIVIDER */
.divider { height: 8px; background: var(--bg); margin: 8px 0; }

/* BUZZ BG */
.buzz-bg { background: var(--bg); padding-bottom: 8px; }
.horoscop-bg { background: var(--bg); padding-bottom: 8px; }

/* NEWSLETTER */
.newsletter-wrap {
  margin: 16px;
  background: var(--red);
  border-radius: 12px;
  padding: 24px 20px;
}
.nl-title { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 900; color: white; line-height: 1.2; margin-bottom: 8px; }
.nl-sub { color: rgba(255,255,255,0.75); font-size: 13px; line-height: 1.55; margin-bottom: 16px; }

/* FOOTER */
.site-footer { background: var(--dark); padding: 28px 16px 20px; }
.f-logo-text { font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: 900; color: white; letter-spacing: 4px; margin-bottom: 6px; display: block; }
.f-logo-text span { color: var(--red); }
.f-tagline { font-size: 11px; color: rgba(255,255,255,0.3); margin-bottom: 20px; line-height: 1.6; }
.f-links { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 20px; list-style: none; }
.f-links li a { color: rgba(255,255,255,0.4); text-decoration: none; font-size: 12px; }
.f-links li a:hover { color: white; }
.f-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.07); }
.f-copy { font-size: 10px; color: rgba(255,255,255,0.2); }
.f-copy span { color: var(--red); }
.f-social { display: flex; gap: 10px; }
.f-social a { width: 30px; height: 30px; border: 1px solid rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.3); text-decoration: none; font-size: 10px; }
.f-social a:hover { border-color: var(--red); color: var(--red); }

/* RESPONSIVE */
@media (min-width: 768px) {
  body { max-width: 100%; }
  .sec-wrap { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
  .hero-card { margin: 24px 40px; }
  .featured-card { margin: 0 40px 24px; }
  .sport-featured { margin: 0 40px 16px; }
  .horoscop-daily { margin: 0 40px 24px; }
  .bani-card { margin: 0 40px 16px; }
  .newsletter-wrap { margin: 24px 40px; }
  .hero-card .hero-img,
  .hero-img-placeholder { height: 400px; }
  .top-bar { padding: 10px 40px; }
  .logo-wrap { padding: 24px 40px 0; }
  .site-logo { font-size: 56px; }
}
