@import "https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800";
@import "https://fonts.googleapis.com/css?family=Merriweather:400,300,400italic,300italic,700,700italic";
@import "https://fonts.googleapis.com/css?family=Nunito:400,300,700";

/* Typography */
body {
    font-family: "Open Sans", sans-serif;
    font-weight: 300;
    color: rgba(28,54,83,.6);
    -webkit-text-size-adjust: 100%;
}
p {
    font-size: 15px;
    line-height: 29px;
    color: rgba(28,54,83,.6);
    padding-bottom: 20px;
}
h1 { font-size: 60px; }
h2 {
    font-size: 40px;
    font-weight: 300;
    color: #3d4351;
}
h3 {
    color: #3d4351;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 29px;
}
h4 { font-size: 18px; }
h5 {
    font-size: 15px;
    color: #3d4351;
    text-transform: uppercase;
    font-weight: 500;
}

/* Buttons */
.btn {
    font-size: 13px;
    border: solid 2px;
    border-radius: 40px;
    display: inline-block;
    text-transform: uppercase;
}
.btn:hover,
.btn:focus {
    color: #fff;
    border-color: #e8ca6f;
    background-color: #e8ca6f;
}
.btn-white {
    font-size: 13px;
    border: solid 2px;
    border-radius: 40px;
    display: inline-block;
    border-color: #fff;
}
.btn-white:hover,
.btn-white:focus {
    color: #e8ca6f;
    border-color: #e8ca6f;
}
.btn-fill {
    color: #fff;
    border: solid 2px #e8ca6f;
    border-radius: 40px;
    display: inline-block;
    text-transform: uppercase;
    background-color: #e8ca6f;
}
.btn-fill:hover,
.btn-fill:focus {
    color: #fff;
    background-color: #d3b56a;
    border-color: #d3b56a;
}
.btn-small { padding: 8px 30px; }
.btn-large { padding: 15px 40px; }
.btn-margin-right { margin-right: 20px; }

/* Utility Classes */
.group:after {
    content: "";
    display: table;
    clear: both;
}
.no-padding { padding: 0; }
.no-margin { margin: 0; }
*:focus { outline: none !important; }
ul, ol { margin: 0; padding: 0; }
ul li { list-style: none; }

/* Links */
a {
    color: #e8ca6f;
    transition: color 200ms ease, border-color 200ms ease, background-color 200ms ease;
}
a:hover,
a:focus {
    color: #d3b56a;
    text-decoration: none;
}

/* Sections */
section.intro,
section.features-extra,
section.rsvp {
    background: #fff;
}
section.features,
section.events,
section.blog {
    background: #f8f9fd;
}
section .header { padding-bottom: 30px; }
.section-padding { padding: 40px 0; }
.section-border { border-bottom: 1px solid #e6e9ea; }

/* Tooltip */
.tooltip {
    position: absolute;
    z-index: 1070;
    display: block;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 12px;
    font-weight: normal;
    line-height: 1.4;
    visibility: visible;
    filter: alpha(opacity=0);
    opacity: 0;
}
.tooltip.in {
    filter: alpha(opacity=90);
    opacity: .9;
}
.tooltip.top { padding: 5px 0; margin-top: -3px; }
.tooltip.right { padding: 0 5px; margin-left: 3px; }
.tooltip.bottom { padding: 5px 0; margin-top: 3px; }
.tooltip.left { padding: 0 5px; margin-left: -3px; }
.tooltip-inner {
    max-width: 200px;
    padding: 3px 8px;
    color: #fff;
    text-align: center;
    text-decoration: none;
    text-transform: capitalize;
    background-color: #000;
    border-radius: 4px;
}

/* Animations */
.pulse2 {
    animation-name: pulse2;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}
@keyframes pulse2 {
    0% { transform: scale(1.1); }
    50% { transform: scale(0.8); }
    100% { transform: scale(1); }
}
.floating-arrow {
    animation-name: floating-arrow;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}
@keyframes floating-arrow {
    from { transform: translate(-50%, 0); }
    65% { transform: translate(-50%, 15px); }
    to { transform: translate(-50%, 0); }
}
.floating-logo {
    animation-name: floating-logo;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}
@keyframes floating-logo {
    from { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 10px); }
    to { transform: translate(-50%, 0); }
}

/* Waypoints */
.wp1, .wp2, .wp3, .wp4, .wp5, .wp6, .wp7, .wp8, .wp9 { visibility: hidden; }
.wp8, .wp9 { animation-delay: .3s; }
.bounceInLeft, .bounceInRight, .fadeInUp, .fadeInUpDelay, .fadeInDown, .fadeInUpD, .fadeInLeft, .fadeInRight, .bounceInDown {
    visibility: visible;
}

/* Navigation */
.header-nav.open {
    visibility: visible;
    opacity: .9;
    transition: opacity .5s;
}
.nav-toggle {
    position: absolute;
    top: 0;
    right: 15px;
    z-index: 999999;
    padding: 10px 35px 16px 0;
    cursor: pointer;
}
.nav-toggle:focus { outline: none; }
.nav-toggle span,
.nav-toggle span:before,
.nav-toggle span:after {
    content: "";
    position: absolute;
    display: block;
    width: 35px;
    height: 3px;
    border-radius: 1px;
    background: #fff;
    cursor: pointer;
}
.nav-toggle span:before { top: -10px; }
.nav-toggle span:after { bottom: -10px; }
.nav-toggle span,
.nav-toggle span:before,
.nav-toggle span:after {
    transition: all 300ms ease-in-out;
}
.nav-toggle.active span { background-color: rgba(0,0,0,0); }
.nav-toggle.active span:before,
.nav-toggle.active span:after { top: 0; }
.nav-toggle.active span:before {
    transform: rotate(45deg);
}
.nav-toggle.active span:after {
    top: 10px;
    transform: translatey(-10px) rotate(-45deg);
}
.navicon {
    position: absolute;
    height: 26px;
    right: 10px;
    top: 48px;
    visibility: hidden;
    transition: all 300ms ease-in-out;
}
.navigation {
    transition: all 300ms ease-in-out;
    position: fixed;
    width: 100%;
    z-index: 999;
}
.fixed {
    position: fixed;
    background-color: rgba(55,36,40,.88);
    z-index: 999;
    width: 100%;
}

/* Header */
header {
    padding: 50px 0;
    border-bottom: solid 1px rgba(255,255,255,.2);
    position: relative;
    width: 1170px;
    margin: 0 auto;
    transition: padding 300ms ease-in-out;
}
header a {
    color: #fff;
    text-transform: uppercase;
    font-size: 13px;
}
header a.login { margin-right: 20px; }
header .logo { display: inline-block; }
header .logo img { height: 19px; }
header ul.primary-nav { margin: 0 0 0 75px; padding: 0; }
header ul.primary-nav li { display: inline; }
header ul.primary-nav li a {
    color: #fff;
    padding-right: 25px;
}
header ul.primary-nav li a:hover { color: #e8ca6f; }
header ul.primary-nav li:last-child a { padding-right: 0px; }
header ul.member-actions li { display: inline; }
header ul.member-actions li a { color: #fff; }
header ul.member-actions li a:hover { color: #e8ca6f; }
header .header-nav { display: inline-block; }
header .member-actions {
    position: absolute;
    right: 0;
    top: 41px;
    transition: all 300ms ease-in-out;
}

/* Hero Section */
.hero {
    min-height: 750px;
    background: url("../img/hero.png") center center no-repeat;
    background-size: cover;      /* Responsive, always covers */
    background-color: #000;
    position: relative;
}
.hero .down-arrow a { color: #fff; }
.hero h1 {
    color: #fff;
    margin-bottom: 40px;
}
.hero p.intro {
    color: #fff;
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 80px;
}
.hero .hero-content { padding-top: 40%; }
.hero .hero-content img {
    width: 55%;
    /* margin-bottom: 12%; */
}
.down-arrow {
    color: #fff;
    font-size: 30px;
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

/* Share Bar */
.share-bar { margin-top: 20px; }

/* Intro Section */
.intro span.icon {
    font-size: 40px;
    color: #e8ca6f;
    font-weight: bold;
}
.intro-icon {
    display: inline-block;
    vertical-align: top;
    padding: 6px 0 0 0;
    margin-right: 20px;
    width: 40px;
}
.intro-content {
    display: inline-block;
    width: 80%;
}
#intro { padding-top: 40px; }
#intro img { width: 100%; height: auto; }
#intro p { text-align: center; }

/* Features Section */
.features { position: relative; }
.features p { margin-bottom: 0; padding-bottom: 0; }
.features h3 { margin: 0 0 20px 0; }
.features span.icon {
    font-size: 35px;
    color: #e8ca6f;
    font-weight: bold;
}
.features .feature-icon {
    display: inline-block;
    vertical-align: top;
    padding: 6px 0 0 0;
    margin-right: 20px;
    width: 35px;
}
.features .feature-content { display: inline-block; width: 75%; }
.features .intro-icon {
    display: inline-block;
    vertical-align: top;
    padding: 6px 0 0 0;
    margin-right: 20px;
}
.features .intro-content { display: inline-block; width: 80%; }
.features ul.features-stack { margin-top: 50px; }
.features ul.features-stack li {
    margin-top: 20px;
    padding-bottom: 20px;
    border-bottom: solid 1px #e6e9ea;
}
.features ul.features-stack li:last-child {
    padding-bottom: 0px;
    border-bottom: none;
}
.features .ipad-wrap {
    width: 706px;
    height: 1002px;
    background: url("../img/ipad-device.png") no-repeat center center;
    z-index: 1;
}
.features .iphone-wrap {
    width: 304px;
    height: 620px;
    background: url("../img/iphone6.png") no-repeat center center;
    position: absolute;
    left: 530px;
    bottom: 129px;
    z-index: 2;
}
.features .device-showcase {
    position: absolute;
    bottom: -365px;
    right: 61%;
}
.features .responsive-feature-img,
.features-extra .responsive-feature-img {
    display: none;
}
.devices { position: relative; }

/* Features Extra */
.features-extra {
    position: relative;
    z-index: 3;
}
.features-extra .btn { margin-top: 20px; }
.features-extra .macbook-wrap {
    position: absolute;
    width: 916px;
    height: 540px;
    background: url("../img/macbook-pro.png") no-repeat center center;
    top: 114px;
    z-index: 4;
    left: 50%;
}

/* Hero Strip */
.hero-strip {
    margin-top: 120px;
    background: #333844 url("../img/polygonal-bg.jpg") no-repeat center center;
    padding-bottom: 190px;
    position: relative;
}
.hero-strip i {
    font-family: "Nunito", sans-serif;
    font-weight: 300;
    font-size: 25px;
    color: #f69d52;
    vertical-align: top;
    margin-left: -8px;
    font-style: normal;
}
.hero-strip h2 {
    color: #fff;
    margin: 0 0 20px 0;
}
.hero-strip p { color: #acb1b4; }
.hero-strip .btn { margin-top: 10px; }
.hero-strip .logo-placeholder {
    width: 230px;
    height: 230px;
    position: absolute;
    bottom: -285px;
    left: 50%;
    transform: translateX(-50%);
}

/* Events Section */
.events .leftcol {
    padding-right: 100px;
    border-right: solid 1px #e6e9ea;
}
.events .rightcol { padding-left: 100px; }
.events .time {
    font-size: 13px;
    font-style: italic;
    text-transform: lowercase;
    color: rgba(28,54,83,.6);
}

/* Blog Section */
.blog { padding-bottom: 120px; }
.blog img {
    width: 100%;
    height: auto;
    transition: all 300ms ease-in-out;
}
.blog h2 {
    font-size: 11px;
    color: #acb1b4;
    font-weight: 500;
    text-transform: uppercase;
    margin-top: 35px;
}
.blog .btn { margin-top: 20px; }
.blog .blog-img-wrap {
    position: relative;
    overflow: hidden;
}
.blog .blog-img-wrap .overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,.5);
    transition: all 300ms ease-in-out;
    filter: alpha(opacity=0);
    opacity: 0;
}
.blog .blog-img-wrap i {
    color: #fff;
    font-size: 20px;
    position: absolute;
    width: 20px;
    height: 20px;
    top: 25px;
    right: 35px;
}
.blog .blog-img-wrap:hover img,
.blog .blog-img-wrap:focus img {
    transform: scale(1.1);
}
.blog .blog-img-wrap:hover .overlay,
.blog .blog-img-wrap:focus .overlay {
    filter: alpha(opacity=1);
    opacity: 1;
    z-index: 9;
}
.blog figcaption i {
    margin-left: 5px;
    font-size: 15px;
}
.blog figcaption a.blog-post-title {
    color: rgba(28,54,83,.6);
}
.blog figcaption a.blog-post-title:hover,
.blog figcaption a.blog-post-title:focus {
    color: #3d4351;
}

/* Instagram */
#instagram img { width: 100%; }

/* Engagement Pictures */
#eng-pics img {
    width: 100%;
    height: auto;
    transition: all 300ms ease-in-out;
}
#eng-pics .img-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}
#eng-pics .img-wrap .overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,.5);
    transition: all 300ms ease-in-out;
    filter: alpha(opacity=0);
    opacity: 0;
}
#eng-pics .img-wrap i {
    color: #fff;
    font-size: 15px;
    position: absolute;
    width: 15px;
    height: 15px;
    top: 6px;
    right: 6px;
}
#eng-pics .img-wrap:hover img,
#eng-pics .img-wrap:focus img {
    transform: scale(1.1);
}
#eng-pics .img-wrap:hover .overlay,
#eng-pics .img-wrap:focus .overlay {
    filter: alpha(opacity=1);
    opacity: 1;
    z-index: 9;
}
#eng-pics .diamond {
    width: 230px;
    height: 230px;
    position: absolute;
    bottom: -145px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 500;
}
#eng-pics .ring {
    width: 75px;
    height: 75px;
    border-radius: 75px;
    border: 10px solid #d0d3d4;
    position: absolute;
    left: 34%;
    top: 75%;
    z-index: -1;
}

/* Video Section */
#video-bg { height: 300px; }
#video-content {
    width: 100%;
    height: 100%;
    padding-top: 100px;
    position: relative;
    background: rgba(17,17,17,.5);
    text-align: center;
}
#video-content h5 {
    color: #fff;
    font-size: 30px;
    font-weight: 300;
    letter-spacing: 10px;
}
#video-content p { color: #fff; }

/* Map Section */
#map-canvas {
    height: 500px;
    width: 100%;
}
#map-content-wrapper {
    position: relative;
    margin-top: -502px;
    margin-bottom: 150px;
}
#map-content {
    margin-top: 40px;
    padding: 50px 60px;
    background: #fff;
    transition: opacity .5s, visibility .6s, margin-top .5s;
}
.map-responsive {
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
}
.map-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}
#btn-show-content {
    padding: 20px;
    background: #fff;
    cursor: pointer;
    display: inline-block;
    transition: opacity .5s, visibility .6s, margin-top .5s;
}
.toggle-map-content {
    opacity: 0;
    visibility: hidden;
}
.pointer-events-none { pointer-events: none; }
.pointer-events-auto { pointer-events: auto; }

/* RSVP Section */
.rsvp-form {
    background: rgba(255,255,255,0.95);
    padding: 32px 24px 24px 24px;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
    max-width: 600px;
    margin: 32px auto 0 auto;
}

.rsvp-form .row {
    margin-bottom: 18px;
}

.form-input-group {
    display: flex;
    align-items: center;
    background: #f7f7f7;
    border-radius: 8px;
    padding: 8px 14px;
    margin-bottom: 0;
    border: 1px solid #e0e0e0;
    transition: border 0.2s;
    overflow: hidden; /* Add this line */
}

.form-input-group:focus-within {
    border: 1.5px solid #e8ca6f;
    background: #fffbe9;
}

.form-input-group i {
    flex-shrink: 0; /* Prevent icon from shrinking */
    color: #e8ca6f;
    font-size: 1.2em;
    margin-right: 10px;
    min-width: 22px;
    text-align: center;
}

.rsvp-form input,
.rsvp-form select {
    border: none;
    background: transparent;
    outline: none;
    font-size: 1em;
    width: 100%;
    padding: 8px 0;
    color: #333;
    min-width: 0; /* Add this line to prevent overflow */
}

.rsvp-form input[type="datetime-local"] {
    font-family: inherit;
}

.rsvp-form button.rsvp-btn {
    width: 100%;
    margin-top: 10px;
    background: #e8ca6f;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 14px 0;
    font-size: 1.1em;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(232,202,111,0.08);
    transition: background 0.2s, color 0.2s;
}

.rsvp-form button.rsvp-btn:hover,
.rsvp-form button.rsvp-btn:focus {
    background: #c7a94e;
    color: #fff;
}

@media (max-width: 767px) {
    .rsvp-form {
        padding: 18px 6px 12px 6px;
        max-width: 98vw;
    }
    .form-input-group {
        padding: 8px 8px;
    }
}
/* .rsvp { padding-bottom: 140px; }
.rsvp .rsvp-form .rsvp-btn {
    padding: 15px 0;
    border-radius: 3px;
    width: 100%;
    font-size: 13px;
}
.rsvp .rsvp-form .form-input-group {
    width: 100%;
    height: 55px;
    margin: 0 auto 10px;
    border-radius: 5px;
    border: solid 1px #e6e9ea;
    text-align: left;
    position: relative;
}
.rsvp .rsvp-form .form-input-group i {
    color: #e8ca6f;
    font-size: 14px;
}
.rsvp .rsvp-form .form-input-group i:after {
    content: "";
    height: 30px;
    width: 1px;
    border-right: solid 1px #e6e9ea;
    position: absolute;
    top: 50%;
    left: 30px;
    transform: translateY(-50%);
}
.rsvp .rsvp-form .form-input-group i.fa-user,
.rsvp .rsvp-form .form-input-group i.fa-users,
.rsvp .rsvp-form .form-input-group i.fa-envelope,
.rsvp .rsvp-form .form-input-group .fa-key {
    font-size: 14px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 20px;
}
.rsvp .rsvp-form .form-input-group input {
    padding-left: 68px;
    width: 100%;
    height: 100%;
    border-radius: 6px;
    border: none;
}
.rsvp .rsvp-form .form-input-group input::-webkit-input-placeholder { color: #bcc1c3; }
.rsvp .rsvp-form .form-input-group input:-moz-placeholder { color: #bcc1c3; }
.rsvp .rsvp-form .form-input-group input::-moz-placeholder { color: #bcc1c3; }
.rsvp .rsvp-form .form-input-group input:-ms-input-placeholder { color: #bcc1c3; } */

/* Footer */
footer .content {
    margin-top: 40px;
    padding-bottom: 24px;
    border-top: 1px solid #e6e9ea;
}
footer .to-top-wrapper {
    font-size: 30px;
    display: block;
    cursor: pointer;
    margin: -25px auto 50px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    border: 1px solid #e6e9ea;
    background: #fff;
}
footer .to-top-wrapper .to-top {
    display: block;
    transition: all .3s ease-in-out;
}
footer .to-top-wrapper .to-top:hover { margin-top: -5px; }
footer span.fa-heart {
    color: #ff415c;
    font-size: 18px;
    margin: 0 2px;
}

/* Modal */
body.modal-open { padding-right: 0 !important; }
.modal-body { padding: 25px; }