/* =================================
   101 EAST DIVE BAR
   Tropical Beach Design
================================= */


@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');


*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}


html{
    scroll-behavior:smooth;
}


body{
    font-family:'Poppins', sans-serif;

    background-image:
        linear-gradient(rgba(0,0,0,.30), rgba(0,0,0,.30)),
        url("../images/background.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;

    color:#222;
    overflow-x:hidden;
}


/* ================================
        NAVIGATION
================================ */


.navbar{

    position:fixed;

    top:0;

    width:100%;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:20px 7%;

    background:rgba(0,0,0,.75);

    backdrop-filter:blur(10px);

    z-index:1000;

}



.logo h2{

    color:#ffd54a;

    font-size:28px;

}



.navbar ul{

    display:flex;

    gap:25px;

    list-style:none;

}



.navbar a{

    color:white;

    text-decoration:none;

    font-weight:600;

    transition:.3s;

}



.navbar a:hover{

    color:#ffd54a;

}



.nav-buttons{

    display:flex;

    gap:10px;

}



.nav-buttons button{

    border:none;

    cursor:pointer;

    padding:10px 18px;

    border-radius:30px;

    background:#d49a00;

    color:white;

    font-weight:bold;

    transition:.3s;

}



.nav-buttons button:hover{

    transform:scale(1.05);

    background:#ffb700;

}



.hero{
    height:100vh;
    background-image:url("../images/101Background1.png");
    background-repeat:no-repeat;
    background-position:center top;
    background-size:cover;

    display:flex;
    justify-content:center;
    align-items:flex-end;

    padding-bottom:60px;
}

/* ================================
        MENU CARDS
================================ */

.menu-grid{

    margin-top:40px;

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:30px;

}

.menu-card{

    background:linear-gradient(145deg,#fff8e7,#ffffff);

    border-radius:20px;

    padding:25px;

    box-shadow:0 10px 30px rgba(0,0,0,.15);

    transition:.3s;

    border-top:5px solid #d49a00;

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:flex-start;

    text-align:center;

    min-height:470px;

}

.menu-card:hover{

    transform:translateY(-10px);

}

.menu-card img{

    width:100%;

    max-width:180px;

    height:200px;

    object-fit:contain;

    display:block;

    margin:0 auto 20px;

}

.menu-card h3{

    font-size:24px;

    margin-bottom:15px;

    color:#7b4b00;

}

.menu-card p{

    margin-bottom:15px;

    color:#555;

    flex-grow:1;

}

.menu-card span{

    display:block;

    font-size:25px;

    font-weight:bold;

    color:#d49a00;

    margin-bottom:20px;

}

.add-cart{

    width:100%;

    margin-top:15px;

    padding:14px 20px;

    border:none;

    border-radius:30px;

    background:#d49a00;

    color:#ffffff;

    font-size:16px;

    font-weight:700;

    cursor:pointer;

    transition:all .3s ease;

}

.add-cart:hover{

    background:#ffb700;

    transform:translateY(-2px);

    box-shadow:0 8px 18px rgba(0,0,0,.25);

}



/* ================================
        GALLERY
================================ */


.gallery-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(220px,1fr));

    gap:25px;

    margin-top:40px;

}



.gallery-card{

    height:200px;

    background:

    linear-gradient(
    rgba(0,0,0,.3),
    rgba(0,0,0,.3)
    ),

    url("../images/hero/beach-background.jpg");


    background-size:cover;

    background-position:center;


    border-radius:20px;


    display:flex;

    justify-content:center;

    align-items:center;


    color:white;

    font-size:25px;

    font-weight:bold;


    text-shadow:0 3px 10px black;

}



/* ================================
        CART
================================ */


.cart-box{

    position:fixed;

    right:-400px;

    top:100px;

    width:350px;

    background:white;

    padding:30px;

    border-radius:20px 0 0 20px;

    box-shadow:0 10px 30px rgba(0,0,0,.3);

    transition:.4s;

    z-index:2000;

}



.cart-box.active{

    right:0;

}



.cart-box h2{

    color:#9b6500;

    margin-bottom:20px;

}



.cart-box button{

    width:100%;

    padding:15px;

    background:#d49a00;

    color:white;

    border:none;

    border-radius:30px;

    cursor:pointer;

}



/* ================================
        FOOTER
================================ */


footer{

    background:#111;

    color:white;

    text-align:center;

    padding:40px;

}



footer h3{

    color:#ffd54a;

    margin-bottom:10px;

}



/* ================================
        MOBILE
================================ */


@media (max-width:900px){

    .navbar{
        flex-direction:column;
        gap:15px;
        padding:15px;
    }

    .navbar ul{
        flex-direction:column;
        text-align:center;
        gap:12px;
    }

    .nav-buttons{
        flex-direction:column;
        width:100%;
    }

    .hero{
        height:70vh;
        background-size:contain;
        background-position:center top;
    }

    .hero h1{
        font-size:42px;
    }

    .hero h2{
        font-size:25px;
    }

    .hero p{
        font-size:17px;
    }

    .hero-buttons-after{
        flex-direction:column;
    }

}

/* =================================
   HERO BUTTONS
================================= */

.hero-buttons-after{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:20px;
    padding:40px 0;
    background:#fff8ed;
    flex-wrap:wrap;
}

.main-btn,
.outline-btn{
    display:inline-flex;
    justify-content:center;
    align-items:center;
    padding:16px 32px;
    border-radius:40px;
    text-decoration:none;
    font-weight:700;
    font-size:18px;
    transition:.3s;
}

.main-btn{
    background:#d49a00;
    color:#fff;
}

.main-btn:hover{
    background:#ffb700;
    transform:translateY(-3px);
}

.outline-btn{
    background:#fff;
    color:#7b4b00;
    border:3px solid #d49a00;
}

.outline-btn:hover{
    background:#d49a00;
    color:#fff;
}

/* =================================
   GENERAL SECTIONS
================================= */

.menu-section,
.gallery-section,
.delivery-section,
.contact-section,
.intro{
    padding:80px 8%;
}

.menu-section h2,
.gallery-section h2,
.delivery-section h2,
.contact-section h2,
.intro h2{
    text-align:center;
    font-size:38px;
    color:#7b4b00;
    margin-bottom:25px;
}

.intro{
    background:#fff8ed;
    text-align:center;
}

.intro h1{
    font-size:48px;
    color:#7b4b00;
    margin-bottom:20px;
}

.intro p{
    max-width:900px;
    margin:15px auto;
    line-height:1.8;
    font-size:18px;
}

.price{
    font-size:28px;
    font-weight:700;
    color:#d49a00;
    margin-bottom:15px;
}
/* ===============================
   CART BUTTONS
================================ */

.cart-box li {
    list-style: none;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.cart-box button {
    background: #e0a400;
    color: white;
    border: none;
    padding: 6px 12px;
    margin: 5px 3px;
    border-radius: 6px;
    cursor: pointer;
    width: auto;
    font-weight: bold;
}

.cart-box button:hover {
    background: #c98f00;
}
/* ===========================
   CHECKOUT MODAL
=========================== */

.checkout-modal{

    display:none;

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.65);

    justify-content:center;

    align-items:center;

    z-index:9999;

}

.checkout-content{

    background:white;

    width:90%;

    max-width:500px;

    padding:30px;

    border-radius:18px;

    box-shadow:0 10px 30px rgba(0,0,0,.25);

}

.checkout-content h2{

    text-align:center;

    margin-bottom:20px;

}

.checkout-content input,
.checkout-content textarea,
.checkout-content select{

    width:100%;

    padding:12px;

    margin-bottom:15px;

    border:1px solid #ddd;

    border-radius:10px;

    font-size:16px;

    box-sizing:border-box;

}

.checkout-content textarea{

    min-height:100px;

    resize:vertical;

}

#placeOrderBtn{

    width:100%;

    padding:15px;

    background:#e0a400;

    color:white;

    border:none;

    border-radius:10px;

    font-size:18px;

    font-weight:bold;

    cursor:pointer;

    margin-bottom:10px;

}

#placeOrderBtn:hover{

    background:#c98f00;

}

#closeCheckout{

    width:100%;

    padding:12px;

    border:none;

    border-radius:10px;

    background:#666;

    color:white;

    cursor:pointer;

}

#closeCheckout:hover{

    background:#444;

}
/* =========================================================
   MOVABLE BAR ENTRY DARTBOARD
========================================================= */

.bar-entry-float {
    position: fixed;

    right: 12px;
    bottom: 88px;

    width: 112px;

    padding: 4px;

    border-radius: 18px;

    background: rgba(5, 0, 0, 0.78);

    box-shadow:
        0 0 12px rgba(255, 50, 20, 0.55),
        0 0 24px rgba(255, 170, 30, 0.20);

    z-index: 9500;

    animation: barEntryPulse 2.2s ease-in-out infinite;
}


.bar-entry-link {
    display: block;

    width: 100%;

    border-radius: 14px;

    overflow: hidden;

    text-decoration: none;

    -webkit-tap-highlight-color: transparent;
}


.bar-entry-link img {
    display: block;

    width: 100%;
    height: auto;

    border-radius: 14px;

    pointer-events: none;
}


.bar-entry-drag {
    position: absolute;

    top: -8px;
    right: -8px;

    width: 27px;
    height: 27px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 0;

    border: 1px solid rgba(255, 210, 80, 0.90);

    border-radius: 50%;

    background: rgba(20, 0, 0, 0.96);

    color: #ffd25e;

    font-size: 12px;

    cursor: grab;

    touch-action: none;

    user-select: none;

    box-shadow:
        0 0 8px rgba(255, 40, 20, 0.60);
}


.bar-entry-drag:active {
    cursor: grabbing;
}


@keyframes barEntryPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.035);
    }

}


/* MOBILE */

@media (max-width: 600px) {

    .bar-entry-float {
        width: 106px;

        right: 9px;
        bottom: 82px;
    }

}


/* SMALL PHONES */

@media (max-width: 390px) {

    .bar-entry-float {
        width: 98px;
    }

}
/* FORCE MOBILE DARTBOARD DRAG */

#barEntryFloat {
    touch-action: none !important;
    -ms-touch-action: none !important;

    user-select: none !important;
    -webkit-user-select: none !important;

    cursor: grab !important;
}

#barEntryFloat:active {
    cursor: grabbing !important;
}

#barEntryFloat img,
#barEntryFloat a {
    -webkit-user-drag: none !important;
    user-select: none !important;
}

#barEntryFloat img {
    pointer-events: none !important;
}

