/* Main stylesheet */
body {
    font-family: 'Proxima Nova', Arial, sans-serif;
    background-color: #f4f4f9;
    color: #333;
    line-height: 1.6;
}

/* Navbar */
.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
    color: #5F891C !important;
}
.navbar-light {
    border-bottom: solid 2px #c3d362;
    background: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.bay-photo-icon{
    margin-left:10px;
}

.mt-5, .my-5 {
    margin-top: 0rem !important;
}
/* Hero Section */
#hero {
    background: url(/images/golfindoors.jpg) no-repeat center center / cover !important;
    color: #fff;
    text-align: center;
    height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 0 20px;
}

.red-circle,
.green-circle {
    display: inline-block;
    width: 10px; /* Adjust size as needed */
    height: 10px; /* Adjust size as needed */
    border-radius: 50%; /* Makes it a circle */
    margin-right: 5px; /* Adds space between the circle and text */
}

.red-circle {
    background-color: red;
}

.green-circle {
    background-color: green;
}

.navbar-brand img{
    max-width: 100px;
}
#hero h1 {
    font-size: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
#hero p {
    font-size: 1.25rem;
    margin-top: 10px;
}

/* Buttons */
.reserve-btn {
    padding: 5px 15px;
    font-size: 1rem;
    text-transform: uppercase;
    background: linear-gradient(135deg, #257db0, #1e6390);
    color: white;
    border-radius: 20px;
    border: none;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    margin: 5px;
}
.reserve-btn:hover {
    opacity: 0.9;
    transform: scale(1.05);
}
.calendar-link {
    background: linear-gradient(135deg, #5F891C, #497618);
    color: #ffffff !important;
    padding: 12px 20px !important;
    border-radius: 8px;
    margin-right: 20px;
    text-decoration: none;
    transition: transform 0.3s;
}
.calendar-link:hover {
    transform: translateY(-2px);
}

/* Tables */
.table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    margin: 20px 0;
}
.table th, .table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}
.table th {
    background-color: #5F891C;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
}
.table-striped tbody tr:nth-of-type(odd) {
    background-color: #f9f9f9;
}
.table-hover tbody tr:hover {
    background-color: #f1f1f1;
}


  .slot-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
    padding: 0px 0px 0px 10px;
    border: 0px solid #ddd;
    border-radius: 5px;
    background-color: #f5f5f5;
}
    .time-slot {
        font-size: 1.2rem;
        font-weight: bold;
        flex: 1;
    }
    .bay {
        padding: 8px 15px;
        border-radius: 20px;
        font-size: 0.9rem;
        color: white;
        text-align: center;
        margin-right: 10px;
    }

/* Bays */
.bay {
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 0.9rem;
    color: white;
    text-align: center;
    margin-right: 10px;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    border: 0px solid #000;
}
.bay-available {
    background: linear-gradient(135deg, #28a745, #218838);
}
.bay-booked {
    background: linear-gradient(135deg, #dc3545, #c82333);
}

/* Modals */
.modal-content {
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.modal-header {
    background-color: #5F891C;
    color: white;
    border-bottom: none;
}
.modal-footer .btn {
    border-radius: 20px;
    padding: 10px 20px;
    font-size: 0.9rem;
}
.container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1400px;
}
/* Login Box */
.login-box {
    max-width: 500px;
    padding: 30px;
    margin: 20px auto;
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
.login-box h2 {
    margin-bottom: 20px;
    font-size: 1.75rem;
    font-weight: bold;
    text-align: center;
    color: #5F891C;
}
.form-group label {
    font-weight: bold;
    color: #555;
}

/* Hero Section for Mobile */
@media (max-width: 768px) {
    #hero {
        height: 50vh;
    }
    #hero h1 {
        font-size: 2rem;
    }
    #hero p {
        font-size: 1rem;
    }
}

/* Main Container */
.main-container {
    padding: 40px;
    max-width: 1400px;
    margin: 0 auto;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}


@media only screen and (max-width: 600px) {
 .main-container {
    padding: 20px 0px !important;
    margin: 0 auto !important;
   
}

.reserve-btn {
    padding: 5px 10px;
    font-size: .8rem;
    border-radius: 10px;
    margin: 5px 0px;
}

.bay {
    padding: 3px 5px;
    border-radius: 5px;
    font-size: 0.8rem;
    color: white;
    margin-right: 5px;
    font-weight: 500;
}
}

@media only screen and (max-width: 600px) {
  .modal-footer {
  
    position: sticky;
    bottom: 0px;
    left:0px;
    background: #ffffff;
    width: 100%;
    padding-bottom:20px;
}
}

