/* Global Image Rule */
img {
    max-width: 100%;
    height: auto;
}

/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fdf8f6;
    color: #333;
    text-align: center;
}

/* Container for Content */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
header {
    background: linear-gradient(to right, #66bb6a, #43a047);
    padding: 20px;
    color: white;
}

h1 {
    font-size: 2.5em;
    margin: 5px 0;
}

p {
    font-size: 1.2em;
}

/* Hero Section */
.hero {
    width: 100%;
    height: 30vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: url('your-hero-image.jpg') center/cover no-repeat;
}

.hero-overlay {
    position: relative;
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.hero-text {
    position: absolute;
    bottom: 20px;
    background: rgba(255, 255, 255, 0.85);
    padding: 15px;
    border-radius: 8px;
    font-size: 0.6em;
    font-weight: 600;
}

/* Open Sections (Ceremony & RSVP) */
.container section {
    background: white;
    margin: 40px auto;
    padding: 30px;
    width: 90%;
    max-width: 700px;
    border-radius: 12px;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease-in-out;
}

.container section:hover {
    transform: scale(1.02);
}

/* Headings */
h2 {
    color: #2e7d32;
    font-size: 2em;
    text-transform: uppercase;
}

/* Accommodation Lists and Similar Collapsible Sections */
.accommodation h3 {
    margin-top: 20px;
}

.accommodation ul,
.additional-info ul,
.quiet-room ul,
.gift-registry ul {
    list-style: none;
    padding: 0;
}

/* Collapsible Details Styles */
details.collapsible {
    background: white;
    margin: 40px auto;
    width: 90%;
    max-width: 700px;
    border-radius: 12px;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease-in-out;
    padding: 0;
}

details.collapsible summary {
    list-style: none;
    cursor: pointer;
    padding: 30px;
    font-size: 2em;
    color: #2e7d32;
    text-transform: uppercase;
    outline: none;
}

.collapsible-content {
    padding: 0 30px 30px 30px;
    text-align: left;
}

/* Collapsible List Items Styling */
details.collapsible li {
    background: #e0f2f1;
    padding: 10px;
    margin: 6px 0;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.15);
}

/* Map Section */
.map-image {
    display: block;
    margin: 10px auto 0;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.2);
}

@media (max-width: 600px) {
    .map-image {
      max-width: 400px;
    }
}

/* RSVP iframe */
iframe {
    border-radius: 12px;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.15);
}

/* Footer */
footer {
    margin-top: 30px;
    padding: 20px;
    background: linear-gradient(to right, #66bb6a, #43a047);
    color: white;
    font-size: 1.1em;
}
