/* Ancient Soul Space - Luxury Warm Earthy CSS Design System */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;800&family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --bg-dark: #1e1711;
  --bg-card: #291e17;
  --bg-card-hover: #35271e;
  --accent-gold: #c8963e;
  --accent-gold-light: #f3e5ab;
  --accent-turquoise: #155e63;
  --accent-teal: #155e63;
  --accent-amethyst: #9b51e0;
  --text-main: #f6eee3;
  --text-muted: #c4b39e;
  --border-subtle: rgba(200, 150, 62, 0.28);
  --border-glass: rgba(246, 238, 227, 0.12);
  --glass-bg: rgba(41, 30, 23, 0.92);
  --shadow-glow: 0 10px 30px rgba(0, 0, 0, 0.5);
  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-sm: 6px;
  --font-serif: 'Cinzel', serif;
  --font-subhead: 'Cormorant Garamond', serif;
  --font-sans: 'Plus Jakarta Sans', sans-serif;
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, .brand-title {
  font-family: var(--font-serif);
  letter-spacing: 0.04em;
}

a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--accent-gold-light);
}

/* TOP CONTACT BANNER */
.top-bar {
  background: linear-gradient(90deg, #251b14 0%, #19120d 100%);
  border-bottom: 1px solid var(--border-subtle);
  padding: 8px 24px;
  font-size: 0.88rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
}

.top-bar-left span {
  margin-right: 20px;
}

.top-bar-right a {
  color: var(--accent-gold);
  font-weight: 600;
}

/* HEADER & NAVBAR */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(28, 20, 14, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-glass);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header .nav-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 10px 20px 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header .logo-group {
  display: flex;
  justify-content: center;
  align-items: center;
}

.site-header .header-logo {
  height: 105px;
  width: auto;
  max-width: 95%;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

.site-header .header-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 4px 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header .nav-flourish-outer {
  height: 20px;
  width: 48px;
  object-fit: contain;
  vertical-align: middle;
  filter: drop-shadow(0 0 6px #ffd700) drop-shadow(0 2px 4px #000);
  transition: all 0.3s ease;
}

.site-header .nav-flourish-sep {
  height: 16px;
  width: 36px;
  object-fit: contain;
  vertical-align: middle;
  filter: drop-shadow(0 0 4px #ffd700) drop-shadow(0 2px 4px #000);
  transition: all 0.3s ease;
}

.site-header .nav-links {
  display: flex;
  list-style: none;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
}

.site-header .nav-links li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-header .nav-links a {
  color: #219098;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: var(--font-serif);
  letter-spacing: 0.06em;
  transition: all 0.2s ease;
}

.site-header .nav-links a:hover,
.site-header .nav-links a.active {
  color: var(--accent-gold);
  border-bottom: 2px solid var(--accent-gold);
}

/* COMPACT HEADER AS USER SCROLLS DOWN */
.site-header.scrolled {
  background: rgba(20, 14, 10, 0.97);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.65);
}

.site-header.scrolled .nav-container {
  padding: 4px 16px;
  gap: 4px;
}

.site-header.scrolled .header-logo {
  height: 44px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.site-header.scrolled .header-nav {
  padding: 2px 0;
}

.site-header.scrolled .nav-flourish-outer {
  height: 14px;
  width: 32px;
}

.site-header.scrolled .nav-flourish-sep {
  height: 12px;
  width: 24px;
}

.site-header.scrolled .nav-links a {
  font-size: 0.88rem;
}

/* RESPONSIVE MEDIA QUERIES FOR MOBILE & TABLETS */
@media (max-width: 900px) {
  .site-header .header-logo {
    height: 80px;
  }
  .site-header .nav-flourish-outer {
    display: none;
  }
  .site-header .nav-flourish-sep {
    height: 12px;
    width: 24px;
  }
  .site-header .nav-links {
    gap: 8px;
  }
  .site-header .nav-links a {
    font-size: 0.85rem;
  }
}

@media (max-width: 600px) {
  .site-header .header-logo {
    height: 60px;
  }
  .site-header.scrolled .header-logo {
    height: 38px;
  }
  .site-header .nav-flourish-sep {
    display: none;
  }
  .site-header .nav-links {
    gap: 12px;
  }
  .site-header .nav-links a {
    font-size: 0.82rem;
  }
}

.btn-admin-link {
  padding: 6px 14px;
  border: 1px solid var(--accent-gold);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: var(--accent-gold) !important;
}

.btn-admin-link:hover {
  background: var(--accent-gold);
  color: #000 !important;
}

/* HERO SECTION */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
  background: radial-gradient(circle at center, rgba(21, 94, 99, 0.25) 0%, rgba(30, 23, 17, 0.96) 75%),
              url('/static/images/amethyst_cluster.jpg') center/cover no-repeat;
  box-shadow: inset 0 0 100px #1e1711;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 23, 17, 0.75);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(200, 150, 62, 0.15);
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold-light);
  border-radius: 50px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #f6eee3;
}

.hero-subtitle {
  font-family: var(--font-subhead);
  font-size: 1.5rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  font-style: italic;
}

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

.btn-primary {
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--accent-gold) 0%, #aa7a29 100%);
  color: #1b130c;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(200, 150, 62, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(200, 150, 62, 0.5);
  color: #1b130c;
}

.btn-secondary {
  padding: 14px 32px;
  background: transparent;
  color: var(--text-main);
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid rgba(246, 238, 227, 0.3);
  cursor: pointer;
}

.btn-secondary:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

/* SECTION CONTAINERS */
.section {
  padding: 80px 24px;
  max-width: 1280px;
  margin: 0 auto;
}

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

.section-tag {
  color: #1d7e85;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.section-title {
  font-size: 2.2rem;
  margin-top: 8px;
  color: #f6eee3;
}

/* STORE SIGN SERVICES BAR */
.store-services-bar {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 40px 24px;
  margin-top: -40px;
  position: relative;
  z-index: 10;
  border-radius: var(--radius-lg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  text-align: center;
}

.service-item {
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(200, 150, 62, 0.15);
  transition: all 0.3s;
}

.service-item:hover {
  background: rgba(200, 150, 62, 0.12);
  border-color: var(--accent-gold);
  transform: translateY(-3px);
}

.service-icon {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.service-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
}

/* CARDS & GRID */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--border-subtle);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.card-img-wrap {
  position: relative;
  width: 100%;
  height: 230px;
  overflow: hidden;
  background: #19120d;
}

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

.card:hover .card-img-wrap img {
  transform: scale(1.06);
}

.card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(21, 94, 99, 0.9);
  color: #fff;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-category {
  font-size: 0.8rem;
  color: #1d7e85;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: #f6eee3;
}

.card-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}

.healing-box {
  background: rgba(21, 94, 99, 0.15);
  border: 1px solid rgba(21, 94, 99, 0.4);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: #79c5cb;
  margin-bottom: 20px;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-glass);
}

.price-tag {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent-gold);
}

/* FORM CONTROLS */
.form-control {
  width: 100%;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: #f6eee3;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
}

.form-control:focus {
  border-color: var(--accent-gold);
}

/* FOOTER */
.site-footer {
  background: #140e09;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 24px 24px;
  margin-top: 80px;
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h4 {
  color: var(--accent-gold);
  font-size: 1.15rem;
  margin-bottom: 20px;
}

.footer-col p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 12px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--text-muted);
}

.footer-col ul li a:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border-glass);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ANNOUNCEMENT MODAL POPUP */
.announcement-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 1;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.announcement-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
}

.announcement-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 9, 6, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.announcement-box {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 560px;
  max-height: 92vh;
  overflow-y: auto;
  background: linear-gradient(145deg, rgba(32, 23, 17, 0.98), rgba(20, 15, 11, 0.98));
  border: 1px solid var(--accent-gold);
  border-radius: var(--radius-lg, 16px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.9), 0 0 30px rgba(212, 175, 55, 0.25);
  animation: announcementZoomIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  text-align: center;
}

@keyframes announcementZoomIn {
  from {
    transform: scale(0.92);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.announcement-close-btn {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 20;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  transition: all 0.2s ease;
}

.announcement-close-btn:hover {
  background: var(--accent-gold, #d4af37);
  color: #000;
  transform: rotate(90deg) scale(1.08);
}

.announcement-img-wrap {
  width: 100%;
  max-height: none; /* Never crop flyer! */
  border-top-left-radius: var(--radius-lg, 16px);
  border-top-right-radius: var(--radius-lg, 16px);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.4);
}

.announcement-img-wrap img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain; /* Full image completely visible, 0% cropped */
  display: block;
}

.announcement-body {
  padding: 24px 24px 22px;
}

.announcement-title {
  color: #fff;
  font-size: 1.65rem;
  font-family: var(--font-serif);
  margin: 0 0 6px;
  line-height: 1.3;
}

.announcement-message {
  color: var(--text-main, #e8dfd8);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 12px 0 20px;
  word-wrap: break-word;
}

body.modal-open {
  overflow: hidden;
}
