.form-section {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 25px;
    margin-bottom: 25px;
}

.form-section .form-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #dfe2e5;
    padding: 10px 20px;
    border-radius: 6px 6px 0 0;
    margin: -25px -25px 10px -25px;
}

.section-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #495057;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 10px;
}

.main-photo {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.main-photo:hover {
    transform: scale(1.01);
}

.thumbnail-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.thumbnail {
    width: 100%;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
}

.thumbnail:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.fullscreen-image-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.fullscreen-image-overlay img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.fullscreen-image-overlay button {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    color: white;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.fullscreen-image-overlay .nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.fullscreen-image-overlay .nav-button:hover {
    background: rgba(255,255,255,0.3);
}

.fullscreen-image-overlay .prev-button {
    left: 20px;
}

.fullscreen-image-overlay .next-button {
    right: 20px;
}

.reservation-btn {
    padding: 12px 25px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s;
}

.info-label {
    font-weight: 600;
    color: #495057;
}

.horse-feature {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f1f1f1;
}

.status-badge {
    background-color: #dc3545;
    color: white;
    font-size: 1.2rem;
    padding: 5px 15px;
    border-radius: 5px;
    display: inline-block;
    margin-bottom: 15px;
}
@media (min-width: 991.98px) {
    
    .horse-feature:last-child {
        border-bottom: none;
    }
    
}