/* Fonts loaded via <link> tags in HTML for performance */

:root {
  --red-deep: #8B1A1A;
  --red: #C41E3A;
  --red-light: #E8485E;
  --green-deep: #0B3D0B;
  --green: #1B5E20;
  --green-light: #2E7D32;
  --gold: #2E7D32;
  --gold-light: #F0E6D0;
  --cream: #F5F0E8;
  --warm-white: #FFFDF5;
  --dark: #1A0A0A;
  --text: #2C1810;
  --text-light: #F5EDE3;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--dark);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(26, 10, 10, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--gold);
  transition: background 0.3s;
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.nav-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 8px;
}

.nav-links a {
  color: var(--text-light);
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 400;
  transition: all 0.3s;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-light);
  background: rgba(212, 168, 67, 0.1);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(26, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--gold);
  border-radius: 8px;
  padding: 8px 0;
  min-width: 200px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.5);
}

.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 0.85rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--gold-light);
  transition: all 0.3s;
}

/* ── Hero Section ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--dark) 0%, #2D0A0A 50%, var(--green-deep) 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/kc-aerial.webp') center center / cover no-repeat;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26, 10, 10, 0.65);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: glow-pulse 4s ease-in-out infinite alternate;
}

.hero-glow-1 {
  width: 400px;
  height: 400px;
  background: var(--red);
  top: 10%;
  left: 10%;
}

.hero-glow-2 {
  width: 300px;
  height: 300px;
  background: var(--green);
  bottom: 20%;
  right: 15%;
  animation-delay: 2s;
}

.hero-glow-3 {
  width: 200px;
  height: 200px;
  background: var(--gold);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 1s;
}

@keyframes glow-pulse {
  from { opacity: 0.2; transform: scale(1); }
  to { opacity: 0.5; transform: scale(1.1); }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 100px 24px 60px;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  background: rgba(212, 168, 67, 0.15);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  padding: 8px 24px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: 16px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.5);
}

.hero h1 .highlight {
  color: var(--gold-light);
  position: relative;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--text-light);
  opacity: 0.85;
  margin-bottom: 40px;
  font-weight: 300;
  line-height: 1.6;
}

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

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%);
  color: white;
  box-shadow: 0 4px 20px rgba(196, 30, 58, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(196, 30, 58, 0.6);
}

.btn-secondary {
  background: transparent;
  color: var(--gold-light);
  border: 2px solid var(--gold);
}

.btn-secondary:hover {
  background: rgba(212, 168, 67, 0.15);
  transform: translateY(-2px);
}

/* ── Announcement Banner ── */
.announcement {
  background: linear-gradient(135deg, var(--gold) 0%, #43A047 100%);
  padding: 48px 24px;
  text-align: center;
}

.announcement-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.announcement-card {
  padding: 24px;
  border-left: 4px solid var(--green-deep);
}

.announcement-card h3 {
  font-size: 1.5rem;
  color: var(--green-deep);
  margin-bottom: 8px;
}

.announcement-card p {
  color: var(--dark);
  font-size: 1rem;
  line-height: 1.5;
}

/* ── Sections ── */
.section {
  padding: 80px 24px;
}

.section-dark {
  background: var(--dark);
  color: var(--text-light);
}

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

.section-green {
  background: linear-gradient(135deg, var(--green-deep) 0%, #0D4A0D 100%);
  color: var(--text-light);
}

.section-red {
  background: linear-gradient(135deg, var(--red-deep) 0%, #6B1414 100%);
  color: var(--text-light);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 12px;
}

.section-header .accent-line {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 16px auto;
  border-radius: 2px;
}

.section-header p {
  font-size: 1.1rem;
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

/* ── Location Cards ── */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.location-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 168, 67, 0.3);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.location-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(212, 168, 67, 0.15);
}

.location-card-img {
  width: 100%;
  height: 220px;
  position: relative;
  overflow: hidden;
}

.location-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.location-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.6));
}

.location-card-body {
  padding: 24px;
}

.location-card-body h3 {
  font-size: 1.4rem;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.location-card-body p {
  opacity: 0.8;
  line-height: 1.6;
  margin-bottom: 16px;
}

.location-tag {
  display: inline-block;
  background: rgba(212, 168, 67, 0.15);
  color: var(--gold-light);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
}

/* ── Directions/Map Section ── */
.directions {
  text-align: center;
  padding: 60px 24px;
  background: var(--cream);
}

.directions h2 {
  font-size: 1.8rem;
  color: var(--green-deep);
  margin-bottom: 8px;
}

.directions p {
  color: var(--text);
  opacity: 0.7;
  margin-bottom: 24px;
}

/* ── Page Header (subpages) ── */
.page-header {
  padding: 140px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--dark) 0%, var(--red-deep) 50%, var(--green-deep) 100%);
  background-size: cover;
  background-position: center;
}

.page-header-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26, 10, 10, 0.6);
}

.page-header-bg.has-img {
  background-color: var(--dark);
}

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

.gallery-item {
  aspect-ratio: 16/10;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s;
}

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

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-header-content {
  position: relative;
  z-index: 2;
}

.page-header h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--cream);
  margin-bottom: 12px;
}

.page-header p {
  font-size: 1.1rem;
  color: var(--text-light);
  opacity: 0.8;
}

/* ── Info Grid ── */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.info-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 168, 67, 0.2);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  transition: transform 0.3s;
}

.info-card:hover {
  transform: translateY(-2px);
}

.info-card .icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  background: rgba(212, 168, 67, 0.15);
  border: 1px solid rgba(212, 168, 67, 0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-card .icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--gold-light);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.info-card h3 {
  font-size: 1.2rem;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.info-card p {
  opacity: 0.8;
  line-height: 1.6;
}

/* ── Blog Article ── */
.blog-article {
  max-width: 800px;
  margin: 0 auto;
}

.blog-article h2 {
  color: var(--gold-light);
  font-size: 2rem;
  margin-bottom: 20px;
}

.blog-article h3 {
  color: var(--gold);
  font-size: 1.3rem;
  margin-top: 32px;
  margin-bottom: 12px;
}

.blog-article p {
  color: var(--text-light);
  opacity: 0.85;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.blog-article ul, .blog-article ol {
  color: var(--text-light);
  opacity: 0.85;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 16px;
  padding-left: 24px;
}

.blog-article li {
  margin-bottom: 8px;
}

.blog-article a {
  color: var(--gold-light);
  text-decoration: underline;
}

.blog-article strong {
  color: var(--gold-light);
}

.blog-image {
  margin: 32px 0;
  border-radius: 12px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* ── Blog Card Grid ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.blog-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.blog-card-img {
  height: 200px;
  overflow: hidden;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.05);
}

.blog-card-body {
  padding: 24px;
}

.blog-card-body h3 {
  color: var(--gold-light);
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.blog-card-body p {
  color: var(--text-light);
  opacity: 0.7;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.blog-card-body .btn {
  font-size: 0.85rem;
  padding: 8px 20px;
}

/* ── History Story ── */
.history-story {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.history-story p {
  color: var(--text-light);
  opacity: 0.85;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* ── Tips List ── */
.tips-list {
  max-width: 800px;
  margin: 0 auto;
}

.tip-item {
  background: rgba(255, 255, 255, 0.05);
  border-left: 4px solid var(--gold);
  padding: 24px 32px;
  margin-bottom: 16px;
  border-radius: 0 12px 12px 0;
}

.tip-item h3 {
  color: var(--gold-light);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.tip-item p {
  opacity: 0.8;
  line-height: 1.6;
}

/* ── Contact Form ── */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

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

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--gold-light);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid rgba(212, 168, 67, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-light);
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.15);
}

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

/* ── Footer ── */
.footer {
  background: var(--dark);
  border-top: 2px solid var(--gold);
  padding: 48px 24px 24px;
  text-align: center;
  color: var(--text-light);
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.footer-tagline {
  font-style: italic;
  opacity: 0.7;
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  color: var(--gold-light);
}

.social-link:hover {
  background: var(--gold);
  color: var(--dark);
  transform: translateY(-2px);
}

.social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-bottom {
  border-top: 1px solid rgba(212, 168, 67, 0.2);
  padding-top: 24px;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* ── Snow Canvas ── */
#snow-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  will-change: transform;
}

/* ── Scroll animations ── */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, transform;
}

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

@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ── Twinkling lights decoration ── */
.twinkle-border {
  position: relative;
}

.twinkle-border::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -48px;
  right: -48px;
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    var(--red) 0px,
    var(--red) 8px,
    transparent 8px,
    transparent 16px,
    var(--green) 16px,
    var(--green) 24px,
    transparent 24px,
    transparent 32px,
    var(--gold) 32px,
    var(--gold) 40px,
    transparent 40px,
    transparent 48px
  );
  will-change: transform;
  animation: twinkle-shift 2s linear infinite;
}

@keyframes twinkle-shift {
  from { transform: translateX(0); }
  to { transform: translateX(48px); }
}

/* ── Map embed ── */
.map-embed {
  width: 100%;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(212, 168, 67, 0.3);
  margin-bottom: 24px;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(26, 10, 10, 0.98);
    padding: 16px;
    border-bottom: 2px solid var(--gold);
  }

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

  .hamburger {
    display: flex;
  }

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

  .nav-dropdown-menu {
    position: static;
    border: none;
    background: rgba(255,255,255,0.03);
    box-shadow: none;
  }

  .nav-dropdown:hover .nav-dropdown-menu {
    display: none;
  }

  .nav-dropdown.open .nav-dropdown-menu {
    display: block;
  }

  .announcement-inner {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding: 120px 16px 40px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .locations-grid {
    grid-template-columns: 1fr;
  }
}
