/* --- style.css --- */

/* Main Body and Font Styles */
body {
    background-color: #002855; /* Prism Navy Blue */
    color: #ffffff; /* White text */
    font-family: 'Poppins', sans-serif;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* Header and Section Titles */
h1, h2, h3, h4 {
    font-weight: 700; /* Bold titles */
}

/* Form Styling for Dark Background */
.form-label {
    color: #f0f0f0;
    margin-bottom: 0.5rem;
}

.form-control, .form-select {
    background-color: #ffffff;
    color: #212529; /* Dark text for readability */
    border: 1px solid #ced4da;
}

.form-control:focus, .form-select:focus {
    background-color: #ffffff;
    color: #212529;
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Make placeholder text visible */
.form-control::placeholder {
    color: #6c757d;
    opacity: 1;
}

/* Style for consent text */
.form-check-label, .accordion-body p {
    color: #f0f0f0;
}

/* Accordion (Privacy Policy, etc.) Styling */
.accordion-button {
    background-color: #0d3b6e;
    color: #ffffff;
}

.accordion-button:not(.collapsed) {
    background-color: #1a4c85;
    color: #ffffff;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.accordion-button::after {
    filter: invert(1) grayscale(100%) brightness(200%); /* Makes chevron icon white */
}

.accordion-body {
    background-color: #002855;
    color: #f0f0f0;
}

/* Button Styling */
.btn-primary {
    background-color: #2a7de1; /* A bright blue from your site */
    border-color: #2a7de1;
}

.btn-primary:hover {
    background-color: #1a6bcf;
    border-color: #1a6bcf;
}

.btn-outline-secondary {
    color: #ffffff;
    border-color: #ffffff;
}

.btn-outline-secondary:hover {
    background-color: #ffffff;
    color: #002855;
}

/* Appointment Slot Styling */
.slot-item {
    cursor: pointer;
    border: 1px solid #2a7de1;
    color: #f0f0f0;
    padding: 10px;
    margin: 5px;
    text-align: center;
    border-radius: 20px;
    transition: background-color 0.2s;
}

.slot-open:hover {
    background-color: #2a7de1;
    color: #ffffff;
}

.slot-taken {
    border-color: #6c757d;
    color: #6c757d;
    cursor: not-allowed;
    background-color: #343a40;
}

#slotsGrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
}

#logo {
  width: auto;
  height: auto;
}

/* Phone only - center and shrink logo */
@media (max-width: 600px) {
  .logo-wrapper {
    width: 100%;
    text-align: center;
  }

  .logo-wrapper #logo {
    width: 50%;
    height: auto;
    padding-bottom: 1rem; /* bottom spacing */
  }
}

/* Styling for the new Event Cards */
.event-card-link {
    text-decoration: none; /* Removes underline from the link wrapper */
}

.event-card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    background-color: #0d3b6e; /* A slightly lighter navy */
    border: 1px solid #2a7de1;
    height: 100%; /* Ensures all cards in a row are the same height */
}

.event-card:hover {
    transform: translateY(-5px); /* Lifts the card on hover */
    box-shadow: 0 4px 15px rgba(42, 125, 225, 0.4);
}
