/* ===========================
   Base Styles
=========================== */
body,
html {
    font-family: 'Open Sans', serif;
    color: #777;
    font-weight: 400;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    text-rendering: optimizeLegibility !important;
    -webkit-font-smoothing: antialiased !important;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Raleway', sans-serif;
    color: #333;
    margin: 0;
    padding: 0;
}

h2 {
    font-weight: 400;
    font-size: 38px;
    text-transform: uppercase;
    position: relative;
    margin: 10px 0 15px 0;
    padding-bottom: 20px;
    display: inline-block;
}

h2::after {
    content: "";
    display: block;
    width: 70px;
    height: 2px;
    margin: 10px auto 0 auto;
    background-color: #d43031;
}

h3 {
    font-size: 24px;
    font-weight: 400;
}

h3::after {
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    margin: 10px auto 0 auto;
    background-color: #d43031;
}

h4 {
    font-size: 24px;
    text-transform: uppercase;
    font-weight: 400;
}

h5 {
    text-transform: uppercase;
    font-weight: 700;
    line-height: 20px;
}

p {
    font-size: 15px;
    margin: 0 0 15px;
}

a {
    color: #8eb640;
    text-decoration: none;
}

a:hover,
a:focus {
    color: #222;
    text-decoration: none;
}

ul,
ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* ===========================
   Buttons
=========================== */
.btn-custom {
    text-transform: uppercase;
    color: #777;
    background-color: #fff;
    border: 2px solid #777;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
    border-radius: 8px;
    margin-top: 20px;
    transition: all 0.3s;
}

.btn-custom:hover,
.btn-custom:focus {
    color: #fff;
    border-color: #d43031;
    background-color: #d43031;
}

/* ===========================
   Navbar
=========================== */
.navbar-logo {
    height: 40px;
    width: auto;
}

#menu {
    padding: 20px 0;
    transition: all 0.5s;
    position: fixed;
    width: 100%;
    z-index: 999;
    background-color: rgba(255, 255, 255, 0.9);
}

#menu.navbar-default .navbar-nav>li>a {
    text-transform: uppercase;
    color: #262626;
    font-weight: 400;
    font-size: 15px;
    padding: 5px 0;
    border: 2px solid transparent;
    margin: 0 20px;
    transition: color 0.3s;
}

#menu.navbar-default .navbar-nav>li>a:hover {
    color: #d43031;
}

#menu.navbar-default.scrolled {
    background-color: #262626 !important;
}

#menu.navbar-default.scrolled .navbar-nav>li>a {
    color: #fff !important;
}

/* ===========================
   Header / Intro
=========================== */
header .intro {
    display: table;
    width: 100%;
    height: 100vh;
    padding: 0;
    background: url(../img/riverton.jpg) center center no-repeat;
    background-size: cover;
    position: relative;
}

header .intro .overlay {
    background: rgba(0, 0, 0, 0.4);
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

header .intro h1 {
    font-family: 'Rochester', cursive;
    font-size: 10em;
    color: #fff;
    margin: 0;
}

header .intro p {
    font-size: 24px;
    color: #fff;
    margin-top: 150px;
}

/* ===========================
   Sections
=========================== */
section {
    padding: 80px 0;
}

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

.section-title h2 {
    display: inline-block;
    position: relative;
    text-align: center;
}

/* ===========================
   Bar Section
=========================== */
#bar .features-item {
    margin-bottom: 30px;
    text-align: center;
}

#bar .bar-img {
    max-width: 300px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 0 auto 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#bar .bar-img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* ===========================
   About Section
=========================== */
#about {
    background: #f6f6f6;
}

#about .about-text {
    padding: 30px 15px;
}

#about .about-img {
    background: url(../img/dr1.jpg) center center no-repeat;
    background-size: cover;
    border-radius: 12px;
    height: 570px;
}

/* ===========================
   Menu Section
=========================== */
#restaurant-menu {
    padding: 100px 0;
    background: #fafafa;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.menu-card {
    background: #f7f7f7;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e6e6e6;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.menu-card-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

/* ===========================
   Gallery Section
=========================== */
#gallery .gallery-item {
    margin: 10px;
    overflow: hidden;
    border-radius: 12px;
}

#gallery .gallery-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#gallery .gallery-img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* ===========================
   Bottleshop Section
=========================== */
#bottleshop .bottleshop-logo {
    max-width: 250px;
    height: auto;
    display: block;
    margin: 0 auto 30px;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#bottleshop .bottleshop-logo:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* ===========================
   Contact Section
=========================== */
#contact {
    background: #333;
    color: #ccc;
}

#contact h3 {
    font-size: 18px;
    font-weight: 400;
    text-transform: uppercase;
    position: relative;
    padding: 20px 0;
    color: #aaa;
}

#contact h3::after {
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    margin: 10px auto 0 auto;
    background-color: #d43031;
}

#contact .form-control {
    background-color: rgba(255, 255, 255, 0.2);
    border: 0;
    border-radius: 8px;
    color: #fff;
    padding: 6px 12px;
    margin-bottom: 15px;
}

#contact .form-control:focus {
    outline: none;
    box-shadow: none;
    border-color: #d43031;
}

/* ===========================
   Footer Section
=========================== */
#footer {
    background: #262626;
    padding: 40px 0;
    color: #666;
}

#footer a {
    color: #999;
}

#footer a:hover {
    color: #eee;
}

#footer .social i {
    font-size: 24px;
    color: #888;
    transition: all 0.3s;
}

#footer .social i:hover {
    color: #eee;
}

/* ===========================
   Popup Overlay
=========================== */
.promo-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.promo-popup-overlay.show {
    visibility: visible;
    opacity: 1;
}

.promo-popup-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.promo-img {
    max-width: 25%;
    max-height: 25%;
    margin: auto;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
}

.promo-popup-close {
    position: absolute;
    top: -15px;
    right: -15px;
    background: #fff;
    color: #000;
    font-size: 26px;
    line-height: 30px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    text-align: center;
    cursor: pointer;
    border: 2px solid #000;
}

/* ===========================
   Responsive / Mobile Styles
=========================== */
@media (max-width: 576px) {

    /* Header adjustments */
    header .intro {
        height: 60vh;
    }

    header .intro h1 {
        font-size: 3rem;
    }

    header .intro p {
        margin-top: 20px;
        font-size: 1rem;
    }

    /* Section padding */
    section {
        padding: 50px 0;
    }

    /* Navbar adjustments */
    .navbar-nav li a {
        padding: 0.5rem 0.8rem;
        font-size: 14px;
    }

    #menu.navbar-default.scrolled .navbar-nav>li>a {
        color: #fff !important;
        font-size: 14px;
    }

    /* Bar, menu, gallery items */
    #bar .features-item,
    #restaurant-menu .menu-card,
    #gallery .gallery-item {
        margin-bottom: 1.5rem;
    }

    /* Menu card padding */
    .menu-card {
        padding: 15px;
    }

    /* Gallery image height */
    #gallery .gallery-img {
        height: 150px;
    }

    /* About section text padding */
    #about .about-text {
        padding: 20px 15px;
    }

    /* Contact form font size */
    #contact .form-control {
        font-size: 0.9rem;
    }

    /* Footer adjustments */
    #footer {
        padding: 30px 0;
        text-align: center;
    }

    /* Bottleshop logo */
    #bottleshop .bottleshop-logo {
        max-width: 200px;
    }
}