/*
Theme Name: MyPartyAdda
Theme URI: https://example.com/
Author: MyPartyAdda
Author URI: https://example.com/
Description: Custom WordPress theme for MyPartyAdda with venue, city and occasion management.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mypartyadda
*/

:root {
  --pink: #cc1468;
  --pink-dark: #a81058;
  --pink-light: #fde7f0;
  --navy: #12153f;
  --ink: #201f2e;
  --ink-soft: rgba(32, 31, 46, 0.68);
  --paper: #fff;
  --surface: #f7f6fa;
  --divider: rgba(32, 31, 46, 0.1);
  --gold: #ffc107;
  --shadow: 0 18px 60px rgba(18, 21, 63, 0.08);
  --shadow-lg: 0 20px 50px rgba(18, 21, 63, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 999;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid var(--divider);
}

.site-header .header-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
}

.site-logo {
  height: 36px;
  display: block;
}

.site-navigation {
  flex: 1;
  margin-left: 24px;
}

.site-navigation .menu {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-navigation .menu li {
  white-space: nowrap;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.button,
.button-outline,
.button-text {
  border-radius: 999px;
  padding: 10px 18px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.button {
  background: var(--pink);
  color: #fff;
  border: 1px solid transparent;
}

.button:hover {
  background: var(--pink-dark);
}

.button-outline {
  background: #fff;
  border: 1px solid var(--divider);
  color: var(--ink);
}

.button-text {
  background: transparent;
  border: 1px solid var(--divider);
  color: var(--ink);
}

.site-content {
  padding-top: 86px;
}

.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 24px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 24px;
}

.section-header h2,
.section-header h1 {
  margin: 0;
  font-family: "Poppins", sans-serif;
}

.section-subtitle {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pink);
  font-weight: 700;
  font-size: 0.82rem;
}

.home-hero {
  position: relative;
  background: linear-gradient(
    180deg,
    rgba(18, 21, 63, 0.72),
    rgba(18, 21, 63, 0.92)
  );
  color: #fff;
  padding: 120px 24px 72px;
  min-height: 540px;
  display: flex;
  align-items: center;
}

.home-hero .hero-copy {
  max-width: 760px;
}

.home-hero h1 {
  font-size: clamp(3rem, 5vw, 5.5rem);
  line-height: 1.02;
  margin: 0 0 18px;
  font-family: "Poppins", sans-serif;
}

.home-hero .hero-text {
  font-size: 1rem;
  max-width: 44ch;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.92);
}

.home-grid,
.venue-grid,
.city-grid,
.article-grid,
.occasion-grid {
  display: grid;
  gap: 24px;
}

.venue-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.venue-card {
  display: grid;
  grid-template-rows: auto 1fr;
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.venue-card-image {
  position: relative;
  overflow: hidden;
}

.venue-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.venue-card:hover .venue-card-image img {
  transform: scale(1.04);
}

.venue-card-body {
  padding: 20px;
}

.venue-card-title {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-family: "Poppins", sans-serif;
}

.venue-card-meta {
  margin: 0 0 12px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.venue-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  font-weight: 700;
}

.venue-price {
  color: var(--ink);
}

.venue-rating {
  color: var(--pink);
  font-size: 0.95rem;
}

.related-cards {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.taxonomy-card,
.city-card,
.article-card,
.occasion-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #f7f7fb;
  min-height: 260px;
}

.taxonomy-card a,
.city-card a,
.article-card a,
.occasion-card a {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
}

.taxonomy-card-content,
.city-card-content,
.article-card-content,
.occasion-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 18px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(18, 21, 63, 0.88) 100%
  );
  color: #fff;
}

.taxonomy-card-title,
.city-card-title,
.article-card-title,
.occasion-card-title {
  margin: 0;
  font-size: 1.1rem;
}

.city-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.featured-hero,
.stats-grid,
.amenities-grid,
.article-grid {
  display: grid;
  gap: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions .button,
.hero-actions .button-outline {
  min-width: 180px;
}

.site-footer {
  background: #0f1530;
  color: rgba(255, 255, 255, 0.85);
  padding: 24px 0 0;
}

.site-footer .footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  gap: 24px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 960px) {
  .site-header .header-inner {
    flex-wrap: wrap;
  }
  .site-navigation {
    order: 3;
    width: 100%;
  }
  .site-navigation .menu {
    gap: 12px;
    justify-content: center;
  }
}

@media (max-width: 720px) {
  .site-header .header-inner {
    padding: 14px 16px;
  }
  .home-hero {
    padding: 90px 16px 56px;
  }
  .site-content {
    padding-top: 80px;
  }
}
