/*!
 * Start Bootstrap - Creative Bootstrap Theme (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

html,
body {
    width: 100%;
    height: 100%;
}

body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

hr {
    max-width: 50px;
    border-color: #701318; /* burgundy */
    border-width: 3px;
}

hr.light {
    border-color: #fff;
}

/* Global links */
a {
    color: #701318; /* burgundy */
    -webkit-transition: all .35s;
    -moz-transition: all .35s;
    transition: all .35s;
}

/* Hero overlay for better text contrast */
header::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.4); /* adjust opacity here */
    z-index: 1;
}

header .header-content {
    position: relative;
    z-index: 2;
}

a:hover,
a:focus {
    color: #3f160f; /* darker burgundy */
}

/* Links inside schedule section */
#schedule a {
    color: rgba(52, 52, 52, .7);
}

#schedule a:hover,
#schedule a:focus {
    color: rgb(52, 52, 52);
}

/* Headings: modern sans similar to Garet */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Questrial', 'Helvetica Neue', Arial, sans-serif;
}

p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.5;
}

/* Primary background (was orange) */
.bg-primary {
    background-color: #701318; /* burgundy */
}

.bg-dark {
    color: #fff;
    background-color: #222;
}

.text-faded {
    color: rgba(255,255,255,.7);
}

section {
    padding: 100px 0;
}

aside {
    padding: 50px 0;
}

.no-padding {
    padding: 0;
}

/* Navbar */
.navbar-default {
    border-color: rgba(34,34,34,.05);
    font-family: 'Work Sans', 'Questrial', 'Helvetica Neue', Arial, sans-serif;
    background-color: #fff;
    -webkit-transition: all .35s;
    -moz-transition: all .35s;
    transition: all .35s;
}

.navbar-default .navbar-header .navbar-brand {
    text-transform: uppercase;
    font-family: 'Work Sans', 'Questrial', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
    color: #701318; /* burgundy */
}

.navbar-default .navbar-header .navbar-brand:hover,
.navbar-default .navbar-header .navbar-brand:focus {
    color: #3f160f; /* darker burgundy */
}

.navbar-default .nav > li>a,
.navbar-default .nav>li>a:focus {
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 400;
    color: #222;
}

.navbar-default .nav > li>a:hover,
.navbar-default .nav>li>a:focus:hover {
    color: #701318; /* burgundy */
}

.navbar-default .nav > li.active>a,
.navbar-default .nav>li.active>a:focus {
    color: #701318!important; /* burgundy */
    background-color: transparent;
}

.navbar-default .nav > li.active>a:hover,
.navbar-default .nav>li.active>a:focus:hover {
    background-color: transparent;
}

@media (min-width:768px) {
    .navbar-default {
        border-color: rgba(255,255,255,.3);
        background-color: transparent;
    }

    .navbar-default .navbar-header .navbar-brand {
        color: rgba(255,255,255,.7);
    }

    .navbar-default .navbar-header .navbar-brand:hover,
    .navbar-default .navbar-header .navbar-brand:focus {
        color: #fff;
    }

    .navbar-default .nav > li>a,
    .navbar-default .nav>li>a:focus {
        color: rgba(255,255,255,.7);
    }

    .navbar-default .nav > li>a:hover,
    .navbar-default .nav>li>a:focus:hover {
        color: #fff;
    }

    .navbar-default.affix {
        border-color: rgba(34,34,34,.05);
        background-color: #fff;
    }

    .navbar-default.affix .navbar-header .navbar-brand {
        font-size: 14px;
        color: #701318; /* burgundy */
    }

    .navbar-default.affix .navbar-header .navbar-brand:hover,
    .navbar-default.affix .navbar-header .navbar-brand:focus {
        color: #3f160f; /* darker burgundy */
    }

    .navbar-default.affix .nav > li>a,
    .navbar-default.affix .nav>li>a:focus {
        color: #222;
    }

    .navbar-default.affix .nav > li>a:hover,
    .navbar-default.affix .nav>li>a:focus:hover {
        color: #701318; /* burgundy */
    }
}

/* Hero header */
header {
    position: relative;
    width: 100%;
    min-height: auto;
    text-align: center;
    color: #fff;
    background-image: url(../img/header.jpg);
    background-position: center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}

header .header-content {
    position: relative;
    width: 100%;
    padding: 100px 15px;
    text-align: center;
}

header .header-content .header-content-inner h1 {
    margin-top: 0;
    margin-bottom: 0;
    text-transform: uppercase;
    font-weight: 400;
}

header .header-content .header-content-inner hr {
    margin: 30px auto;
}

header .header-content .header-content-inner p {
    margin-bottom: 50px;
    font-size: 16px;
    font-weight: 300;
    color: rgba(255,255,255,.7);
}

/* Hero date / location lockup */
.hero-meta {
    margin: 30px auto 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    font-family: 'Questrial', 'Helvetica Neue', Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    color: rgba(255,255,255,0.9);
    font-size: 18px;
}

.hero-meta-item {
    text-align: center;
    line-height: 1.7;
}

.hero-meta-line {
    display: block;
}

.hero-meta-divider {
    width: 1px;
    height: 80px;
    background-color: rgba(255,255,255,0.6);
}

/* Unified section headings for Schedule, Wedding Party, Travel */
#schedule .section-heading,
#wedding-party .section-heading,
#qa .section-heading,
#rsvp .section-heading,
#contact .section-heading,
#travel .section-heading {
    font-family: 'Questrial', 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    font-size: 22px;
    margin-top: 0;
}

/* Wedding day schedule section */
/* Uses existing .bg-primary background; only text and borders are customized */

#schedule {
    color: #ffffff;  /* default text in this section */
}

/* Date line under "Wedding Day" */
.schedule-date {
    margin-top: 10px;
    margin-bottom: 20px;
    font-family: 'Questrial', 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-size: 13px; 
    color: rgba(255,255,255,0.8);
}
.schedule-address {
    margin-top: -10px;
    margin-bottom: 40px;
    font-family: 'Questrial', 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 13px;
    color: rgba(255,255,255,0.8);
}
/* Main schedule list */
.schedule {
    max-width: 780px;
    margin: 0 auto;
    border-top: 1px solid rgba(255,255,255,0.18);
}

.schedule-row {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(255,255,255,0.18);
}

/* Left column: times */
.schedule-time {
    flex: 0 0 230px;
    font-family: 'Questrial', 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 13px;
    color: rgba(255,255,255,0.9);
}

/* Right column: event + location */
.schedule-event {
    flex: 1;
}

.schedule-title {
    font-family: 'Questrial', 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-size: 15px;
    color: #ffffff;
}

.schedule-location {
    margin-top: 6px;
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    font-size: 13px;
    color: rgba(255,255,255,0.78);
    line-height: 1.6;
}

/* Mobile stacking for schedule */
@media (max-width: 768px) {
    .schedule {
        max-width: 100%;
        padding: 0 15px;              /* a bit of side padding */
    }

    .schedule-row {
        flex-direction: column;
        gap: 8px;
        align-items: center;          /* center the stacked items */
        text-align: center;           /* center text by default */
    }

    .schedule-time,
    .schedule-event {
        flex: none;
        width: 100%;
        text-align: center;           /* override any left alignment */
    }
}

/* Hero layout adjustments on larger screens */
@media (min-width:768px) {
    header {
        min-height: 100%;
    }

    header .header-content {
        position: absolute;
        top: 50%;
        padding: 0 50px;
        -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);
    }

    header .header-content .header-content-inner {
        margin-right: auto;
        margin-left: auto;
        max-width: 1000px;
    }

    header .header-content .header-content-inner p {
        margin-right: auto;
        margin-left: auto;
        max-width: 80%;
        font-size: 18px;
    }
}

.section-heading {
    margin-top: 0;
}

.service-box {
    margin: 50px auto 0;
    max-width: 400px;
}

@media (min-width:992px) {
    .service-box {
        margin: 20px auto 0;
    }
}

.service-box p {
    margin-bottom: 0;
}

/* Portfolio hover overlay */
.portfolio-box {
    display: block;
    position: relative;
    margin: 0 auto;
    max-width: 650px;
}

.portfolio-box .portfolio-box-caption {
    display: block;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    color: #fff;
    opacity: 0;
    background: rgba(125,1,33,.9); /* burgundy overlay */
    -webkit-transition: all .35s;
    -moz-transition: all .35s;
    transition: all .35s;
}

.portfolio-box .portfolio-box-caption .portfolio-box-caption-content {
    position: absolute;
    top: 50%;
    width: 100%;
    text-align: center;
    transform: translateY(-50%);
}

.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-category,
.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name {
    padding: 0 15px;
    font-family: 'Work Sans', 'Questrial', 'Helvetica Neue', Arial, sans-serif;
}

.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-category {
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
}

.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name {
    font-size: 18px;
}

.portfolio-box:hover .portfolio-box-caption {
    opacity: 1;
}

@media (min-width:768px) {
    .portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-category {
        font-size: 16px;
    }

    .portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name {
        font-size: 22px;
    }
}

.call-to-action h2 {
    margin: 0 auto 20px;
}

/* Text primary color */
.text-primary {
    color: #701318; /* burgundy */
}

.no-gutter > [class*=col-] {
    padding-right: 0;
    padding-left: 0;
}

/* Buttons */
.btn-default {
    border-color: #fff;
    color: #222;
    background-color: #fff;
    -webkit-transition: all .35s;
    -moz-transition: all .35s;
    transition: all .35s;
}

.btn-default:hover,
.btn-default:focus,
.btn-default.focus,
.btn-default:active,
.btn-default.active,
.open > .dropdown-toggle.btn-default {
    border-color: #ededed;
    color: #222;
    background-color: #f2f2f2;
}

.btn-default:active,
.btn-default.active,
.open > .dropdown-toggle.btn-default {
    background-image: none;
}

.btn-default.disabled,
.btn-default[disabled],
fieldset[disabled] .btn-default,
.btn-default.disabled:hover,
.btn-default[disabled]:hover,
fieldset[disabled] .btn-default:hover,
.btn-default.disabled:focus,
.btn-default[disabled]:focus,
fieldset[disabled] .btn-default:focus,
.btn-default.disabled.focus,
.btn-default[disabled].focus,
fieldset[disabled] .btn-default.focus,
.btn-default.disabled:active,
.btn-default[disabled]:active,
fieldset[disabled] .btn-default:active,
.btn-default.disabled.active,
.btn-default[disabled].active,
fieldset[disabled] .btn-default.active {
    border-color: #fff;
    background-color: #fff;
}

.btn-default .badge {
    color: #fff;
    background-color: #222;
}

/* Primary burgundy button */
.btn-primary {
    border-color: #701318;
    color: #fff;
    background-color: #701318;
    -webkit-transition: all .35s;
    -moz-transition: all .35s;
    transition: all .35s;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary.focus,
.btn-primary:active,
.btn-primary.active,
.open > .dropdown-toggle.btn-primary {
    border-color: #3f160f;
    color: #fff;
    background-color: #3f160f; /* darker burgundy */
}

.btn-primary:active,
.btn-primary.active,
.open > .dropdown-toggle.btn-primary {
    background-image: none;
}

.btn-primary.disabled,
.btn-primary[disabled],
fieldset[disabled] .btn-primary,
.btn-primary.disabled:hover,
.btn-primary[disabled]:hover,
fieldset[disabled] .btn-primary:hover,
.btn-primary.disabled:focus,
.btn-primary[disabled]:focus,
fieldset[disabled] .btn-primary:focus,
.btn-primary.disabled.focus,
.btn-primary[disabled].focus,
fieldset[disabled] .btn-primary.focus,
.btn-primary.disabled:active,
btn-primary[disabled]:active,
fieldset[disabled] .btn-primary:active,
.btn-primary.disabled.active,
.btn-primary[disabled].active,
fieldset[disabled] .btn-primary.active {
    border-color: #701318;
    background-color: #701318;
}

.btn-primary .badge {
    color: #701318;
    background-color: #fff;
}

.btn {
    border: 0;
    border-radius: 300px;
    text-transform: uppercase;
    font-family: 'Questrial', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
}

.btn-xl {
    padding: 15px 30px;
}

::-moz-selection {
    text-shadow: none;
    color: #fff;
    background: #222;
}

::selection {
    text-shadow: none;
    color: #fff;
    background: #222;
}

img::selection {
    color: #fff;
    background: 0 0;
}

img::-moz-selection {
    color: #fff;
    background: 0 0;
}

body {
    webkit-tap-highlight-color: #222;
}

#map {
    height: 300px;
    overflow: visible;
    position: relative;
}

/* Wedding party sizing + typography */
.wedding-party-member .wedding-party-photo {
    width: 120px;              /* smaller circle */
    height: 120px;
    object-fit: cover;
    margin-bottom: 12px;
}

.wedding-party-member h3 {
    margin-top: 10px;
    margin-bottom: 4px;
    font-size: 14px;           /* similar to schedule-title */
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.wedding-party-role {
    font-size: 12px;           /* similar to schedule-time */
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.wedding-party-blurb {
    font-size: 12px;           /* similar to schedule-location */
    line-height: 1.5;
}

/* Travel & accommodations section */
.travel-intro,
.wedding-party-intro {
    max-width: 600px;
    margin: 0 auto 25px;
    line-height: 1.6;
}
.travel-card .service-box {
    padding: 20px 10px;
}

.travel-name {
    font-family: 'Questrial', 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 13px;     /* similar to schedule titles */
}

.travel-discount {
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.travel-details {
    font-size: 12px;
    line-height: 1.6;
}

/* Equal-height travel cards on tablet + desktop */
@media (min-width: 768px) {
    .travel-row {
        display: flex;
        flex-wrap: wrap;
    }

    .travel-row .travel-card {
        display: flex;
        align-items: stretch;
        margin-bottom: 30px;
    }

    .travel-row .travel-card .service-box {
        width: 100%;
    }
}
/* Q&A section */
#qa .section-heading {
    /* already unified via your shared heading rules */
}

.qa-intro {
    max-width: 650px;
    margin: 0 auto 25px;
}

.qa-item {
    margin-bottom: 30px;
    text-align: left;
}

.qa-question {
    font-size: 16px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.qa-answer {
    margin-bottom: 0;
} 
/* Q&A section background */
#qa {
    background-color: #f8f4f2;   /* warm light beige that pairs with burgundy */
    color: #343434;
}

#qa .section-heading {
    color: #343434;
}

#qa hr.primary {
    border-color: #701318;       /* keep the burgundy accent line */
}

/* Find Your RSVP section – light background + dark text */
#rsvp {
    background-color: #f8f4f2;      /* your new background */
    color: #343434;                 /* default text color */
}

/* Heading + intro, same treatment as Q&A */
#rsvp .section-heading {
    color: #343434;
}

#rsvp .text-muted,
#rsvp p {
    color: #555555;
}

/* Form labels and inputs for readability */
#rsvp label {
    color: #343434;
}

#rsvp input,
#rsvp select,
#rsvp textarea {
    color: #343434;
    background-color: #ffffff;
}
#rsvp hr.primary {
    border-color: #701318;       /* keep the burgundy accent line */
}

/* Optional: make the RSVP button match other buttons */
#rsvp .btn-primary {
    border-color: #701318;
    background-color: #701318;
}

/* Beta gate overlay styled to match Creative theme */
.beta-gate {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none; /* toggled via JS */
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #f8f4f2; /* or #ffffff if you prefer pure white */
}
body.beta-lock-scroll {
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.beta-gate-inner {
    max-width: 460px;
    margin: 0 20px;
    padding: 40px 30px 35px;
    background-color: #ffffff;
    border-radius: 6px;
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
}

.beta-gate-title {
    margin-top: 0;
    margin-bottom: 10px;
    font-family: 'Questrial', 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    font-size: 20px;
    color: #701318; /* burgundy */
}

.beta-gate-text {
    margin-bottom: 25px;
    font-size: 14px;
    line-height: 1.6;
    color: #555555;
}

.beta-gate-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
    margin-bottom: 10px;
}

.beta-gate-input {
    padding: 10px 14px;
    border-radius: 300px;
    border: 1px solid #ddd;
    font-size: 14px;
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    text-align: center;
}

.beta-gate-input:focus {
    outline: none;
    border-color: #701318;
    box-shadow: 0 0 0 2px rgba(112, 19, 24, 0.15);
}

.beta-gate-button {
    width: 100%;
}

.beta-gate-error {
    display: none;
    margin-top: 6px;
    margin-bottom: 0;
    font-size: 13px;
    color: #b20000;
}

/* Slightly tighter on small screens */
@media (max-width: 480px) {
    .beta-gate-inner {
        padding: 30px 18px 26px;
    }

    .beta-gate-title {
        font-size: 18px;
        letter-spacing: 0.20em;
    }

    .beta-gate-text {
        font-size: 13px;
    }
}
