/* Fonts */
@font-face {
    font-family: "MB Vinatage W01 Bold";
    font-display: swap;
    src: url("https://db.onlinewebfonts.com/t/cd659df5de4bd9bf1f7e1bf46d017968.woff2")format("woff2"),
         url("https://db.onlinewebfonts.com/t/cd659df5de4bd9bf1f7e1bf46d017968.woff")format("woff"),
         url("https://db.onlinewebfonts.com/t/cd659df5de4bd9bf1f7e1bf46d017968.ttf")format("truetype");
}

@font-face {
    font-family: "Brittany Signature";
    font-display: swap;
    src: url("../fonts/BrittanySignature.ttf") format("truetype");
}

/* Base styles */
:root {
    --primary-color: #D4AF37;  /* Classic gold */
    --secondary-color: #F8F3E6; /* Soft cream/gold for backgrounds */
    --text-color: #000000;     /* Black */
    --light-text: #ffffff;     /* White */
    --dark-overlay: rgba(0, 0, 0, 0.7); /* Black overlay for splash image */
    --spacing: 2rem;
}

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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--light-text);
}

h1, h2, h3 {
    font-family: "MB Vinatage W01 Bold", serif;
    margin-bottom: var(--spacing);
}

/* Navigation */
.main-nav {
    position: fixed;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
    will-change: transform;
    transform: translateZ(0);
}

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

.logo {
    font-family: "MB Vinatage W01 Bold", serif;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-button span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.nav-links {
    display: flex;
    align-items: center;
    will-change: transform;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    margin-left: 2rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .mobile-menu-button {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        justify-content: center;
        transition: right 0.3s ease;
        padding: 2rem;
        will-change: transform;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        margin: 1rem 0;
        font-size: 1.2rem;
    }

    .mobile-menu-button.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-button.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-button.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}

/* Splash Section */
.splash {
    height: 100vh;
    background: black;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-text);
}

.splash-content {
    position: relative;
    z-index: 1;
}

.splash-content h1 {
    font-family: "Brittany Signature", cursive;
    font-size: 6rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    font-weight: normal;
}

.splash-content .names {
    font-family: "MB Vinatage W01 Bold", serif;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.splash-content .date {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-family: "MB Vinatage W01 Bold", serif;
    letter-spacing: 2px;
}

.splash-content .location {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-family: "MB Vinatage W01 Bold", serif;
}

.profile-images {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    background-color: white;
    padding: 3px;
    position: relative;
    overflow: hidden;
}

.profile-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    z-index: 1;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transform: translateY(10px);
    position: relative;
}

@media (max-width: 768px) {
    .profile-image {
        width: 90px;
        height: 90px;
    }
}

/* Common Section Styles */
section {
    padding: 5rem 2rem;
}

section h2 {
    text-align: center;
    color: var(--text-color);
    font-size: 2.5rem;
}

section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 1rem auto;
}


/* Menu Section */
.menu {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 5rem 2rem;
}

.menu h2 {
    color: var(--light-text);
}

.menu-content {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    gap: 3rem;
}

.menu-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: var(--text-color);
}

.menu-section h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.menu-section ul {
    list-style: none;
}

.menu-section li {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.6;
    padding: 0.5rem 0;
}

.menu-section li:not(:last-child) {
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding-bottom: 1rem;
}

@media (min-width: 768px) {
    .menu-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .menu-section {
        padding: 1.5rem;
    }
    
    .menu-section h3 {
        font-size: 1.5rem;
    }
    
    .menu-section li {
        font-size: 1rem;
    }
}

/* Timeline Section */
.timeline {
    margin: 0 auto;
    padding: 4rem 2rem;
    position: relative;
    background-color: var(--secondary-color);
    text-transform: capitalize;
}

div.timeline {
    max-width: 1200px;
}

/* Vertical line that starts and ends with the content */
.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--primary-color);
    /* Start at first item's connection point */
    top: calc(2rem + 268px);
    /* End at last item's connection point */
    bottom: calc(2rem + 183px);
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    width: 35%;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.timeline-item .icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    min-width: 50px;
    text-align: center;
}

.timeline-content {
    flex: 1;
}

/* Adjust text alignment and icon position for odd items (left side) */
.timeline-item:nth-child(odd) {
    flex-direction: row;  /* Changed from row-reverse */
    text-align: right;
    margin-right: 65%;
}

/* Keep even items (right side) as they are */
.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
    text-align: left;
    margin-left: 65%;
}

/* Replace dots with horizontal connecting lines */
.timeline-item::before {
    content: '';
    position: absolute;
    height: 2px;
    width: 161px;
    background-color: var(--primary-color);
    top: 50%;
    transform: translateY(-50%);
}

/* Position horizontal lines on the correct side */
.timeline-item:nth-child(odd)::before {
    right: -161px;
}

.timeline-item:nth-child(even)::before {
    left: -161px;
}

/* Add icon circles */
.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    z-index: 1;
}

/* Position icons on the correct side */
.timeline-item:nth-child(odd)::after {
    right: -181px;
}

.timeline-item:nth-child(even)::after {
    left: -181px;
}

.time {
    font-family: "MB Vinatage W01 Bold", serif;
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.event {
    font-size: 1.1rem;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .timeline::after {
        display: none;  /* Remove vertical center line */
    }

    .timeline-item {
        width: 100%;  /* Take full width */
        margin: 0 0 1rem 0 !important;  /* Remove side margin, just keep bottom margin */
        flex-direction: row !important;
        text-align: left !important;
    }
    
    .timeline-item::before,
    .timeline-item::after {
        display: none;  /* Remove connecting lines and circles */
    }
}

/* Location Section */
.location-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.address {
    padding: 2rem;
    background: var(--light-text);
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    border: 1px solid var(--primary-color);
}

.address h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.address h4 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-family: "MB Vinatage W01 Bold", serif;
    font-size: 1.3rem;
}

.address p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.transport-option {
    margin-top: 2rem;
}

.map {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    border: 1px solid var(--primary-color);
}

.map iframe {
    display: block;
}

@media (max-width: 768px) {
    .location-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .address, .map {
        padding: 1.5rem;
    }

    .map iframe {
        height: 300px;
    }
}

/* Accommodation Section */
.accommodation {
    background-color: var(--secondary-color);
}

.accommodation-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 2rem;
}

.accommodation-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.accommodation-content a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid var(--primary-color);
    transition: opacity 0.3s ease;
}

.accommodation-content a:hover {
    opacity: 0.8;
}

/* FAQ Section */
.faq {
    background-color: var(--light-text);
    padding: 5rem 2rem;
}

.faq-content {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--secondary-color);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.faq-item p {
    line-height: 1.6;
}

.faq-item a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid var(--primary-color);
    transition: opacity 0.3s ease;
}

.faq-item a:hover {
    opacity: 0.8;
}

/* Footer */
footer {
    background-color: var(--text-color);
    color: var(--light-text);
    text-align: center;
    padding: 2rem;
}

footer p {
    color: var(--primary-color);
    font-family: "MB Vinatage W01 Bold", serif;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-content {
        flex-direction: column;
        text-align: center;
    }

    .nav-links {
        margin-top: 1rem;
    }

    .nav-links a {
        display: block;
        margin: 0.5rem 0;
    }

    .splash-content h1 {
        font-size: 4.5rem;
    }

    .location-content {
        grid-template-columns: 1fr;
    }
} 