/*
Theme Name: Szundi Theme
Theme URI: https://szundipodcast.hu
Author: Szundi
Description: Egyedi WordPress téma a Szundi mese podcast számára.
Version: 1.0
Requires at least: 6.5
Text Domain: szundi
*/
/*
========================================
SZUNDI THEME
style.css
1. rész
========================================
*/

:root {
  --bg: #08111f;
  --bg2: #0f1930;
  --white: #ffffff;
  --gold: #d4a646;
  --text: #202020;

  --radius: 24px;

  --shadow: 0 25px 70px rgba(0, 0, 0, 0.15);

  --transition: 0.35s ease;

  --container: 1280px;
}

* {
  margin: 0;

  padding: 0;

  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #faf8f3;

  font-family: "Inter", sans-serif;

  font-size: 16px;

  line-height: 1.8;

  color: var(--text);

  overflow-x: hidden;
}

img {
  display: block;

  max-width: 100%;

  height: auto;
}

a {
  text-decoration: none;

  color: inherit;
}

.container {
  width: min(var(--container), 92%);

  margin: auto;
}

/* ===========================
HEADER
=========================== */

.site-header {
  position: absolute;

  left: 0;

  right: 0;

  top: 0;

  z-index: 999;

  padding: 30px 0;

  transition: 0.35s;
}

.header-inner {
  display: flex;

  justify-content: space-between;

  align-items: center;
}

.logo {
  display: flex;

  align-items: center;

  gap: 15px;

  color: white;
}

.logo-moon {
  font-size: 42px;
}

.logo-title {
  display: block;

  font-size: 38px;

  font-family: "Cormorant Garamond", serif;

  font-weight: 700;

  line-height: 1;
}

.logo-sub {
  display: block;

  margin-top: 4px;

  font-size: 15px;

  letter-spacing: 3px;

  text-transform: uppercase;

  opacity: 0.75;
}

.main-menu {
  display: flex;

  list-style: none;

  gap: 40px;
}

.main-menu a {
  color: white;

  font-size: 16px;

  font-weight: 500;

  position: relative;

  transition: 0.3s;
}

.main-menu a:after {
  content: "";

  position: absolute;

  left: 0;

  bottom: -8px;

  height: 2px;

  width: 0;

  background: var(--gold);

  transition: 0.35s;
}

.main-menu a:hover:after {
  width: 100%;
}

.header-button {
  padding: 15px 28px;

  background: var(--gold);

  color: #111;

  border-radius: 50px;

  font-weight: 700;

  transition: 0.35s;
}

.header-button:hover {
  transform: translateY(-3px);

  box-shadow: var(--shadow);
}

/* ===========================
HERO
=========================== */

.hero {
  position: relative;

  min-height: 100vh;

  display: flex;

  align-items: center;

  background-image:
    linear-gradient(rgba(8, 17, 31, 0.68), rgba(8, 17, 31, 0.82)),
    url("assets/img/header.jpg");

  background-size: cover;

  background-position: center;

  overflow: hidden;
}

.hero-overlay {
  position: absolute;

  inset: 0;

  background: linear-gradient(
    90deg,
    rgba(8, 17, 31, 0.72),
    rgba(8, 17, 31, 0.25)
  );
}

.hero-grid {
  position: relative;

  z-index: 5;

  display: flex;

  align-items: center;
}

.hero-left {
  max-width: 700px;
}

.hero-tag {
  display: inline-block;

  margin-bottom: 30px;

  padding: 10px 18px;

  border: 1px solid rgba(255, 255, 255, 0.25);

  border-radius: 999px;

  color: white;

  letter-spacing: 2px;

  font-size: 13px;

  text-transform: uppercase;

  backdrop-filter: blur(12px);
}

.hero h1 {
  font-family: "Cormorant Garamond", serif;

  font-size: 78px;

  line-height: 1.05;

  color: white;

  margin-bottom: 35px;

  font-weight: 700;
}

.hero p {
  font-size: 22px;

  color: rgba(255, 255, 255, 0.9);

  max-width: 620px;

  margin-bottom: 45px;
}

.hero-buttons {
  display: flex;

  gap: 18px;

  flex-wrap: wrap;
}

.btn {
  padding: 18px 34px;

  border-radius: 999px;

  font-weight: 700;

  transition: 0.35s;

  display: inline-flex;

  align-items: center;

  justify-content: center;
}

.btn-primary {
  background: var(--gold);

  color: #111;
}

.btn-primary:hover {
  transform: translateY(-4px);

  box-shadow: 0 20px 60px rgba(212, 166, 70, 0.35);
}

.btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.45);

  color: white;

  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: white;

  color: #111;
}

/* ===========================
SECTION
=========================== */

section {
  padding: 120px 0;
}

.section-tag {
  display: inline-block;

  color: var(--gold);

  font-size: 14px;

  font-weight: 700;

  letter-spacing: 2px;

  margin-bottom: 20px;

  text-transform: uppercase;
}

.section-header {
  display: flex;

  justify-content: space-between;

  align-items: center;

  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 54px;

  font-family: "Cormorant Garamond", serif;

  font-weight: 700;
}

.section-header a {
  font-weight: 700;

  color: #666;

  transition: 0.3s;
}

.section-header a:hover {
  color: black;
}
/* =====================================================
MAI ESTI MESE
===================================================== */

.featured-story {
  background: #faf8f3;

  padding-top: 100px;

  padding-bottom: 120px;
}

.featured-card {
  display: grid;

  grid-template-columns: 520px 1fr;

  gap: 70px;

  background: #ffffff;

  border-radius: 32px;

  overflow: hidden;

  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.08);
}

.featured-image {
  position: relative;

  overflow: hidden;

  min-height: 420px;
}

.featured-image img {
  width: 100%;

  height: 100%;

  object-fit: cover;

  transition: 0.7s;
}

.featured-card:hover img {
  transform: scale(1.05);
}

.featured-content {
  padding: 70px;

  display: flex;

  flex-direction: column;

  justify-content: center;
}

.featured-content h2 {
  font-family: "Cormorant Garamond", serif;

  font-size: 62px;

  line-height: 1.1;

  margin: 15px 0 25px;

  color: #111;
}

.story-text {
  font-size: 20px;

  color: #666;

  line-height: 1.8;

  margin-bottom: 40px;

  max-width: 620px;
}

/* =====================================================
LEGÚJABB MESÉK
===================================================== */

.latest-stories {
  background: #faf8f3;
}

.story-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 35px;
}

.story-card {
  background: white;

  border-radius: 28px;

  overflow: hidden;

  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);

  transition: 0.35s;
}

.story-card:hover {
  transform: translateY(-12px);

  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.15);
}

.story-card img {
  width: 100%;

  height: 260px;

  object-fit: cover;

  transition: 0.5s;
}

.story-card:hover img {
  transform: scale(1.06);
}

.story-card-content {
  padding: 30px;
}

.story-card h3 {
  font-family: "Cormorant Garamond", serif;

  font-size: 36px;

  line-height: 1.2;

  margin-bottom: 18px;
}

.story-card p {
  font-size: 17px;

  color: #666;

  margin-bottom: 25px;
}

.read-more {
  display: inline-flex;

  align-items: center;

  gap: 10px;

  font-weight: 700;

  color: var(--gold);

  transition: 0.3s;
}

.read-more:hover {
  transform: translateX(8px);
}

/* =====================================================
SZERZŐ KÁRTYÁK 2.0
===================================================== */

.author-grid {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));

  gap: 28px;

  margin-top: 60px;
}

.author-card {
  background: #fff;

  border-radius: 24px;

  padding: 35px 20px;

  text-align: center;

  border: 2px solid transparent;

  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.05);

  transition: 0.35s ease;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  min-height: 220px;
}

.author-card:hover {
  transform: translateY(-10px);

  border-color: #d4a646;

  box-shadow:
    0 20px 55px rgba(0, 0, 0, 0.12),
    0 0 25px rgba(212, 166, 70, 0.2);
}

.author-photo {
  width: 90px;

  height: 90px;

  border-radius: 50%;

  background: linear-gradient(135deg, #f6f3ea, #ece6d7);

  border: 2px solid #d4a646;

  margin-bottom: 24px;

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 34px;

  color: #d4a646;
}

.author-card h3 {
  font-family: "Cormorant Garamond", serif;

  font-size: 30px;

  line-height: 1.2;

  margin-bottom: 12px;

  color: #111;
}

.author-card span {
  font-size: 15px;

  letter-spacing: 2px;

  text-transform: uppercase;

  color: #888;
}

.author-card:hover h3 {
  color: #d4a646;
}
/* =====================================================
PLATFORMOK
===================================================== */

.platforms {
  background: #faf8f3;

  padding: 110px 0;
}

.platform-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 30px;

  margin-top: 60px;
}

.platform {
  background: white;

  padding: 40px;

  border-radius: 24px;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 20px;

  font-size: 22px;

  font-weight: 700;

  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);

  transition: 0.3s;
}

.platform:hover {
  transform: translateY(-8px);

  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.12);
}

/* =====================================================
FOOTER
===================================================== */

.site-footer {
  background: var(--bg);

  color: white;

  padding: 80px 0;
}

.footer-grid {
  display: grid;

  grid-template-columns: 2fr 1fr 1fr;

  gap: 60px;
}

.footer-logo {
  font-family: "Cormorant Garamond", serif;

  font-size: 46px;

  margin-bottom: 20px;
}

.footer-text {
  opacity: 0.75;

  max-width: 500px;
}

.footer-menu {
  list-style: none;
}

.footer-menu li {
  margin-bottom: 16px;
}

.footer-menu a {
  opacity: 0.75;

  transition: 0.3s;
}

.footer-menu a:hover {
  opacity: 1;

  color: var(--gold);
}

.copyright {
  margin-top: 70px;

  padding-top: 30px;

  border-top: 1px solid rgba(255, 255, 255, 0.08);

  text-align: center;

  opacity: 0.6;
}

/* =====================================================
RESZPONZÍV
===================================================== */

@media (max-width: 1100px) {
  .hero h1 {
    font-size: 58px;
  }

  .featured-card {
    grid-template-columns: 1fr;
  }

  .story-grid {
    grid-template-columns: 1fr 1fr;
  }

  .author-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .platform-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .main-menu {
    display: none;
  }

  .hero {
    padding-top: 120px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero p {
    font-size: 18px;
  }

  .story-grid {
    grid-template-columns: 1fr;
  }

  .author-grid {
    grid-template-columns: 1fr;
  }

  .featured-content {
    padding: 40px;
  }

  .featured-content h2 {
    font-size: 42px;
  }

  .section-header {
    flex-direction: column;

    gap: 20px;

    align-items: flex-start;
  }

  .section-header h2 {
    font-size: 42px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
/* ===================================
ANIMÁCIÓK
=================================== */

.hidden-card {
  opacity: 0;

  transform: translateY(40px);

  transition: 0.7s;
}

.show-card {
  opacity: 1;

  transform: translateY(0);
}

.site-header {
  transition:
    background 0.35s,
    padding 0.35s,
    box-shadow 0.35s,
    backdrop-filter 0.35s;
}
/* ==========================
FOOTER
========================== */

.site-footer {
  background: #08111f;

  color: #fff;

  text-align: center;

  padding: 90px 20px;
}

.footer-logo {
  font-family: "Cormorant Garamond", serif;

  font-size: 46px;

  margin-bottom: 25px;

  color: #fff;
}

.footer-text {
  max-width: 650px;

  margin: auto;

  color: rgba(255, 255, 255, 0.75);

  font-size: 18px;

  line-height: 1.8;
}

.footer-links {
  display: flex;

  justify-content: center;

  gap: 35px;

  margin: 45px 0;
}

.footer-links a {
  color: #d4a646;

  font-weight: 700;

  font-size: 18px;

  transition: 0.3s;
}

.footer-links a:hover {
  color: white;
}

.footer-email {
  margin-bottom: 40px;
}

.footer-email a {
  color: white;

  opacity: 0.8;
}

.footer-email a:hover {
  color: #d4a646;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.08);

  margin-top: 40px;

  padding-top: 35px;

  opacity: 0.55;
}
/*=========================
PLATFORM KÁRTYÁK
=========================*/

.platform-grid {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 35px;

  margin-top: 70px;
}

.platform {
  display: flex;

  align-items: center;

  gap: 30px;

  padding: 42px;

  border-radius: 30px;

  text-decoration: none;

  transition: 0.35s;

  overflow: hidden;

  position: relative;

  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.08);
}

.platform:hover {
  transform: translateY(-8px);

  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.16);
}

.spotify {
  background: #06180d;

  color: white;
}

.youtube {
  background: white;

  color: #111;
}

.platform-icon img {
  width: 90px;

  height: 90px;
}

.platform-text {
  flex: 1;
}

.platform-text h3 {
  font-size: 48px;

  margin-bottom: 10px;

  font-family: "Cormorant Garamond", serif;
}

.platform-text p {
  font-size: 20px;

  opacity: 0.82;

  line-height: 1.6;
}

.platform-arrow {
  width: 60px;

  height: 60px;

  border-radius: 50%;

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 34px;

  transition: 0.3s;
}

.spotify .platform-arrow {
  border: 2px solid #1db954;

  color: #1db954;
}

.youtube .platform-arrow {
  border: 2px solid #ff0000;

  color: #ff0000;
}

.platform:hover .platform-arrow {
  transform: translateX(8px);
}

@media (max-width: 900px) {
  .platform-grid {
    grid-template-columns: 1fr;
  }
}
.footer-links {
  display: flex;
  gap: 25px;
  margin-top: 30px;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 600;
  transition: 0.3s;
}

.footer-social svg {
  transition: 0.3s;
}

.footer-social:hover svg {
  transform: scale(1.15);
}

.footer-social:hover {
  transform: translateY(-2px);
}
/*==========================
FOOTER IKONOK
==========================*/

.footer-links {
  display: flex;

  justify-content: center;

  gap: 60px;

  margin: 45px 0;
}

.footer-icon {
  width: 95px;

  height: 95px;

  border-radius: 50%;

  display: flex;

  align-items: center;

  justify-content: center;

  text-decoration: none;

  background: rgba(255, 255, 255, 0.03);

  border: 2px solid rgba(212, 166, 70, 0.35);

  transition: 0.45s ease;

  box-shadow: 0 0 0 rgba(212, 166, 70, 0);
}

.footer-icon svg {
  width: 52px;

  height: 52px;

  transition: 0.45s;
}

.footer-icon:hover {
  transform: translateY(-8px) scale(1.08);

  border-color: #d4a646;

  box-shadow:
    0 0 25px rgba(212, 166, 70, 0.45),
    0 0 60px rgba(212, 166, 70, 0.25);
}

.footer-icon:hover svg {
  transform: scale(1.12);
}
/*==============================
HEADER SOCIAL
==============================*/

.header-social {
  display: flex;
  align-items: center;
  gap: 42px;

  margin-left: 30px;

  padding: 10px 24px;

  background: rgba(8, 17, 31, 0.28);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border: 1px solid rgba(212, 166, 70, 0.25);

  border-radius: 999px;
}
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 42px;
  height: 42px;

  transition: 0.35s ease;
}
.social-link:hover {
  transform: translateY(-3px);
}

.social-link:hover svg {
  transform: scale(1.15);

  filter: drop-shadow(0 0 10px rgba(212, 166, 70, 0.8))
    drop-shadow(0 0 20px rgba(212, 166, 70, 0.4));
}
/* ==========================
Mobil fejléc
========================== */

@media (max-width: 768px) {
  .header-social {
    margin-left: 10px;

    gap: 22px;

    padding: 8px 16px;
  }
}
.szundi-counter {
  margin-top: 20px;

  font-size: 12px;

  color: #7b8595;

  opacity: 0.55;

  letter-spacing: 0.08em;

  text-align: center;

  transition: 0.3s;
}

.szundi-counter:hover {
  opacity: 0.9;
}
