html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

html, body {
    height: 100%;
}

.footer {
    flex-shrink: 0;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/*:root {
    --primary-color: #ff2d55;*/ /* pink/red */
    /*--secondary-color: #ffffff;*/ /* White */
    /*--accent-color: #ff9aa2;*/ /* Lighter pink for highlights */
    /*--text-color: #333333;*/ /* Main text */
/*}*/
:root {
    --primary-color: #6a0dad; /* Purple */
    --secondary-color: #f9f871; /* Soft Yellow */
    --accent-color: #ffcc00; /* Golden Yellow */
    --text-color: #333333; /* Main text */
}

/* Apply colors */
.navbar, .btn-danger {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.btn-light {
    color: var(--primary-color);
    background-color: var(--secondary-color);
}

.hero-section h1, .hero-section p {
    text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
}

.card:hover {
    transform: scale(1.03);
    transition: transform 0.3s ease;
    z-index: 2;
}
.hero-section input[type="text"] {
    border-radius: 50px 0 0 50px;
}

.hero-section button {
    border-radius: 0 50px 50px 0;
}
.restaurant-img {
    height: 230px; /* Fixed height for all images */
    object-fit: cover; /* Ensures image covers area without distortion */
    width: 100%; /* Full width of the card */
}


/* Footer Links Hover */
.footer-link {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

    .footer-link:hover {
        color: var(--accent-color); /* Golden hover effect */
        text-decoration: underline;
    }

/* Social Icons */
.social-icon {
    display: inline-block;
    color: #ddd;
    font-size: 1.5rem;
    margin-right: 0.5rem;
    transition: color 0.3s, transform 0.3s;
}

    .social-icon:hover {
        color: var(--accent-color);
        transform: scale(1.2);
    }

/* Footer responsive padding */
.footer {
    padding-top: 3rem;
    padding-bottom: 2rem;
}

    /* Footer small text */
    .footer small, .footer .small {
        color: #aaa;
    }

/* Adjust height of select2 box */
.select2-container--default .select2-selection--single {
    height: 40px !important; /* set your desired height */
    display: flex;
    align-items: center; /* vertically center text */
}

/* For multiple select */
.select2-container--default .select2-selection--multiple {
    min-height: 40px !important;
    display: flex;
    align-items: center;
}

/* Adjust font and line height */
.select2-selection__rendered {
    line-height: 38px !important; /* match with height */
    font-size: 14px; /* optional, adjust if needed */
}

.select2-selection__arrow {
    height: 38px !important; /* aligns arrow with text */
}