/* Mobile First Responsive Design */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    color: white;
    overflow-x: hidden;
}

.hero {
    position: relative;
    min-height: 100vh;
    background-image: url('images/bg.jpg'); /* Ganti dengan nama file gambar background */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect if possible */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    padding-top: 90px; /* Extra space for fixed header on mobile */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 90%;
    margin: 0 auto;
}

/* Ribbon Header */
.ribbon-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(90deg, #8B4513, #DAA520);
    color: white;
    padding: 15px 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 2px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.left-text {
    font-size: 1.1rem;
}

.right-text {
    font-size: 1.1rem;
}

/* Typography */
.main-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    line-height: 1.1;
}

.invitation {
    font-size: 1.3rem;
    margin: 25px 0;
    font-style: italic;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.event-details {
    margin: 30px 0;
    font-size: 1.2rem;
}

.event-details p {
    margin: 8px 0;
}

/* Countdown */
.countdown {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin: 30px 0;
}

.countdown-item {
    background: rgba(0, 0, 0, 0.6);
    padding: 15px 18px;
    border-radius: 12px;
    min-width: 80px;
    text-align: center;
    border: 2px solid #ffd700;
}

.countdown-number {
    font-size: 2.2rem;
    font-weight: bold;
    display: block;
}

.countdown-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* Buttons */
.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.btn-primary, .btn-secondary {
    padding: 14px 32px;
    font-size: 1.1rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-weight: bold;
}

.btn-primary {
    background: #ffd700;
    color: #8B4513;
}

.btn-primary:hover {
    background: #ffed8a;
    transform: translateY(-3px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Tablet & Larger Mobile */
@media (min-width: 480px) {
    .main-title {
        font-size: 2.8rem;
    }
}

/* Desktop Styles */
@media (min-width: 768px) {
    .hero {
        min-height: 100vh;
        padding-top: 70px; /* Less padding on desktop */
    }
    
    .main-title {
        font-size: 4.5rem;
    }
    
    .invitation {
        font-size: 1.6rem;
    }
    
    .countdown-item {
        min-width: 110px;
        padding: 20px 25px;
    }
    
    .countdown-number {
        font-size: 3rem;
    }
    
    /* Prevent scrolling on desktop */
    html, body {
        overflow: hidden;
        height: 100%;
    }
}

@media (min-width: 1024px) {
    .header-content {
        padding: 0 40px;
    }
    
    .left-text, .right-text {
        font-size: 1.4rem;
    }
}