/* Custom styles for Ella Hanoi Food Tour website */

/* Reset some Bootstrap defaults to better match our design */
body, h1, h2, h3, p {
    margin: 0;
    padding: 0;
}

/* Ensure all text elements are white */
h1, h2, h3, h4, h5, h6 {
    color: #ffffff !important;
}

p, span, div, a, li, td, th, label {
    color: inherit;
}

/* Override ALL Bootstrap background classes */
.bg-white, .bg-light {
    background-color: transparent !important;
}

.text-dark, .text-black {
    color: #ffffff !important;
}

/* Ensure sections have proper dark styling */
section {
    background-color: rgba(255, 255, 255, 0.05) !important;
    color: #ffffff !important;
}

/* Override Bootstrap's default link colors */
a {
    color: #ffffff !important;
    text-decoration: none;
}

a:hover {
    color: #cccccc !important;
}

/* Improve typography */
body {
    font-family: 'Montserrat', sans-serif !important; /* Updated font */
    font-weight: 100;
    font-style: normal;
    color: #ffffff !important;
    line-height: 2;
    padding-bottom: 100px; /* Added padding to prevent footer from overlapping content */
    background-color: #000000 !important; /* Dark background color */
    letter-spacing: 0.05em; /* Adjust letter spacing as needed */
}

/* Montserrat font customization */
.montserrat-<uniquifier> {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}

/* Navigation bar customization */
.navbar {
    background-color: rgba(0, 0, 0, 0.5); /* 50% alpha for translucency */
    position: relative;
    top: 0;
    width: 100%;
    z-index: 1000; /* Ensure navbar is on top */
   /* clip-path: polygon(35% 0, 65% 0, 65% 100%, 50% 100%, 35% 100%); */
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, .8);
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: #fff;
}

/* Hero section styling */
.hero-section {
    background: url('/images/hero.jpg') no-repeat center center/cover;
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

/* Banner styling */
.banner {
    position: relative;
    top: 0;
    height: 120px;
    width: 100%;
    z-index: -1; /* Ensure banner is behind the navbar */
}

.banner img {
    width: 100%;
    height: auto;
}

.navbar + .banner {
    margin-top: 56px; /* Adjust based on your navbar height */
}

/* Form field customization for inputs and select boxes */
.form-control, .form-select {
    background-color: #000000; /* Black background */
    color: #ffffff; /* White text */
    border: 1px solid #ffffff; /* White border */
    padding: 10px;
    border-radius: 5px;
    width: 100%;
    box-sizing: border-box;
}

.form-control::placeholder {
    color: #aaaaaa; /* Light grey placeholder text */
}

.form-control:focus, .form-select:focus {
    outline: none;
    border-color: #007bff; /* Blue border on focus */
}

/* Styling for textarea */
textarea.form-control {
    background-color: #000000; /* Black background */
    color: #ffffff; /* White text */
    border: 1px solid #ffffff; /* White border */
    padding: 10px;
    border-radius: 5px;
    width: 100%;
    box-sizing: border-box;
}

textarea.form-control:focus {
    outline: none;
    border-color: #007bff; /* Blue border on focus */
}

/* Override Bootstrap container and card backgrounds */
.container, .container-fluid {
    background-color: transparent !important;
    color: #ffffff !important;
}

.card {
    background-color: rgba(255, 255, 255, 0.05) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.card-body {
    color: #ffffff !important;
}

.card-title, .card-text {
    color: #ffffff !important;
}

/* Override Bootstrap table colors */
.table {
    color: #ffffff !important;
}

.table-dark {
    background-color: rgba(33, 37, 41, 0.8) !important;
}

/* Override Bootstrap alert colors for dark theme */
.alert {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}

.alert-success {
    background-color: rgba(25, 135, 84, 0.2) !important;
    border-color: rgba(25, 135, 84, 0.3) !important;
    color: #75b798 !important;
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.2) !important;
    border-color: rgba(220, 53, 69, 0.3) !important;
    color: #ea868f !important;
}

.alert-info {
    background-color: rgba(13, 202, 240, 0.2) !important;
    border-color: rgba(13, 202, 240, 0.3) !important;
    color: #6edff6 !important;
}

.alert-warning {
    background-color: rgba(255, 193, 7, 0.2) !important;
    border-color: rgba(255, 193, 7, 0.3) !important;
    color: #ffda6a !important;
}

/* Button customization */
.btn-primary {
    background-color: #000000;
    border-color: #001226;
}

.btn-primary:hover {
    background-color: #2d2d2d;
    border-color: #001226;
}

.text-center img.img-fluid {
    width: 30%;
}

/* Gallery Grid Layout */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 10px;
}

.gallery-item {
    overflow: hidden;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 70px 20px;
    }

    .navbar-brand {
        font-size: 20px;
    }
}

.contact-section {
    background-color: #121212;
    padding: 20px;
    margin-bottom: 20px;
}

.contact-section a {
    color: #007bff;
    text-decoration: none;
}

.contact-section a.btn-success {
    color: #121212;
    text-decoration: none;
}
