@import url('https://fonts.googleapis.com/css?family=Playfair+Display:400,700italic|Lato:400,300,700|Parisienne|Beau+Rivage|Cormorant+Garamond:500,600|Mea+Culpa');

header {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 20px;
    padding-bottom: 30px;
    box-sizing: border-box;
    background-color: #fdf6f2;
}

header .container {
    padding-top: 0;
    padding-bottom: 0;
    transform: translateY(-40px);
}

header .intro-text {
    margin-bottom: 0;
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    transform: translateY(50px);
}

@media (max-width: 767px) {
    header .intro-text {
        transform: translateY(0);
        margin-bottom: 10px;
    }

    .hero-row {
        margin-top: 10px;
    }

    .hero-date,
    .hero-venue {
        margin-bottom: 15px;
    }
}

header .intro-text .name {
    color: #4a3f35;
}

.hero-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.hero-photo-wrap {
    margin-bottom: 20px;
}

.hero-footer {
    margin-top: 30px;
}

.hero-save-the-date {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-size: 1.6em;
    color: #b7503a;
    margin-bottom: 5px;
}

.hero-more-info {
    font-family: 'Lato', "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 1em;
    color: #4a3f35;
    letter-spacing: 0.5px;
}

.hero-photo {
    display: inline-block;
    max-width: 900px;
    width: 100%;
    border-radius: 2px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-side {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.3em;
    color: #4a3f35;
    letter-spacing: 0.5px;
    word-break: break-word;
    overflow-wrap: break-word;
}

.hero-date-line1,
.hero-date-line2 {
    display: block;
}

.hero-date-line2 {
    font-size: 0.85em;
    letter-spacing: 1px;
}

@media (min-width: 768px) {
    .hero-date {
        text-align: right;
        padding-right: 30px;
    }

    .hero-venue {
        text-align: left;
        padding-left: 30px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .hero-side {
        font-size: 1em;
    }

    .hero-date,
    .hero-venue {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* Nav bar stays transparent with dark text since the header background is light */
.navbar-fixed-top {
    position: static !important;
    top: auto !important;
    left: 0;
    right: 0;
    z-index: 1030;
    background-color: #fdf6f2;
    border-color: transparent;
    box-shadow: none;
    transition: background-color 0.3s, box-shadow 0.3s;
    min-height: 0;
    margin-bottom: 0;
}

.navbar-fixed-top .navbar-brand,
.navbar-fixed-top .navbar-nav > li > a {
    color: #4a3f35;
}

.navbar-fixed-top .navbar-toggle .icon-bar {
    background-color: #4a3f35;
}

/* Three-column nav: brand left, links centered, RSVP button pinned right */
.navbar-fixed-top .container {
    width: 100%;
    max-width: none;
    padding-left: 30px;
    padding-right: 30px;
}

.navbar-flex {
    padding: 12px 0;
}

.navbar-nav.navbar-center > li > a {
    padding-top: 8px;
    padding-bottom: 8px;
}

@media (min-width: 768px) {
    .navbar-collapse.text-center {
        text-align: initial;
    }

    .navbar-flex {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .navbar-flex-left,
    .navbar-flex-right {
        flex: 1 0 0;
    }

    .navbar-flex-right {
        text-align: right;
    }

    .navbar-nav.navbar-center {
        display: inline-block;
        float: none;
        margin: 0 auto;
        flex: 0 0 auto;
    }

    .navbar-nav.navbar-center > li {
        display: inline-block;
        float: none;
    }
}

@media (max-width: 767px) {
    .navbar-flex-left,
    .navbar-flex-right {
        text-align: center;
        padding: 10px 0;
    }
}

.navbar-brand-custom {
    font-family: 'Parisienne', cursive;
    font-size: 2.2em;
    color: #4a3f35 !important;
    text-decoration: none;
    text-transform: none;
}

.btn-rsvp {
    display: inline-block;
    padding: 8px 24px;
    border: 2px solid #3a3530;
    background-color: #3a3530;
    color: #fff !important;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    font-size: 0.9em;
    transition: background-color 0.2s, border-color 0.2s;
}

.btn-rsvp:hover,
.btn-rsvp:focus {
    background-color: #211d19;
    border-color: #211d19;
    color: #fff !important;
}

/* Romantic wedding color palette & typography */
body {
    font-family: 'Lato', "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #4a3f35;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
}

header .intro-text .name {
    font-family: 'Mea Culpa', cursive;
    font-weight: 400;
    font-size: clamp(2.5em, 10vw, 8em);
    line-height: 1.2;
    letter-spacing: 1px;
    display: inline-block;
    white-space: nowrap;
    text-transform: none;
    color: #b7503a;
}

@media (max-width: 480px) {
    header .intro-text .name {
        white-space: normal;
    }
}

h2 {
    font-style: italic;
}

a,
a:hover,
a:focus,
.floating-label-form-group-with-focus label {
    color: #b76e79;
}

section.success {
    background: #b76e79;
}

section.success a,
section.success a:hover,
section.success a:focus,
section.success a:active,
section.success a.active {
    color: #4a3f35;
}

hr.star-light:after {
    background-color: #b76e79;
}

hr.star-primary {
    border-color: #b76e79;
}

hr.star-primary:after {
    color: #b76e79;
}

.btn-outline:hover,
.btn-outline:focus,
.btn-outline:active,
.btn-outline.active {
    color: #b76e79;
}

.btn-success {
    background-color: #b76e79 !important;
    border-color: #b76e79 !important;
}

.btn-success:hover,
.btn-success:focus {
    background-color: #9c5763 !important;
    border-color: #9c5763 !important;
}

#about,
#details,
#contact {
    scroll-margin-top: 80px;
}

#details .detail-item {
    margin-bottom: 40px;
}

#details .detail-item i {
    color: #b76e79;
    margin-bottom: 15px;
}

#details .detail-item h4 {
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
