@charset "UTF-8";

/* ========================================================
   BALI PURA TRADITIONAL ELEGANTE
   ======================================================== */
:root {
    --gold: #d4af37;
    --gold-light: #f3e5ab;
    --gold-dark: #997a15;
    --maroon: #4a151b;
    --maroon-deep: #240509;
    --bali-sand: #fdfaf5;
    --text-dark: #222222;
    --text-muted: #6e6761;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    background-color: #160a0c;
    color: var(--text-dark);
    font-family: 'Marcellus', serif;
    font-size: 15px;
    line-height: 1.8;
}

/* Portrait centered wrapper */
section, #over-lay-welcome, footer {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    background-color: var(--bali-sand);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.4);
    position: relative;
}

section {
    padding: 65px 22px;
}

.container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
}

/* Tipografi & Aksara */
h1, h2, h3, h4, .title-bali {
    font-family: 'Cinzel', serif;
    color: var(--maroon);
    font-weight: 700;
}

.title-bali {
    font-size: 1.8rem;
    letter-spacing: 1px;
}

.aksara-om {
    font-size: 2.2rem;
    color: var(--gold-dark);
    line-height: 1;
}

.sub-header-bali {
    letter-spacing: 4px;
    font-size: 1rem;
    color: var(--gold-dark);
    margin-top: 5px;
}

.text-gold-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.text-gold-accent {
    color: var(--gold-dark) !important;
}

/* Ornamen Pembatas Ukiran Kamboja */
.divider-bali {
    height: 20px;
    width: 160px;
    margin: 12px auto 30px auto;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 20' fill='%23d4af37'%3E%3Cpath d='M80 0 C75 7 70 10 65 10 C70 10 75 13 80 20 C85 13 90 10 95 10 C90 10 85 7 80 0 Z'/%3E%3Cline x1='0' y1='10' x2='60' y2='10' stroke='%23d4af37' stroke-width='1.5' stroke-dasharray='3,3'/%3E%3Cline x1='100' y1='10' x2='160' y2='10' stroke='%23d4af37' stroke-width='1.5' stroke-dasharray='3,3'/%3E%3Ccircle cx='50' cy='10' r='3'/%3E%3Ccircle cx='110' cy='10' r='3'/%3E%3C/svg%3E");
}

/* ========================================================
   WELCOME OVERLAY
   ======================================================== */
#over-lay-welcome {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 100vh;
    z-index: 999999;
    background: radial-gradient(circle at center, var(--maroon) 0%, var(--maroon-deep) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    color: #fff;
    cursor: pointer;
}

.welcome-box {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--gold);
    border-radius: 20px;
    padding: 40px 24px;
    width: 100%;
    text-align: center;
    backdrop-filter: blur(10px);
}

.pura-silhouette {
    width: 70px;
    height: 45px;
    margin: 0 auto;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 60' fill='%23f3e5ab'%3E%3Cpath d='M45 10 L45 55 L35 55 L35 30 L25 30 L25 55 L15 55 L15 45 L5 60 L50 60 L50 10 Z M55 10 L55 55 L65 55 L65 30 L75 30 L75 55 L85 55 L85 45 L95 60 L50 60 L50 10 Z'/%3E%3C/svg%3E");
}

.aksara-sub {
    font-size: 0.95rem;
    letter-spacing: 5px;
    color: var(--gold);
}

.couple-title {
    font-family: 'Great Vibes', cursive;
    color: var(--gold-light);
    font-size: 3rem;
    margin: 15px 0;
}

.btn-bali-pura {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
    color: var(--maroon-deep) !important;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.85rem;
    border: none;
    border-radius: 40px;
    padding: 12px 34px;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
    transition: 0.3s;
}

.btn-bali-pura:hover {
    transform: translateY(-2px);
}

/* ========================================================
   HERO / COVER
   ======================================================== */
.header {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top, #fffdfa 0%, var(--bali-sand) 100%);
    border-bottom: 2px solid var(--gold-light);
    padding: 70px 20px;
}

.candi-frame-wrapper {
    position: relative;
    width: 210px;
    height: 210px;
    margin: 0 auto;
}

.couple-hero-img-wrap {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--gold);
    padding: 5px;
    background: #fff;
    box-shadow: 0 6px 20px rgba(74, 21, 27, 0.12);
}

.couple-hero-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.main-names {
    font-family: 'Great Vibes', cursive;
    font-size: 3.6rem;
    color: var(--maroon);
    margin: 15px 0;
    line-height: 1.15;
}

.main-names span {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: var(--gold);
    display: block;
}

.wedding-date {
    font-size: 1.05rem;
    color: var(--gold-dark);
    font-weight: 700;
    letter-spacing: 1px;
}

/* ========================================================
   MEMPELAI CARDS
   ======================================================== */
.couple-card-pura {
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--gold-light);
    box-shadow: 0 6px 20px rgba(74, 21, 27, 0.05);
}

.avatar-pura-wrap {
    width: 160px;
    height: 160px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--gold);
    padding: 4px;
    background: #fff;
}

.avatar-pura-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.couple-single-name {
    font-size: 1.35rem;
    color: var(--maroon);
    margin-bottom: 2px;
}

.badge-role {
    display: inline-block;
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold-dark);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 3px 12px;
    border-radius: 20px;
}

/* ========================================================
   ACARA CARDS
   ======================================================== */
.acara-box-pura {
    background: #fff;
    border: 1px solid var(--gold-light);
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(74, 21, 27, 0.05);
    position: relative;
    overflow: hidden;
}

.card-ornament-top {
    height: 4px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold-dark));
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.acara-name {
    font-size: 1.25rem;
    color: var(--maroon);
}

.acara-tgl {
    font-weight: 700;
    color: var(--gold-dark);
    font-size: 1.05rem;
    margin-bottom: 2px;
}

.acara-time {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.gold-hr {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 15px 0;
}

/* ========================================================
   COUNTDOWN TIMER
   ======================================================== */
.countdown-section {
    padding-top: 50px;
    padding-bottom: 50px;
}

.countdown-wrapper {
    max-width: 440px;
    margin: 0 auto;
}

.timer-box-pura {
    background: radial-gradient(circle at center, var(--maroon) 0%, var(--maroon-deep) 100%);
    color: var(--gold-light);
    border: 1.5px solid var(--gold);
    border-radius: 12px;
    padding: 14px 4px;
    box-shadow: 0 6px 18px rgba(74, 21, 27, 0.25);
    position: relative;
    overflow: hidden;
}

.timer-box-pura::before {
    content: "";
    position: absolute;
    inset: 3px;
    border: 1px dashed rgba(243, 229, 171, 0.35);
    border-radius: 8px;
    pointer-events: none;
}

.timer-box-pura span {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    font-weight: 700;
    display: block;
    line-height: 1.1;
    color: #fff;
}

.timer-box-pura p {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0;
    color: var(--gold-light);
    font-weight: 600;
}

/* ========================================================
   GALERI & CERITA
   ======================================================== */
.map-card-wrapper {
    border: 2px solid var(--gold);
    border-radius: 14px;
    overflow: hidden;
}

.galeri-pura-item {
    border: 2px solid var(--gold-light);
    border-radius: 8px;
    width: 100%;
    height: 140px;
    object-fit: cover;
    transition: 0.3s;
}

.galeri-pura-item:hover {
    transform: scale(1.03);
    border-color: var(--gold);
}

.cerita-card-pura {
    background: #fff;
    border: 1px solid var(--gold-light);
    border-radius: 14px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.cerita-title {
    font-size: 1.15rem;
    color: var(--maroon);
}

/* ========================================================
   GUESTBOOK
   ======================================================== */
.form-pura-card {
    background: #fff;
    border: 1px solid var(--gold-light);
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.form-pura-card .form-control {
    border: 1px solid #e2dbce;
    border-radius: 8px;
    padding: 10px 14px;
    background-color: #fdfbf7;
}

.media-comment-pura {
    background: #fff;
    border-left: 4px solid var(--gold);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* ========================================================
   FOOTER & FLOATING
   ======================================================== */
.footer-pura {
    background: var(--maroon-deep);
    color: var(--gold-light);
    border-top: 2px solid var(--gold);
}

.footer-salam {
    font-family: 'Great Vibes', cursive;
    font-size: 2.8rem;
    color: var(--gold-light);
}

.couple-footer {
    letter-spacing: 1px;
}

.border-gold-pura {
    border: 2px solid var(--gold);
    border-radius: 14px;
}

.play-pause, .btn-qrcode, .btn-donation {
    position: fixed;
    z-index: 9999;
}

.play-pause {
    bottom: 20px;
    left: 20px;
    width: 42px;
    height: 42px;
    background: var(--maroon);
    border: 1.5px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.btn-qrcode {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
    background: var(--maroon);
    border: 1.5px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.btn-donation {
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--maroon);
    color: var(--gold-light) !important;
    border: 1.5px solid var(--gold);
    border-radius: 30px;
    padding: 8px 22px;
    font-size: 0.85rem;
    font-weight: 700;
}