/* === THEME VARIABLES === */
:root {
  --bg-color: #FAF9F6;
  --primary-text: #4A4A4A;
  --accent-color: #C9B89C;
  --nav-footer-bg: #393f18;
  --nav-footer-text: #FAF9F6;
  --nav-link-color: #FAF9F6;
  --nav-link-hover: #C9B89C;
}

/* === GLOBAL === */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(to bottom, #FAF9F6, #f6f3ee);
  color: var(--primary-text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* === HEADER & NAVIGATION === */
.site-header {
  background-color: var(--nav-footer-bg);
  color: var(--nav-footer-text);
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

.nav-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.8rem 1.5rem;
}

.menu-icon {
  position: absolute;
  left: 1.2rem;
  font-size: 32px;
  color: var(--nav-footer-text);
  cursor: pointer;
  user-select: none;
  z-index: 1010;
}

#menu-toggle { display: none; }

/* Centered logo */
.logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-img {
  height: 90px;
  object-fit: contain;
  border-radius: 8px;
  transition: opacity 0.3s ease;
}

@media (max-width: 600px) {
  .logo-img { height: 65px; }
}

/* === HAMBURGER MENU === */
.menu {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100vh;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 1005;
  overflow-y: auto;
  background-image:
    linear-gradient(rgba(57,63,24,0.85), rgba(57,63,24,0.85)),
    url('../gallery/logopic.JPG');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: fadeInMenu 0.35s ease forwards;
}

#menu-toggle:checked + .menu-icon + .logo {
  opacity: 0;
  pointer-events: none;
}

#menu-toggle:checked + .menu-icon + .logo + .menu {
  display: flex;
}

@keyframes fadeInMenu {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

.menu a {
  color: #fff;
  font-size: 1.6rem;
  font-weight: 600;
  padding: 15px 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-shadow: 0 0 6px rgba(0,0,0,0.6);
  transition: color 0.3s ease, transform 0.2s ease;
}

.menu a:hover {
  color: var(--accent-color);
  transform: scale(1.1);
}

/* Dropdown */
.dropdown { position: relative; width: 100%; }
.dropdown-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: static;
  width: 100%;
  text-align: center;
  background: transparent;
  box-shadow: none;
  gap: 6px;
}

.dropdown-content a {
  color: #fff;
  font-size: 1.3rem;
  padding: 10px 0;
  width: 100%;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color 0.3s ease, transform 0.2s ease;
}

.dropdown-content a:hover {
  color: var(--accent-color);
  transform: scale(1.1);
}

.dropdown:hover .dropdown-content {
  display: flex;
  animation: dropdownSlide 0.3s ease forwards;
}

@keyframes dropdownSlide {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === MAIN SECTIONS === */
.section {
  width: 95%;
  max-width: 1200px;
  margin: 40px auto;
  background: #fff;
  padding: 30px 25px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(201,184,156,0.35),
              0 0 35px rgba(255,255,255,0.7) inset;
}

.hero, #home, #welcome, section:first-of-type {
  background: #fff;
  box-shadow: 0 4px 20px rgba(201,184,156,0.35),
              0 0 35px rgba(255,255,255,0.7) inset;
  border-radius: 12px;
  padding: 40px 30px;
  margin-top: 40px;
}

.section h2, .section h3 {
  color: var(--nav-footer-bg);
  font-weight: 700;
  text-align: center;
}

/* === GALLERY GRID === */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.6rem;
  justify-items: center;
  align-items: start;
  margin: 2rem auto;
  padding: 0 1rem;
  max-width: 1200px;
}

.card {
  background: transparent;
  border: none;
  text-align: center;
  padding: 1rem 0;
  max-width: 260px;
  transition: transform 0.3s ease;
}
.card:hover { transform: translateY(-4px); }

.thumb {
  width: 180px; height: 180px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}
.thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.thumb:hover { transform: scale(1.05); }

/* === OUR STORY SECTION === */
#our-story {
  width: 95%;
  max-width: 1200px;
  margin: 40px auto;
  background: #fff;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(201,184,156,0.35),
              0 0 35px rgba(255,255,255,0.7) inset;
}

#our-story h2.section-title {
  color: var(--nav-footer-bg);
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

#our-story p {
  max-width: 900px;
  margin: 0 auto 1rem;
  font-size: 1.05rem;
  color: var(--primary-text);
  line-height: 1.7;
  text-align: center;
}

#our-story h3 {
  color: var(--nav-footer-bg);
  font-size: 1.3rem;
  text-align: center;
  margin: 1.8rem 0 1rem;
}

/* --- Mission List --- */
.mission-list {
  list-style: none;
  padding: 0;
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
}

.mission-list li {
  position: relative;
  font-size: 1.05rem;
  margin-bottom: 14px;
  line-height: 1.7;
  color: var(--primary-text);
  padding-left: 35px;
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.mission-list li.visible {
  opacity: 1;
  transform: translateY(0);
}

.mission-list li::before {
  content: "🤎";
  position: absolute;
  left: 0; top: 0;
  font-size: 1.2rem;
  color: #C9B89C;
  filter: drop-shadow(0 0 6px rgba(201,184,156,0.6));
}

.mission-list li.visible::before {
  animation: sparklePulse 4s ease-in-out infinite;
}

@keyframes sparklePulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.25); opacity: 1; }
}

/* --- Alt Section Style --- */
.section.alt {
  background: #fff;
  border: 2px solid rgba(201,184,156,0.25);
  box-shadow: 0 6px 20px rgba(201,184,156,0.35);
  border-radius: 12px;
}

/* === CONTACT BUTTONS === */
.contact-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin: 25px 0 20px;
}

.btn-contact {
  background: var(--accent-color);
  color: var(--nav-footer-bg);
  padding: 12px 25px;
  border-radius: 35px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(201,184,156,0.5);
}
.btn-contact:hover {
  background: var(--nav-footer-bg);
  color: var(--nav-footer-text);
  transform: translateY(-3px);
}

/* === LET’S CHAT SECTION === */
#lets-chat {
  background: #fff;
  box-shadow: 0 4px 20px rgba(201,184,156,0.35),
              0 0 35px rgba(255,255,255,0.7) inset;
  border-radius: 12px;
  padding: 40px 30px;
  margin: 40px auto;
  text-align: center;
  width: 95%;
  max-width: 1200px;
}

#lets-chat h2 {
  color: var(--nav-footer-bg);
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}

#lets-chat p {
  color: var(--primary-text);
  max-width: 800px;
  margin: 0 auto 25px;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* --- Video --- */
.event-video {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 25px;
}

.event-video video {
  width: 90%;
  max-width: 700px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  object-fit: cover;
  display: block;
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 1.2s ease, transform 1s ease;
}

.event-video video.visible {
  opacity: 1;
  transform: scale(1);
}

/* === FOOTER === */
.site-footer {
  background: var(--nav-footer-bg);
  color: var(--nav-footer-text);
  text-align: center;
  padding: 25px 10px 35px;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 -2px 6px rgba(0,0,0,0.25);
  margin-top: 60px;
}

.site-footer a {
  color: var(--accent-color);
  text-decoration: none !important;
  font-weight: 600;
  transition: color 0.3s ease;
}
.site-footer a:hover {
  color: var(--nav-footer-text);
  text-decoration: none !important;
}

/* ✨ Chrome-only cursor */
@supports (-webkit-mask: none) and (not (caret-color: transparent)) {
  .sparkle-cursor {
    cursor: url('../gallery/pointer_cursor_final.png') 16 16, auto;
  }
  .sparkle-cursor a:hover,
  .sparkle-cursor button:hover {
    cursor: url('../gallery/pointer_cursor_final.png') 16 16, pointer;
  }
}

/* === QUIZ ANIMATION === */
.quiz-result {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.6s ease, transform 0.6s ease;
  position: relative;
  overflow: hidden;
}
.quiz-result.visible {
  opacity: 1;
  transform: scale(1);
}

/* === HEART FLOAT ANIMATION === */
@keyframes heartFloat {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(-100px); opacity: 0; }
}
span {
  position: absolute;
  pointer-events: none;
  user-select: none;
  color: #5a4631;
}

/* === RESPONSIVE TWEAKS === */
@media (max-width: 768px) {
  .thumb { width: 160px; height: 160px; }
}
@media (max-width: 480px) {
  .thumb { width: 140px; height: 140px; }
}

/* === GLOBAL LINK RESET === */
a, a:link, a:visited, a:hover, a:active {
  text-decoration: none !important;
  outline: none !important;
  border: none !important;
  color: inherit;
  background: transparent;
  box-shadow: none !important;
}

/* === SOCIAL FOLLOW === */
.social-follow {
  text-align: center;
  margin: 25px 0;
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.8s ease;
}
.social-follow.visible {
  opacity: 1;
  transform: translateY(0);
}
.social-follow p {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: 10px;
}
.social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
}
.social-links img {
  width: 38px;
  height: 38px;
  transition: transform 0.3s ease;
  border-radius: 6px;
  object-fit: contain;
}
.social-links img:hover {
  transform: scale(1.15);
  filter: drop-shadow(0 0 10px rgba(201,184,156,0.8));
}
/* ===========================
   BOOK / JOURNAL CARD POLISH
   =========================== */
.card {
  background: #fff;
  border-radius: 18px;
  padding: 1.2rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

/* circular thumbnail polish */
.thumb.round img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* subtle zoom on hover */
.card:hover .thumb.round img {
  transform: scale(1.06);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* text polish */
.card h3 {
  font-size: 1.1rem;
  margin-top: 0.8rem;
  color: #393f18; /* olive green */
  font-weight: 600;
}

.card p {
  font-size: 0.95rem;
  color: #4a4a4a;
  margin-top: 0.4rem;
  line-height: 1.4;
}

.card strong {
  color: #a08c65; /* warm gold-beige accent */
}
