/*

Tooplate 2121 Wave Cafe

https://www.tooplate.com/view/2121-wave-cafe

*/

html { scroll-behavior: smooth; }

body {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    font-size: 18px;
    overflow-x: hidden;
    background: url('../../images/images/bg.jpg') no-repeat center center fixed;
    background-size: cover;
    height: 100vh;
    overscroll-behavior: contain;
        /* Opsional: Mencegah efek overscroll */
}
body::-webkit-scrollbar {
    display: none; /* Menyembunyikan scrollbar */
}

ul {
    padding: 0;
    margin: 0;
}

nav > ul > li { list-style: none; }

a { 
	color: #3CF;
    text-decoration: none;
    transition: all 0.3s ease; 
}

p { 
    line-height: 1.8; 
    margin-top: 0;
}

h2 { margin-top: 0; }

#tm-video {
    position: fixed;
    right: 0;
    bottom: 0;    
    z-index: -1000;
}

.tm-video-wrapper { position: relative; }

#tm-video-control-button {
    cursor: pointer;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    background-color: rgba(0,0,0,0.5);
    color: white;    
    padding: 10px;
}

.tm-container { padding: 30px; }

.tm-row {
    display: flex;
    justify-content: space-between;
}

.tm-left,
.tm-right {
    width: 50%;
}

.tm-left-inner { position: fixed; }

.tm-site-header {
    background-color: white;
    color: #542522;
    width: 100%;
    height: 160px; 
    
    display: flex;
    align-items: center;
    justify-content: center;   
}

.tm-site-logo { margin-right: 30px; margin-left: 30px; }

.tm-site-name {
    font-size: 2.4rem;
    font-style: italic;    
}

.tm-left-inner {
    max-width: 500px;
    width: 100%;
}

.tm-site-nav-ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.tm-page-nav-item { margin-top: 20px; }

.tm-page-link {
    min-width: 240px;
    height: 100px;
    background-color: white;
    color: #542522;
    display: flex;
    text-decoration: none;
    align-items: center;      
    font-size: 1.2rem;
}

.tm-page-link:hover,
.tm-page-link.active {
    background-color: bisque;
    color: #542522;
}

.tm-page-link-icon {
    margin-right: 25px;
    margin-left: 25px;
    font-size: 1.5rem;
}

.tm-black-bg {
    background-color: rgba(0,0,0,0.6);
    color: white;
}

.tm-drinks-nav > ul > li { display: inline-block; }

.tm-drinks-nav > ul > li > a {
    color: white;
    font-size: 1.2rem;
    padding-top: 15px;
    padding-bottom: 5px;
    border-bottom: 3px solid transparent;
}

.tm-drinks-nav { height: 80px; }
.tm-main { max-width: 660px; }

.tm-drinks-nav > ul {
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 100%;
}

.tm-drinks-nav > ul > li a.active,
.tm-drinks-nav > ul > li a:hover {
    color: #96FEFF;
    border-bottom: 4px solid #96FEFF;
}


.contact-icons,
.partner-icons,
.social-icons,
.ordering-icons{
    display: flex;
    gap: 20px;
    /* Jarak antar ikon */
    margin-top: 10px;
}

.contact-icon,
.partner-icon,
.social-icon {
    width: 100px;
    /* Ukuran ikon */
    height: 100px;
    border: 2px solid white;
    /* Tambahkan border putih */
    border-radius: 10px;
    /* Opsional: Membuat sudut lebih halus */
    transition: transform 0.3s ease, border 0.3s ease;
}

.contact-icon:hover,
.partner-icon:hover,
.social-icon:hover {
    transform: scale(1.1);
    border-color: #f8f8f8;
    /* Warna border tetap putih saat hover */
}
.tm-list {
    max-height: 800px;
    overflow-y: auto;
    padding-right: 10px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    scrollbar-width: thin;
    /* Untuk Firefox */
    scrollbar-color: rgba(0, 0, 0, 0.4) transparent;
    /* Warna scrollbar */
}

.map-container {
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: 0;
    border-radius: 10px;
}

/* Custom scrollbar untuk Webkit (Chrome, Edge, Safari) */
.tm-list::-webkit-scrollbar {
    width: 12px;
    /* Meningkatkan ketebalan scrollbar */
}

.tm-list::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 10px;
}

.tm-list::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.4);
    /* Warna scrollbar sedikit lebih gelap */
    border-radius: 50px;
    /* Bentuk lebih kapsul */
}

.tm-list::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.6);
    /* Lebih gelap saat hover */
}

.tm-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
}

.tm-list-item-2 { align-items: flex-start; }

.tm-list-item-img {
    margin-right: 20px;
    width: 160px;
    height: 160px;
    background-color: brown;
    border-radius: 10%;
    /* Membuat bentuk capsule */
    object-fit: cover;
    /* Menjaga gambar tetap proporsional */
    border: 6px solid #96FEFF;
    /* Menambahkan border putih */
}
.tm-list-item-img-big {
    margin-right: 25px;
    width: 200px;
    height: 200px;
}

.tm-list-item-text {
    padding: 20px 25px;
    flex: 1;
}

.tm-list-item-text-2 { flex: 1; }

.tm-list-item-name {
    display: flex;
    justify-content: space-between;
    margin-top: 0;
}

.tm-list-item-price { color: #96FEFF; }
.tm-site-footer { margin-top: 15px; }

.tm-footer-text {
    padding: 10px 65px 10px 20px;
    display: inline-block;
}

.tm-footer-link { color: white; }
.tm-tab-content { animation: fadeEffect 2s; }
.tm-page-content { animation: fadeEffect 2s; }

.tm-text-primary { color: #3CC; }
.tm-mb-20 { margin-bottom: 20px; }
.tm-mb-30 { margin-bottom: 30px; }
.tm-img-right { 
    margin-left: 30px; 
    margin-right: 0;
}

/* Go from zero to full opacity */
@keyframes fadeEffect {
    from { opacity: 0.3; }
    to { opacity: 1; }
}

/* About */
.tm-about-box-1 { padding: 40px 30px 50px 0; }
.tm-about-box-2 { padding: 50px 40px 30px; }
.tm-about-header { margin-left: 220px; }

/* Special */
.tm-special-items {
    display: flex;
    flex-wrap: wrap;
    margin: -30px -10px 0;
}

.tm-special-item {
    max-width: 320px;
    margin: 30px 10px;
}

.tm-special-item-title { font-size: 1.4rem; }
.tm-special-item-description { padding: 25px 30px; }

/* Contact */
.tm-contact-text-container {
    padding: 45px 50px;
    margin-bottom: 20px;    
}

.tm-contact-form-container {
    max-width: 460px;
    padding: 40px 50px;
    box-sizing: border-box;
}

.tm-form-group { margin-bottom: 25px; }

.tm-form-control {
    display: block;
    box-sizing: border-box;
    width: 100%;
    padding: 15px;
	font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    color: #fff;
    background-color: transparent;
    background-clip: padding-box;
    border: 0;
    border-bottom: 1px solid white;
}

.tm-form-control::-webkit-input-placeholder { color: white; } /* Edge */  
.tm-form-control:-ms-input-placeholder { color: white; } /* Internet Explorer 10-11 */  
.tm-form-control::placeholder { color: white; }

.tm-btn-primary {
    color: #099;
    background-color: white;
    border: 0;
    padding: 12px 40px;
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.3s ease; 
}

.tm-btn-primary:hover {
    color: white;
    background-color: #099;
}

.tm-align-right {
    display: block;
    margin-left: auto;
    margin-right: 0;
}

.tm-mb-30 { margin-bottom: 30px; }


#ordering {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #121212;
  padding: 30px;
  color: white;
}

#ordering .tm-black-bg {
  background-color: #1e1e1e;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
}

#ordering .tm-text-primary {
  color: #00ffff;
  font-size: 28px;
  margin-bottom: 20px;
  border-bottom: 2px solid #00ffff;
  padding-bottom: 10px;
}

#ordering table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  color: #ffffff;
}

#ordering thead th {
  background-color: #00bcd4;
  color: #000;
  padding: 12px;
  text-align: left;
  font-size: 16px;
}

#ordering tbody td {
  padding: 12px;
  border-bottom: 1px solid #333;
}

#ordering input.qty {
  width: 60px;
  padding: 5px;
  border: 1px solid #00ffff;
  border-radius: 5px;
  background-color: #000;
  color: #00ffff;
  text-align: center;
}

#ordering input.qty:focus {
  outline: none;
  box-shadow: 0 0 5px #00ffff;
}

#ordering .total {
  color: #00ffcc;
  font-weight: bold;
}

#ordering #grandTotal {
  color: #00ffcc;
  font-size: 24px;
  font-weight: bold;
}

#ordering button[type="submit"] {
  background-color: #00ffff;
  color: #000;
  padding: 12px 25px;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s ease;
}

#ordering button[type="submit"]:hover {
  background-color: #00bcd4;
  box-shadow: 0 0 10px #00ffff;
}


@media (max-width: 1130px) and (min-width: 992px) {
    .tm-left-inner { max-width: 380px; }
    .tm-site-name { font-size: 2.6rem; }
    .tm-site-logo { margin-right: 20px; }
    .tm-page-link { width: 100%; }
    .tm-page-link-icon { margin-right: 15px; }
    .tm-left { width: 45%; }
    .tm-right { width: 55%; }
}


@media (max-width: 991px) {
    .tm-left-inner { position: static; }
    .tm-left, .tm-right { width: 100%; }
    .tm-left { margin-bottom: 50px; }
    .tm-row { display: block; }
    .tm-site-header {
        width:  133%;
    }

        .tm-site-nav {
            display: block;
            width: 133%;
        }
    
        .tm-site-nav-ul {
            display: block;
            width: 100%;
            padding: 0;
            margin: 0;
        }
    
        .tm-page-nav-item {
            margin-bottom: 10px;
            width: 100%;
                        
        }
           .tm-page-nav-item a {
               font-size: 25px;
               display: flex;
               align-items: center;
               justify-content: center;
               gap: 10px;
               /* Jarak antara ikon dan teks */
               text-decoration: none;
               color: inherit;
           }
        .tm-page-link {
            display: block;
            width: 100%;
            padding: 12px 20px;
            text-align: left;
            box-sizing: border-box;
        }
    
}


/* Adjustments for smaller screens */
@media (max-width: 767px) {
 .tm-site-header {
        width: 95%;
        max-width: 100%;
        margin: 0 auto;
        padding: 15px;
    }
    
      .tm-site-logo {
        font-size: 2rem;
    }

    .tm-site-name {
        font-size: 1.5rem;
    }

    .tm-site-nav-ul {
        display: block;
        padding: 0;
        gap: 5px;
    }

    .tm-site-nav-ul li {
        text-align: left;
        width: 100%;
    }

    .tm-page-nav-item a {
        font-size: 25px;
        display: flex;
        align-items: left;
        justify-content: left;
        gap: 10px;
        text-decoration: none;
        color: inherit;
    }

    .tm-page-link {
        text-align: left;
        font-size: 16px;
        padding: 10px 0;
        width: 79%;
    }

    body,
    html {
        overflow-x: hidden;
        width: 100%;
    }

    .tm-drinks-nav ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .tm-drinks-nav li {
        width: 100%;
        text-align: center;
        margin-bottom: 15px; /* Increased space between nav items */
    }

    .tm-drinks-nav a {
        display: block;
        padding: 10px 15px;
        background-color: #222;
        color: white;
        text-decoration: none;
        border-radius: 5px;
        width: 95%;
    }

    .tm-drinks-nav a:hover {
        background-color: #444;
    }

    /* Add spacing between nav and list */
    .tm-drinks-nav {
        margin-bottom: 40px; /* More space between navigation and list */
    }

    /* Adjust the list container to add space from the nav */
  .tm-list {
      margin-top: 50px;
      /* Increased margin for more space between nav and list */
      padding-top: 0px;
      /* Remove padding-top, just margin-top is needed for space */
      overflow-y: auto;
      /* Ensures scrolling happens when content overflows */
        max-height: calc(100vh - 80px);
            /* Ensures the list doesn’t overflow the page height */
         
            padding-bottom: 20px;
  }

  
    
    .tm-list-item {
        width: 100%; /* Ensure full-width on smaller screens */
        padding: 0 10px; /* Adds padding to avoid text touching edges */
        overflow: hidden;
    }


  /* Added margin to tm-tab-content to create space from the top */
  .tm-tab-content {
      margin-top: 40px;
      /* Adjust this value to control the space from the top */
      padding: 10px;
  }


 

  /* Optional: Style the scrollbar for smooth scrolling */
  .tm-list::-webkit-scrollbar {
      width: 8px;
  }

  .tm-list::-webkit-scrollbar-thumb {
      background-color: #888;
      border-radius: 4px;
  }

  .tm-list::-webkit-scrollbar-thumb:hover {
      background-color: #555;
  }
  
  .tm-black-bg {
      background-color: rgba(0, 0, 0, 0.6);
      color: white;
  }
    .tm-list-item-img{
        width: 120px;
        height: 120px;
    }
 
  .tm-list-item-name{
    font-size: 16px;
        font-weight: bold;
        margin-top: 10px;
        text-align: left;
        /* Align the product name text to the left */
  }
.tm-list-item-price {
    font-size: 15px;
    font-weight: bold;
    padding: 5px 10px;
    background-color: #96FEFF;
    /* Light background color for the box */
    color: #333;
    /* Text color */
    border-radius: 5px;
    display: inline-block;
    /* Ensures the box adjusts to the content's size */
    margin-top: 10px;
    /* Adds space between name and price */
    text-align: center;
    /* Center the price text inside the box */
}      
.tm-list-item-price H3{
 font-size: 10px;
}
.tm-list-item-description {
                                            font-size: 12px;
                                                color: white;
                                                margin-top: 10px;
                                                text-align: match-parents;
                                                /* Justifies the description */
                                                white-space: normal;
                                                /* Allows the text to wrap */
                                                overflow-wrap: break-word;
                                                /* Breaks long words */
                                                word-wrap: break-word;
                                                /* Prevents text overflow */
                                           }

                                           

}

    .tm-list-item-img {
        width: 100px; /* Resize image for smaller screens */
        height: 100px;
    }

    .tm-list-item-name {
        font-size: 14px; /* Smaller text for names */
    }

    .tm-list-item-price {
        font-size: 14px;
    }

    .tm-list-item-description {
        font-size: 12px; /* Adjust description font size */
    }
}

/* Optional: Adjust font sizes for very small screens */
@media (max-width: 480px) {
.tm-page-nav-item a {
        font-size: 16px;
        padding: 8px 0;
    }
      .tm-page-link {
        font-size: 14px;
        padding: 8px 10px;
    }

    .tm-site-logo {
        font-size: 1.8rem;
    }

 .tm-site-name {
        font-size: 1.3rem;
    }

    .tm-site-nav-ul {
        display: block;
    }

    .tm-site-nav-ul li {
        width: 100%;
        text-align: center;
    }

    .tm-page-link {
        font-size: 14px;
    }

    .tm-list-item-name {
        font-size: 12px;
    }

    .tm-list-item-price {
        font-size: 12px;
    }

    .tm-list-item-description {
        font-size: 10px;
    }
}
