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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #2c3e50;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 50px 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

header h1 {
    font-size: 42px;
    margin: 0;
    color: white;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

header .subtitle {
    font-size: 18px;
    margin: 0;
    font-weight: 300;
    opacity: 0.9;
    letter-spacing: 1px;
}

nav {
    margin: 20px 0 0 0;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    margin: 0 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: inline-block;
    font-weight: 500;
}

nav a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.container {
    width: 85%;
    margin: auto;
    overflow: hidden;
}

main {
    flex: 1;
    max-width: 1000px;
    margin: 40px auto;
    width: 90%;
}

main > h1 {
    font-size: 42px;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 300;
    letter-spacing: 1px;
}

main > p {
    text-align: center;
    font-size: 18px;
    color: #555;
    margin-bottom: 50px;
    line-height: 1.8;
}

h1, h2, h3 {
    color: #2c3e50;
}

section {
    background: white;
    padding: 35px;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

section:hover {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

section h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #2c3e50;
    border-bottom: 3px solid #3498db;
    padding-bottom: 10px;
}

section p {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

section a {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

section a:hover {
    color: #2980b9;
    border-bottom-color: #3498db;
}

footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    text-align: center;
    padding: 40px 20px;
    margin-top: auto;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
}

footer p {
    margin: 8px 0;
    font-size: 15px;
    opacity: 0.9;
}

.welcome-text {
    text-align: center;
    font-size: 18px;
    color: #555;
    margin-bottom: 40px;
    line-height: 1.8;
}

footer p {
    margin: 5px 0;
}

.guestbook {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.funeral-details {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    margin-top: 20px;
}

/* Music Section Styles */
.music-section {
    background: linear-gradient(135deg, #1DB954 0%, #1ed760 100%);
    color: white;
    padding: 40px 20px;
    border-radius: 10px;
    margin-top: 30px;
}

.music-section h2 {
    color: white;
    font-size: 28px;
    margin-bottom: 15px;
}

.music-section p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 16px;
    margin-bottom: 25px;
}

.spotify-embed {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.spotify-embed iframe {
    max-width: 100%;
    width: 100%;
}

.spotify-link {
    display: inline-block;
    background: white;
    color: #1DB954;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
}

.spotify-link:hover {
    background: #1DB954;
    color: white;
    transform: scale(1.05);
}

/* Map Container Styles */
.map-container {
    margin: 25px 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 400px;
}

/* RSVP Section Styles */
.rsvp-section {
    background: white;
    padding: 35px;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.rsvp-section h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #2c3e50;
    border-bottom: 3px solid #e74c3c;
    padding-bottom: 10px;
}

.rsvp-section p {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 25px;
}

.rsvp-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #2c3e50;
    font-size: 15px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #ecf0f1;
    border-radius: 5px;
    font-family: inherit;
    font-size: 15px;
    transition: all 0.3s ease;
    color: #333;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    background-color: #f8fbff;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #bdc3c7;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

.submit-btn {
    padding: 14px 30px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #2980b9 0%, #1f618d 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(52, 152, 219, 0.3);
}

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

.form-note {
    font-size: 14px;
    color: #7f8c8d;
    margin-top: 15px;
}

/* Memorial Gift Section Styles */
.memorial-gift-section {
    background: white;
    padding: 35px;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.memorial-gift-section h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #2c3e50;
    border-bottom: 3px solid #e67e22;
    padding-bottom: 10px;
}

.memorial-gift-section p {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

.memorial-gift-link {
    display: inline-block;
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: none;
}

.memorial-gift-link:hover {
    background: linear-gradient(135deg, #d35400 0%, #ba4a00 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(230, 126, 34, 0.3);
}