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

body {
    font-family: 'Georgia', serif;
    line-height: 1.6;
    color: #333;
}

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

/* Header and Navigation */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(139, 115, 85, 0.4), rgba(139, 115, 85, 0.4)), 
                url('../images/Opening.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
}

.navbar {
    position: absolute;
    top: 30px;
    width: 100%;
}

.navbar ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.navbar a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 25px;
    transition: background-color 0.3s ease;
}

.navbar a:hover {
    background-color: rgba(255,255,255,0.2);
}

.hero-content {
    text-align: center;
}

.couple-names {
    font-family: 'Bodoni MT', serif;
    font-size: 4rem;
    font-weight: 300;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.wedding-date {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-style: italic;
}

.wedding-location {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.cta-button, .rsvp-button {
    display: inline-block;
    background-color: #8B7355;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button:hover, .rsvp-button:hover {
    background-color: #6B5635;
    transform: translateY(-2px);
}

/* Sections */
section {
    padding: 80px 0;
}

.story-section {
    background-color: #faf8f3;
}

.story-section h2,
.details-section h2,
.gallery-section h2,
.rsvp-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #8B7355;
}

.story-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: center;
}

.story-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.story-text p {
    margin-bottom: 20px;
}

.story-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Details Section */
.details-section {
    background-color: #ffffff;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    justify-content: center;
}

.transport-card {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 400px;
    width: 100%;
}

.detail-card {
    background-color: #e0dbd1;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.detail-card h3 {
    color: #8B7355;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.detail-card p {
    margin-bottom: 10px;
}

/* Special styling for ceilidh card to span two columns */
.ceilidh-card {
    grid-column: span 2;
}

/* Banner Section */
.banner-section {
    padding: 0;
    background-color: white;
}

.banner-image {
    width: 100%;
    height: 1100px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Additional Info Section */
.additional-info-section {
    background-color: #faf8f3;
    padding: 80px 0;
}

.additional-info-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #8B7355;
}

/* Gallery Section */
.gallery-section {
    background-color: #f0ebe5; /* Theme matching color */
    text-align: center;
}

.gallery-section h2 {
    color: #8B7355; /* Theme matching color */
}

.gallery-link {
    color: #8B7355;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    border: 2px solid #8B7355;
    padding: 15px 30px;
    border-radius: 50px;
    display: inline-block;
    transition: all 0.3s ease;
}

.gallery-link:hover {
    background-color: #8B7355;
    color: white;
}

/* RSVP Section */
.rsvp-section {
    background-color: #8B7355; /* Theme matching color */
    color: white;
    text-align: center;
}

.rsvp-section h2 {
    color: white;
}

.rsvp-section p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.rsvp-button {
    background-color: white;
    color: #8B7355;
}

.rsvp-button:hover {
    background-color: #f0f0f0;
    color: #6B5635;
}

.accommodation-actions {
    margin-top: 1.5rem;
}

.download-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: #8B7355;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.download-button:hover {
    background-color: #6B5635;
    color: white;
}

/* Footer */
.footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 30px 0;
}

.footer a {
    color: #8B7355;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .couple-names {
        font-size: 2.5rem;
    }

    .navbar ul {
        flex-direction: column;
        gap: 10px;
    }

    .story-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .details-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 0 20px;
    }
}
