:root{
  --primary: #ff4d6d;
  --text: #1f2937;
  --muted: #6b7280;
  --card: rgba(255,255,255,0.88);
  --border: rgba(255,255,255,0.35);
}

html, body { height: 100%; }

/* ---------- PAGE BACKGROUND (FIXED ON ALL DEVICES) ---------- */
body{
  margin: 0;
  font-family: "Kantumruy Pro", sans-serif;
  min-height: 100vh;
  position: relative;
  background: none; /* important because we use layers below */
}

/* Fixed background image layer */
body::after{
  content:"";
  position: fixed;
  inset: 0;
  z-index: -2;
  background: url("ocza.jpg") center / cover no-repeat;
  transform: translateZ(0); /* smoother on mobile */
}

/* Soft overlay to make everything readable */
body::before{
  content:"";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(3px);
}

/* Phone background image */
@media (max-width: 767px){
  body::after{
    background-image: url("phone-bk.jpg");
  }
}

/* ---------- TOP BAR ---------- */
.top-bar {
  position: sticky;
  top: 0;
  z-index: 100;

  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;

  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.logo {
  height: 35px;
}

.top-icons i {
  font-size: 20px;
  margin-left: 12px;
  color: #374151;
}

/* ---------- HERO (STUDIO CARD) ---------- */
.hero {
  position: relative;
  text-align: center;
  overflow: hidden;
  padding: 18px 16px 90px; /* extra bottom for bottom nav */
}

/* Hide old hero image */
.hero-image {
  display: none;
}

/* Center studio card */
.hero-text {
  max-width: 520px;
  margin: 18px auto 0;

  background: var(--card);
  border: 1px solid rgba(255,255,255,0.65);
  border-radius: 18px;
  padding: 18px 16px;

  color: var(--text);
  box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

/* Make your name image responsive */
.hero-text img{
  max-width: 100%;
  height: auto;
  display: block;
  margin: 10px auto;
}

.hero-text h2 {
  font-size: 20px;
  margin: 0;
  color: #7a0f1d;
  letter-spacing: 0.2px;
}

.hero-text h1 {
  font-size: 24px;
  font-weight: 700;
  margin: 8px 0 0;
}

.small {
  margin-top: 8px;
  font-size: 15px;
  color: var(--muted);
}

/* --------- DATE BOX ---------- */
.date-box {
  margin-top: 14px;
  padding: 12px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  font-size: 15px;
  background: rgba(255,255,255,0.7);
  color: #111827;
}

.calendar-btn {
  margin-top: 14px;
  width: 100%;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(255,77,109,0.25);
}

.calendar-btn:hover{
  filter: brightness(0.97);
}

/* ---------- BOTTOM NAV ---------- */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);

  display: flex;
  justify-content: space-around;
  border-top: 1px solid rgba(0,0,0,0.06);
  padding: 10px 0;
  z-index: 99;
}

.bottom-nav a {
  text-align: center;
  color: #374151;
  text-decoration: none;
  font-size: 14px;
}

.bottom-nav a.active {
  color: var(--primary);
  font-weight: 700;
}
.calendar-btn { 
  display:inline-block; 
  text-align:center; 
  text-decoration:none; 
    
}

/* ---------- MOBILE: push hero down ---------- */
@media (max-width: 767px){
  .hero{
    margin-top: 70%; /* margin-top : 50% of screen height */
  }
}


/* ---------- INVITATION IMAGES PAGE ---------- */
.invite-wrap{
  max-width: 900px;
  margin: 14px auto 90px; /* leave space for bottom nav */
  padding: 0 12px;
}

.invite-wrap img{
  width: 100%;
  height: auto;            /* keep full image */
  display: block;
  margin: 12px 0;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  background: #fff;        /* in case image has transparency */
}
