/* 
  Brand Colors (The Guild):
  White Background: #FFFFFF
  Deep Grey: #2A2E33
  Vibrant Orange: #FF5A1F
*/

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:wght@400;500;600;700;800&family=Caveat:wght@400;700&display=swap');

:root {
  --brand-dark: #2A2E33; /* Dark Grey */
  --brand-light: #FAFAFA; /* Off-White to prevent harshness on large screens */
  --brand-orange: #FF5A1F; /* Punchy Orange */
  --text-dark: #2A2E33;
  --text-light: #525B66;
  
  --border-radius: 16px;
  --button-radius: 100px;
  --soft-shadow: 0 12px 30px rgba(7, 11, 52, 0.08);
}

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

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--brand-light);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Bebas Neue', 'Arial Black', sans-serif;
  font-weight: 400;
  color: var(--brand-dark);
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.marker-font {
  font-family: 'Caveat', cursive;
  font-size: 1.5em;
  transform: rotate(-3deg);
  display: inline-block;
  color: var(--brand-orange);
}

p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-weight: 400;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

/* Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), 
              transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 16px 32px;
  cursor: pointer;
  border-radius: var(--button-radius);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  text-align: center;
  border: none;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(42, 46, 51, 0.15);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background-color: var(--brand-dark);
  color: #FFF;
}

.btn-primary:hover {
  background-color: #1a1c1f;
  color: #FFF;
}

.btn-secondary {
  background-color: transparent;
  color: var(--brand-dark);
  border: 2px solid var(--brand-orange);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-secondary::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: var(--brand-orange);
  transition: width 0.3s ease;
  z-index: -1;
}

.btn-secondary:hover {
  color: #FFF;
}

.btn-secondary:hover::after {
  width: 100%;
}

/* Navigation */
.main-nav {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 72px;
  width: auto;
}

.logo-text {
  font-family: 'Bebas Neue', 'Arial Black', sans-serif;
  font-size: 2rem;
  color: var(--brand-dark);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--brand-dark);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--brand-orange);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions .btn {
  padding: 12px 24px;
  font-size: 0.9rem;
}

/* Page Header Utilities */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
  padding: 0 5%;
}

.section-header h2 {
  font-size: clamp(3rem, 5vw, 4.5rem);
  margin-bottom: 1rem;
}

.section-padding {
  padding: clamp(3rem, 6vh, 6rem) 0;
}

/* Marquee */
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  background-color: transparent;
  padding: 2rem 0;
  /* margin-top: 5rem; */
}

.marquee-content {
  display: inline-block;
  animation: marquee 25s linear infinite;
  font-family: 'Bebas Neue', 'Arial Black', sans-serif;
  font-size: 2.5rem;
  color: var(--brand-dark);
  opacity: 0.9;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.marquee-content span {
  padding-right: 2rem;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Hero Section */
.hero {
  padding: 14rem 5% clamp(10rem, 20vh, 20rem);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  background-image: linear-gradient(rgba(250, 250, 250, 0.85), rgba(250, 250, 250, 0.9)), url('./assets/images/guild_hero_bg_1773699431610.png');
  background-size: cover;
  background-position: center;
}

.hero h1 {
  font-size: clamp(3.5rem, 8vw, 6rem);
  color: var(--brand-dark);
  margin-bottom: 2rem;
  max-width: 900px;
}

.hero-subtitle-block {
  max-width: 600px;
  margin-bottom: 3rem;
}

.hero p {
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--text-dark);
}

/* Ticket/Pricing Graphic Block */
.pricing-ticket-container {
  max-width: 900px;
  margin: 0 auto 6rem;
  padding: 0 5%;
}

.pricing-ticket {
  background-color: var(--brand-dark);
  color: white;
  border-radius: 24px;
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 40px rgba(42, 46, 51, 0.2);
}

.pricing-ticket::before,
.pricing-ticket::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 40px;
  background-color: var(--brand-light);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}

.pricing-ticket::before {
  left: -20px;
}
.pricing-ticket::after {
  right: -20px;
}

.ticket-title {
  font-family: 'Bebas Neue', 'Arial Black', sans-serif;
  font-size: 4.5rem;
  color: var(--brand-orange);
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
}

.ticket-split {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  position: relative;
}

.ticket-divider {
  width: 2px;
  height: 100px;
  background: repeating-linear-gradient(to bottom, transparent, transparent 10px, rgba(255,255,255,0.3) 10px, rgba(255,255,255,0.3) 20px);
}

.price-block h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
  color: white;
}

.price-group {
  display: flex;
  justify-content: center;
  align-items: baseline;
}

.dollar {
  font-size: 2rem;
  font-family: 'Caveat', cursive;
  color: var(--peach);
  margin-right: 5px;
}

.amount {
  font-size: 6rem;
  font-family: 'Bebas Neue', 'Arial Black', sans-serif;
  line-height: 1;
  color: white;
}

.per-month {
  font-family: 'Caveat', cursive;
  font-size: 1.5rem;
  color: var(--peach);
  margin-left: 5px;
}

.discount-badge {
  position: absolute;
  top: -30px;
  left: -20px;
  background-color: var(--brand-orange);
  color: var(--brand-dark);
  font-family: 'Caveat', cursive;
  font-size: 1.8rem;
  padding: 10px 20px;
  border-radius: 10px;
  transform: rotate(-10deg);
  box-shadow: 4px 4px 0 rgba(0,0,0,0.1);
}

/* Bento Gallery Layout */
.bento-gallery {
  max-width: 1200px;
  margin: 0 auto 6rem;
  padding: 0 5%;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 250px;
  gap: 16px;
}

.bento-item {
  border-radius: var(--border-radius);
  overflow: hidden;
  position: relative;
}

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

.bento-item:hover img {
  transform: scale(1.03);
}

.item-1 {
  grid-column: 1 / span 2;
  grid-row: 1 / span 2;
}

.item-2 {
  grid-column: 3 / span 2;
  grid-row: 1 / span 1;
}

.item-3 {
  grid-column: 3 / span 1;
  grid-row: 2 / span 1;
}

.item-4 {
  grid-column: 4 / span 1;
  grid-row: 2 / span 1;
}

.item-5 {
  grid-column: 1 / span 2;
  grid-row: 3 / span 1;
}

.item-6 {
  grid-column: 3 / span 2;
  grid-row: 3 / span 1;
}

/* Pricing Grid for Offices */
.office-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 5%;
}

.office-location-card {
  background: white;
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--soft-shadow);
  border-top: 6px solid var(--brand-orange);
}

.office-location h3 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--brand-dark);
}

.office-list {
  list-style: none;
  padding: 0;
}

.office-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid #F0F0F0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  color: var(--text-dark);
}

.office-list li:last-child {
  border-bottom: none;
}

.office-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  color: var(--brand-orange);
  letter-spacing: 0.05em;
}

.office-teams-badge {
  display: inline-block;
  background-color: #F5F5F5;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

/* Feature Icons Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem 2rem;
  max-width: 1000px;
  margin: 0 auto clamp(10rem, 20vh, 20rem);
  padding: 0 5%;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.feature-icon-wrapper {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
}

.feature-icon-wrapper svg,
.feature-icon-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* Make icons dark grey to match */
  filter: brightness(0) saturate(100%) invert(18%) sepia(8%) saturate(996%) hue-rotate(170deg) brightness(97%) contrast(92%);
}

.feature-text p {
  font-size: 1.1rem;
  color: var(--navy);
  margin: 0;
  font-weight: 500;
  line-height: 1.4;
}

/* Image + Text Split Sections */
.hero + section {
  margin-top: clamp(4rem, 10vh, 10rem);
}

.split-section {
  display: flex;
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
  max-width: 1400px;
  margin: clamp(2rem, 5vh, 4rem) auto;
  padding: 0 5%;
}

.split-section.reverse {
  flex-direction: row-reverse;
}

.split-content {
  flex: 1;
}

.split-content h2 {
  font-size: 3.5rem;
  margin-bottom: 2rem;
}

.split-content .marker-font {
  margin-bottom: 1rem;
}

.split-image-wrapper {
  flex: 1.2;
  position: relative;
}

.split-image-wrapper img {
  border-radius: var(--border-radius);
  box-shadow: var(--soft-shadow);
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.stacked-images {
  position: relative;
  height: 500px;
  width: 100%;
}

.stacked-images img {
  position: absolute;
  border-radius: var(--border-radius);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  border: 10px solid white;
}

.stacked-img-1 {
  width: 70%;
  left: 0;
  top: 0;
  z-index: 1;
  transform: rotate(-3deg);
}

.stacked-img-2 {
  width: 65%;
  right: 0;
  bottom: 0;
  z-index: 2;
  transform: rotate(4deg);
}

.stacked-img-3 {
  width: 60%;
  left: 20%;
  top: 25%;
  z-index: 3;
}

/* Photo Grid */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  max-width: 1400px;
  margin: 0 auto clamp(10rem, 20vh, 20rem);
  padding: 0 2%;
}

.photo-grid-item {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1;
}

.photo-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.photo-grid-item:hover img {
  transform: scale(1.05);
}

/* Call to Action Text */
.center-cta {
  text-align: center;
  padding: 8rem 5%;
}

.center-cta h2 {
  font-size: 4rem;
  letter-spacing: 0.03em;
}

/* Footer */
.club-footer {
  padding: 4rem 5%;
  text-align: center;
}

.club-footer p {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 500;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .split-section, .split-section.reverse {
    flex-direction: column;
    gap: 3rem;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stacked-images {
    height: 400px;
  }
  
  .bento-grid {
    grid-auto-rows: 200px;
  }

  .photo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: 8rem;
  }
  
  .hero h1 {
    font-size: 3rem;
  }

  .nav-links {
    display: none;
  }

  .pricing-ticket {
    padding: 3rem 1rem;
  }

  .ticket-split {
    flex-direction: column;
    gap: 2rem;
  }

  .ticket-divider {
    width: 80%;
    height: 2px;
    background: repeating-linear-gradient(to right, transparent, transparent 10px, rgba(255,255,255,0.3) 10px, rgba(255,255,255,0.3) 20px);
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 250px;
  }

  .bento-item {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
  }

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

  .stacked-images {
    display: none; /* Hide complex stacked images on small mobile to save space */
  }
}

/* Locations Section */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

.location-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--soft-shadow);
  transition: transform 0.3s ease;
}

.location-card:hover {
  transform: translateY(-5px);
}

.map-placeholder {
  width: 100%;
  height: 300px;
  background-color: #EEE;
  position: relative;
  overflow: hidden;
}

.map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.location-info {
  padding: 2rem;
}

.location-info h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.location-info address {
  font-style: normal;
  font-family: 'Montserrat', sans-serif;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

/* Contact Section */
.contact-container {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}

.contact-info-list h3 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.contact-item {
  margin-bottom: 1.5rem;
}

.contact-item h4 {
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.contact-item p, .contact-item a {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
}

.contact-form {
  background: white;
  padding: 3rem;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.05);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.form-group input, 
.form-group select, 
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid #EEE;
  border-radius: 12px;
  font-family: 'Montserrat', sans-serif;
  transition: border-color 0.3s ease;
}

.form-group input:focus, 
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-orange);
}

/* Honeypot */
.form-hidden {
  display: none !important;
  visibility: hidden;
}

/* Marquee Redux */
.marquee-container-row {
  background-color: var(--brand-dark);
  color: white;
  padding: 1rem 0;
  margin: 1.5rem 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-content-row {
  display: inline-block;
  animation: marquee-row 40s linear infinite;
  font-size: 1.5rem;
  font-family: 'Bebas Neue', 'Arial Black', sans-serif;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.marquee-content-row span {
  padding-right: 5rem;
}

@keyframes marquee-row {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 1024px) {
  .locations-grid, 
  .contact-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}
