/* =======================
   BRAND FONT (SELF-HOSTED)
   ======================= */
@font-face{
  font-family: "AwakeTheBeauty";
  src: url("./awakethebeauty.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root{
  --text:#f4efe4;
  --muted:rgba(244,239,228,.76);

  /* Gold palette */
  --gold1:#f7e3b0;
  --gold2:#e6c57a;
  --gold3:#cfa24f;
  --gold4:#9a6a1f;

  /* Gold-tinted glass */
  --glassA: rgba(40, 30, 18, .54);
  --glassB: rgba(40, 30, 18, .36);
  --glassBorder: rgba(214,180,106,.30);

  --radius:18px;
  --shadow:0 18px 52px rgba(0,0,0,.48);
  --wrap:min(1100px, calc(100% - 32px));
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color:var(--text);

  background:
    radial-gradient(120% 90% at 50% 0%, rgba(214,180,106,.18), transparent 55%),
    radial-gradient(120% 120% at 50% 60%, transparent 40%, rgba(0,0,0,.76) 100%),
    linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.66)),
    url("./bg-webpage.jpg") center / cover no-repeat fixed;
}

/* iOS-friendly: no fixed background on mobile */
@media (max-width: 767px){
  body{
    background:
      radial-gradient(120% 90% at 50% 0%, rgba(214,180,106,.22), transparent 55%),
      radial-gradient(120% 120% at 50% 60%, transparent 40%, rgba(0,0,0,.80) 100%),
      linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.70)),
      url("./bg-mobile.jpg") center / cover no-repeat;
  }
}

.wrap{
  width:var(--wrap);
  margin:0 auto;
  padding:24px 0 34px;
}

/* Helpers */
.center{ text-align:center; }
.tight{ margin:0; }
.small{ font-size:12px; color:var(--muted); line-height:1.5; }
.lead{ color:var(--muted); line-height:1.55; }

/* Gold-tinted glass panel */
.glass{
  background:
    linear-gradient(180deg, rgba(214,180,106,.10), rgba(0,0,0,0)),
    linear-gradient(180deg, var(--glassA), var(--glassB));
  border:1px solid var(--glassBorder);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

.panel{ padding:22px; }

/* Hero layout */
.hero{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:20px;
  align-items:stretch;
}

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

.hero-panel{
  display:flex;
  flex-direction:column;
}

.brand{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  margin-bottom:10px;
}

/* Brand icon */
.brand-mark{
  width:44px;
  height:44px;
  border-radius:14px;
  border:1px solid rgba(214,180,106,.26);
  box-shadow: 0 12px 30px rgba(0,0,0,.35);

  /* Make the icon fill the space better */
  background:
    url("./icon-192.PNG") center / 98% no-repeat,
    radial-gradient(circle at 30% 25%, rgba(255,255,255,.18), transparent 58%),
    linear-gradient(180deg, rgba(214,180,106,.28), rgba(0,0,0,.10));
}

@media (max-width: 767px){
  .brand-mark{
    width:50px;
    height:50px;
    border-radius:16px;
    background:
      url("./icon-192.PNG") center / 100% no-repeat,
      radial-gradient(circle at 30% 25%, rgba(255,255,255,.18), transparent 58%),
      linear-gradient(180deg, rgba(214,180,106,.28), rgba(0,0,0,.10));
  }
}

/* Use sign font for brand name */
.brand-name{
  font-family: "AwakeTheBeauty", Georgia, "Times New Roman", serif;
  font-weight: normal;
  letter-spacing: .04em;
  font-size: 34px;
  line-height: 1;
}

.brand-tag{
  margin-top:2px;
  font-size:12px;
  color:var(--muted);
}

/* Hero headline */
h1{
  margin:10px 0 10px;
  font-family: "AwakeTheBeauty", Georgia, "Times New Roman", serif;
  font-weight: normal;
  letter-spacing: .03em;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height:1.08;
}

/* Note box */
.note{
  margin:12px auto 14px;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(214,180,106,.18);
  background: rgba(0,0,0,.14);
  color: rgba(244,239,228,.92);
  max-width: 560px;
}

/* Buttons */
.cta{
  display:flex;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
  margin:12px 0 10px;
}

.cta-single{
  margin-top:12px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:11px 16px;
  border-radius:999px;
  font-weight:700;
  text-decoration:none;
  cursor:pointer;
  user-select:none;
  border:1px solid transparent;
}

.btn-sign{
  font-family: "AwakeTheBeauty", Georgia, "Times New Roman", serif;
  font-weight: normal;
  letter-spacing: .04em;
}

.btn-gold{
  color:#241b12;
  background:
    linear-gradient(180deg, var(--gold1), var(--gold3));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.45),
    inset 0 -2px 6px rgba(0,0,0,.18),
    0 12px 28px rgba(0,0,0,.35);
}

.btn-glass{
  color:var(--text);
  background: rgba(0,0,0,.18);
  border:1px solid rgba(214,180,106,.25);
}

/* Social icons (solid metallic gold) */
.socials{
  display:flex;
  justify-content:center;
  gap:12px;
  margin-top:10px;
  margin-bottom:4px;
}

.social-link{
  width:44px;
  height:44px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  border:1px solid rgba(214,180,106,.25);
  background: rgba(0,0,0,.18);
}

.social-link svg{
  width:22px;
  height:22px;
  fill:#d7b25f;
  filter:
    drop-shadow(0 1px 0 rgba(255,255,255,.25))
    drop-shadow(0 6px 12px rgba(0,0,0,.35));
}

/* Image panel */
.image-panel{
  padding:0;
  overflow:hidden;
}

.image-panel img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.image-panel figcaption{
  padding:10px 12px;
  font-size:12px;
  color:var(--muted);
  border-top:1px solid rgba(214,180,106,.18);
}

/* Sections */
.section{ margin-top:22px; }
.section-head{ margin-bottom:16px; }

h2{
  margin:0 0 6px;
  font-size:22px;
  letter-spacing:.2px;
}

.section-head p{ margin:0; color:var(--muted); }

/* Sign font accents (section + cards) */
.sign{
  font-family: "AwakeTheBeauty", Georgia, "Times New Roman", serif;
  letter-spacing: .04em;
  font-weight: normal;
}

/* Gallery grid: 3 columns desktop, 1 column mobile */
.grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:22px;
  align-items:stretch;
}

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

/* Tiles */
.tile{
  padding:0;
  border-radius:16px;
  overflow:hidden;
  border:1px solid rgba(214,180,106,.22);
  background: rgba(0,0,0,.18);
  cursor:pointer;
  box-shadow: 0 12px 30px rgba(0,0,0,.28);
}

.tile img{
  width:100%;
  height:280px;
  object-fit:cover;
  display:block;
}

@media (max-width: 767px){
  .tile img{ height:320px; }
}

/* Visit grid */
.visit-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:16px;
  margin-top:14px;
}

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

.kv{
  margin-top:8px;
}
.kv div{
  display:flex;
  justify-content:space-between;
  gap:10px;
  padding:8px 0;
  border-bottom:1px solid rgba(214,180,106,.18);
  color: rgba(244,239,228,.92);
}

/* Footer */
.footer{
  margin-top:26px;
  padding:14px 0 0;
}

/* Modal */
.modal{
  position:fixed;
  inset:0;
  display:none;
  z-index:100;
}
.modal[aria-hidden="false"]{ display:block; }

.modal-backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.75);
}

.modal-panel{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  width:min(960px, calc(100% - 24px));
  padding:14px;
}

.modal-close{
  position:absolute;
  top:10px;
  right:10px;
  width:40px;
  height:40px;
  border-radius:999px;
  border:1px solid rgba(214,180,106,.25);
  background: rgba(0,0,0,.25);
  color: var(--text);
  cursor:pointer;
}

.modal-img{
  width:100%;
  max-height:78vh;
  object-fit:contain;
  display:block;
  border-radius:14px;
}

.modal-bar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding:10px 4px 0;
  color: var(--muted);
}

.modal-title{
  font-size:13px;
  color: rgba(244,239,228,.92);
}

.modal-hint{
  font-size:12px;
}