/*
Theme Name: Gulf Gumbo Club
Theme URI: https://gulfgumboclub.com
Author: JBMcCullough Holdings LLC
Author URI: https://gulfgumboclub.com
Description: Custom theme for Gulf Gumbo Club — a beachfront vacation rental in Surfside Beach, TX. Designed for direct bookings with Lodgify integration.
Version: 1.0.0
License: All Rights Reserved
Text Domain: gulf-gumbo-club
*/

/* ===== CSS VARIABLES ===== */
:root {
  --navy: #1B2D4A;
  --navy-deep: #0F1D32;
  --blue-crab: #3E8CC7;
  --blue-light: #7ECAD6;
  --sand: #E8D5A8;
  --sand-light: #F5EDD8;
  --cream: #F5F0E8;
  --white: #FAFAF8;
  --text: #1B2D4A;
  --text-light: #5A6B80;
  --coral: #E8705A;
  --warm-bg: #EDE6D8;
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}
.section-label {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--blue-crab);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* ===== NAVIGATION ===== */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.4s;
  background: transparent;
}
.site-nav.scrolled {
  background: rgba(15,29,50,0.95);
  backdrop-filter: blur(12px);
  padding: 0.6rem 2rem;
  box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav-logo img {
  width: 48px; height: 48px;
  border-radius: 50%;
  transition: 0.3s;
}
.site-nav.scrolled .nav-logo img { width: 40px; height: 40px; }
.nav-logo span {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--white);
  letter-spacing: 0.5px;
}
.nav-links {
  display: flex;
  gap: 1.8rem;
  align-items: center;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: 0.3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--sand);
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--sand); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: var(--coral) !important;
  color: var(--white) !important;
  padding: 0.6rem 1.4rem;
  border-radius: 4px;
  font-weight: 600 !important;
  letter-spacing: 1px !important;
}
.nav-cta:hover { background: #d4604a !important; transform: translateY(-1px); }
.nav-cta::after { display: none !important; }

/* Mobile menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.menu-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: 0.3s;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
  filter: brightness(0.5);
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  0% { transform: scale(1.05); }
  100% { transform: scale(1.12); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,29,50,0.3) 0%, rgba(15,29,50,0.05) 40%, rgba(15,29,50,0.55) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  animation: fadeUp 1.2s ease-out;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-logo-img {
  width: 150px; height: 150px;
  border-radius: 50%;
  margin: 0 auto 1.8rem;
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}
.hero-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-style: italic;
  color: var(--sand);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.8rem;
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  font-weight: 300;
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn-primary {
  background: var(--coral);
  color: var(--white);
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 4px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-block;
}
.btn-primary:hover {
  background: #d4604a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232,112,90,0.4);
}
.btn-secondary {
  background: transparent;
  color: var(--white);
  padding: 1rem 2.5rem;
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: 4px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: all 0.3s;
  display: inline-block;
}
.btn-secondary:hover {
  border-color: var(--sand);
  color: var(--sand);
}

/* ===== RATING BANNER ===== */
.rating-banner {
  background: var(--navy);
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.rating-item { text-align: center; color: var(--white); }
.rating-item .big {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--sand);
  display: block;
}
.rating-item .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.55);
  margin-top: 0.2rem;
}

/* ===== OUR STORY ===== */
.story {
  padding: 6rem 2rem;
  background: var(--warm-bg);
  position: relative;
  overflow: hidden;
}
.story-inner {
  max-width: 1050px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}
.story-recipe img {
  width: 100%;
  max-width: 380px;
  border-radius: 4px;
  box-shadow: 8px 8px 30px rgba(0,0,0,0.2), -4px -4px 15px rgba(255,255,255,0.5);
  transform: rotate(-2deg);
  transition: transform 0.5s;
}
.story-recipe:hover img { transform: rotate(0deg); }
.recipe-caption {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 1rem;
  text-align: center;
  max-width: 380px;
}
.story-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 1.5rem;
}
.story-text p {
  font-size: 1.02rem;
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 1.2rem;
}
.story-highlight {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  color: var(--navy);
  font-style: italic;
  line-height: 1.6;
  border-left: 3px solid var(--sand);
  padding-left: 1.5rem;
  margin: 2rem 0;
}

/* ===== CLUB MEMBERSHIP ===== */
.club {
  padding: 5rem 2rem;
  background: var(--navy-deep);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.club::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(62,140,199,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 50%, rgba(232,112,90,0.06) 0%, transparent 60%);
}
.club-inner {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.club .section-label { color: var(--sand); }
.club h2 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.5rem; }
.club > p {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 3rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}
.club-perks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.perk {
  padding: 2rem 1.5rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  transition: all 0.3s;
}
.perk:hover { background: rgba(255,255,255,0.08); transform: translateY(-4px); }
.perk-icon { font-size: 2rem; margin-bottom: 0.8rem; }
.perk h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--sand);
  margin-bottom: 0.5rem;
}
.perk p { font-size: 0.85rem; color: rgba(255,255,255,0.6); line-height: 1.6; }

/* ===== HIGHLIGHTS GRID ===== */
.intro { padding: 5rem 2rem; text-align: center; background: var(--cream); }
.intro-inner { max-width: 800px; margin: 0 auto; }
.intro h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.5rem; }
.intro p { font-size: 1.05rem; color: var(--text-light); line-height: 1.9; max-width: 650px; margin: 0 auto; }
.highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
  max-width: 950px;
  margin-left: auto;
  margin-right: auto;
}
.highlight-item {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--white);
  border-radius: 8px;
  transition: transform 0.3s;
}
.highlight-item:hover { transform: translateY(-4px); }
.highlight-icon { font-size: 1.8rem; margin-bottom: 0.5rem; }
.highlight-item h4 { font-size: 0.95rem; margin-bottom: 0.25rem; }
.highlight-item p { font-size: 0.8rem; color: var(--text-light); line-height: 1.5; }

/* ===== GALLERY ===== */
.gallery {
  padding: 5rem 2rem;
  background: var(--navy-deep);
  position: relative;
  overflow: hidden;
}
.gallery::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 150px;
  background: linear-gradient(180deg, var(--cream) 0%, var(--navy-deep) 100%);
}
.gallery-inner { max-width: 1100px; margin: 0 auto; position: relative; z-index: 2; }
.gallery-header { text-align: center; margin-bottom: 3rem; padding-top: 2rem; }
.gallery-header .section-label { color: var(--sand); }
.gallery-header h2 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); }
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.gallery-img {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.gallery-img img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  transition: transform 0.6s;
}
.gallery-img:hover img { transform: scale(1.05); }
.img-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2rem 1.5rem 1.2rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.4s;
}
.gallery-img:hover .img-caption { opacity: 1; }

/* ===== DETAILS ===== */
.details { padding: 5rem 2rem; background: var(--white); }
.details-inner { max-width: 1000px; margin: 0 auto; }
.details-header { text-align: center; margin-bottom: 3.5rem; }
.details-header h2 { font-size: clamp(2rem, 4vw, 3rem); }
.details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.detail-section h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--sand);
}
.detail-section li {
  font-size: 0.9rem;
  color: var(--text-light);
  padding: 0.45rem 0 0.45rem 1.5rem;
  position: relative;
  line-height: 1.5;
}
.detail-section li::before {
  content: '\2022';
  color: var(--blue-crab);
  font-weight: 700;
  position: absolute;
  left: 0;
  font-size: 1.2rem;
}

/* ===== EXPERIENCE CARDS ===== */
.experience { padding: 6rem 2rem; background: var(--cream); }
.experience-inner { max-width: 1100px; margin: 0 auto; }
.experience-header { text-align: center; margin-bottom: 4rem; }
.experience-header h2 { font-size: clamp(2rem, 4vw, 3rem); }
.experience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.exp-card {
  padding: 2.2rem 1.8rem;
  background: var(--white);
  border-radius: 8px;
  border-bottom: 3px solid var(--blue-crab);
  transition: transform 0.3s, box-shadow 0.3s;
}
.exp-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(27,45,74,0.1);
}
.exp-card-icon { font-size: 2rem; margin-bottom: 1rem; }
.exp-card h3 { font-size: 1.15rem; margin-bottom: 0.7rem; }
.exp-card p { font-size: 0.9rem; color: var(--text-light); line-height: 1.7; }

/* ===== AMENITIES ===== */
.amenities {
  padding: 5rem 2rem;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.amenities-inner { max-width: 1000px; margin: 0 auto; position: relative; z-index: 2; }
.amenities-header { text-align: center; margin-bottom: 3rem; }
.amenities-header .section-label { color: var(--sand); }
.amenities-header h2 { color: var(--white); font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
.amenities-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.amenity {
  text-align: center;
  padding: 1.6rem 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  transition: all 0.3s;
}
.amenity:hover { background: rgba(255,255,255,0.1); transform: translateY(-3px); }
.amenity-icon { font-size: 1.6rem; margin-bottom: 0.5rem; }
.amenity span { display: block; color: rgba(255,255,255,0.8); font-size: 0.8rem; font-weight: 500; }

/* ===== BOOKING ===== */
.booking { padding: 6rem 2rem; background: var(--white); text-align: center; }
.booking-inner { max-width: 700px; margin: 0 auto; }
.booking h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.booking > p {
  color: var(--text-light);
  font-size: 1.02rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.booking-widget {
  background: var(--navy);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 20px 60px rgba(15,29,50,0.2);
}
/* Lodgify widget container */
.lodgify-widget-container {
  min-height: 200px;
}
.booking-note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  font-style: italic;
}
.booking-also {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.booking-also a {
  color: var(--blue-crab);
  font-size: 0.85rem;
  font-weight: 500;
  transition: 0.3s;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(62,140,199,0.3);
  border-radius: 4px;
}
.booking-also a:hover { background: rgba(62,140,199,0.08); border-color: var(--blue-crab); }

/* ===== BLOG (for SEO content) ===== */
.blog-section { padding: 5rem 2rem; background: var(--cream); }
.blog-inner { max-width: 900px; margin: 0 auto; }
.blog-header { text-align: center; margin-bottom: 3rem; }
.blog-header h2 { font-size: clamp(2rem, 4vw, 3rem); }
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.blog-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.08); }
.blog-card img { width: 100%; height: 200px; object-fit: cover; }
.blog-card-body { padding: 1.5rem; }
.blog-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.blog-card p { font-size: 0.88rem; color: var(--text-light); line-height: 1.6; }
.blog-card .read-more {
  display: inline-block;
  margin-top: 0.8rem;
  color: var(--coral);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== FOOTER ===== */
.site-footer {
  padding: 3rem 2rem 2rem;
  background: var(--navy-deep);
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-logo { width: 70px; height: 70px; border-radius: 50%; margin: 0 auto 1rem; opacity: 0.85; }
.footer-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--sand);
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.footer-links a {
  color: rgba(255,255,255,0.5);
  font-size: 0.82rem;
  letter-spacing: 0.5px;
  transition: 0.3s;
}
.footer-links a:hover { color: var(--sand); }
.footer-copy { font-size: 0.75rem; color: rgba(255,255,255,0.25); }

/* ===== SCROLL ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .story-inner { grid-template-columns: 1fr; text-align: center; }
  .story-recipe { order: -1; }
  .story-recipe img { margin: 0 auto; }
  .story-text .story-highlight { text-align: left; }
  .highlights { grid-template-columns: repeat(2, 1fr); }
  .experience-grid { grid-template-columns: 1fr; }
  .amenities-grid { grid-template-columns: repeat(2, 1fr); }
  .details-grid { grid-template-columns: 1fr; }
  .club-perks { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(15,29,50,0.98);
    padding: 1.5rem 2rem;
    gap: 1rem;
  }
  .gallery-grid { grid-template-columns: 1fr; }
  .hero-logo-img { width: 120px; height: 120px; }
  .rating-banner { gap: 1.5rem; }
}
