/* =====================
   GLOBAL
===================== */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Lato', sans-serif;
  background-color: #FAF8F6;
  color: #383838;
  line-height: 1.7;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  color: #2a2a2a;
}

section {
  padding: 90px 10%;
}

a {
  color: #C9A265;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: #a07a40; }

.divider {
  width: 80%;
  margin: 0 auto;
  border-top: 1px solid #e5ddd5;
}

/* =====================
   NAVIGATION
===================== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.3s, box-shadow 0.3s;
  padding: 18px 0;
}

#navbar.scrolled {
  background: rgba(250, 248, 246, 0.97);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

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

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

#navbar.scrolled .nav-logo { color: #2a2a2a; }

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: white;
  text-decoration: none;
  transition: opacity 0.2s;
}

.nav-links a:hover { opacity: 0.65; }

#navbar.scrolled .nav-links a { color: #383838; }

/* Hamburger button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 200;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: white;
  border-radius: 2px;
  transition: all 0.3s;
}

#navbar.scrolled .hamburger span { background: #2a2a2a; }

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

@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(250, 248, 246, 0.98);
    padding: 20px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    color: #383838 !important;
    padding: 14px 5%;
    border-bottom: 1px solid #eee;
    font-size: 1rem;
  }

  .nav-links a:last-child { border-bottom: none; }
}

/* =====================
   HERO
===================== */
.hero {
  background-image: url('../images/bell-tower-estate-actual.png');
  background-size: cover;
  background-position: center center;
  background-color: #2a2a2a;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.38);
}

.overlay {
  position: relative;
  color: white;
  text-align: center;
  z-index: 2;
  padding: 0 20px;
}

.overlay h1 {
  font-size: 4.5rem;
  margin-bottom: 16px;
  color: white;
  font-weight: 600;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
  letter-spacing: 1px;
}

.hero-sub {
  font-size: 1.25rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  margin-bottom: 36px;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
}

.button {
  display: inline-block;
  background-color: #C9A265;
  color: white;
  padding: 16px 36px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.3s;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.button:hover { background-color: #a07a40; color: white; }

@media (max-width: 768px) {
  .overlay h1 { font-size: 2.2rem; }
  .hero-sub { font-size: 0.95rem; }
  section { padding: 60px 6%; }
}

/* =====================
   SHARED LAYOUT
===================== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
}

.container.reverse { flex-direction: row-reverse; }

.container img {
  width: 48%;
  border-radius: 8px;
  object-fit: cover;
  aspect-ratio: 4/3;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  flex-shrink: 0;
}

.container .text {
  flex: 1;
}

.container .text h2 {
  font-size: 2.4rem;
  font-weight: 400;
  margin-bottom: 20px;
}

.container .text p {
  font-size: 1.05rem;
  color: #555;
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .container, .container.reverse {
    flex-direction: column;
  }
  .container img { width: 100%; }
}

/* =====================
   ABOUT
===================== */
.about { background: #FAF8F6; }

/* =====================
   GROUNDS
===================== */
.grounds { background: #F4F0EB; }

/* =====================
   MAIN HOUSE
===================== */
.mainhouse { background: #FAF8F6; }

.feature-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 20px;
}

.feature-list li {
  padding: 8px 0 8px 20px;
  position: relative;
  color: #555;
  font-size: 1rem;
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #C9A265;
}

/* =====================
   EVENTS
===================== */
.events {
  background: #F4F0EB;
  text-align: center;
}

.events h2 {
  font-size: 2.8rem;
  font-weight: 400;
  margin-bottom: 16px;
}

.events-intro {
  font-size: 1.1rem;
  color: #666;
  max-width: 620px;
  margin: 0 auto 56px;
}

.capacity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 820px;
  margin: 0 auto 60px;
}

.capacity-card {
  background: #FAF8F6;
  border-radius: 8px;
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.capacity-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  color: #C9A265;
  line-height: 1;
}

.capacity-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: #2a2a2a;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.capacity-sub {
  font-size: 0.85rem;
  color: #888;
}

.events-we-welcome {
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 28px;
}

.events-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 780px;
  margin: 0 auto;
}

.event-tag {
  background: #FAF8F6;
  border: 1px solid #ddd5c8;
  border-radius: 6px;
  padding: 10px 20px;
  font-size: 0.9rem;
  color: #555;
  transition: border-color 0.2s, color 0.2s;
}

.event-tag:hover {
  border-color: #C9A265;
  color: #2a2a2a;
}

@media (max-width: 768px) {
  .capacity-grid { grid-template-columns: 1fr; max-width: 320px; }
}

/* =====================
   GALLERY
===================== */
.gallery {
  background: #FAF8F6;
  text-align: center;
}

.gallery h2 {
  font-size: 2.6rem;
  font-weight: 400;
  margin-bottom: 14px;
}

.gallery-intro {
  font-size: 1.05rem;
  color: #666;
  max-width: 560px;
  margin: 0 auto 48px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 6px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-grid img:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
}

@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

/* =====================
   CONTACT
===================== */
.contact {
  background: #F4F0EB;
  text-align: center;
}

.contact h2 {
  font-size: 2.6rem;
  font-weight: 400;
  margin-bottom: 14px;
}

.contact-intro {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 48px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-card {
  background: #FAF8F6;
  border-radius: 8px;
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s;
}

.contact-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.1); }

.contact-icon { font-size: 1.6rem; }

.contact-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #2a2a2a;
}

.contact-card a {
  font-size: 0.88rem;
  color: #666;
  text-align: center;
  line-height: 1.5;
}

.contact-card a:hover { color: #C9A265; }

.contact-sub {
  font-size: 0.8rem;
  color: #999;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* =====================
   FOOTER
===================== */
footer {
  background: #2a2a2a;
  color: #aaa;
  text-align: center;
  padding: 28px 20px;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}
