@tailwind base;
@tailwind components;
@tailwind utilities;


@layer components {
  :root {
    font-size: 14px;
    --header-height: 64px;
    --menu-sticky-height: 3.5rem;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + var(--menu-sticky-height));
    --primary-color: #D32F2F;
    --secondary-color: #F6A623;
  }
  
  .bg-primary {
    background: var(--primary-color)
  }
  .bg-secondary {
    background: var(--secondary-color)
  }
  .text-secondary {
    color: var(--secondary-color)
  }

  .bg-1 {
    background: #EF5261
  }
  .bg-2 {
    background: #F6A623
  }
  .bg-3 {
    background: #FDE74C
  }
  .bg-4 {
    background: #8BC34A
  }
  .bg-5 {
    background: #4CAF50
  }
  .bg-6 {
    background: #388E3C
  }
  .bg-7 {
    background: #37474F
  }
  .bg-8 {
    background: #263238
  }
}

/* Layout */
/* Header */
.header-container {
  @apply sticky top-0 z-[9999];
  @apply md:px-10;
  height: 64px;
  background: #111111;
  border-bottom: 1px solid #222222;
}

.header__logo-title {
  @apply self-center pl-1 text-2xl font-bold whitespace-nowrap;
  color: var(--secondary-color);
}
.header__logo-img {
  @apply h-12 py-1 md:h-16 lg:h-20;
}

/* body */
.body-container {
  background: #111111;
}

/* footer */
.footer-container {
  background: #0d0d0d;
  border-top: 1px solid #1a1a1a;
  font-family: Arial, sans-serif;
}

.footer-container .footer-container__logo-img {
  @apply h-12 mr-3 md:h-16;
}

.footer-container .footer-container__logo-title {
  @apply self-center text-2xl font-bold whitespace-nowrap;
  color: var(--secondary-color);
}



/* buttons */
.btn {
  @apply px-2 py-2 border-none rounded-md hover:brightness-90;
}

.btn-primary {
  color: #FFFFFF;
  background: var(--primary-color);

}
.btn-secondary {
  color: #fff;
  background: var(--secondary-color);
}
.btn-disabled {
  background: #2a2a2a;
  color: #555555;
}

/* Text ellipsis utilities */
.ellipsis-2-lines {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Dark theme — hero */
.hero-badge {
  display: inline-block;
  background: rgba(246, 166, 35, 0.15);
  border: 1px solid rgba(246, 166, 35, 0.3);
  color: #F6A623;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.hero-tag {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  color: #888888;
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 16px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  display: inline-block;
}

.hero-tag:hover {
  border-color: #F6A623;
  color: #F6A623;
}

.hero-stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid #1e1e1e;
}

.hero-stat-num {
  font-size: 22px;
  font-weight: 800;
  color: #F6A623;
}

.hero-stat-label {
  font-size: 11px;
  color: #666666;
  margin-top: 2px;
}

/* Dark theme — restaurant card */
.dark-card {
  background: #1a1a1a;
  border: 1px solid #222222;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.dark-card:hover {
  transform: translateY(-2px);
  border-color: #333333;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.dark-card img {
  transition: transform 0.3s;
}

.dark-card:hover img {
  transform: scale(1.05);
}

/* Dark theme — header search */
.header-search-bar {
  display: flex;
  align-items: center;
  background: #1e1e1e;
  border: 1px solid #2a2a2a;
  border-radius: 24px;
  padding: 6px 8px 6px 16px;
  gap: 8px;
  width: 280px;
}

.header-search-bar input {
  background: none;
  border: none;
  outline: none;
  box-shadow: none;
  color: #eeeeee;
  font-size: 13px;
  flex: 1;
  width: 100%;
}

.header-search-bar input:focus,
.header-search-bar input:focus-visible {
  outline: none;
  box-shadow: none;
}

.header-search-bar input::placeholder {
  color: #555555;
}

:root {
  --baemin-color: #3ac5c9;
  --shopee-color: #ee4d2d;
  --loship-color: #ea001c;
  --gofood-color: #01a94a;
  --grab-color: #00b14f;
  --be-color: #fec418;
  --gojek-color: #01a94a;
}

@layer components {
  .bg-gojek {
    background: var(--gojek-color)
  }
}



.ellipsis-2-lines {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}







  .homepage .map-container {
    position: relative;
    
  }
  .homepage .map-container #current-location {
    position: absolute;
    bottom: 20px;
    right: 20px;
    padding: 10px;
    z-index: 400;
  }
    
  
  

/* .homepage { */



/* .homepage .map-container {
  position: relative;
  
}
.homepage .map-container #current-location {
  position: absolute;
  bottom: 20px;
  right: 20px;
  padding: 10px;
  z-index: 400;
}
   */
/* } */

/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */


