/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Agbalumo&family=Syne:wght@400;500;600;700&display=swap');

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Syne', sans-serif;
    line-height: 1.8;
    color: #4b5022;
    background-color: #fffef8;
    overflow-x: hidden;
    position: relative;
}

img {
    max-width: 100%;
    height: auto;
}

h1 {
    font-family: 'Agbalumo', cursive;
    margin-bottom: 1.5rem;
    font-weight: normal;
}

h2, h3, h4, h5, h6 {
    font-family: 'Syne', sans-serif;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

p {
    font-family: 'Syne', sans-serif;
}

a {
    color: #4b5022;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #4b5022;
    text-decoration: underline;
}

/* Navigation */
.navbar {
    background-color: #fffef8;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.nav-logo a {
    font-size: 1.3rem;
    font-weight: normal;
    text-decoration: none;
    color: #4b5022;
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #4b5022;
    font-weight: 300;
    transition: color 0.3s ease;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-menu a:hover {
    color: #4b5022;
}

.language-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lang-link {
    text-decoration: none;
    color: #4b5022;
    font-weight: 300;
    padding: 0.25rem 0.5rem;
    transition: color 0.3s ease;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lang-link:hover {
    color: #4b5022;
}

/* Main content */
main {
    margin-top: 0;
    min-height: calc(100vh - 160px);
    padding: 0;
}

/* Hero Top Section */
.hero-top {
    background-color: #fffef8;
    padding: 6rem 0 4rem;
    text-align: center;
    margin-top: 80px;
    position: relative;
}


.hero-top h1 {
    font-family: 'Agbalumo', cursive;
    font-size: 5rem;
    margin-bottom: 2rem;
    color: #4b5022;
    font-weight: normal;
    line-height: 1.2;
}

.hero-date {
    font-size: 1.5rem;
    color: #4b5022;
    font-family: 'Syne', sans-serif;
}

/* Hero Image Section */
.hero-image {
    position: relative;
    min-height: 42vh;
    background-image: url('/static/images/miaflores.jpg');
    background-size: cover;
    background-position: bottom;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 4rem;
    margin-bottom: 0;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.7);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600'%3E%3Cfilter id='a'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23a)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 120px;
    background-blend-mode: screen;
    opacity: 0.4;
    z-index: 1;
}

.hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.hero-messages {
    position: relative;
    z-index: 3;
    max-width: 600px;
}

.hero-messages h2 {
    font-family: 'Agbalumo', cursive;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #fffef8;
    font-weight: normal;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.hero-messages h2:last-child {
    margin-bottom: 0;
}


/* Wedding Section */
.wedding-section {
    margin-bottom: 1rem;
    padding: 4rem 0;
}

.wedding-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
    min-height: 400px;
}

.wedding-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.wedding-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.wedding-map {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    min-height: 400px;
}

.wedding-map iframe {
    border-radius: 8px;
}

.wedding-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    text-align: right;
}

.wedding-title {
    font-family: 'Agbalumo', cursive;
    font-size: 3rem;
    color: #4b5022;
    margin-bottom: 1rem;
    font-weight: normal;
    line-height: 1.2;
}

.wedding-date {
    font-family: 'Syne', sans-serif;
    font-size: 1.5rem;
    color: #4b5022;
    margin-bottom: 2rem;
}

.venue-info {
    margin-bottom: 2rem;
}

.venue-name {
    font-family: 'Agbalumo', cursive;
    font-size: 2rem;
    color: #4b5022;
    margin-bottom: 1rem;
    font-weight: normal;
    line-height: 1.3;
}

.venue-address {
    font-family: 'Syne', sans-serif;
    color: #4b5022;
    line-height: 1.6;
    margin-bottom: 0;
}

.wedding-schedule {
    font-family: 'Syne', sans-serif;
}

.schedule-item {
    color: #4b5022;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.schedule-item:last-child {
    margin-bottom: 0;
}

.schedule-item strong {
    font-weight: 600;
}

.section-title {
    font-family: 'Agbalumo', cursive;
    font-size: 4rem;
    margin-bottom: 3rem;
    text-align: center;
    color: #4b5022;
    font-weight: normal;
    line-height: 1.2;
}

/* Photo Gallery */
.photo-gallery {
    background-color: #4b5022;
    padding: 4rem 0;
    margin: 4rem 0;
}

@media (min-width: 769px) {
    .photo-gallery {
        width: 100vw;
        margin-left: calc(-50vw + 50%);
    }
}

.gallery-title {
    font-family: 'Agbalumo', cursive;
    font-size: 3rem;
    color: white;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: normal;
    line-height: 1.2;
}

.gallery-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 2rem;
}

.gallery-image {
    max-width: 100%;
    height: auto;
    display: block;
}

.strikethrough {
    text-decoration: line-through;
}

/* FAQ Section */
.faq-section {
    background-color: #fffef8;
    padding: 4rem 0;
}

.faq-grid {
    max-width: 900px;
    margin: 4rem auto 0;
}

.faq-item {
    margin-bottom: 1rem;
    padding: 0.5rem 0;
}

.faq-item h3 {
    font-family: 'Agbalumo', cursive;
    color: #4b5022;
    margin-bottom: 0.75rem;
    font-size: 2rem;
    font-weight: normal;
    line-height: 1.3;
}

.faq-item p {
    margin-bottom: 0.75rem;
    color: #4b5022;
    line-height: 1.6;
    font-size: 1.3rem;
}

.faq-item p:last-child {
    margin-bottom: 0;
}

.faq-item a {
    color: #4b5022;
    text-decoration: underline;
}

.faq-item a:hover {
    color: #4b5022;
}

/* Contact Section */
.contact {
    text-align: center;
    margin-top: 6rem;
    padding: 4rem 0;
    background-color: #4b5022;
}

@media (min-width: 769px) {
    .contact {
        width: 100vw;
        margin-left: calc(-50vw + 50%);
    }
}

.contact p {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    color: white;
    line-height: 1.6;
}

.contact p:first-of-type {
    font-family: 'Agbalumo', cursive;
    font-size: 3rem;
    color: white;
    font-weight: normal;
    margin-bottom: 2rem;
}


/* Responsive design */
@media (max-width: 768px) {
    .nav-container {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .hero-top {
        margin-top: 120px;
        padding: 4rem 0 2rem;
    }

    .hero-top h1 {
        font-size: 3rem;
    }

    .hero-image {
        padding: 1rem;
        min-height: 30vh;
    }

    .hero-messages h2 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .wedding-section {
        padding: 2rem 0;
    }

    .wedding-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        min-height: auto;
    }

    .wedding-image {
        min-height: 250px;
    }

    .wedding-map {
        min-height: 300px;
    }

    .wedding-details {
        text-align: center;
        padding: 1.5rem;
    }

    .wedding-title {
        font-size: 2.5rem;
    }

    .wedding-date {
        font-size: 1.3rem;
    }

    .venue-name {
        font-size: 1.8rem;
    }

    .gallery-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .photo-gallery {
        padding: 2rem 0;
        margin: 2rem 0;
    }

    .contact {
        padding: 2rem 0;
        margin-top: 2rem;
    }

    .contact p:first-of-type {
        font-size: 2rem;
    }

    .contact p {
        font-size: 1.1rem;
    }

    .page-header {
        padding: 4rem 0 2rem;
        margin-top: 120px;
    }

    .page-title {
        font-size: 2.5rem;
    }

    .page-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .hotels-section {
        padding: 2rem 0;
    }

    .hotels-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hotel-card {
        margin: 0 1rem;
    }

    .hotel-name {
        font-size: 1.3rem;
    }

    .hotel-details {
        flex-direction: column;
        gap: 0.75rem;
    }

    .venue-card .hotel-name {
        font-size: 1.4rem;
    }

    .venue-notes {
        padding: 0.75rem;
    }

    .venue-notes p {
        font-size: 0.95rem;
    }

    .restaurants-section {
        padding: 2rem 0;
    }

    .restaurants-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .restaurant-card {
        margin: 0 1rem;
    }

    .restaurant-name {
        font-size: 1.3rem;
    }

    .restaurant-description p {
        font-size: 0.9rem;
    }

    .places-section {
        padding: 2rem 0;
    }

    .places-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .place-card {
        margin: 0 1rem;
    }

    .place-name {
        font-size: 1.3rem;
    }

    .place-description p {
        font-size: 0.9rem;
    }

    .registry-section {
        padding: 2rem 0;
    }

    .registry-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 1.5rem;
    }

    .registry-card {
        margin: 0 1rem;
        padding: 1.5rem 1rem;
    }

    .registry-name {
        font-size: 1.5rem;
    }

    .payment-logo {
        width: 60px;
        height: 60px;
    }

    .payment-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .registry-username,
    .registry-account,
    .registry-routing {
        font-size: 1rem;
    }

    .registry-description {
        font-size: 0.85rem;
    }

    .action-button {
        font-size: 0.8rem;
        padding: 0.6rem 1.2rem;
    }

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

/* Utility classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
}

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

.mb-2 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #0056b3;
}

/* Page Header */
.page-header {
    background-color: #4b5022;
    padding: 6rem 0 4rem;
    text-align: center;
    margin-top: 0;
    padding-top: calc(6rem + 80px);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.page-title {
    font-family: 'Agbalumo', cursive;
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: #fffef8;
    font-weight: normal;
    line-height: 1.2;
}

.page-subtitle {
    font-family: 'Syne', sans-serif;
    font-size: 1.2rem;
    color: #fffef8;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Hotels Section */
.hotels-section {
    padding: 4rem 0;
    background-color: #fffef8;
}

.hotels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.hotel-card {
    background: #fffef8;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hotel-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.hotel-image {
    height: 200px;
    background-color: #e9ecef;
    position: relative;
    overflow: hidden;
}

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

.image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: linear-gradient(135deg, #4b5022 0%, #6b7030 100%);
    color: white;
    font-family: 'Syne', sans-serif;
    font-size: 1rem;
    font-weight: 500;
}

.hotel-content {
    padding: 1.5rem;
}

.hotel-name {
    font-family: 'Agbalumo', cursive;
    font-size: 1.5rem;
    color: #4b5022;
    margin-bottom: 0.75rem;
    font-weight: normal;
    line-height: 1.3;
}

.hotel-rating {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.star-rating {
    font-size: 1.1rem;
    line-height: 1;
}

.rating-number {
    font-family: 'Syne', sans-serif;
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
}

.hotel-address {
    font-family: 'Syne', sans-serif;
    font-size: 0.95rem;
    color: #4b5022;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.hotel-details {
    border-top: 1px solid #e9ecef;
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.hotel-price,
.hotel-distance {
    flex: 1;
}

.price-label,
.distance-label {
    font-family: 'Syne', sans-serif;
    font-size: 0.85rem;
    color: #6c757d;
    display: block;
    margin-bottom: 0.25rem;
}

.price-value {
    font-family: 'Syne', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #4b5022;
}

.distance-value {
    font-family: 'Syne', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #4b5022;
}

/* Wedding Venue Card */
.venue-card {
    background: #fffef8;
}

.venue-card .hotel-name {
    color: #4b5022;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}

.venue-notes {
    background-color: #f8f9fa;
    border-left: 4px solid #4b5022;
    padding: 1rem;
    border-radius: 0 8px 8px 0;
    margin-top: 0;
}

.venue-notes p {
    font-family: 'Syne', sans-serif;
    font-size: 1rem;
    color: #4b5022;
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}

/* Places Section (Sites & Snacks) */
.places-section {
    padding: 4rem 0;
    background-color: #fffef8;
}

.places-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.place-card {
    background: #fffef8;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.place-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.place-image {
    height: 200px;
    background-color: #e9ecef;
    position: relative;
    overflow: hidden;
}

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

.place-content {
    padding: 1.5rem;
}

.place-name {
    font-family: 'Agbalumo', cursive;
    font-size: 1.5rem;
    color: #4b5022;
    margin-bottom: 1.25rem;
    font-weight: normal;
    line-height: 1.3;
}

.place-description {
    margin-top: 0;
    margin-bottom: 1rem;
    padding-bottom: 2.5rem;
}

.place-description p {
    font-family: 'Syne', sans-serif;
    font-size: 0.95rem;
    color: #4b5022;
    line-height: 1.6;
    margin: 0;
}

.place-chip {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
}

.chip {
    font-family: 'Syne', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: lowercase;
    letter-spacing: 0.5px;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    border: 1px solid transparent;
}

.chip-snack {
    background-color: #FFE5B4;
    color: #8B4513;
    border-color: #F4D03F;
}

.chip-sight {
    background-color: #B4E5FF;
    color: #1E6091;
    border-color: #85C1E9;
}

/* Legacy Restaurant Styles (for backward compatibility) */
.restaurants-section {
    padding: 4rem 0;
    background-color: #fffef8;
}

.restaurants-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.restaurant-card {
    background: #fffef8;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.restaurant-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.restaurant-image {
    height: 200px;
    background-color: #e9ecef;
    position: relative;
    overflow: hidden;
}

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

.restaurant-content {
    padding: 1.5rem;
}

.restaurant-name {
    font-family: 'Agbalumo', cursive;
    font-size: 1.5rem;
    color: #4b5022;
    margin-bottom: 1.25rem;
    font-weight: normal;
    line-height: 1.3;
}

.restaurant-description {
    margin-top: 0;
}

.restaurant-description p {
    font-family: 'Syne', sans-serif;
    font-size: 0.95rem;
    color: #4b5022;
    line-height: 1.6;
    margin: 0;
}

/* Registry Section */
.registry-section {
    padding: 4rem 0;
    background-color: #fffef8;
}

.registry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.registry-card {
    background: #fffef8;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 2rem 1.5rem;
}

.registry-icon {
    margin-bottom: 1.5rem;
}

.payment-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(75, 80, 34, 0.3));
}

.payment-icon {
    font-size: 3rem;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    background: linear-gradient(135deg, #4b5022 0%, #6b7030 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(75, 80, 34, 0.3);
}

.ach-icon {
    background: linear-gradient(135deg, #4b5022 0%, #6b7030 100%);
}

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

.registry-name {
    font-family: 'Syne', sans-serif;
    font-size: 1.8rem;
    color: #4b5022;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

.registry-details {
    margin-bottom: 0;
}

.registry-username,
.registry-account,
.registry-routing {
    font-family: 'Syne', sans-serif;
    font-size: 1.1rem;
    color: #4b5022;
    margin-bottom: 0.75rem;
    font-weight: 500;
    line-height: 1.4;
}

.registry-username:last-child,
.registry-routing:last-child {
    margin-bottom: 0;
}
