/* ==========================================================================
   PARTY RENTALS - MAIN STYLES (MODERN v2)
   Design System: Fun & Premium
   ========================================================================== */

/* Variables CSS (Custom Properties) */
:root {
  /* Brand Colors - Bluey Theme (Family Heeler) */
  --primary-color: #375978;
  /* Bluey's Dark Spots */
  --primary-dark: #2b2c41;
  /* Darker Navy */
  --primary-light: #88cafc;
  /* Bluey's Light Body */

  --secondary-color: #88cafc;
  /* Bluey Light (Secondary) */
  --secondary-dark: #6b9ec7;
  --secondary-light: #d2ebff;

  --accent-color: #ed8c56;
  /* Bingo Orange (Buttons!) */
  --accent-hover: #d27b4b;

  /* Functional Colors */
  --success-color: #71cf69;
  /* Lime (Greeny) */
  --warning-color: #edcc6f;
  /* Pale Yellow */
  --error-color: #ff6b6b;
  /* Soft Red */
  --info-color: #88cafc;

  /* Neutrals */
  --bg-body: #d2ebff;
  /* Light Sky Background */
  --bg-surface: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.85);
  /* Frosty */

  --text-main: #375978;
  /* Dark Blue Text */
  --text-muted: #627d98;
  --text-light: #fbeea4;
  /* Creamy Text */

  /* Typography */
  --font-heading: 'Fredoka', sans-serif;
  /* Playful Rounded */
  --font-body: 'Inter', sans-serif;

  /* Spacing system (unchanged) */
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;
  --font-size-4xl: 3rem;
  --font-size-5xl: 4rem;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;

  /* Effects - Super Soft */
  --radius-sm: 0.75rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
  /* Super rounded cards */
  --radius-full: 9999px;

  --shadow-sm: 0 2px 0 rgba(55, 89, 120, 0.1);
  --shadow-md: 0 4px 0 rgba(55, 89, 120, 0.1);
  /* 'Sticker' shadow */
  --shadow-lg: 0 8px 0 rgba(55, 89, 120, 0.1);
  --shadow-float: 0 15px 0 rgba(55, 89, 120, 0.15);
  --shadow-color: 0 4px 0 #c27245;
  /* Solid 3D shadow for buttons */

  --blur-glass: 8px;

  --trans-base: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --trans-bounce: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  /* Bouncy! */
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-main);
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}

h1 {
  font-size: var(--font-size-4xl);
}

h2 {
  font-size: var(--font-size-3xl);
}

h3 {
  font-size: var(--font-size-2xl);
}

h4 {
  font-size: var(--font-size-xl);
}

p {
  margin-bottom: var(--space-4);
  color: var(--text-muted);
}

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

@media (min-width: 640px) {
  .container {
    padding: 0 var(--space-8);
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-family: var(--font-heading);
  text-decoration: none;
  transition: var(--trans-bounce);
  cursor: pointer;
  border: none;
  font-size: var(--font-size-base);
}

.btn-primary {
  background: var(--accent-color);
  /* Bingo Orange */
  color: white;
  box-shadow: var(--shadow-color);
  border: 2px solid transparent;
}

.btn-primary:hover {
  transform: translateY(-4px);
  background: var(--accent-hover);
  box-shadow: 0 8px 0 #c27245;
  /* Deep orange shadow */
}

.btn-secondary {
  background: white;
  color: var(--primary-color);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--primary-dark);
}

.btn-large {
  padding: var(--space-4) var(--space-8);
  font-size: var(--font-size-lg);
}

/* Header */
.header {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(var(--blur-glass));
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) 0;
}

.logo h1 {
  font-size: var(--font-size-2xl);
  margin: 0;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  color: transparent;
}

.nav-link {
  color: var(--text-muted);
  font-weight: 500;
  text-decoration: none;
  transition: var(--trans-base);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
  background: hsla(340, 82%, 52%, 0.05);
}

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
  padding: var(--space-16) 0 var(--space-24);
  background: linear-gradient(135deg, #FFF0F5 0%, #E6E6FA 100%);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

/* Animated background blobs */
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
}

.hero::before {
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: hsla(340, 82%, 52%, 0.15);
  animation: float 20s infinite alternate;
}

.hero::after {
  bottom: -50px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: hsla(260, 100%, 65%, 0.15);
  animation: float 15s infinite alternate-reverse;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
}

@media (min-width: 768px) {
  .hero-content {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.hero-text h2 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: var(--space-6);
  background: linear-gradient(to right, var(--text-main), var(--primary-dark));
  -webkit-background-clip: text;
  color: transparent;
}

.hero-features {
  display: flex;
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

.feature {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 500;
  color: var(--text-main);
  background: white;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

/* Sections */
.section-padding {
  padding: var(--space-12) 0;
  /* More breathing room */
}

/* Card Styles - Bluey Redesign */
/* Card Styles - Header Card Design */
.service-card {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  transition: var(--trans-bounce);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: none;
  /* Clean borderless look, let header define shape */
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-float);
}

/* Header Section of Card */
.service-icon {
  background: var(--secondary-light);
  /* Bluey Blue Header */
  padding: var(--space-8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
}

/* Featured Card (Large) gets accented header */
.service-card.featured .service-icon {
  background: var(--accent-color);
  /* Bingo Orange Header */
}

.service-card.featured .card-tag {
  background: white;
  color: var(--accent-color);
}

.service-content {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  text-align: center;
}

.service-content h3 {
  color: var(--primary-color);
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-2);
}

.service-desc {
  flex-grow: 1;
  margin-bottom: var(--space-4);
  font-size: var(--font-size-lg);
}

.specs-grid {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.spec {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--primary-color);
  background: var(--bg-body);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
}

.price-block {
  margin-bottom: var(--space-6);
  color: var(--primary-color);
  font-weight: 800;
}

.price {
  font-size: 2.5rem;
}

.period {
  font-size: 1rem;
  color: var(--text-muted);
}

.card-tag {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background: var(--primary-color);
  color: white;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
  z-index: 2;
}

/* Footer */
.footer {
  background: var(--text-main);
  color: white;
  padding: var(--space-12) 0 var(--space-6);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  margin-top: var(--space-24);
}

.footer-brand h3 {
  color: white;
  margin: 0;
}

.footer p {
  color: var(--text-muted);
}

/* Keyframes */
@keyframes float {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(30px, 50px);
  }
}

/* Utilities */
.hidden {
  display: none !important;
}

/* Custom Modal Styles (Bluey Theme) */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(55, 89, 120, 0.6);
  /* Bluey Dark semi-transparent */
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease-out;
}

.modal-content {
  background: white;
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  text-align: center;
  max-width: 90%;
  width: 400px;
  box-shadow: var(--shadow-float);
  border: 4px solid var(--primary-light);
  /* Bluey Light Border */
  animation: popIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-icon {
  font-size: 3rem;
  margin-bottom: var(--space-4);
  display: inline-block;
  animation: bounce 1s infinite;
}

.modal-content h3 {
  color: var(--primary-color);
  margin-bottom: var(--space-2);
}

.modal-content p {
  color: var(--text-muted);
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-6);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes popIn {
  from {
    transform: scale(0.8) translateY(20px);
    opacity: 0;
  }

  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}