/* Allgemeine Stile für die Galerie und das Formular */
.photo-item {
    transition: transform 0.3s ease-in-out;
    margin-bottom: 10px;
    width: 100%;
}

.photo-item:hover {
    transform: scale(1.05);
}

.card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-img-top {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
}

/* Sicherstellen, dass Hoch- und Querformat-Bilder gleich gut aussehen */
.card-img-top {
    object-fit: cover;
    height: 250px; /* Einheitliche Höhe für alle Bilder */
    width: 100%; /* Einheitliche Breite für alle Bilder */
}

/* Stile für die Galerie */
.photo-grid .photo-card-body {
    display: none; /* Initially hide the card-body for photos in the gallery */
}

.photo-grid .delete-btn {
    display: none; /* Initially hide the delete button in the gallery */
}

/* Nur für Plugin relevante img-Stile */
.wedding-photo-plugin .elementor img {
    max-width: 100%;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

/* Formular-Stile */
.bootstrap-form .form-group {
    margin-bottom: 15px;
}

.bootstrap-form label {
    margin-bottom: 5px;
    font-weight: bold;
}

.bootstrap-form .form-control,
.bootstrap-form .form-control-file {
    display: block;
    width: 100%;
    padding: 10px;
    font-size: 16px;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 4px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.bootstrap-form .btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    color: #fff;
    cursor: pointer;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 4px;
    transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

.bootstrap-form .btn-primary:hover {
    background-color: #0056b3;
    border-color: #004085;
}

.bootstrap-form .btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
    color: #fff;
    cursor: pointer;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 4px;
    transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

.bootstrap-form .btn-danger:hover {
    background-color: #c82333;
    border-color: #bd2130;
}

