/*
 * Rachel & Russell Wedding Website
 * Colors: #195C5D (Green), #BCC4C4 (Lt Green), #F1EBE2 (Ecru),
 *         #114344 (Darker Green), #999999 (Grey), #BCC4C4 (Menu hover)
 */

/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.event-block p {
    font-size: 18px;
    color: #195C5D;
}

body {
    font-family: "adobe-garamond-pro", serif;
    font-weight: 400;
    font-style: normal;
    color: #195C5D;
    background-color: #F1EBE2;
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
    line-height: 1.2;
}

a {
    color: #195C5D;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
    text-decoration-skip-ink: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #195C5D;
}

/* Header & Navigation - Overlaid on background */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 1000;
    padding: 0 50px;
    background: #195C5D;
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
}

.logo {
    flex-shrink: 0;
}

.logo img {
    max-width: 70px;
    height: auto;
    display: block;
}

/* Desktop Navigation */
nav {
    display: block;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 13px;
    margin: 0;
}

nav ul li {
    display: inline-block;
}

nav ul li a {
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1.3px;
    color: #F1EBE2;
    padding: 5px 0;
    display: block;
    transition: color 0.3s ease;
    font-weight: 400;
    text-decoration: none;
}

nav ul li a:hover,
nav ul li a.active {
    color: #bcc4c4;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger img {
    width: 30px;
    height: auto;
}
.mobile { 
    display:  none;
}
.desktop {
    display:  block;
}

/* Mobile Navigation */
@media (max-width: 1040px) {
    .mobile { 
        display:  block;
    }
    .desktop {
        display:  none;
    }
    header {
        padding: 20px 20px;
        justify-content: center;
    }

    nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(25, 92, 93, 0.98);
        z-index: 999;
        padding-top: 80px;
        overflow-y: auto;
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        gap: 4px;
        align-items: center;
        justify-content: flex-start;
        min-height: 100%;
        padding-bottom: 50px;
    }

    nav ul li {
        width: 100%;
        text-align: center;
    }

    nav ul li a {
        font-size: 16px;
        padding: 12px;
        color: #FFFFFF;
    }

    .hamburger {
        display: block;
        position: absolute;
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1001;
    }

    .logo img {
        max-width: 50px;
    }
}

/* Main Content */
main {
    min-height: 60vh;
}

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

/* Footer */
footer {
    background-color: #BCC4C4;
    height: 100px;
    padding: 0 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0;
}

.footer-container {
    max-width: 1100px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-logo {
    flex-shrink: 0;
}

.footer-logo img {
    max-width: 70px;
    height: auto;
}

.footer-contact {
    font-size: 16px;
    line-height: 1.6;
    text-align: center;
    color: #195C5D;
}

.footer-contact a {
    color: #195C5D;
    text-decoration: underline;
}

.footer-contact a:hover {
    color: #195C5D;
}

@media (max-width: 768px) {
    footer {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
        gap: 20px;
    }

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

    .footer-logo img {
        max-width: 50px;
    }
}

/* Password Page Styles */
.password-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-color: #FFFFFF;
    text-align: center;
}

.password-container {
    padding: 60px 40px;
    max-width: 600px;
    width: 90%;
}

.password-container h1 {
    font-family: "adobe-garamond-pro", serif;
    font-size: 28px;
    color: #195C5D;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 400;
}

.password-container p {
    font-family: "adobe-garamond-pro", serif;
    font-size: 16px;
    color: #195C5D;
    margin-bottom: 30px;
    font-weight: 400;
}

.error-message {
    color: #D32F2F !important;
    margin-bottom: 20px;
}

.password-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.password-form label {
    font-family: "adobe-garamond-pro", serif;
    font-size: 16px;
    color: #195C5D;
    margin-bottom: 10px;
    font-weight: 400;    width: 500px;
}

.password-form input[type="password"] {
    font-family: "adobe-garamond-pro", serif;
    font-size: 16px;
    padding: 0;
    border: none;
    border-bottom: 1px solid #195C5D;
    background-color: transparent;
    color: #195C5D;
    width: 300px;
    height: 40px;
    text-align: center;
}

.password-form input[type="password"]:focus {
    outline: none;
    border-bottom-color: #195C5D;
}

.password-form button {
    font-family: "adobe-garamond-pro", serif;
    font-size: 16px;
    padding: 0;
    background-color: #195C5D;
    color: #FFFFFF;
    border: none;
    cursor: pointer;
    text-transform: none;
    letter-spacing: normal;
    transition: background-color 0.3s ease;
    width: 300px;
    height: 50px;
    font-weight: 400;
}

.password-form button:hover {
    background-color: #114344;
}

/* Home Page Styles */
.hero-section {
    position: relative;
    min-height: 74vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #F1EBE2;
    margin-top: 92px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.8);
    border: 17px solid rgba(255, 255, 255, 0.8);
    box-shadow: inset 0 0 0 2px #195C5D, 0 0 0 2px #195C5D;
    padding: 100px 60px 60px 60px;
    width: 800px;
    margin-bottom: 40px;
    margin-left: 20px;
    margin-right: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-content img.hero-logo {
    max-width: 475px;
    width: 100%;
    height: auto;
    margin-top: -18.5px;
    margin-bottom: 45px;
}

.hero-content h2 {
    font-size: 26px;
    color: #195C5D;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 400;
}

.hero-content p {
    font-size: 18px;
    color: #195C5D;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-content .contact {
    margin-top: 30px;
    font-size: 12px;
    font-style: italic;
    text-transform: none;
    letter-spacing: normal;
    color: #195C5D;
}

.hero-content .contact p {
    font-size: 12px;
    text-transform: none;
    letter-spacing: normal;
    color: #195C5D;
}

.hero-content .contact a {
    color: #195C5D;
}

/* Interior Page Styles */
.weekend-page {
    background-color: #F1EBE2;
    padding-top: 130px;
    min-height: 100vh;
}

.page-header {
    text-align: center;
    margin-bottom: 30px;
}

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

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

.weekend-page .page-header img {
    max-height: 105px;
}

.page-title-image {
    max-width: 800px;
    margin: 0 auto;
}

/* Event Sections */
.event-section {
    margin-bottom: 80px;
}

.date-header {
    font-size: 26px;
    color: #195C5D;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 50px;
}

.event-block {
    text-align: center;
    margin-bottom: 60px;
}

.event-icon {
    margin-bottom: 20px;
    text-align: center;
}

.event-icon img {
    max-width: 190px;
    height: auto;
}

.accommodations-page .event-icon img {
    max-width: 190px;
    width: 190px;
}

.event-block h3 {
    font-size: 20px;
    color: #195C5D;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 15px;
}

.event-time {
    font-size: 18px;
    color: #195C5D;
    font-weight: 700;
    margin-bottom: 0px;
}

.event-location {
    font-size: 18px;
    color: #195C5D;
    font-weight: 700;
    margin-bottom: 0px;
}

.event-address {
    font-size: 18px;
    color: #195C5D;
    margin-bottom: 10px;
    font-style: normal;
}


.event-link {
    font-size: 18px;
    margin-bottom: 10px;
}

.event-link a {
    color: #195C5D;
    text-decoration: underline;
}

.event-link a:hover {
    color: #195C5D;
}

.event-note {
    font-size: 20px;
    color: #195C5D;
    margin-bottom: 0px;
    font-style: italic;
}
.event-note2 {
    font-size: 16px;
    color: #195C5D;
    margin-top: -10px;
    font-style: italic;
    line-height:50%;
}

.event-description {
    font-size: 18px;
    color: #195C5D;
    line-height: 1.6;
    max-width: 600px;
    margin: 15px auto 0;
    font-weight: 400;
}



.faqs-block {
    text-align: center;
    margin-bottom: 40px;
}


.faqs-block h3 {
    font-size: 20px;
    color: #195C5D;
    font-weight: 700;
    margin-bottom: 15px;
}

.faqs-location {
    font-size: 20px;
    color: #195C5D;
    font-weight: 700;
    margin-bottom: 0px;
}

.faqs-address {
    font-size: 18px;
    color: #195C5D;
    font-style: normal;
}

.faqs-link {
    font-size: 18px;
    margin-bottom: 10px;
}

.faqs-link a {
    color: #195C5D;
    text-decoration: underline;
}

.faqs-link a:hover {
    color: #195C5D;
}





/* Accommodations Page Styles */
.accommodations-page {
    background-color: #F1EBE2;
    padding-top: 130px;
    min-height: 100vh;
}

.accommodations-page .page-header {
    margin-bottom: 30px;
}

.accommodations-page .page-header img {
    max-height: 105px;
}

.intro-text {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
        font-size: 18px;
}

.intro-text p {
    font-size: 18px;
    color: #195C5D;
    line-height: 1.6;
    margin-bottom: 15px;
}

.italic-note {
    font-style: italic;
    font-size: 19px;
    color: #195C5D;
}

.hotel-section {
    max-width: 800px;
    margin: 0 auto 80px;
}

.hotel-block {
    margin-bottom: 40px;
    text-align: center;
}

.hotel-block h3 {
    font-size: 20px;
    color: #195C5D;
    margin-bottom: 10px;
    font-weight: 400;
}

.hotel-block h3 a {
    color: #195C5D;
    text-decoration: underline;
}

.hotel-block h3 a:hover {
    color: #195C5D;
}

.hotel-block p {
    font-size: 18px;
    color: #195C5D;
    margin-bottom: 5px;
    line-height: 1.6;
}

.bold-link {
    font-weight: 700;
    color: #195C5D;
    text-decoration: underline;
}

.bold-link:hover {
    color: #195C5D;
}

.regular-link {
    font-weight: 400;
    color: #195C5D;
    text-decoration: underline;
}

.regular-link:hover {
    color: #195C5D;
}

.additional-section {
    max-width: 800px;
    margin: 0 auto;
}

.additional-section h2 {
    font-size: 20px;
    color: #195C5D;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 30px;
}

.section-intro {
    font-size: 18px;
    color: #195C5D;
    text-align: center;
    line-height: 1.6;
    margin-bottom: 40px;
}

.vrbo-note {
    font-size: 18px;
    color: #195C5D;
    text-align: center;
    line-height: 1.6;
    margin: 40px auto;
}

.fpo-section {
    max-width: 800px;
    margin: 40px auto;
    text-align: center;
        margin-bottom: 0px;
        margin-top: 0px;
}

.fpo-section p {
    font-size: 18px;
    color: #195C5D;
    margin-bottom: 0px;
}

.fpo-section ul {
    list-style-type: disc;
    text-align: left;
    display: inline-block;
    margin: 0 auto;
}

.fpo-section li {
    font-size: 18px;
    color: #195C5D;
    line-height: 1.6;
    margin-bottom: 0px;
}

/* Generic Interior Page Styles */
.interior-page {
    background-color: #F1EBE2;
    padding-top: 130px;
    min-height: 100vh;
}

.interior-page .page-header {
    margin-bottom: 30px;
}

.interior-page .page-header img {
    max-height: 105px;
}
.interior-page-registry {
    background-color: #F1EBE2;
    padding-top: 130px;
    min-height: 92vh;
}
.interior-page-registry .page-header {
    margin-bottom: 30px;
}

.interior-page-registry .page-header img {
    max-height: 105px;
}
.page-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.page-content p {
    font-size: 18px;
    color: #195C5D;
    line-height: 1.6;
    margin-bottom: 20px;
}

.content-section {
    text-align: center;
    margin-bottom: 60px;
}

.icon-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

.icon-section img {
    max-width: 80px;
    height: auto;
    margin-bottom: 20px;
}

.event-block {
    margin-bottom: 50px;
}

.event-block h3 {
    font-size: 20px;
    color: #195C5D;
    margin-bottom: 10px;
}

.event-block h4 {
    font-size: 18px;
    font-weight: 700;
    color: #195C5D;
    margin-bottom: 15px;
}



.event-block .time {
    font-weight: 700;
    color: #195C5D;
}

.event-block .description {
    margin-top: 18px;
    line-height: 1.6;
}

/* Hotel/Accommodation Blocks */
.hotel-block {
    margin-bottom: 40px;
    text-align: center;
}

.hotel-block h3 {
    font-size: 20px;
    color: #195C5D;
    margin-bottom: 10px;
}

.hotel-block a {
    text-decoration: underline;
}

.hotel-block a:hover {
    color: #195C5D;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-40 {
    margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 1170px) {
    .container {
        padding: 30px 20px;
    }

    .hero-content {
        padding: 41px 30px;
    }

    .hero-section {
        min-height: 70vh;
    }


    .hero-content h2 {
        font-size: 24px;
    }

    .hero-content p {
        font-size: 18px;
    }
    .hero-content img.hero-logo {
    margin-top: 30px;
}
}

@media (max-width: 768px) {
.hero-content img.hero-logo {
    margin-top: 30px;
}

    .hero-content h2 {
        font-size: 22px;
        letter-spacing: 2px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .hero-content .contact {
        font-size: 11px;
    }

    .hero-content .contact p {
        font-size: 11px;
    }

    .password-container {
        padding: 40px 30px;
    }

    nav ul {
        gap: 15px;
    }

    .event-block h3 {
        font-size: 18px;
    }

    .event-block h4 {
        font-size: 16px;
    }

    .event-block p {
        font-size: 18px;
    }
        .faqs-block h3 {
        font-size: 18px;
    }

    .faqs-block h4 {
        font-size: 16px;
    }

    .faqs-block p {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
.hero-content img.hero-logo {
    margin-top: 20px;
}

    .hero-content h2 {
        font-size: 18px;
        letter-spacing: 2px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .hero-content .contact {
        font-size: 11px;
    }

    .hero-content .contact p {
        font-size: 11px;
    }

    .password-container {
        padding: 40px 30px;
    }

    nav ul {
        gap: 15px;
    }

    .event-block h3 {
        font-size: 18px;
    }

    .event-block h4 {
        font-size: 16px;
    }

    .event-block p {
        font-size: 18px;
    }
        .faqs-block h3 {
        font-size: 18px;
    }

    .faqs-block h4 {
        font-size: 16px;
    }

    .faqs-block p {
        font-size: 18px;
    }
}

#backToTopBtn {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    bottom: 20px; /* Place the button at the bottom of the page */
    right: 30px; /* Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
    border: none; /* Remove borders */
    outline: none; /* Remove outline */
    background-color: #FFFFFF; /* Set a background color */
    color: #195C5D; /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 10px; /* Some padding */
    border-radius: 50px; /* Rounded corners */
    font-size: 18px; /* Increase font size */
}

#backToTopBtn:hover {
    background-color: #CED7D7; /* Add a hover effect */
}