/*
    Template 2 - Golden Premium
    nhacohy.vn/mau-golden-prenium — ánh hoàng hôn, vàng ấm
*/
@import url('template1.css');

:root {
    --navy: #7a5520;
    --navy-dark: #5c3f14;
    --navy-light: #b8893a;
    --accent-blue: #e8c9a0;
    --text-dark: #5c4215;
    --text-muted: #9a7d5a;
    --bg-white: #fffaf5;
    --bg-soft: #fdf3e8;
    --bg-page: #f5e6d0;
    --border-light: #ecd9c0;
    --gold: #d4a853;
    --gold-light: #f5d78e;
    --gold-dark: #b07d28;
    --sunset: #e8a87c;
    --sunset-deep: #c97b5a;
    --font-script: 'Great Vibes', 'Dancing Script', cursive;
    --font-serif: 'Playfair Display', 'Yeseva One', serif;
    --font-display: 'Cormorant Garamond', 'Judson', serif;
}

@keyframes goldenShimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes goldenGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(212, 168, 83, 0.25); }
    50% { box-shadow: 0 0 36px rgba(232, 168, 124, 0.45); }
}

@keyframes goldenFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes petalDrift {
    0%, 100% { transform: rotate(-3deg) translateY(0); opacity: 0.7; }
    50% { transform: rotate(3deg) translateY(-8px); opacity: 1; }
}

body.golden-template {
    background: linear-gradient(180deg, var(--bg-page) 0%, #f8ead8 50%, var(--bg-page) 100%);
}

.golden-template .texture-layer {
    opacity: 0.07;
    filter: sepia(0.6) hue-rotate(-10deg);
}

/* ── Hero sunset ── */
.golden-hero {
    min-height: 100vh;
    min-height: 100dvh;
}

.golden-hero .hero-overlay {
    background: linear-gradient(
        180deg,
        rgba(60, 35, 10, 0.25) 0%,
        rgba(201, 123, 90, 0.35) 35%,
        rgba(212, 168, 83, 0.25) 65%,
        rgba(255, 250, 245, 0.5) 100%
    );
}

.golden-hero .hero-content {
    padding-bottom: 90px;
}

.golden-hero-amp {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 14vw, 5rem);
    font-weight: 400;
    color: var(--gold-light);
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
    line-height: 1;
    margin-bottom: 4px;
    display: block;
    animation: goldenFloat 4s ease-in-out infinite;
}

.golden-hero-tag {
    font-family: var(--font-script);
    font-size: clamp(2.2rem, 9vw, 3.4rem);
    color: #fff;
    text-shadow: 0 2px 16px rgba(92, 63, 20, 0.5);
    margin-bottom: 16px;
    line-height: 1.15;
    background: linear-gradient(90deg, #fff 0%, var(--gold-light) 50%, #fff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: goldenShimmer 6s linear infinite;
}

.golden-hero .hero-names {
    flex-direction: column;
    gap: 2px;
}

.golden-hero .hero-name {
    font-family: var(--font-script);
    font-size: clamp(1.9rem, 8vw, 2.8rem);
    color: #fff;
    font-weight: 400;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.golden-hero .hero-scroll-hint span {
    background: linear-gradient(to bottom, var(--gold-light), transparent);
}

/* ── Portrait + floral ── */
.golden-portrait-section {
    background: var(--bg-white);
    padding: 56px 0 48px;
    position: relative;
    overflow: hidden;
}

.golden-portrait-wrap {
    position: relative;
    max-width: 220px;
    margin: 0 auto;
}

.golden-portrait-wrap img {
    width: 100%;
    display: block;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 16px 48px rgba(176, 125, 40, 0.2);
}

.golden-floral {
    position: absolute;
    width: 64px;
    opacity: 0.55;
    filter: sepia(0.4);
    animation: petalDrift 5s ease-in-out infinite;
    pointer-events: none;
}

.golden-floral--left { left: -20px; top: 10%; animation-delay: 0s; }
.golden-floral--right { right: -20px; bottom: 15%; animation-delay: 1.5s; transform: scaleX(-1); }

.golden-portrait-names {
    text-align: center;
    margin-top: 24px;
}

.golden-portrait-names .names {
    font-family: var(--font-script);
    font-size: 1.8rem;
    color: var(--navy);
}

/* ── Couple cards ── */
.golden-couple-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 340px;
    margin: 0 auto;
}

.golden-card {
    text-align: center;
    transition: transform 0.4s ease;
}

.golden-card:hover {
    transform: translateY(-6px);
}

.golden-card-photo-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 10px 28px rgba(107, 78, 26, 0.18);
}

.golden-card-photo {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.golden-card:hover .golden-card-photo {
    transform: scale(1.05);
}

.golden-card-role {
    font-size: 0.6rem;
    letter-spacing: 3px;
    color: var(--text-muted);
    margin-top: 12px;
    text-transform: uppercase;
}

.golden-card-name {
    font-family: var(--font-script);
    font-size: 1.4rem;
    color: var(--gold-dark);
    margin-top: 4px;
}

/* ── Love story ── */
.love-story-section {
    background: linear-gradient(135deg, var(--bg-soft) 0%, #fff8f0 100%);
    padding: 52px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.love-story-text {
    font-family: var(--font-display);
    font-size: 1rem;
    line-height: 2;
    color: var(--text-muted);
    text-align: center;
    max-width: 340px;
    margin: 0 auto;
    font-style: italic;
}

.love-story-text::before,
.love-story-text::after {
    content: '"';
    font-family: var(--font-script);
    font-size: 2rem;
    color: var(--gold);
    opacity: 0.5;
    line-height: 0;
    vertical-align: middle;
}

/* ── Invitation ── */
.golden-template .invitation-section {
    background: var(--bg-white);
}

.golden-invite-couple {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 320px;
    margin: 28px auto;
}

.golden-invite-side {
    text-align: center;
    transition: transform 0.35s ease;
}

.golden-invite-side:hover {
    transform: scale(1.04);
}

.golden-invite-side img {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gold);
    margin-bottom: 10px;
    animation: goldenGlow 3s ease-in-out infinite;
}

.golden-invite-side .role {
    font-size: 0.6rem;
    letter-spacing: 3px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.golden-invite-side .name {
    font-family: var(--font-script);
    font-size: 1.3rem;
    color: var(--navy);
}

.golden-template .invite-guest {
    font-size: 2.4rem;
    color: var(--gold-dark);
}

/* ── Venue + date ── */
.golden-venue-block {
    background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg-white) 100%);
    border-top: 1px solid var(--border-light);
}

.golden-venue-block .event-intro {
    font-size: 0.7rem;
    letter-spacing: 4px;
    color: var(--text-muted);
}

.golden-venue-block .venue-label {
    font-family: var(--font-serif);
    font-size: 1rem;
    color: var(--navy);
    letter-spacing: 2px;
}

.golden-date-strip {
    text-align: center;
    padding: 28px 0 20px;
    margin: 20px auto;
    max-width: 280px;
    border: 1px solid var(--border-light);
    background: rgba(255, 255, 255, 0.7);
    border-radius: 4px;
}

.golden-date-strip .day-name {
    font-size: 0.7rem;
    letter-spacing: 4px;
    color: var(--navy);
    font-weight: 600;
    text-transform: uppercase;
}

.golden-date-strip .date-num {
    font-family: var(--font-serif);
    font-size: 4rem;
    color: var(--sunset-deep);
    line-height: 1;
    margin: 10px 0;
}

.golden-date-strip .date-full {
    font-size: 0.9rem;
    color: var(--gold-dark);
    letter-spacing: 3px;
    font-weight: 600;
}

/* ── Calendar golden ── */
.golden-calendar-section {
    background: var(--bg-white);
    padding: 48px 0;
}

.golden-calendar-section .calendar-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.golden-calendar-section .calendar-month-sub {
    font-family: var(--font-serif);
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    margin: -6px 0 14px;
    letter-spacing: 2px;
    font-style: italic;
}

.golden-template .cal-day.highlight .cal-num {
    background: linear-gradient(135deg, var(--gold-dark), var(--sunset-deep));
    animation: goldenGlow 2.5s ease-in-out infinite;
}

.golden-template .cal-day .heart {
    color: var(--gold-light);
}

/* ── Timeline golden ── */
.golden-template .timeline-section {
    background: var(--bg-soft);
}

.golden-template .timeline-item.is-active .timeline-icon {
    background: var(--gold-dark);
    color: #fff;
    transform: scale(1.1);
}

.golden-template .timeline-icon {
    border-color: var(--gold);
    color: var(--gold-dark);
    transition: transform 0.4s ease, background 0.4s ease;
}

/* ── Dress code ── */
.golden-template .dresscode-section {
    background: var(--bg-white);
}

.golden-template .color-swatches .swatch {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.golden-template .color-swatches .swatch:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.golden-template .swatch-gold { background: #d4c4a8; }
.golden-template .swatch-sunset { background: #e8a87c; }
.golden-template .swatch-white { background: #fff; border: 1px solid var(--border-light); }
.golden-template .swatch-black { background: #2a2018; }

/* ── Guestbook ── */
.golden-template .guestbook-section {
    background: linear-gradient(165deg, #5c3f14 0%, #8b6914 40%, #c97b5a 100%);
}

.golden-template .section-divider span::after {
    color: var(--gold-light);
}

/* ── Countdown golden ── */
.golden-template .countdown-section {
    background: linear-gradient(180deg, var(--bg-soft), var(--bg-white));
}

.golden-template .count-num {
    color: var(--gold-dark);
}

.golden-template .count-sep {
    color: var(--sunset);
}

/* ── Gallery chapter ── */
.golden-chapter-title {
    font-family: var(--font-script);
    font-size: 2.4rem;
    color: var(--navy);
    text-align: center;
    margin-bottom: 0;
}

.golden-chapter-sub {
    font-family: var(--font-serif);
    font-size: 0.7rem;
    letter-spacing: 6px;
    color: var(--gold-dark);
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 20px;
}

/* Golden title hovers */
.golden-template .script-title:hover {
    color: var(--gold-dark);
    text-shadow: 0 4px 22px rgba(212, 168, 83, 0.28);
}

.golden-template .script-title.light:hover {
    color: #fff;
    text-shadow: 0 4px 28px rgba(255, 230, 200, 0.45);
}

.golden-template .invite-label:hover,
.golden-template .invite-sub:hover,
.golden-template .event-intro:hover,
.golden-template .timeline-title:hover,
.golden-template .venue-label:hover {
    color: var(--gold-dark);
}

.golden-template .hero-name:hover {
    text-shadow: 0 6px 28px rgba(92, 63, 20, 0.45);
}

.golden-template .invite-guest:hover {
    color: var(--sunset-deep);
}

.golden-chapter-title:hover {
    color: var(--sunset-deep);
}

.golden-template .gallery-item:hover {
    box-shadow: 0 12px 32px rgba(176, 125, 40, 0.25);
}

/* ── Buttons & footer ── */
.golden-template .btn-navy,
.golden-template .float-btn {
    background: linear-gradient(135deg, var(--gold-dark), var(--sunset-deep));
}

.golden-template .btn-navy:hover,
.golden-template .float-btn:hover {
    background: linear-gradient(135deg, var(--navy-dark), var(--gold-dark));
}

.golden-template .btn-outline {
    border-color: var(--gold-dark);
    color: var(--gold-dark);
}

.golden-template .btn-outline:hover {
    background: var(--gold-dark);
    color: #fff;
}

.golden-template .footer-bar {
    background: rgba(255, 250, 245, 0.97);
}

.golden-template .footer-brand-row {
    border-bottom-color: var(--gold-dark);
}

.golden-pulse-once {
    animation: goldenGlow 0.6s ease;
}

@media (max-width: 380px) {
    .golden-couple-cards { gap: 12px; }
    .golden-date-strip .date-num { font-size: 3.2rem; }
}
