/*
Theme Name: Brisbane Gay Gardeners
Theme URI: https://brisbanegaygardeners.org
Author: Muhammad & Antigravity
Author URI: https://example.com
Description: A premium, intentional custom WordPress theme for Brisbane Gay Gardeners with advanced aesthetics, booking, and membership integration.
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: brisbane-gay-gardeners
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Color Palette - Sophisticated Garden */
  --bg-main: #fcfdfb;
  --surface-main: #ffffff;
  --surface-glass: rgba(255, 255, 255, 0.72);
  
  --forest-deep: #1a2e1f;
  --garden-green: #2d5a3c;
  --garden-light: #e8f5e9;
  
  --accent-flower: #8D3EE9; /* Lavender/Floral */
  --accent-bloom: #6c2dc7;
  --accent-soft: #f3e8ff;
  
  --gold-sunlight: #d4af37;
  
  --text-main: #141a16;
  --text-muted: #5c635e;
  
  --border-subtle: rgba(26, 46, 31, 0.08);
  --shadow-premium: 0 12px 48px rgba(26, 46, 31, 0.06);
  --shadow-strong: 0 24px 64px rgba(26, 46, 31, 0.12);
  
  --radius-lg: 32px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.65;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.1;
  color: var(--forest-deep);
  margin-top: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover {
  color: var(--garden-green);
}

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

/* Glassmorphism Utility */
.glass {
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Layout */
.container {
  width: min(1400px, calc(100% - 60px));
  margin: 0 auto;
}

.site-header {
  padding: 32px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.site-footer {
  padding: 80px 0 40px;
  background: var(--forest-deep);
  color: white;
}

.section {
  padding: 100px 0;
}

/* Header */
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-branding__logo {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--garden-green) 0%, var(--forest-deep) 100%);
  display: grid;
  place-items: center;
  color: white;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  box-shadow: 0 8px 24px rgba(45, 90, 60, 0.2);
}

.site-branding img {
  max-height: 80px;
  width: auto;
  object-fit: contain;
}

.site-branding__text {
  display: grid;
  gap: 2px;
}

.site-branding__title {
  margin: 0;
  font-size: 1.3rem;
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.01em;
}

.site-branding__tagline {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.primary-menu {
  display: flex;
  gap: 28px;
  align-items: center;
}

.primary-menu a {
  color: var(--forest-deep);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
}

.primary-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--garden-green);
  transition: width 0.3s ease;
}

.primary-menu a:hover::after {
  width: 100%;
}

/* Buttons - Unified Design System */
.button,
.button-secondary,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  cursor: pointer;
  border: 2px solid transparent;
  font-size: 1rem;
  letter-spacing: 0.5px;
  text-decoration: none;
  gap: 12px;
  text-align: center;
}

/* Primary Button (Forest) */
.button,
.wp-block-button__link {
  background: var(--forest-deep);
  color: white !important;
  box-shadow: 0 4px 15px rgba(26, 46, 31, 0.2);
}

.button:hover,
.wp-block-button__link:hover {
  background: var(--garden-green);
  border-color: var(--garden-green);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(46, 139, 87, 0.3);
  color: white !important;
}

/* Secondary Button (Outline) */
.button-secondary {
  background: transparent;
  color: var(--forest-deep);
  border-color: var(--forest-deep);
}

.button-secondary:hover {
  background: var(--forest-deep);
  color: white !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(26, 46, 31, 0.2);
}

/* Active State for all buttons */
.button:active,
.button-secondary:active {
  transform: translateY(-1px);
}

/* Hero Section */
.hero {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 80px;
  min-height: 640px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.4) 100%);
  z-index: 1;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 80px;
}

.hero-copy h1 {
  font-size: clamp(3rem, 5vw, 4.2rem);
  margin-bottom: 24px;
}

.hero-kicker {
  color: var(--garden-green);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.9rem;
  margin-bottom: 16px;
  display: block;
}

.hero-copy p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 20px;
}

/* Sections */
.section {
  padding: 100px 0;
}

.section--soft {
  background: var(--garden-light);
  width: 100% !important;
  max-width: 100% !important;
}

.section--soft .section-content {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.section-heading {
  margin-bottom: 64px;
  text-align: center;
}

.section-heading h2 {
  font-size: 3rem;
  margin-bottom: 16px;
}

.section-heading p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Activity Grid */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.card {
  background: var(--surface-main);
  border-radius: var(--radius-md);
  padding: 40px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-premium);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
  border-color: var(--garden-green);
}

.card-icon {
  width: 64px;
  height: 64px;
  background: var(--garden-light);
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--garden-green);
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.card h3 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.card p {
  color: var(--text-muted);
  margin: 0;
  font-size: 1.05rem;
}

/* Facebook Section */
.fb-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.fb-card {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
}

.fb-card h3 {
  font-size: 2rem;
  margin-bottom: 20px;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gallery-item {
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Membership Flow */
.membership-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.membership-price {
  font-size: 4rem;
  font-family: 'Outfit', sans-serif;
  color: var(--garden-green);
  margin-bottom: 16px;
}

.membership-price span {
  font-size: 1.2rem;
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  padding: 80px 0 40px;
  background: var(--forest-deep);
  color: rgba(255,255,255,0.8);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-branding h3, .footer-links h4, .footer-contact h4 {
  color: white;
  margin-bottom: 24px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-legal {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid rgba(0,0,0,0.05);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Responsive Updates */
@media (max-width: 1100px) {
  .hero-copy {
    padding: 60px;
  }
  .activities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .site-header .container {
    flex-direction: column;
    padding: 24px 0;
    gap: 20px;
  }
  .primary-menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
  .hero {
    min-height: 500px;
  }
  .hero-copy {
    padding: 40px 20px;
    text-align: center;
  }
  .hero-actions {
    justify-content: center;
    flex-direction: column;
  }
  .section-heading h2 {
    font-size: 2.2rem;
  }
  .activities-grid, .fb-section, .membership-details, .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .membership-details img {
    height: 250px;
  }
}

/* Missing Feature Styles */
.premium-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.premium-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 16px;
  line-height: 1.5;
  color: var(--forest-deep);
}

.premium-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  background-color: var(--garden-green);
  border-radius: 50%;
}

.premium-list li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  width: 6px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.testimonial-card {
  padding: 40px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.testimonial-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  color: var(--garden-green);
  opacity: 0.1;
  pointer-events: none;
}

.testimonial-quote {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--forest-deep);
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-info h4 {
  margin: 0;
  font-size: 1rem;
  color: var(--garden-green);
}

.testimonial-info span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.payment-sticky-prompt {
  background: white;
  border: 2px solid var(--garden-green);
  padding: 32px;
  border-radius: 16px;
  box-shadow: var(--shadow-premium);
  text-align: center;
}

.payment-sticky-prompt h3 {
  color: var(--garden-green);
  margin-top: 0;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1000;
  flex-direction: column;
  gap: 6px;
}

.mobile-menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background-color: var(--garden-green);
  transition: all 0.3s ease;
  border-radius: 2px;
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .site-navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    box-shadow: var(--shadow-strong);
    z-index: 999;
    flex-direction: column;
    text-align: center;
  }

  .site-navigation.active {
    display: flex;
  }

  .primary-menu {
    flex-direction: column;
    width: 100%;
  }

  .mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}
