@import url('https://fonts.googleapis.com/css2?family=Sorts+Mill+Goudy:ital@0;1&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Pinyon+Script&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Italianno&family=Pinyon+Script&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Italianno&family=Pinyon+Script&family=Rosarivo:ital@0;1&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,300..700;1,300..700&display=swap');



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

body {
    /*font-family: 'Sorts Mill Goudy', serif;*/
    font-family: "Rosarivo", cursive;
    font-weight: 400;
    font-style: normal;
    background-color: #f5f3f0;
    color: #000;
    line-height: 1.6;
    margin: 0 auto;
    max-height: 1000px;
}

.container {
    max-width: 1100px;
    width: 90%;
    margin: 0 auto;
    padding: 50px 30px 30px 10%;
    /*  background-color: #f5f3f0; */

}

/* Logo and Header */
.logo {
    width: 60px;
    height: auto;
    margin-top: 5px;
    display: block;
    float: left;
}

.site-title {
    font-family: 'Sorts Mill Goudy', serif;
    font-size: 42px;
    font-weight: normal;
    letter-spacing: 0.15em;
    text-align: left;
}

/* Navigation */
nav {
    margin: 0;
}

nav ul {
    list-style: none;
    margin: 35% 0 0 40%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

nav ul li {
    font-size: 15px;
    letter-spacing: 0.1em;
}

nav ul li a {
    color: #000;
    text-decoration: none;
    transition: 0.3s ease-in-out;
    display: inline-block;
}

nav ul li a:hover {
    color: #8b7355;
    letter-spacing: 1.2px;
}

.back ul {
    list-style: none;
    display: inline;
    white-space: nowrap;
    overflow-x: auto;
}
.back ul li{
    letter-spacing: 0.05em;
    font-style: italic;
    float: left;
    font-size: 18px;
    width: 10%;
    margin-top: 40px;
    margin-left: 10%;
}

.back ul li a {
    color: #000;
    text-decoration: none;
    transition: 0.3s ease-in-out;
    display: inline-block;
}

nav ul li.rsvp-link {
    font-family: "Cormorant", cursive;
    font-weight: 500;
    font-style: italic;
    margin-top: 20px;
    font-size: 30px;
    letter-spacing: 1.3px;
    transition: text-decorate 0.3s ease-in-out;
    color: #252525;
}

nav ul li.rsvp-link:hover {
    text-decoration: underline;
}

.pinyon-script-regular {
  font-family: "Pinyon Script", cursive;
  font-weight: 400;
  font-style: normal;
}

/* Page Titles */
.page-title {
    font-size: 25px;
    font-weight: normal;
    letter-spacing: 0.15em;
    margin: 100px 0 10px 28%;

}

.content {
    margin-top: 40px;
}

/* Content Sections */
.section {
    margin: 0 0 0 28%;
    max-width: 500px;
    white-space: normal;

    /* Allows unbreakable words to break and wrap to the next line */
    overflow-wrap: break-word; /* Official property name */
    word-wrap: break-word;     /* Legacy name for compatibility */

    /* Hides any content that still overflows horizontally */
    overflow-x: hidden;
}

.section #our-story {
    max-width: 37%;
    line-height: 20px;
}

.section span {
    font-family: "Roboto Thin", 'sans-serif';
    color: #666666;
}
/* Content Sections */

.section-title {
    font-size: 18px;
    letter-spacing: 0.04em;
    font-weight: normal;
    margin: 15px 0 10px 0;
}

.content p {
    font-size: 12px;
    line-height: 1.4;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
    text-align: left;
}

.content p.italic-note {
    font-style: italic;
    letter-spacing: 0.08em;
    margin-top: 10px;
    color: rgba(49, 49, 49, 0.63);
}

/* Schedule and Lists */
.schedule,
.info-list {
    font-size: 12px;
    line-height: 20px;
    letter-spacing: 0.02em;
    margin-bottom: 5px;
    margin-top: 5px;
    /* Allows unbreakable words to break and wrap to the next line */
    overflow-wrap: break-word; /* Official property name */
    word-wrap: break-word;     /* Legacy name for compatibility */
}

.schedule ul li {
    list-style: none;
}

.info-list ul li {
    list-style: none;
    line-height: 1.3;
}
.info-list ul li h3{
    font-size: 14px;
    margin-bottom: 8px;
}
.info-list ul li p{
    color: #343434;
    margin-bottom: 22px;
    line-height: 20px;
}




/* Home Page Layout */
.home-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 80px;
    align-items: start;
}

.home-nav {
    position: sticky;
    top: 40px;
}

.home-content {
    padding-top: 0;
}

.home-photo {
    max-width: 300px;
    min-width: 200px;
    width: 80%;
    display: flex;
    flex-direction: column;
    margin: 200px 80px 0 30px;
    filter: drop-shadow(8px 8px 5px #b0b0b0);
}

/* FAQ */
.faq-item {
    margin-bottom: 15px;
}
.faq-item h3{
    font-size: 14px;
}

.faq-question {
    font-weight: bold;
    margin-bottom: 5px;
}

.faq-answer {
    line-height: 1.5;
    letter-spacing: 0.03em;
    color: rgba(61, 61, 61, 0.91);
}

/* RSVP Form */

.rsvp-form {
    max-width: 600px;
    font-style: italic;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 14px;
    margin-bottom: 8px;
    letter-spacing: 0.04em;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    font-family: 'Sorts Mill Goudy', serif;
    font-size: 16px;
    border: 1px solid #ccc;
    background-color: #fff;
    letter-spacing: 0.02em;
}

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

.form-group select {
    cursor: pointer;
}

.submit-btn {
    background-color: #575757;
    color: #fff;
    padding: 14px 40px;
    font-family: 'Sorts Mill Goudy', serif;
    font-size: 16px;
    letter-spacing: 0.1em;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #333;
}

.under-construction {
    text-align: left;
    font-size: 20px;
    letter-spacing: 0.05em;
    margin: 100px 0;
    font-style: italic;
}

.success-message {
    display: none;
    text-align: center;
    font-size: 18px;
    letter-spacing: 0.05em;
    margin: 40px 0;
    color: #2d5016;
}

/* Contact Info */
.contact-note {
    margin-top: 40px;
    font-size: 15px;
    text-align: center;
    letter-spacing: 0.02em;
}

.phone-link {
    font-family: "Roboto Thin", 'sans-serif';
    color: #8b7355;
}



@media (max-width: 800px) {


    .logo {
        margin: 10px 30px;
        width: 55px;
        position: absolute;
        padding-bottom: 20px;
    }

    .content {
        margin: 0 auto;
        padding: 0;
    }
    .section {
        margin: 30px 40px;
    }
    .back {
        display: none;
    }


    nav ul {
        margin-left: 0;

    }

    .site-title {
        margin: 0 auto;
    }

    .page-title {
        margin: 100px 0 10px 100px;
    }

    nav ul {
        margin-top: 70px;
        margin-left: 10%;
    }

    .section #our-story {
        max-width: 80%;
    }


    .home-photo {
        position: absolute;
        margin-top: 260px;
        right: 0;
        max-width: 260px;
    }
}

@media (max-width: 600px) {
    .container {
        width: 100%;
    }

    .page-title {
        margin-left: 100px;
    }
    .section {
        margin: 30px 20px;
    }

    nav ul {
        list-style: none;
        margin: 15% 0 0 0;
    }

    .home-photo {
        width: 180px;
    }
}
