/* css/style.css */
:root {
    /* Color Palette - Rose Gold, Soft Pink, White */
    --primary-color: #d4a59a; /* Rose Gold */
    --secondary-color: #f3e5e4; /* Light Pink */
    --accent-color: #b76e79; /* Deep Rose */
    --text-color: #4a4a4a;
    --white: #ffffff;
    --bg-overlay: rgba(0, 0, 0, 0.4);

    /* Typography */
    --font-heading: 'Great Vibes', cursive;
    --font-body: 'Montserrat', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Utilities */
.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--secondary-color);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    margin: 10px 5px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-weight: 600;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Typography */
h1, h2, h3 {
    text-align: center;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 2rem;
}

/* Music Control */
.music-control {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    cursor: pointer;
    color: var(--accent-color);
    animation: pulse 2s infinite;
}

/* Navbar */
.navbar {
    position: absolute;
    top: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 100;
    text-align: center;
}

.nav-links {
    list-style: none;
}

.nav-links li {
    display: inline-block;
    margin: 0 15px;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Hero Section */
.hero {
    height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-overlay);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
}

.title-font {
    font-family: var(--font-heading);
    font-size: 5rem;
    margin: 10px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.sub-title {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 1rem;
}

.date-text {
    font-size: 1.5rem;
    margin-top: 20px;
}

.divider {
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 10px 0;
}

.line {
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

/* Countdown */
.countdown-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.time-box {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    padding: 15px;
    border-radius: 10px;
    min-width: 80px;
    border: 1px solid rgba(255,255,255,0.3);
}

.time-box span {
    display: block;
    font-size: 2rem;
    font-weight: bold;
}

/* Details Grid */
.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
    margin-bottom: 40px;
}

.detail-card {
    padding: 30px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.icon-gold {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: 0;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.map-actions {
    text-align: center;
    margin-top: 20px;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 800px;
    max-height: 80vh;
    object-fit: contain;
    animation: zoom 0.6s;
}

.close-lightbox {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* RSVP Form */
.rsvp-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

.form-group input:focus {
    outline: 2px solid var(--primary-color);
}

/* Footer */
footer {
    background: #333;
    color: #aaa;
    text-align: center;
    padding: 20px;
}

/* Animations */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}

/* Media Queries */
@media (max-width: 768px) {
    .title-font { font-size: 3.5rem; }
    .countdown-container { gap: 10px; }
    .time-box { min-width: 60px; padding: 10px; }
    .time-box span { font-size: 1.5rem; }
}
