/* ===================================
   JUGENDWEIHE EINLADUNG - ELEGANTES DESIGN
   =================================== */

:root {
    --color-primary: #1a1a2e;
    --color-secondary: #16213e;
    --color-accent: #d4af37;
    --color-accent-light: #f4e4c1;
    --color-text: #e8e8e8;
    --color-text-secondary: #b0b0b0;
    --color-background: #0f0f1e;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-background);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: 80px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20px;
    animation: fadeInUp 1s ease-out;
}

.hero-ornament {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    margin: 0 auto 12px;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.hero-ornament.bottom {
    margin: 12px auto 40px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 700;
    color: #e8c068;
    margin-bottom: 10px;
    letter-spacing: 2px;
    text-shadow: 0 0 40px rgba(232, 192, 104, 0.6),
                 0 0 20px rgba(212, 175, 55, 0.8);
}

.hero-subtitle {
    font-size: clamp(0.85rem, 2vw, 1.1rem);
    color: #f4e4c1;
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 8px;
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(244, 228, 193, 0.4);
}

.hero-date {
    font-family: var(--font-serif);
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: #e8c068;
    font-weight: 400;
    text-shadow: 0 0 25px rgba(232, 192, 104, 0.5);
}

.hero-image {
    margin: 50px auto 0;
    animation: fadeInUp 1.2s ease-out 0.3s backwards;
}

.portrait {
    width: 330px !important;
    height: 330px !important;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #e8c068;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6),
                0 0 0 12px rgba(232, 192, 104, 0.15),
                0 0 50px rgba(232, 192, 104, 0.4);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--color-accent);
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: var(--color-accent);
    margin: 10px auto 0;
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--color-accent);
    border-bottom: 2px solid var(--color-accent);
    transform: translateX(-50%) rotate(45deg);
}

/* ===================================
   SECTIONS
   =================================== */

section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 0;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-header {
    text-align: center;
    margin-bottom: 15px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.3rem, 3.5vw, 1.8rem);
    color: #e8c068;
    font-weight: 600;
    margin-bottom: 6px;
    text-shadow: 0 0 30px rgba(232, 192, 104, 0.4);
}

.title-underline {
    width: 70px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #e8c068, transparent);
    margin: 0 auto;
    box-shadow: 0 0 15px rgba(232, 192, 104, 0.6);
}

.section-subtitle {
    color: var(--color-text-secondary);
    font-size: 0.75rem;
    margin-top: 8px;
    font-weight: 300;
}

/* ===================================
   PERSONAL SECTION
   =================================== */

.personal-section {
    background: var(--color-primary);
}

.personal-content {
    max-width: 800px;
    margin: 0 auto;
}

.personal-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--color-text);
    margin-bottom: 10px;
    text-align: center;
    font-weight: 300;
}

/* ===================================
   DETAILS SECTION
   =================================== */

.details-section {
    background: var(--color-secondary);
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 12px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.detail-card {
    background: var(--color-primary);
    padding: 12px 10px;
    border-radius: 6px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(232, 192, 104, 0.2);
}

.detail-card:hover {
    transform: translateY(-2px);
    border-color: #e8c068;
    box-shadow: 0 6px 20px rgba(232, 192, 104, 0.25);
    background: rgba(232, 192, 104, 0.03);
}

.detail-icon {
    color: #e8c068;
    margin-bottom: 6px;
    filter: drop-shadow(0 0 6px rgba(232, 192, 104, 0.6));
}

.detail-icon svg {
    width: 26px;
    height: 26px;
}

.detail-title {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    color: #e8c068;
    margin-bottom: 5px;
    font-weight: 600;
    text-shadow: 0 0 12px rgba(232, 192, 104, 0.3);
}

.detail-info {
    font-size: 0.8rem;
    color: var(--color-text);
    margin-bottom: 2px;
}

.detail-subinfo {
    font-size: 0.7rem;
    color: var(--color-text-secondary);
}

/* ===================================
   SCHEDULE SECTION
   =================================== */

.schedule-section {
    background: var(--color-primary);
}

.timeline {
    max-width: 550px;
    margin: 0 auto;
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #e8c068, rgba(232, 192, 104, 0.2));
    box-shadow: 0 0 10px rgba(232, 192, 104, 0.5);
}

.timeline-item {
    position: relative;
    margin-bottom: 12px;
    padding-left: 35px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 3px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e8c068;
    border: 2px solid var(--color-primary);
    box-shadow: 0 0 0 2px rgba(232, 192, 104, 0.3),
                0 0 10px rgba(232, 192, 104, 0.6);
}

.timeline-time {
    font-family: var(--font-serif);
    font-size: 1rem;
    color: #e8c068;
    font-weight: 600;
    margin-bottom: 3px;
    text-shadow: 0 0 15px rgba(232, 192, 104, 0.4);
}

.timeline-content h4 {
    font-size: 0.9rem;
    color: var(--color-text);
    margin-bottom: 2px;
}

.timeline-content p {
    color: var(--color-text-secondary);
    font-size: 0.75rem;
}

/* ===================================
   RSVP SECTION
   =================================== */

.rsvp-section {
    background: var(--color-secondary);
}

.rsvp-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--color-primary);
    padding: 15px 18px;
    border-radius: 8px;
    border: 1px solid rgba(232, 192, 104, 0.25);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

label {
    font-size: 0.7rem;
    color: #e8c068;
    margin-bottom: 3px;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-shadow: 0 0 8px rgba(232, 192, 104, 0.2);
}

.radio-label-main {
    font-size: 0.7rem;
    color: #e8c068;
    margin-bottom: 5px;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-shadow: 0 0 8px rgba(232, 192, 104, 0.2);
}

input[type="text"],
select,
textarea {
    width: 100%;
    padding: 6px 8px;
    background: var(--color-secondary);
    border: 1px solid rgba(232, 192, 104, 0.25);
    border-radius: 5px;
    color: var(--color-text);
    font-size: 0.75rem;
    font-family: var(--font-sans);
    transition: var(--transition);
}

input[type="text"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #e8c068;
    box-shadow: 0 0 0 2px rgba(232, 192, 104, 0.12),
                0 0 12px rgba(232, 192, 104, 0.2);
}

textarea {
    resize: vertical;
    min-height: 45px;
}

select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23e8c068' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 45px;
}

/* Radio Buttons */
.radio-group {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.radio-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    padding: 4px 8px;
    background: var(--color-secondary);
    border: 1px solid rgba(232, 192, 104, 0.25);
    border-radius: 4px;
    transition: var(--transition);
    flex: 1;
    min-width: 100px;
}

.radio-option:hover {
    border-color: #e8c068;
    background: rgba(232, 192, 104, 0.08);
    box-shadow: 0 0 10px rgba(232, 192, 104, 0.15);
}

.radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-custom {
    width: 12px;
    height: 12px;
    border: 2px solid #e8c068;
    border-radius: 50%;
    margin-right: 6px;
    position: relative;
    flex-shrink: 0;
    transition: var(--transition);
    box-shadow: 0 0 6px rgba(232, 192, 104, 0.3);
}

.radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #e8c068;
    transition: transform 0.2s ease;
    box-shadow: 0 0 5px rgba(232, 192, 104, 0.6);
}

.radio-option input[type="radio"]:checked ~ .radio-custom::after {
    transform: translate(-50%, -50%) scale(1);
}

.radio-text {
    color: var(--color-text);
    font-size: 0.7rem;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 8px 20px;
    background: linear-gradient(135deg, #e8c068 0%, #d4af37 100%);
    color: var(--color-primary);
    border: none;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: var(--font-sans);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-top: 5px;
    box-shadow: 0 4px 18px rgba(232, 192, 104, 0.4);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(232, 192, 104, 0.6);
    background: linear-gradient(135deg, #f0d080 0%, #e8c068 100%);
}

.submit-btn:active {
    transform: translateY(0);
}

.btn-text {
    position: relative;
    z-index: 2;
}

.btn-shine {
    position: absolute;
    top: -50%;
    left: -100%;
    width: 100%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-25deg);
    transition: left 0.6s ease;
}

.submit-btn:hover .btn-shine {
    left: 200%;
}

/* ===================================
   FOOTER
   =================================== */

.footer {
    background: var(--color-primary);
    padding: 35px 0;
    text-align: center;
}

.footer-text {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: #e8c068;
    margin-bottom: 18px;
    text-shadow: 0 0 15px rgba(232, 192, 104, 0.3);
}

.footer-ornament {
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #e8c068, transparent);
    margin: 0 auto;
    box-shadow: 0 0 10px rgba(232, 192, 104, 0.5);
}

/* ===================================
   STICKY MUSIC PLAYER
   =================================== */

.music-player {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 75px;
    height: 75px;
    z-index: 1000;
}

.player-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.player-top {
    width: 100%;
    height: 100%;
}

.player-btn {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e8c068 0%, #d4af37 50%, #c49c2d 100%);
    border: 3px solid rgba(232, 192, 104, 0.4);
    color: var(--color-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 8px 30px rgba(232, 192, 104, 0.7),
                inset 0 3px 10px rgba(255, 255, 255, 0.3);
    position: relative;
}

.player-btn::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg, transparent, rgba(232, 192, 104, 0.4));
    opacity: 0;
    transition: opacity 0.3s;
}

.player-btn:hover::before {
    opacity: 1;
}

.player-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(232, 192, 104, 0.9),
                inset 0 4px 12px rgba(255, 255, 255, 0.4);
    border-color: #e8c068;
}

.player-btn:active {
    transform: scale(1.05);
}

.player-info,
.progress-bar,
.time-display,
.player-volume {
    display: none;
}

/* ===================================
   PAGE NAVIGATION DOTS
   =================================== */

.page-nav {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.page-nav::before {
    content: '';
    position: absolute;
    right: 8px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, 
        transparent 0%, 
        rgba(232, 192, 104, 0.3) 20%, 
        rgba(232, 192, 104, 0.5) 50%, 
        rgba(232, 192, 104, 0.3) 80%, 
        transparent 100%);
    z-index: -1;
}

.nav-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid rgba(232, 192, 104, 0.4);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    padding: 0;
}

.nav-dot::before {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: #e8c068;
    opacity: 0;
    transform: scale(0);
    transition: var(--transition);
    box-shadow: 0 0 10px rgba(232, 192, 104, 0.8);
}

.nav-dot:hover {
    border-color: #e8c068;
    box-shadow: 0 0 15px rgba(232, 192, 104, 0.5);
    transform: scale(1.2);
}

.nav-dot.active {
    border-color: #e8c068;
    box-shadow: 0 0 20px rgba(232, 192, 104, 0.6);
}

.nav-dot.active::before {
    opacity: 1;
    transform: scale(1);
}

/* Mobile Hide */
@media (max-width: 768px) {
    .page-nav {
        right: 15px;
        gap: 15px;
    }
    
    .nav-dot {
        width: 14px;
        height: 14px;
    }
}

/* ===================================
   ANIMATIONS
   =================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* ===================================
   RESPONSIVE
   =================================== */

@media (max-width: 768px) {
    .portrait {
        width: 220px !important;
        height: 220px !important;
    }
    
    section {
        min-height: 100vh;
        padding: 25px 0;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
    }
    
    .rsvp-form {
        padding: 20px 15px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .radio-group {
        flex-direction: column;
    }
    
    .radio-option {
        min-width: auto;
    }
    
    .timeline {
        padding-left: 25px;
    }
    
    .timeline::before {
        left: 8px;
    }
    
    .timeline-item {
        padding-left: 25px;
        margin-bottom: 15px;
    }
    
    .timeline-item::before {
        left: -23px;
    }
    
    .player-container {
        gap: 10px;
    }
    
    .player-volume {
        display: none;
    }
}

@media (max-width: 480px) {
    section {
        min-height: 100vh;
        padding: 20px 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .portrait {
        width: 200px !important;
        height: 200px !important;
    }
    
    .time-display {
        flex-direction: column;
        gap: 2px;
        font-size: 0.65rem;
    }
    
    .player-btn {
        width: 40px;
        height: 40px;
    }
    
    .page-nav {
        right: 10px;
        gap: 12px;
    }
    
    .nav-dot {
        width: 12px;
        height: 12px;
    }
}
/* MUSIK BUTTON */
.music-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: none;
    background: transparent;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 0;
}

.music-btn:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.music-btn:active {
    transform: scale(0.95);
}

.music-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.music-btn.playing {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@media (max-width: 768px) {
    .music-btn {
        width: 60px;
        height: 60px;
        bottom: 20px;
        right: 20px;
    }
}
