h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.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;
}

/* END BLAZOR DEFAULT STYLES */

/* Main Container */
.booking-system-container {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    background-color: #f5f5f5;
}

/* Header Section */
.header {
    background-color: #2c3e50;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

    .header h1 {
        margin: 0;
        font-size: 2.5rem;
        font-weight: 700;
        letter-spacing: 2px;
    }

.subtitle {
    font-size: 1.2rem;
    margin-top: 0.5rem;
    font-weight: 300;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Styling */
section {
    padding: 3rem 0;
}

    section h2 {
        text-align: center;
        margin-bottom: 2rem;
        font-size: 2rem;
        font-weight: 600;
        letter-spacing: 1px;
        color: #2c3e50;
    }

/* Tours Grid */
.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

/* Tour Card */
.tour-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .tour-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

.tour-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.tour-content {
    padding: 1.5rem;
}

    .tour-content h3 {
        margin-top: 0;
        font-size: 1.4rem;
        margin-bottom: 1rem;
        color: #2c3e50;
    }

.tour-details {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
}

    .tour-details span {
        display: flex;
        align-items: center;
    }

    .tour-details i {
        margin-right: 0.5rem;
        color: #3498db;
    }

.tour-equipment {
    margin: 1rem 0;
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 6px;
}

    .tour-equipment h4 {
        margin-top: 0;
        margin-bottom: 0.5rem;
        font-size: 1rem;
        color: #2c3e50;
    }

    .tour-equipment ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .tour-equipment li {
        font-size: 0.9rem;
        display: flex;
        align-items: center;
    }

        .tour-equipment li i {
            color: #27ae60;
            margin-right: 0.5rem;
        }

.tour-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
}

.tour-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
}

.book-button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

    .book-button:hover {
        background-color: #2980b9;
    }

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.info-item {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

    .info-item i {
        font-size: 2rem;
        color: #3498db;
        margin-bottom: 1rem;
    }

    .info-item h3 {
        margin: 0.5rem 0;
        font-size: 1.2rem;
        color: #2c3e50;
    }

    .info-item p {
        margin: 0;
        font-size: 0.9rem;
        color: #666;
    }

/* Contact Section */
.contact-short {
    background-color: #2c3e50;
    color: white;
    padding: 2rem 0;
}

.contact-content {
    text-align: center;
}

    .contact-content h2 {
        color: white;
        margin-bottom: 1rem;
    }

.contact-details {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

    .contact-details div {
        display: flex;
        align-items: center;
    }

    .contact-details i {
        margin-right: 0.5rem;
    }

.website-link {
    display: inline-flex;
    align-items: center;
    color: white;
    text-decoration: none;
    border: 1px solid white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
}

    .website-link:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }

    .website-link i {
        margin-right: 0.5rem;
    }

/* Modal Styles */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.booking-modal, .confirmation-modal {
    font-family: 'Montserrat', sans-serif;
    overflow:hidden;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    border-radius: 8px;
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y:scroll;
    z-index: 1001;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding-bottom: 1.5rem; /*Added padding to allow the last element to be seen when scrolling */
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .modal-header h2 {
        margin: 0;
        font-size: 1.5rem;
        color: #2c3e50;
    }

.close-button {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #7f8c8d;
    transition: color 0.3s ease;
}

    .close-button:hover {
        color: #34495e;
    }

.modal-body {
    padding: 1.5rem;
}

body {
    margin: 0;
}

/* Selected Tour Info */
.selected-tour-info {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

    .selected-tour-info h3 {
        margin-top: 0;
        margin-bottom: 1rem;
        color: #2c3e50;
    }

.tour-quick-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
    color: #666;
}

    .tour-quick-info span {
        display: flex;
        align-items: center;
    }

    .tour-quick-info i {
        margin-right: 0.5rem;
        color: #3498db;
    }

/* Form Styling */
.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-right:1.5rem;
    /*margin-bottom: 1rem;*/
}

    .form-group label {
        display: block;
        margin-bottom: 0.5rem;
        font-weight: 500;
        color: #2c3e50;
    }

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.validation-errors {
    color: #e74c3c;
    margin-bottom: 1rem;
}

/* Booking Summary */
.booking-summary {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 6px;
}

    .booking-summary h4 {
        margin-top: 0;
        margin-bottom: 1rem;
        color: #2c3e50;
    }

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

    .summary-row.total {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #ddd;
        font-weight: 600;
        font-size: 1.1rem;
    }

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 1.5rem;
}

.cancel-button {
    background-color: #95a5a6;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

    .cancel-button:hover {
        background-color: #7f8c8d;
    }

.submit-button {
    background-color: #27ae60;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

    .submit-button:hover {
        background-color: #219653;
    }

/* Confirmation Modal */
.confirmation-icon {
    text-align: center;
    font-size: 4rem;
    color: #27ae60;
    margin: 1rem 0;
}

.confirmation-modal h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.confirmation-modal p {
    margin-bottom: 0.75rem;
}

.confirmation-modal .form-actions {
    justify-content: center;
    margin-top: 2rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .tours-grid {
        grid-template-columns: 1fr;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .contact-details {
        flex-direction: column;
        gap: 1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

.guides {
    background-color: #f9f9f9;
    padding: 3rem 0;
}

.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
}

.guide-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .guide-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    }

.guide-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 4px solid #3498db;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

    .guide-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.guide-content {
    width: 100%;
}

    .guide-content h3 {
        margin: 0;
        font-size: 1.6rem;
        color: #2c3e50;
    }

.guide-title {
    font-size: 1rem;
    color: #3498db;
    font-weight: 600;
    margin-top: 0.25rem;
    margin-bottom: 1rem;
}

.guide-content p {
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.guide-specialties {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

    .guide-specialties span {
        display: flex;
        align-items: center;
        font-size: 0.9rem;
        color: #666;
    }

    .guide-specialties i {
        color: #27ae60;
        margin-right: 0.5rem;
    }

/* Responsive Adjustments */
@media (max-width: 768px) {
    .guides-grid {
        grid-template-columns: 1fr;
    }

    .guide-card {
        padding: 1.5rem;
    }

    .guide-image {
        width: 150px;
        height: 150px;
    }
}