/* Theme 11 — Premium Arch (Ivory & Gold) */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;1,400&family=Montserrat:wght@300;400;500&family=Alex+Brush&display=swap');

.theme-ornament {
  --primary:        #2C363F; /* Deep Charcoal */
  --primary-hover:  #1a2025;
  --primary-light:  #f0f4f8;
  --secondary:      #D4AF37; /* Elegant Gold */
  --secondary-light:#f9f6ef; 
  --bg:             #F5F5F0; /* Warm Ivory */
  --text:           #3a434a; /* Dark Grey */
  --muted:          #6c757d; /* Medium Grey */
  
  --font-body:      'Montserrat', sans-serif;
  --font-title:     'Playfair Display', serif;
  --font-script:    'Alex Brush', cursive;
}

/* Background Styling */
body.theme-ornament {
  background-color: var(--bg);
  background-image: radial-gradient(circle at 50% 0%, #ffffff 0%, #F5F5F0 100%);
}

/* Hide default user background if we want the clean ivory look, 
   but let's keep it if they explicitly uploaded one. 
   If not uploaded, we use our clean gradient. */
body.theme-ornament:not(.has-bg) .bg-layer {
  display: none;
}

/* ==========================================================
   ARCH CARD LAYOUT
   ========================================================== */
.theme-ornament .card {
  background-color: #ffffff;
  /* Arch shape: huge border radius on top, small on bottom */
  border-radius: 250px 250px 16px 16px; 
  padding: 90px 30px 50px 30px;
  /* CSS-only double border (White + Gold) */
  box-shadow: 0 20px 50px rgba(0,0,0,0.06), 
              inset 0 0 0 8px #ffffff, 
              inset 0 0 0 9px var(--secondary);
  border: none;
  margin-top: 20px;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

/* Subtle gold diamond/star at the top inside the arch */
.theme-ornament .card::before {
  content: "✧";
  position: absolute;
  top: 30px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 28px;
  color: var(--secondary);
  line-height: 1;
}

/* Remove any floral pseudoelements if they somehow persisted */
.theme-ornament .card::after {
  display: none;
}

/* ==========================================================
   TYPOGRAPHY & ACCENTS
   ========================================================== */
.theme-ornament .section-title {
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 1.25rem;
  margin-bottom: 24px;
}

.theme-ornament .eyebrow {
  color: var(--secondary);
  font-family: var(--font-script);
  font-size: clamp(1.5rem, 8vw, 2.2rem);
  text-transform: capitalize;
  letter-spacing: 0;
  margin-bottom: 0;
}

.theme-ornament .couple-title {
  font-size: clamp(3rem, 12vw, 4.5rem);
  margin: 15px 0;
  color: var(--primary);
}

.theme-ornament .cover-title {
  font-size: clamp(3.5rem, 14vw, 5rem);
  color: var(--primary);
}

/* ==========================================================
   COUNTDOWN (CIRCLES)
   ========================================================== */
.theme-ornament .countdown {
  gap: 12px;
  margin-top: 30px;
}

.theme-ornament .cd-cell {
  background: transparent;
  border: 1px solid var(--secondary);
  color: var(--primary);
  border-radius: 50%; /* Circle shape */
  aspect-ratio: 1 / 1; /* Keep it perfectly round */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.theme-ornament .cd-cell .cd-num {
  font-size: 1.5rem;
  color: var(--primary);
}

.theme-ornament .cd-cell .cd-label {
  color: var(--secondary);
  font-weight: 600;
  font-family: var(--font-body);
}

/* ==========================================================
   BUTTONS
   ========================================================== */
.theme-ornament .btn-primary, 
.theme-ornament .cover-btn {
  background: var(--primary);
  color: #fff;
  border-radius: 0; /* Sharp elegant edges */
  font-family: var(--font-body);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.8rem;
  padding: 16px 32px;
  box-shadow: none;
  border: 1px solid var(--primary);
}

.theme-ornament .btn-primary:hover, 
.theme-ornament .cover-btn:hover {
  background: #fff;
  color: var(--primary);
  transform: none;
}

/* ==========================================================
   TIMELINE / KISAH CINTA
   ========================================================== */
.theme-ornament .timeline::before {
  background: var(--secondary);
}

.theme-ornament .timeline-marker {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px #fff;
}

/* ==========================================================
   COVER FRAME (ARCH + FLOWERS)
   ========================================================== */
.cover-frame {
  width: 220px;
  height: 300px;
  margin: 20px auto 40px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 1s ease both;
  z-index: 2;
}

/* Top-Left Flower */
.cover-frame::before {
  content: "";
  position: absolute;
  top: -30px;
  left: -35px;
  width: 110px;
  height: 110px;
  background-image: url('../img/flower.png');
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 5;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.15));
}

/* Bottom-Right Flower */
.cover-frame::after {
  content: "";
  position: absolute;
  bottom: -30px;
  right: -35px;
  width: 110px;
  height: 110px;
  background-image: url('../img/flower.png');
  background-size: contain;
  background-repeat: no-repeat;
  transform: scaleX(-1) scaleY(-1);
  z-index: 5;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.15));
}

.cover-frame img.cover-photo {
  width: 100%;
  height: 100%;
  border-radius: 200px 200px 12px 12px; /* Arch shape */
  object-fit: cover;
  box-shadow: 0 0 0 5px #fff, 
              0 0 0 7px var(--secondary), 
              0 20px 40px rgba(0,0,0,0.15);
  position: relative;
  z-index: 3;
}