﻿html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden;
}

main {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

body::before {
    content: "";
    background: url('/Content/wedding-background.png') no-repeat center center fixed;
    background-size: cover;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
    z-index: -1;
}

.navbar {
    background-color: #666967;
}

.container {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    margin-top: 2rem;
    width: 100%;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

h1, h2, h3 {
    font-family: 'Brush Script MT', cursive;
    color: #74aa61;
    text-align: center;
}

h4 {
    color: #666967;
    text-align: center;
}

.btn-primary {
    background-color: #74aa61;
    border-color: #74aa61;
}

    .btn-primary:hover {
        background-color: #48693d;
        border-color: #48693d;
    }

.carousel-item img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.carousel-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: rgba(255, 255, 255, 0.95);
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

    .carousel-slide.active {
        opacity: 1;
        z-index: 1;
    }

    .carousel-slide img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.custom-carousel-control {
    top: 50%;
    transform: translateY(-50%);
    width: 5%;
    background: none;
    border: none;
}

    .custom-carousel-control i {
        font-size: 2rem;
        color: #333;
    }

.carousel-control-prev,
.carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 70px; /* Increased from 45px */
    height: 70px; /* Increased from 45px */
    background-color: rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.carousel-control-prev {
    left: 18px; /* Slightly increased space from edge */
}

.carousel-control-next {
    right: 15px;
}

    .carousel-control-prev i,
    .carousel-control-next i {
        color: #fff;
        font-size: 1.6rem; /* Larger arrow icon */
    }

    .carousel-control-prev:hover,
    .carousel-control-next:hover {
        background-color: rgba(0, 0, 0, 0.85);
        transform: translateY(-50%) scale(1.1); /* Subtle zoom effect on hover */
    }

.about-us {
    background-color: #f9f9f9;
    text-align: center;
}

    .about-us .banner-image {
        width: 100%;
        height: 350px;
        overflow: hidden;
        margin-bottom: 2rem;
    }

    .about-us .banner-img {
        width: 95%;
        height: 100%;
        object-fit: cover;
    }

    .about-us h2 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .about-us p {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 2rem;
        color: #333;
    }

.media-controls {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    background-color: rgba(51, 51, 51, 0.85);
    padding: 1rem;
    border-radius: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: opacity 0.5s ease;
}

#togglePlayPause,
#muteToggle {
    background-color: #74aa61;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.4rem;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-bottom: 0.6rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

    #togglePlayPause:hover,
    #muteToggle:hover {
        background-color: #5b8a4e;
    }

#volumeControl {
    width: 100px;
    accent-color: #74aa61;
}

.media-controls.hidden {
    opacity: 0;
    pointer-events: none;
}

.required::after {
    content: " *";
    font-weight: bold;
    color: red;
}

.custom-option {
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 10px;
}

.option-text {
    display: inline-block;
    margin-left: 10px;
}

.custom-option input[type="radio"] {
    transform: scale(1.2);
    margin-right: 10px;
}

.background {
    background: url('your-bg.png') no-repeat center top;
    background-size: contain;
    height: auto;
}

.card {
    max-width: 600px;
    margin: 2rem auto;
}

@media (max-width: 768px) {
    main {
        min-height: auto;
        display: block;
        padding-bottom: 2rem;
    }

    .navbar-nav {
        text-align: center;
    }

        .navbar-nav .nav-item {
            margin-bottom: 0.5rem;
        }

    .container {
        padding: 1rem;
    }

    .map-wrapper {
        width: 90%;
        max-width: 300px;
    }

        .map-wrapper iframe {
            width: 100% !important;
            height: auto !important;
        }
}

.responsive-img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    max-height: 400px;
    height: auto;
}

.map-wrapper {
    width: 100%;
    max-width: 600px;
    aspect-ratio: 4 / 3; /* keeps 600x450 shape */
    margin: 2rem auto;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

    .map-wrapper iframe {
        width: 100% !important;
        height: 100% !important;
        display: block;
        border: 0;
    }

input[type="text"] {
        border: none;
        border-bottom: 1px solid #444;
        background-color: transparent;
        font-size: 14px;
        color: #333;
}

.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #f8f9fa;
    text-align: center;
    padding: 10px;
    box-shadow: 0 -1px 5px rgba(0,0,0,0.1);
}