/* ==========================================================================
   Giggle Town — responsive layout
   Breakpoints: 1100 (home hero + header menu), 960, 768 (tablet), 600 / 480 (phone)
   Includes the design's own breakpoints (zone arrows, reviews, blog, footer).
   ========================================================================== */

/* -------------------------------------------------------------- ≤ 1100px */
@media (max-width: 1100px) {
	/* Home hero: buttons move below the banner image (as in the design) */
	.home-hero__actions {
		position: static;
		transform: none;
		justify-content: center;
		flex-wrap: wrap;
		gap: 12px;
		padding: 20px 16px 24px;
	}
	.home-hero__btn { height: auto; min-height: 50px; padding: 12px 26px; gap: 10px; font-size: 16px; box-shadow: 0 8px 18px rgba(10, 30, 90, 0.3); }
	.home-hero__btn--plan-visit { border-width: 2px; }
	.home-hero__icon { width: 18px; height: 18px; }
}

/* ---------------------------------------------------- ≤ 1100px: header menu */
@media (max-width: 1100px) {
	.site-header__inner { flex-wrap: nowrap; position: relative; }
	.site-header__cta { margin-left: auto; }
	.nav-toggle {
		order: 3;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		flex: 0 0 auto;
		width: 46px;
		height: 46px;
		border: 2px solid rgba(255, 255, 255, 0.5);
		border-radius: 50%;
		background: rgba(255, 255, 255, 0.08);
		color: #FFFFFF;
		cursor: pointer;
	}
	.nav-toggle__bars { position: relative; display: block; width: 20px; height: 14px; }
	.nav-toggle__bars span {
		position: absolute; left: 0; right: 0; height: 2.5px; border-radius: 2px; background: currentColor;
		transition: top .25s ease, rotate .25s ease, opacity .2s ease;
	}
	.nav-toggle__bars span:nth-child(1) { top: 0; }
	.nav-toggle__bars span:nth-child(2) { top: 6px; }
	.nav-toggle__bars span:nth-child(3) { top: 12px; }
	.site-header.is-open .nav-toggle__bars span:nth-child(1) { top: 6px; rotate: 45deg; }
	.site-header.is-open .nav-toggle__bars span:nth-child(2) { opacity: 0; }
	.site-header.is-open .nav-toggle__bars span:nth-child(3) { top: 6px; rotate: -45deg; }

	.site-header__menu {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 8px 24px 18px;
		background: var(--gt-blue);
		box-shadow: 0 14px 24px rgba(5, 25, 80, 0.25);
	}
	.site-header.is-open .site-header__menu { display: flex; animation: gt-menu-in .25s ease both; }
	.site-header__menu .site-nav__link { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.15); font-size: 18px; }
	.site-header__menu .site-nav__link:last-child { border-bottom: 0; }
	.site-header__menu .site-nav__link.is-active { border-bottom-color: rgba(255, 255, 255, 0.15); }

}
@media (max-width: 960px) {
	/* Design: hide the dashed line between journey steps */
	.home-journey__line { display: none; }
	/* Design: "Celebrate together" cards stack; featured blog post stacks */
	.home-celebrate__layout, .blog-featured__card { grid-template-columns: minmax(0, 1fr); }
}
@keyframes gt-menu-in { from { opacity: 0; translate: 0 -8px; } to { opacity: 1; translate: 0 0; } }

/* -------------------------------------------------------------- ≤ 768px */
@media (max-width: 768px) {
	/* Hero banners: centred text on phones & small tablets */
	.zones-hero__box, .passes-hero__box, .party-hero__box, .school-hero__box, .contact-hero__box,
	.legal-hero__container, .blog-hero__container, .post-hero__container { text-align: center; }
	.zones-hero__text, .passes-hero__text, .party-hero__text, .school-hero__text, .contact-hero__text,
	.zones-hero__lead, .passes-hero__lead, .party-hero__lead, .school-hero__lead, .contact-hero__lead { margin-left: auto; margin-right: auto; }
	.zones-hero__actions, .passes-hero__actions, .party-hero__actions, .school-hero__actions, .contact-hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
	.zones-hero__row, .passes-hero__row, .party-hero__row, .school-hero__row, .contact-hero__row { justify-content: center; }
	.zones-hero__media, .passes-hero__decor, .party-hero__media, .school-hero__media, .contact-hero__decor { margin-left: auto; margin-right: auto; }

	/* Design: reviews arrows sit below the cards */
	.home-reviews__slider-row { flex-wrap: wrap; justify-content: center; }
	.home-reviews__deck { order: -1; flex-basis: 100%; }

	/* Package / pass cards: room for the mascot on narrower cards */
	.home-passes__card-header--yellow, .passes-plans__card-header--yellow, .party-packages__card-header--yellow { padding-left: 120px; }
	.home-passes__card-header--blue, .passes-plans__card-header--blue, .party-packages__card-header--blue { padding-right: 120px; }
	.home-passes__card-avatar, .passes-plans__card-avatar, .party-packages__card-avatar { width: 84px; height: 84px; }
	.party-packages__card-list { grid-template-columns: minmax(0, 1fr); }

	/* Contact form card */
	.contact-message__container, .contact-message__header--padded { padding: 28px 22px; }
}

/* ------------------------------------------------- ≤ 700 / 640px (design) */
@media (max-width: 700px) {
	.site-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	[data-carousel] .carousel__arrow { display: none; }
	.home-zones__slider, .photo-gallery__slider { gap: 0; }
	.home-celebrate__story img, .blog-featured__card-img { height: 200px; }
}

/* ------------------------------------------- ≤ 600px: buttons on phones */
@media (max-width: 600px) {
	.btn,
	.site-header__cta,
	[class*="__btn"],
	[class*="__card-btn"] {
		min-height: 46px;
		padding: 12px 22px;
		gap: 8px;
		font-size: 14px;
		white-space: normal;
		text-align: center;
		justify-content: center;
	}
	.btn svg, [class*="__btn"] svg, [class*="__card-btn"] svg { width: 16px; height: 16px; }
	.site-header__cta { min-height: 40px; padding: 9px 16px; }
	.home-hero__btn { min-height: 46px; padding: 12px 20px; font-size: 14px; }
}

/* -------------------------------------------------------------- ≤ 480px */
@media (max-width: 480px) {
	.site-header__inner { padding: 10px 16px; gap: 10px; }
	.site-header__logo { height: 36px; }
	.nav-toggle { width: 42px; height: 42px; }

	.home-passes__card-header--yellow, .passes-plans__card-header--yellow, .party-packages__card-header--yellow { padding-left: 104px; padding-right: 20px; }
	.home-passes__card-header--blue, .passes-plans__card-header--blue, .party-packages__card-header--blue { padding-right: 104px; padding-left: 20px; }
	.home-passes__card-avatar, .passes-plans__card-avatar, .party-packages__card-avatar { width: 72px; height: 72px; }

	.site-footer__inner { gap: 28px; }
}
@media (max-width: 360px) {
	.site-header__cta svg { display: none; }
}

/* Hero stars stay small and out of the way on phones */
@media (max-width: 600px) {
	[class*="-hero__star"] { width: 18px; height: 18px; opacity: .75; }
}
