//YP LOCAL
/* Regular */
@font-face {
  font-family: 'YLocal';
  src: url('../fonts/Ylocal/YPHandWeb-Regular.woff2') format('opentype');
  font-weight: 200;
  font-style: normal;
}

/* Regular */
@font-face {
  font-family: 'YLocal Book';
  src: url('../fonts/Ylocal/YPLocalWeb-Book.woff2') format('opentype');
  font-weight: 200 !important;
  font-style: normal;
}

@font-face {
  font-family: 'YLocal Bold';
  src: url('../fonts/Ylocal/YPLocalWeb-Bold.woff2') format('opentype');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'YLocal Medium';
  src: url('../fonts/Ylocal/YPLocalWeb-Medium.woff2') format('opentype');
  font-weight: 400;
  font-style: normal;
}

body, * {
    font-family: 'YLocal Book', sans-serif;
}

h1,h2,h3,h4,h5,h6 {
    margin-top: 0
    font-family: 'YLocal Book', sans-serif;
}

h2 {
  font-size: 34px;
}

p, a, li, span, input {
  font-family: 'YLocal Book', sans-serif;
}

.btn, button {
  border-radius: 0px;
}

/* MAIN PAGE */
:root {
  --dark-color: #0B2545;
  --light-color: #1DBF73;
  --bg-light-gray: #fff;
  --accent-color: #F4B942;
  --text-blue: #0F7C92;
  --muted: #6b7a80;
  --nav-height: 68px;
}

::placeholder {
  font-family: 'YLocal Book', sans-serif;
}

/* Vendor prefixes for older browsers */
::-webkit-input-placeholder { /* Chrome, Safari, Opera */
  font-family: 'YLocal Book', sans-serif;
}

::-moz-placeholder { /* Firefox 19+ */
  font-family: 'YLocal Book', sans-serif;
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
  font-family: 'YLocal Book', sans-serif;
}

/* ====== Global Styles ====== */
body {
  font-family: 'YLocal Book', sans-serif;
  background-color: var(--bg-light-gray);
  color: var(--text-blue);
  overflow-x: hidden;
}

a {
  transition: color 0.3s ease;
}

/* ====== Navbar ====== */
.loveworld-navbar .container-fluid {
  padding-left: 16px;
  padding-right: 16px;
  overflow-x: hidden;
}

.navbar {
  transition: all 0s ease;
  padding: 20px 0px !important;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  background-color: var(--dark-color);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-bottom: 0;
}

.navbar-toggler {
  z-index: 1050;
  position: relative;
  color: #fff !important;
  border-color: #fff !important;
}

.navbar-brand {
  color: #fff !important;
  font-weight: 600;
}

/* Brand logo fix for small screens */
.navbar-brand img {
  width: 200px;
  max-width: 100%;
  height: auto;
}

.navbar-search {
  display: none;
  flex: 1;
  justify-content: center;
  align-items: center;
  max-width: 600px;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.navbar-search.show {
  display: flex;
  animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.navbar-search form {
  display: flex;
  gap: 10px;
  width: 100% !important;
  max-width: 100%;
  padding-top: 14px;

}

.navbar-search input {
  border-radius: 5px;
  border: none;
  padding: 9px 15px;
  width: 100%;
  background-color: #f7f7f7;
  border-radius: 0;
  min-width: 0; /* Prevent flex overflow bug */
  font
}

.navbar-search button {
  background-color: var(--light-color);
  border: none;
  color: #fff;
  padding: 8px 14px;
  border-radius: 0px;
  margin-left:-10px;
  border-radius: 0;
}

.navbar-search button:hover {
  background-color: #17A05C !important;
}

.navbar-nav {
  text-align: right;
  padding-right: 0 !important;
}

.nav-link {
  color: #fff !important;
  font-weight: 200 !important;
  transition: color 0.3s ease;
  font-size: 15px;
  padding-right: 12px;
  font-family: 'YLocal', sans-serif;
}

.dot {
  background-color: #fff;
  border-radius: 0%;
  width:50px;
  height:50px;
  font-weight: 600;
  transition: color 0.3s ease;
  font-size: 16px;
  margin-right: 10px;
}

.nav-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: #fff;
  border-radius: 50%;
  margin: 0 10px;
  vertical-align: middle;
  margin-bottom: 5px;
}

.nav-link span {
  font-family: 'YLocal Medium', sans-serif;
  font-weight: 400 !important;
}

.nav-link:hover {
  color: var(--light-color) !important;
}

/* Smooth hide/show for scroll behavior */
.hide-on-scroll {
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.navbar.scrolled .hide-on-scroll {
  opacity: 0;
  visibility: hidden;
}

.navbar.scrolled .nav-dot {
  visibility: : hidden;
}

/* Optional: shrink padding on scroll */
.navbar.scrolled {
  padding-top: 8px;
  padding-bottom: 8px;
  transition: padding 0.3s ease;
  background-color: var(--dark-color) !important;
}

/* Remove padding pushing layout wider than viewport */
body, html {
  overflow-x: hidden;
}


/* ====== Hero Section ====== */
.hero {
  background-color: var(--dark-color);
  color: #fff;
  position: relative;
  overflow: hidden;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding-top: 0;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/hero-business-categories.png');
  background-position: bottom center;
  background-size: 100% auto;
  background-repeat: no-repeat;
  opacity: 1;
  z-index: 1;
}

.hero > .container {
  text-align:center;
  margin-top: -9em;
}

.hero > .container > .row{
  text-align:center;
  padding: 0 15%;
}

.hero > .container > .row .col-md-5{
  padding:0;
}

.hero > .container > .row .col-md-1{
  padding:0;
}

.hero > .container > .row .col-md-1 button{
  width:100%;
  height:100%;
}

.hero > * {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 60px;
  font-weight: 400;
  margin-bottom: 34px;
}

.hero h1 b span {
    position: relative;
    color: var(--light-color);
    z-index: 2;
    font-family: var(--light-color);
}

.hero h1 b span i {
    content: '';
    position: absolute;
    background: url(../images/curve2.png) no-repeat;
    width: 167px;
    height: 31px;
    bottom: -13px;
    right: -3px;
    z-index: -1;
    transform: rotate(1deg);
    background-size: contain
}

.btn-primary {
  background-color: var(--light-color) !important;
  border: none;
  border-radius: 0px;
  margin:0;
}

.btn-primary:hover {
  background-color: #17A05C !important;
}

.hero input {
  border-radius: 0px;
  height: 50px;
  padding: 9px 15px;
  font-size: 1rem;
  color: #333;
  font-family: 'YLocal', sans-serif;
}

.hero input[type="text"] {
  color: #333;
  font-family: 'YLocal Book', sans-serif;
}

.hero .category-links {
  margin-top: -15px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.hero .category-link {
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  padding: 4px 10px;
  margin: 2px 5px;
  display: inline-block;
}

.hero .category-link:first-child {
  padding: 4px 10px;
  margin: 2px 5px;
}

.hero .category-link:hover {
  text-decoration: none;
  color: var(--light-color);
}

/* Hero Search Form - Flex Layout */
.hero-search-form {
  display: flex;
  max-width: 100%;
  margin: 0 auto;
  width: 100%;
  gap: 1;
  align-items: stretch;
  font-size: 0;
  padding: 0 15%;
}

.hero-search-input,
.hero-location-input,
.hero-search-btn {
  height: 50px;
  min-height: 50px;
  max-height: 50px;
  box-sizing: border-box;
  border: none;
  outline: none;
  margin: 0;
  vertical-align: top;
}

.hero-search-input {
  padding: 9px 15px;
  color: #333;
  flex: 2;
  font-size: 16px;
  font-family: 'YLocal Book', sans-serif;
  border-radius: 0;
  line-height: normal;
  border-right: 1px solid #e0e0e0;
  margin-right: 12px;
  flex: 2.4;
}

.hero-location-input {
  flex: 2;
  padding: 9px 15px;
  color: #333;
  border-left: none;
  border-right: none;
  font-size: 16px;
  font-family: 'YLocal Book', sans-serif;
  border-radius: 0;
  line-height: normal;
  margin-left: 0;
}

.hero-search-btn {
  background-color: var(--light-color);
  color: #fff;
  cursor: pointer;
  font-size: 20px;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  line-height: 1;
  flex-shrink: 0;
  padding: 20px 30px;
  border-left: none;
}

.hero-search-btn:hover {
  background-color: #17A05C;
}

/* Responsive hero search */
@media (max-width: 768px) {
  .hero-search-form {
    display: block;
    padding: 0;
  }

  .hero-search-input,
  .hero-location-input,
  .hero-search-btn {
    width: 100%;
    height: 50px; 
  }

  .hero-search-input {
    margin-bottom: 10px;
  }

  .hero-location-input {
    border-left: none;
    border-top: 1px solid #e0e0e0;
    display: inline-block;
    width:80%;
    float: left;
    margin-bottom: 8px;
  }

  .hero-search-btn {
    width: 20%;
  }
  
}

.business-categories {
  background-color: #fff;
}

.category-card {
  background-color: #fff;
  border-radius: 0px;
  border: 1px solid #e6e6e6;
  transition: all 0.3s ease;
}

.category-card:hover {
  background-color: var(--light-color);
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 6px 12px rgba(27, 169, 222, 0.2);
}

.category-card h6 {
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--dark-color);
}

.category-card:hover h6,
.category-card:hover p {
  color: #fff;
}

.category-card p {
  font-size: 0.9rem;
}

.how-it-works {
  /*
  background: url('../images/worldmap.png');
  background-size: contain;
  background-position: bottom;
  background-attachment: fixed;
  */
  height:75vh;
  display: flex;
  justify-content: center;
  align-items: center;
}


.how-card {
  border-radius: 16px;
  transition: all 0.3s ease;
}

.how-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(20, 42, 59, 0.1);
}

.how-card h6 {
  color: var(--dark-color);
}

.step-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
}


/* ====== Recent Activity Section ====== */
.recent-activity {
  background-color: var(--bg-light-gray);
  padding: 80px 0;
}

.recent-box {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  padding: 25px;
  height: 100%;
}

.recent-header {
  background-color: var(--accent-color);
  color: #fff;
  font-weight: 600;
  padding: 10px 15px;
  border-radius: 5px;
  display: inline-block;
  margin-bottom: 10px;
}

.recent-item {
  border-bottom: 1px solid #eee;
  padding: 10px 0;
}

.recent-item h6 {
  color: var(--text-blue);
  font-weight: 600;
  margin-bottom: 3px;
}

.recent-item small {
  color: #555;
}

.recent-item .actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 5px;
}

.recent-item a {
  color: var(--light-color);
  text-decoration: none;
  font-size: 0.9rem;
}

.recent-item a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

.call-btn {
  background-color: var(--accent-color);
  color: #000;
  border: none;
  padding: 5px 12px;
  border-radius: 5px;
  font-weight: 500;
}

.call-btn:hover {
  background-color: #cf8e14;
  color: #fff;
}

.recent-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-blue);
}

/* ====== Business Spotlight ====== */
.business-spotlight {
  background-color: var(--bg-light-gray);
  padding: 100px 0;
}

.business-column {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  padding: 25px;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.business-column:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.business-item img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
  margin-right: 15px;
}

.business-item h6 {
  color: var(--text-blue);
  font-weight: 600;
  margin-top: 5px;
}

.business-item small {
  color: var(--accent-color);
  text-transform: uppercase;
  font-weight: 500;
}

.view-more {
  display: block;
  margin-top: 15px;
  font-weight: 600;
  color: var(--light-color);
}

.view-more:hover {
  color: var(--accent-color);
}

/* ====== CTA Section ====== */
/* ====== CTA Section ====== */
.cta-section {
  background:url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1350&q=80');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  text-align: center;
  padding: 120px 0;
  position: relative;
}

.cta-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
}

.cta-section p {
  color: #e0e0e0;
  font-size: 1.1rem;
  margin: 20px auto 40px;
  max-width: 700px;
}

.cta-section .btn-warning {
  background-color: var(--accent-color) !important;
  border: none;
  color: #000 !important;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.cta-section .btn-warning:hover {
  background-color: #cf8e14 !important;
  color: #fff !important;
  transform: translateY(-2px);
}


/* ====== Footer ====== */
.footer-full {
  background-color: #fff;
  color: #333;
  font-size: 0.9rem;
}

.footer-full h6 {
  font-size: 0.95rem;
}

.footer-full a {
  text-decoration: none;
  color: gray;
}

.footer-full a:hover {
  text-decoration: underline;
}

.footer-full ul li {
  margin-bottom: 6px;
  color: #555;
}

.footer-full hr {
  border-color: #e0e0e0;
}

.footer-full img{
  width: 100px;
}

.footer-full .col-md-6 {
}

/* MODAL POPUP */
/* Modal container override to allow wide centered modal like the reference */
.modal-dialog.modal-xl {
	max-width: 920px;
  color: #333;
}

/* Header */
.auth-modal .modal-header {
	border-bottom: 4px solid rgba(0, 0, 0, 0.05);
	padding: 18px 30px;
  background-color: var(--dark-color);
}

.auth-modal .modal-header h5 {
	color: #fff;
}

.auth-modal .modal-title {
	font-weight: 700;
	color: rgba(0, 0, 0, 0.85);
	font-size: 1.45rem;
}

.auth-modal .btn-close {
	background: none !important;
	/* subtle dark close icon on yellow */
}

/* Modal body grid */
.auth-modal .modal-body {
	padding: 30px;
	background: #fff;
}

.auth-left {
	padding-right: 28px;
	border-right: 1px solid #e9e9e9;
  color: #333;
}

.auth-right {
	padding-left: 0px;
  color: #333;
}

/* Social buttons */
.social-btn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	color: #fff;
	padding: 12px 18px;
	border-radius: 6px;
	margin-bottom: 14px;
	font-weight: 600;
	width: 100%;
	border: none;
}

.social-fb {
	background: #000;
}

.social-gg {
	background: #d9534f;
}

/* Google-red approximation */

.social-btn .icon-box {
	width: 42px;
	height: 42px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.12);
	border-radius: 0px;
	font-size: 20px;
}

/* email form */
.auth-right .form-control {
	height: 48px;
	border-radius: 0px;
}

.auth-right .login-btn {
	background: var(--light-color);
	border: none;
	height: 46px;
	font-weight: 700;
	font-size: 1rem;
	border-radius: 0px;
  color: #fff;
}

.auth-right a {
	color: var(--light-color);
}

/* Divider OR center */
.or-divider {
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
	color: #666;
	padding: 0 12px;
}

.auth-left p.small-muted {
	color: #666;
	margin-top: 8px;
	font-size: 0.92rem;
}

/* footer links inside modal */
.auth-footer {
	display: flex;
	justify-content: space-between;
	padding: 18px 30px;
	border-top: 1px solid #eee;
	background: #fff;
}

.auth-footer a {
	color: #333;
	text-decoration: underline;
}

.auth-footer a:hover {
	color: var(--brand-dark);
}

.btn-close {
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  background: none !important;
  opacity: 1 !important;
  border: none !important;
  box-shadow: none !important;
  line-height: 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
}
.btn-close svg {
  width: 25px;
  height: 25px;
  stroke: #ffffff;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  /* crisp rendering */
  shape-rendering: geometricPrecision;
  text-rendering: geometricPrecision;
  backface-visibility: hidden;
}
