/* ========================
   General Styles
======================== */
body {
    font-family: 'Lato', sans-serif;
    background-color: #c27c5a;
    color: #3a2e2a;
    line-height: 1.6;
}

a {
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
}

/* ========================
   Navbar
======================== */
.navbar-wrapper {
    background-color: #4b3621;
    color: #fff;
    padding: 1rem 0;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.brand h1 {
    color: #fff2e6;
    font-weight: 900;
    font-size: 1.8rem;
}

.nav-links ul {
    list-style: none;
    display: flex;
    gap: 1rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links ul li a {
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-links ul li a:hover {
    background-color: #fff2e6;
    color: #4b3621;
}

.nav-links ul li .btn-primary {
    background-color: #c27c5a;
    border: none;
    color: #fff;
    padding: 0.5rem 1rem;
    transition: background-color 0.3s ease;
}

.nav-links ul li .btn-primary:hover {
    background-color: #a35e3f;
}

/* Hero Section */

.hero-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* forces image to fill the area */
    object-position: center;
    /* forces image to stay centered */
    transform: translate(-50%, -50%);
    /* centers the image */
    z-index: 1;
}


.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    z-index: 2;
}

.hero-section .container {
    position: relative;
    z-index: 3;
    /* Ensures text is on top of image & overlay */
}

.hero-section a.btn {
    margin-left: 200px;
    /* adjust this value */
}

.about-hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    /* Adjust to move text down/up */
    padding-bottom: 80px;
    background-color: #c27c5a;
    /* keeps your caramel background */
}

.about-hero-section h1 span {
    color: #fff2e6;
    /* optional highlight styling */
}

/* Video container */
.about-hero-section iframe {
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}



/* ========================
   Feature & Product Cards
======================== */
.feature-card,
.product-card {
    background-color: #fff2e6;
    border-radius: 15px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card img,
.product-card img {
    border-radius: 15px;
}

.feature-card h5,
.product-card h6 {
    margin: 1rem 0 0.5rem;
}

.feature-card:hover,
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
}

/* ========================
   Buttons
======================== */
.btn-primary {
    background-color: #c27c5a;
    border: none;
}

.btn-primary:hover {
    background-color: #a35e3f;
}

.btn-outline-primary {
    border-color: #c27c5a;
    color: #4b3621;
}

.btn-outline-primary:hover {
    background-color: #c27c5a;
    color: #fff;
}

/* ========================
   App Section
======================== */
.app-section {
    background-color: #fff2e6;
    text-align: center;
    padding: 4rem 1rem;
}

.app-section h3 {
    font-weight: 700;
}

.app-section img {
    max-width: 120px;
}

/* ========================
   Carousel
======================== */

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    /* make control area narrower */
    top: 50%;
    transform: translateY(-50%);
}

.carousel-control-prev {
    left: -40px;
    /* move to far LEFT (adjust as needed) */
}

.carousel-control-next {
    right: -40px;
    /* move to far RIGHT (adjust as needed) */
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    background-size: 60%;
}

.carousel-indicators {
    bottom: -50px !important;
    /* move dots further below */
}

.carousel {
    margin-bottom: 30px;
    /* extra space so dots don't overlap content */
}

/* ========================
   Gallery Section
======================== */
#gallery {
    background-color: #c27c5a;
}

.gallery-card {
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
    transition: transform .3s ease, box-shadow .3s ease;
}

.gallery-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform .4s ease;
}

.gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.gallery-card:hover img {
    transform: scale(1.08);
}



/* ========================
   Footer
======================== */
.site-footer {
    background-color: #4b3621;
    color: #fff2e6;
    padding: 3rem 1rem;
    margin-top: 3rem;
}

.site-footer h5 {
    font-weight: 700;
}

.site-footer a {
    color: #fff2e6;
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: #ffd699;
}

.site-footer .input-group input {
    border-radius: 5px 0 0 5px;
    border: none;
}

.site-footer .input-group button {
    border-radius: 0 5px 5px 0;
    border: none;
    background-color: #c27c5a;
    color: #fff;
}

.site-footer .input-group button:hover {
    background-color: #a35e3f;
}

/* ========================
   Responsive Adjustments
======================== */
@media(max-width: 768px) {
    .nav-links ul {
        flex-direction: column;
        gap: 0.5rem;
    }

    .hero-section {
        padding: 5rem 1rem;
    }
}

/* Menu UI helpers */
.branch-pill {
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.branch-select {
  min-width: 260px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
}

.branch-select:focus {
  box-shadow: none;
  border-color: rgba(255,255,255,0.35);
}

.menu-tabs .menu-tab.active {
  background-color: #fff2e6 !important;
  color: #4b3621 !important;
  border-color: #fff2e6 !important;
}

/* ===== Menu Page Polish ===== */
.menu-hero {
  background: linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.05));
}

.menu-hero-card {
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 14px 40px rgba(0,0,0,0.25);
}

.panel-card {
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 12px 28px rgba(0,0,0,0.22);
}

.menu-map {
  height: 360px;
  width: 100%;
  border: 1px solid rgba(255,255,255,0.12);
  overflow: hidden;
}

.branch-results .branch-card {
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.25);
  color: #fff;
  padding: 14px 14px;
  border-radius: 16px;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.branch-results .branch-card:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.06);
}

.branch-results .branch-card.active {
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.08);
}

.menu-search {
  max-width: 320px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  border-radius: 999px;
}
.menu-search::placeholder { color: rgba(255,255,255,0.6); }
.menu-search:focus { box-shadow: none; border-color: rgba(255,255,255,0.35); }

.menu-tabs .menu-tab.active {
  background-color: #fff2e6 !important;
  color: #4b3621 !important;
  border-color: #fff2e6 !important;
}

.menu-item-card {
  background: rgba(255,242,230,0.92);
  color: #3a2e2a;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 12px 24px rgba(0,0,0,0.18);
}

.menu-item-imgwrap {
  height: auto;
  overflow: visible;
  background: rgba(0,0,0,0.06);
}

.menu-item-imgwrap img {
  width: 100%;
  height: auto;
  object-fit: initial;
  display: block;
  border-radius: 16px;
}

.price-pill {
  background: rgba(75,54,33,0.12);
  border: 1px solid rgba(75,54,33,0.18);
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 800;
}

/* =========================
   CART PANEL (FINAL OVERRIDES)
   Put at bottom of style.css
========================= */

.cart-panel{
  background: rgba(20,20,20,.55);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 18px 40px rgba(0,0,0,.45);
  backdrop-filter: blur(6px);
}

.cart-card{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 10px 22px rgba(0,0,0,.25);
}

.cart-title{
  font-weight: 900;
  font-size: 16px;
  color: #fff;
}

.cart-meta{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
  color: rgba(255,255,255,.80);
  font-size: 13px;
}

.cart-item-total strong{
  color: #fff;
}

.coffee-switch{
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 14px;
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.90);
}

.coffee-switch input{
  width: 18px;
  height: 18px;
  accent-color: #c67c5a;
}

.cart-qty{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.16);
}

.cart-qty button{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  color: #fff;
  font-weight: 900;
  line-height: 1;
}

.cart-qty button:hover{
  background: rgba(255,255,255,.12);
}

.cart-qty strong{
  min-width: 18px;
  text-align: center;
  color: #fff;
  font-weight: 900;
}

#cartSummary{
  border-top: 1px solid rgba(255,255,255,.14);
  padding-top: 14px;
}

#btnProceedCheckout{
  border-radius: 14px !important;
  padding: 12px 14px;
  font-weight: 900;
}

/* ===== Checkout payment cards ===== */
.pay-card{
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 14px;
  border-radius: 18px;
  cursor: pointer;
  user-select: none;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
}

.pay-card i{
  font-size: 20px;
  opacity: .9;
}

.pay-card input{
  display: none;
}

.pay-card:has(input:checked){
  border-color: rgba(255,255,255,.32);
  background: rgba(255,255,255,.10);
}

.checkout-sticky{
  position: sticky;
  top: 92px; /* adjust depending on navbar height */
  align-self: flex-start;
}

/* makes panel-card feel less heavy */
.panel-card {
  background: rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
}

/* table rows slightly lighter */
.table.table-dark td, .table.table-dark th{
  background: transparent !important;
}

.site-footer {
  background: rgba(0,0,0,.75);
  border-top: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
}

.footer-links li {
  margin-bottom: .4rem;
}

.footer-links a {
  color: rgba(255,255,255,.65);
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-social {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.08);
  color: #fff;
  text-decoration: none;
  transition: background .2s ease;
}

.footer-social:hover {
  background: rgba(255,255,255,.18);
}

