/* ==========================================================================
   Turners Balloons & Events — Design tokens
   ========================================================================== */

:root {
  /* Palette — warm, celebratory, elegant. Photography carries the color; UI stays refined. */
  --cream: #fbf5ee;
  --cream-alt: #f4e9dc;
  --ink: #2b2320;
  --ink-soft: #6b5b52;
  --rose: #b6537a;
  --rose-dark: #8f3f60;
  --gold: #c79a4b;
  --gold-soft: #e6cf9c;
  --sage: #8a9a7e;
  --white: #fffdfa;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max-width: 1180px;
  --radius: 14px;
  --shadow-soft: 0 10px 30px rgba(43, 35, 32, 0.1);
  --shadow-lift: 0 18px 40px rgba(43, 35, 32, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--ink);
}

p {
  margin: 0 0 1em;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--rose-dark);
  margin-bottom: 0.75em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

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

.btn-primary:hover {
  background: var(--rose-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

.btn-primary.is-success {
  background: #2f8f5b;
}

.btn-primary.is-success:hover {
  background: #2f8f5b;
  transform: none;
}

.btn-primary.is-error {
  background: #c0392b;
}

.btn-primary.is-error:hover {
  background: #c0392b;
  transform: none;
}

.btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-check {
  display: inline-flex;
  width: 16px;
  height: 16px;
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  border-color: var(--rose);
  color: var(--rose-dark);
}

.btn-outline-dark:hover {
  background: var(--rose);
  color: var(--white);
}

/* ==========================================================================
   Garland divider — decorative motif echoing the product itself
   ========================================================================== */

.garland {
  width: 100%;
  height: 46px;
  display: block;
}

.garland-flip {
  transform: rotate(180deg);
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(251, 245, 238, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(43, 35, 32, 0.06);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--ink);
}

.logo-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink-soft);
  padding: 10px 16px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.main-nav a:hover {
  color: var(--rose-dark);
  background: var(--cream-alt);
}

.nav-cta {
  margin-left: 8px;
  padding: 10px 22px !important;
  background: var(--rose);
  color: var(--white) !important;
}

.nav-cta:hover {
  background: var(--rose-dark) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: 76px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(30, 20, 20, 0.55) 0%,
    rgba(30, 20, 20, 0.35) 45%,
    rgba(30, 20, 20, 0.75) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 720px;
  padding: 60px 0 90px;
}

.hero-content .eyebrow {
  color: var(--gold-soft);
}

.hero-content h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  margin-bottom: 0.35em;
}

.hero-content p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 560px;
  margin-bottom: 1.6em;
}

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

/* ==========================================================================
   Section scaffolding
   ========================================================================== */

section {
  padding: 96px 0;
}

.section-alt {
  background: var(--cream-alt);
}

.section-head {
  max-width: 640px;
  margin: 0 0 56px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* ==========================================================================
   About
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-copy p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.about-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 5;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--rose-dark);
  display: block;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ==========================================================================
   Services
   ========================================================================== */

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

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4em;
}

.service-card p {
  color: var(--ink-soft);
  font-size: 0.96rem;
  margin-bottom: 0;
}

/* ==========================================================================
   Portfolio gallery
   ========================================================================== */

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}

.filter-pill {
  padding: 10px 20px;
  border-radius: 999px;
  border: 2px solid rgba(43, 35, 32, 0.14);
  background: var(--white);
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.filter-pill:hover {
  border-color: var(--rose);
  color: var(--rose-dark);
}

.filter-pill.active {
  background: var(--rose);
  border-color: var(--rose);
  color: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.gallery-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: var(--cream-alt);
  aspect-ratio: 4 / 5;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.35) 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-more {
  text-align: center;
  margin-top: 40px;
}

.gallery-hidden {
  display: none;
}

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(20, 14, 13, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 84vh;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: var(--white);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox-close {
  top: 24px;
  right: 24px;
}

.lightbox-prev {
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.contact-info-list {
  list-style: none;
  padding: 0;
  margin: 28px 0;
}

.contact-info-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  font-size: 1.02rem;
}

.contact-info-list a {
  text-decoration: none;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 2px solid var(--gold-soft);
}

.contact-info-list a:hover {
  color: var(--rose-dark);
  border-color: var(--rose);
}

.contact-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--rose-dark);
}

.social-row {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rose-dark);
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.social-btn:hover {
  transform: translateY(-3px);
  background: var(--rose);
  color: var(--white);
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-soft);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 6px;
  color: var(--ink-soft);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid rgba(43, 35, 32, 0.14);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  background: var(--cream);
  color: var(--ink);
  transition: border-color 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--rose);
}

.field input.field-error,
.field select.field-error,
.field textarea.field-error {
  border-color: #c0392b;
  background: #fdf1f0;
}

.field input.field-error:focus,
.field select.field-error:focus,
.field textarea.field-error:focus {
  border-color: #c0392b;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.form-note {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-top: 10px;
}

/* ==========================================================================
   Reviews
   ========================================================================== */

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 56px;
}

.reviews-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.review-stars {
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.review-comment {
  color: var(--ink);
  font-size: 0.98rem;
  flex-grow: 1;
}

.review-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.review-photos img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
}

.review-meta {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 0.85rem;
}

.review-name {
  font-weight: 600;
  color: var(--rose-dark);
}

.review-event {
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.75rem;
}

.review-form-wrap {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.review-form-wrap h3 {
  font-size: 1.4rem;
  margin-bottom: 0.3em;
}

.review-form-intro {
  color: var(--ink-soft);
  margin-bottom: 28px;
}

.review-form {
  text-align: left;
}

.star-input {
  display: inline-flex;
  gap: 6px;
}

.star-btn {
  background: none;
  border: none;
  padding: 0;
  font-size: 1.8rem;
  line-height: 1;
  color: rgba(43, 35, 32, 0.18);
  cursor: pointer;
  transition: color 0.15s ease, transform 0.15s ease;
}

.star-btn:hover {
  transform: scale(1.1);
}

.star-btn.active {
  color: var(--gold);
}

.field-error-stars .star-btn {
  color: #c0392b;
  opacity: 0.35;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--ink);
  color: rgba(255, 253, 250, 0.75);
  padding: 56px 0 28px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 8px;
}

.footer-tagline {
  max-width: 320px;
  font-size: 0.92rem;
}

.footer-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-nav a {
  text-decoration: none;
  color: rgba(255, 253, 250, 0.75);
  font-size: 0.92rem;
  font-weight: 600;
}

.footer-nav a:hover {
  color: var(--gold-soft);
}

.footer-bottom {
  padding-top: 24px;
  font-size: 0.82rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 900px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-photo {
    order: -1;
    aspect-ratio: 16 / 10;
  }

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

  section {
    padding: 68px 0;
  }
}

@media (max-width: 720px) {
  .main-nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 24px 24px;
    gap: 4px;
    box-shadow: var(--shadow-soft);
    transform: translateY(-130%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
  }

  .main-nav a {
    padding: 14px 10px;
    border-bottom: 1px solid rgba(43, 35, 32, 0.06);
    border-radius: 0;
  }

  .nav-cta {
    margin: 10px 0 0;
    text-align: center;
    border-radius: 999px;
  }

  .nav-toggle {
    display: flex;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .hero-content {
    padding: 40px 0 70px;
  }

  .contact-form {
    padding: 24px;
  }
}
