/* Custom Styles for the Wedding Guestbook */
body {
    font-family: 'Garamond', serif;
    background-color: #f9f3f3; /* Light, warm background color */
    color: #4a4a4a; /* Soft dark text for readability */
}

/* Button styling */
.btn-lg {
    font-size: 1.1rem;
    padding: 12px 25px;
}

/* Wedding button styles */
.btn-wedding-primary {
    background-color: #f1c6e4; /* Soft pink for primary button */
    border-radius: 50px;
    color: #fff;
    font-weight: bold;
}

    .btn-wedding-primary:hover {
        background-color: #f0a9b7; /* Darker pink on hover */
        opacity: 0.9;
        transition: background-color 0.3s ease;
    }

.btn-wedding-secondary {
    background-color: #f2e1c6; /* Soft gold for secondary button */
    border-radius: 50px;
    color: #fff;
    font-weight: bold;
}

    .btn-wedding-secondary:hover {
        background-color: #e0c8a2; /* Darker gold on hover */
        opacity: 0.9;
        transition: background-color 0.3s ease;
    }

/* Image styling */
.img-thumbnail {
    border-radius: 10px;
    border: 5px solid #f8d7da;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.1);
}

.card-body {
    padding: 25px;
    background-color: #fff;
}

    .card-body p {
        font-size: 1rem;
        color: #4a4a4a;
    }

.card-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #f1c6e4;
}

.card-text {
    font-size: 1.1rem;
    color: #4a4a4a;
}

.card-header {
    background-color: #f1c6e4;
    color: #fff;
    font-weight: bold;
}

.alert-info {
    background-color: #fce8e6;
    color: #f1a3b7;
    border-radius: 10px;
    font-size: 1.2rem;
    padding: 20px;
}

h1, h2 {
    color: #f1c6e4;
    font-family: 'Georgia', serif;
}

h1 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
}

h2 {
    font-size: 2rem;
    text-align: center;
}

h4 {
    font-size: 2rem;
    color: #4a4a4a;
}

.form-control:focus {
    border-color: #f0a9b7;
    box-shadow: 0 0 8px rgba(240, 169, 183, 0.5);
}

.form-text {
    font-size: 0.9rem;
    color: #6c757d;
}

.img-fluid {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 15px;
}

.overlay-caption {
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 10px 15px;
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    text-align: left;
    font-size: 1.2rem;
    border-radius: 10px;
}

.carousel-item {
    position: relative;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    background-color: #f1c6e4;
    border-radius: 50%;
}

    .carousel-control-prev-icon:hover, .carousel-control-next-icon:hover {
        background-color: #f0a9b7;
    }

#progressContainer {
    display: none;
}

.progress {
    background-color: #f2e1c6;
    border-radius: 10px;
}

.progress-bar {
    background-color: #f1c6e4;
    border-radius: 10px;
    font-weight: bold;
    color: white;
    text-align: center;
    line-height: 20px;
}

.progress-bar {
    transition: width 0.3s ease-in-out;
}

    .progress-bar[aria-valuenow="100"] {
        background-color: #f0a9b7;
    }

.heart-count {
    font-size: 16px;
    font-weight: bold;
    margin-left: 8px;
}

.position-relative {
    position: relative;
}

#guestNameSuggestions {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 0 0 5px 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

    #guestNameSuggestions .list-group-item {
        padding: 8px 15px;
        cursor: pointer;
    }

        #guestNameSuggestions .list-group-item:hover {
            background-color: #f1c6e4;
            color: white;
        }

        #guestNameSuggestions .list-group-item.active {
            background-color: #f0a9b7;
            color: white;
        }
