/* ========================================
   Fyreside Club — Stylesheet
   ======================================== */

/* Variables */
:root {
  --charcoal: #3D3428;
  --forest: #4A5D4A;
  --amber: #C4805A;
  --gray: #9A8B7A;
  --cream: #F5F1EB;
  --white: #FFFDF9;
  
  --font-heading: 'Rokkitt', serif;
  --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  
  --shadow-sm: 0 1px 2px rgba(61, 52, 40, 0.05);
  --shadow-md: 0 4px 12px rgba(61, 52, 40, 0.1);
  --shadow-lg: 0 8px 24px rgba(61, 52, 40, 0.12);
  
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--charcoal);
  background-color: var(--white);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--amber);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--charcoal);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--charcoal);
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.125rem;
  color: var(--charcoal);
}

.accent-text {
  color: var(--amber);
  font-family: var(--font-heading);
}

.text-center {
  text-align: center;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 800px;
}

.section {
  padding: 80px 0;
}

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

.section-dark {
  background-color: var(--charcoal);
  color: var(--white);
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-cta {
  background: linear-gradient(135deg, var(--amber) 0%, #A66B48 100%);
  color: var(--white);
}

.section-cta h2 {
  color: var(--white);
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--cream);
  z-index: 1000;
}

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

.logo {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  text-decoration: none;
}

.logo svg {
  transform: translateY(-2px);
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: 0.02em;
  line-height: 0.8;
}

.logo-club {
  font-weight: 400;
  color: var(--gray);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: var(--charcoal);
  font-size: 15px;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--amber);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  transition: all 0.3s;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 73px;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 24px;
  border-bottom: 1px solid var(--cream);
  flex-direction: column;
  gap: 16px;
  z-index: 999;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a {
  color: var(--charcoal);
  font-size: 16px;
  font-weight: 500;
  padding: 8px 0;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--amber);
  color: var(--white);
  border-color: var(--amber);
}

.btn-primary:hover {
  background: #B3714D;
  border-color: #B3714D;
  color: var(--white);
}

.btn-secondary {
  background: var(--white);
  color: var(--charcoal);
  border-color: var(--charcoal);
}

.btn-secondary:hover {
  background: var(--charcoal);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--charcoal);
  border-color: var(--white);
}

.btn-white:hover {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--charcoal);
}

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

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

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}

/* Hero */
.hero {
  padding: 160px 0 100px;
  background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
  text-align: center;
}

.hero h1 {
  max-width: 700px;
  margin: 0 auto 1.5rem;
}

.hero-sub {
  font-size: 1.25rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Split Section */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split-reverse {
  direction: rtl;
}

.split-reverse > * {
  direction: ltr;
}

.split-content h2 {
  margin-bottom: 0.5rem;
}

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

.split-image {
  min-height: 350px;
  border-radius: 12px;
  overflow: hidden;
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 350px;
}

/* Check List */
.check-list {
  list-style: none;
  margin: 1.5rem 0;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--forest);
  font-weight: 600;
}

/* Steps Grid */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.step {
  text-align: center;
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--amber);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 auto 16px;
}

.step h3 {
  margin-bottom: 8px;
}

.step p {
  font-size: 14px;
  color: rgba(255, 253, 249, 0.8);
  margin: 0;
}

/* Property Grid */
.property-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.property-card {
  background: var(--cream);
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.property-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.property-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.property-card h3 {
  margin-bottom: 8px;
}

.property-card p {
  font-size: 14px;
  color: var(--gray);
  margin: 0;
}

/* Forms */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--charcoal);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 16px;
  font-family: var(--font-body);
  border: 1px solid #D5CFC5;
  border-radius: var(--radius-sm);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(196, 128, 90, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group small {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--gray);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 4px;
}

.checkbox-group label {
  font-weight: 400;
  margin-bottom: 0;
}

/* Cards */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.card-cream {
  background: var(--cream);
  box-shadow: none;
}

/* Pricing Cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 32px 0;
}

.pricing-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
}

.pricing-card.featured {
  background: var(--charcoal);
  color: var(--white);
}

.pricing-card.featured h3 {
  color: var(--gray);
}

.pricing-card.featured .price {
  color: var(--amber);
}

.pricing-card h3 {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray);
  margin-bottom: 12px;
}

.pricing-card .price {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--charcoal);
}

.pricing-card .price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--gray);
}

.pricing-card .price-note {
  font-size: 14px;
  color: var(--gray);
  margin: 8px 0 20px;
}

.pricing-card ul {
  list-style: none;
  text-align: left;
  margin: 20px 0;
}

.pricing-card ul li {
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
  font-size: 14px;
}

.pricing-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--forest);
}

.pricing-card.featured ul li::before {
  color: var(--amber);
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--cream);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--charcoal);
  text-align: left;
  cursor: pointer;
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--amber);
  transition: transform 0.2s;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding-bottom: 20px;
  color: var(--gray);
}

/* Comparison Table */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
}

.comparison-table th {
  text-align: left;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  border-bottom: 2px solid var(--cream);
}

.comparison-table th:first-child {
  width: 40%;
}

.comparison-table th.them {
  background: var(--cream);
  color: var(--gray);
}

.comparison-table th.us {
  background: var(--charcoal);
  color: var(--white);
}

.comparison-table td {
  padding: 12px 16px;
  font-size: 14px;
  border-bottom: 1px solid var(--cream);
}

.comparison-table td:nth-child(2) {
  background: var(--cream);
  color: var(--gray);
}

.comparison-table td:nth-child(3) {
  background: #F9F7F4;
  color: var(--charcoal);
  font-weight: 500;
}

.comparison-table tr:last-child td {
  font-weight: 600;
  font-size: 15px;
}

.comparison-table tr:last-child td:nth-child(3) {
  color: var(--forest);
}

/* Problem Grid */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.problem-item {
  display: flex;
  gap: 12px;
}

.problem-icon {
  color: var(--amber);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.problem-item p {
  margin: 0;
}

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 32px;
}

.benefit {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.benefit-icon {
  width: 24px;
  height: 24px;
  background: var(--forest);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.benefit-icon svg {
  width: 14px;
  height: 14px;
}

/* Footer */
.footer {
  background: var(--charcoal);
  color: var(--white);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--gray);
  font-size: 14px;
  margin-top: 16px;
}

.footer-brand .logo-text {
  color: var(--white);
}

.footer-links h4 {
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.footer-links a {
  display: block;
  color: var(--gray);
  font-size: 14px;
  margin-bottom: 10px;
}

.footer-links a:hover {
  color: var(--amber);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 253, 249, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 14px;
  color: var(--gray);
  margin: 0;
}

.footer-email {
  color: var(--amber) !important;
}

/* Directory */
.directory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.listing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s, box-shadow 0.2s;
}

.listing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.listing-image {
  aspect-ratio: 16/10;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.listing-content {
  padding: 20px;
}

.listing-badge {
  display: inline-block;
  background: var(--cream);
  color: var(--gray);
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.listing-content h3 {
  margin-bottom: 4px;
}

.listing-location {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 12px;
}

.listing-content p {
  font-size: 14px;
  color: var(--gray);
  margin: 0;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 60px 24px;
  background: var(--cream);
  border-radius: var(--radius-lg);
}

.empty-state h3 {
  margin-bottom: 12px;
}

.empty-state p {
  color: var(--gray);
  max-width: 500px;
  margin: 0 auto 24px;
}

/* Alerts */
.alert {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.alert-success {
  background: #E8F5E9;
  color: #2E7D32;
}

/* Page Header */
.page-header {
  padding: 140px 0 60px;
  background: var(--cream);
  text-align: center;
}

.page-header p {
  font-size: 1.125rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 1024px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .property-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .directory-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .hero {
    padding: 120px 0 60px;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .split-reverse {
    direction: ltr;
  }
  
  .split-image {
    order: -1;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .property-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .problem-grid {
    grid-template-columns: 1fr;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  
  .comparison-table {
    font-size: 13px;
  }
  
  .comparison-table th,
  .comparison-table td {
    padding: 10px 12px;
  }
  
  .directory-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.75rem;
  }
  
  .hero-ctas {
    flex-direction: column;
  }
  
  .hero-ctas .btn {
    width: 100%;
  }
  
  .property-grid {
    grid-template-columns: 1fr;
  }
}
