
/* ═══════════════════════════════════════════════════════
   Reedy Creek Estate — Modern Minimalist Theme
   ═══════════════════════════════════════════════════════ */

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

:root {
  --color-bg: #faf9f6;
  --color-text: #2c2c2c;
  --color-muted: #6b6b6b;
  --color-accent: #7b2d3a;
  --color-accent-light: #a3404f;
  --color-gold: #c9a84c;
  --color-cream: #f5f0e8;
  --color-white: #ffffff;
  --color-border: #e5e0d8;
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1200px;
  --section-padding: 6rem 2rem;
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-accent-light); }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; }

/* --- Typography --- */
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(250, 249, 246, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  transition: all var(--transition);
}

.nav.scrolled {
  box-shadow: 0 2px 30px rgba(0,0,0,0.06);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.nav-logo img {
  height: 40px;
  width: auto;
}

.nav-logo span {
  color: var(--color-accent);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--color-muted);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  position: relative;
  padding: 0.25rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--color-accent);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-accent);
}

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

/* Mobile menu */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  margin: 6px 0;
  transition: all var(--transition);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--color-bg);
    flex-direction: column;
    padding: 2rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  }
  .nav-links.open { display: flex; }
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 72px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.4);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--color-white);
  padding: 2rem;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 100px;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  color: var(--color-gold);
}

.hero h1 {
  margin-bottom: 1.5rem;
  font-weight: 700;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero p {
  font-size: 1.15rem;
  opacity: 0.9;
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
}

/* Page hero (shorter) */
.hero-page {
  min-height: 50vh;
}

.hero-page h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }

/* --- Sections --- */
.section {
  padding: var(--section-padding);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 { margin-bottom: 1rem; color: var(--color-text); }

.section-header p {
  color: var(--color-muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.section-divider {
  width: 60px;
  height: 2px;
  background: var(--color-gold);
  margin: 1.5rem auto 0;
}

/* --- Content Block --- */
.content-block {
  max-width: 800px;
  margin: 0 auto;
}

.content-block p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  color: var(--color-text);
  line-height: 1.8;
}

.content-block strong {
  color: var(--color-accent);
  font-weight: 600;
}

/* --- Feature Cards (home) --- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--color-white);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}

.feature-card-icon {
  margin-bottom: 1.25rem;
  color: var(--color-accent);
}

.feature-card-icon svg {
  width: 36px;
  height: 36px;
  stroke-width: 1.5;
}

.feature-card h3 {
  margin-bottom: 0.75rem;
  color: var(--color-text);
}

.feature-card p {
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- Wine List --- */
.wine-section-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  text-align: center;
  margin: 3rem 0 2rem;
  color: var(--color-accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.wine-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.wine-card {
  background: var(--color-white);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid var(--color-border);
  text-align: center;
  transition: all var(--transition);
}

.wine-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}

.wine-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.wine-card .wine-vintage {
  font-size: 0.85rem;
  color: var(--color-gold);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.wine-card p {
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.wine-card .wine-price {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-accent);
  font-weight: 700;
}

/* --- Gallery --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 4/3;
  cursor: pointer;
}

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

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

.gallery-item .gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem 1rem 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: var(--color-white);
  font-size: 0.85rem;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
}

/* --- Accommodation --- */
.accommodation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  margin-top: 2rem;
}

.accommodation-card {
  background: var(--color-white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.accommodation-card-body {
  padding: 2rem;
}

.accommodation-card h3 {
  margin-bottom: 1rem;
  color: var(--color-text);
}

.accommodation-card p {
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* --- CTA Banner --- */
.cta-banner {
  background: var(--color-accent);
  color: var(--color-white);
  text-align: center;
  padding: 4rem 2rem;
}

.cta-banner h2 {
  color: var(--color-white);
  margin-bottom: 1rem;
}

.cta-banner p {
  opacity: 0.9;
  max-width: 500px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* --- Footer --- */
.footer {
  background: var(--color-text);
  color: rgba(255,255,255,0.7);
  padding: 3rem 2rem;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.footer p {
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  list-style: none;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  transition: color var(--transition);
}

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

/* --- Coat of Arms --- */
.coat-of-arms {
  text-align: center;
  padding: 3rem 0;
}

.coat-of-arms img {
  margin: 0 auto;
  width: 120px;
  opacity: 0.7;
}

/* --- Lightbox --- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox.active { display: flex; }

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-close {
  position: absolute;
  top: 2rem; right: 2rem;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity var(--transition);
}

.lightbox-close:hover { opacity: 1; }

/* --- Alt section background --- */
.section-alt { background: var(--color-cream); }

/* --- Animations --- */
.fade-in.pending {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.pending.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Print --- */
@media print {
  .nav, .footer { display: none; }
  .hero { min-height: auto; }
}
