/*
Theme Name: Wernisaz Dzwieku
Theme URI: https://daveit.pl
Author: DaveIT Dawid Juszczak
Description: Motyw festiwalu Wernisaż Dźwięku
Version: 1.0
Text Domain: wernisazdzwieku
*/

@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300;400;500;600;700&family=Shrikhand&display=swap');

body {
  margin: 0;
  font-family: "Fredoka", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #f5d6a7; /* theme.palette.background.default */
  color: #1a1a1a; /* theme.palette.text.primary */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* Layout */

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(247, 231, 206, 0.95); /* zbliżone do AppBar w MUI */
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(126, 46, 46, 0.12);
}

.site-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9rem;
  font-family: "Shrikhand", cursive;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.8;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.main-nav a:hover,
.main-nav .current-menu-item > a {
  opacity: 1;
  color: #e94e77;
}

/* Hero */

.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 3rem 1.5rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("https://images.pexels.com/photos/1763075/pexels-photo-1763075.jpeg");
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  filter: brightness(0.55);
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(233, 78, 119, 0.35), transparent 55%);
  z-index: -1;
}

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

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1rem;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.7);
  font-family: "Shrikhand", cursive;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 2.4vw, 1.8rem);
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  opacity: 0.9;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.5rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #e94e77, #ff9a62);
  color: #fff;
  box-shadow: 0 12px 30px rgba(233, 78, 119, 0.45);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(233, 78, 119, 0.6);
}

/* Sections */

.section {
  padding: 4rem 1.5rem;
  background-color: #f5d6a7; /* default background */
}

.section-alt {
  background-color: #ffe5dc; /* theme.palette.background.paper */
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 2rem;
  text-align: center;
  color: #e94e77;
  margin-bottom: 2.5rem;
}

/* Countdown */

.section-countdown .section-title {
  margin-bottom: 1.5rem;
}

.countdown {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.count-box {
  min-width: 90px;
  padding: 1rem 1.2rem;
  border-radius: 1rem;
  background-color: rgba(8, 12, 29, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.count-box-full {
  padding: 1rem 1.8rem;
  font-weight: 600;
}

.count-number {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.count-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.8;
}

/* Simple cards */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.card {
  background-color: #ffe5dc;
  border-radius: 1rem;
  padding: 1.75rem;
  border: 1px solid rgba(126, 46, 46, 0.1);
  box-shadow: 0 4px 20px rgba(126, 46, 46, 0.08);
}

/* Info list */

.info-list {
  display: grid;
  gap: 1.2rem;
}

.info-item-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

/* Social / support */

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.social-pill {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.9rem;
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(126, 46, 46, 0.16);
  padding: 1.5rem;
  font-size: 0.85rem;
  background-color: #ffe5dc;
  color: #1a1a1a;
}

.site-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  opacity: 0.85;
}

.site-footer-inner span {
  display: block;
}

/* Simple page hero */

.page-hero {
  position: relative;
  padding: 4rem 1.5rem;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  filter: brightness(0.45);
  z-index: -2;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(233, 78, 119, 0.35), transparent 55%);
  z-index: -1;
}

.page-hero-inner {
  max-width: 800px;
  margin: 0 auto;
}

/* Map iframe */

.map-frame {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  overflow: hidden;
  height: 500px;
}

/* Responsive */

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

