/* Global Styles */
:root {
    --primary-color: #768c98;
    --secondary-color: #f8f8f8;
    --text-color: #333;
    --light-color: #fff;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Crimson Pro', serif;
}

body {
    background-color: var(--light-color);
    color: var(--text-color);
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4 {
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

ul {
    list-style: none;
}

img {
    width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.btn {
    display: inline-block;
    background: linear-gradient(45deg, var(--primary-color), #2e586f);
    color: var(--light-color);
    padding: 0.5rem 2rem;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    font-weight: 500;
}



.btn:hover {
    background: linear-gradient(45deg, #72777a, #17252c);
    transform: translateY(-3px);
}

.section {
    padding: 6rem 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    color: var(--primary-color);
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

.text-center {
    text-align: center;
}

/* Ornament Styles */
.ornament {
    position: absolute;
    opacity: 0.1;
    z-index: -1;
}

.ornament-1 {
    top: 10%;
    left: 5%;
    width: 150px;
    transform: rotate(15deg);
}

.ornament-2 {
    bottom: 10%;
    right: 5%;
    width: 150px;
    transform: rotate(-15deg);
}

/* Welcome Section */
#welcome {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('image/utama.jpg') no-repeat center center/cover;
    position: relative;
}

#welcome .couple-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--light-color);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.undangan {
    font-family: "Lavishly Yours", cursive;
    font-size: 4rem;
}

.font-utama {
    font-family: "Lavishly Yours", cursive;

}

#welcome h1 {
    font-size: 4rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    font-family: "Lavishly Yours", cursive;
}

.kepada {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.tamu {
    margin-bottom: 1rem;
    font-size: 2rem;
    font-weight: 600;
}



/* Home Section */
.home {
    position: relative;
    background-color: red;
    background: linear-gradient(rgba(253, 253, 253, 0.9), var(--secondary-color)), url('image/backgroudn.jpeg') no-repeat center center/cover;
}

.home .couple-main {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 2rem;
    border: 10px solid var(--light-color);
    box-shadow: var(--shadow);
}

.home h1 {
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.home h2 {
    font-size: 2rem;
}

.home .date {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-weight: 500;
}

/* Bride Section */
#bride {
    background-color: var(--light-color);
    position: relative;
}

#bride .opening {
    text-align: center;
    margin-bottom: 3rem;
}

#bride .opening h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

#bride .couple-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 3rem;
}

#bride .bride-card {
    flex: 1;
    min-width: 300px;
    text-align: center;
    padding: 2rem;
    margin: 1rem;
    background: var(--secondary-color);
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

#bride .bride-card:hover {
    transform: translateY(-10px);
}

#bride .bride-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    border: 5px solid var(--light-color);
    box-shadow: var(--shadow);
}

#bride .bride-name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

#bride .bride-parents {
    font-style: italic;
    margin-bottom: 1rem;
}

#bride .and-symbol {
    display: flex;
    align-items: center;
    font-size: 2rem;
    color: var(--primary-color);
    padding: 0 1rem;
}

/* Firman Allah Section */
.firman-allah {
    background-color: var(--secondary-color);
    text-align: center;
}

.firman-allah .verse {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.firman-allah .verse-ref {
    font-weight: bold;
    color: var(--primary-color);
}

/* Wedding Date Section */
#wedding-date {
    background-color: var(--light-color);
}

#wedding-date .countdown {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

#wedding-date .countdown-box {
    margin: 0 1rem;
    text-align: center;
}

#wedding-date .countdown-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

#wedding-date .countdown-text {
    font-size: 1rem;
}

#wedding-date .event-details {
    max-width: 600px;
    margin: 0 auto 3rem;
    background: var(--secondary-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
}

#wedding-date .event-item {
    margin-bottom: 1rem;
}

#wedding-date .event-item i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

#wedding-date .location {
    text-align: center;
}

.lokasi {
    color: var(--primary-color);
}

/* Gallery Section */
#gallery {
    background-color: var(--secondary-color);
}

#gallery .gallery-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

#gallery .gallery-item {
    flex: 1 1 300px;
    height: 300px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow);
    position: relative;
}

#gallery .gallery-item img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

#gallery .gallery-item:hover img {
    transform: scale(1.1);
}

/* Love Gift Section */
.love-gift {
    background-color: var(--light-color);
    text-align: center;
}

.love-gift .gift-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--secondary-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.love-gift .bank-account {
    margin: 1.5rem 0;
}

.love-gift .bank-card {
    background: var(--light-color);
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
    text-align: center;
}

.bank-number {
    font-size: 1.2rem;
    font-weight: 600;
}

.love-gift .bank-name {
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.bank-holder {
    font-style: italic;
    margin-bottom: 0.5rem;
}

/* Comment Section */
#comment {
    background-color: var(--secondary-color);
}

#comment .comment-form {
    max-width: 600px;
    margin: 0 auto 3rem;
    background: var(--light-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

#comment .form-group {
    margin-bottom: 1.5rem;
}

#comment label {
    display: block;
    margin-bottom: 0.5rem;
}

#comment input,
#comment textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

#comment textarea {
    height: 150px;
}

#comment .comments-container {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
    overflow-y: auto;
    max-height: 100vh;
}

#comment .comment-item {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

#comment .comment-name {
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

#comment .comment-date {
    font-size: 0.8rem;
    color: #777;
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--light-color);
    text-align: center;
    padding: 2rem 0;
}

footer p {
    margin-bottom: 1rem;
}

footer .social-icons {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

footer .social-icons a {
    color: var(--light-color);
    font-size: 1.5rem;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
}

footer .social-icons a:hover {
    transform: translateY(-5px);
}

/* Audio Player */
.audio-player {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
    background: var(--light-color);
    padding: 10px;
    border-radius: 50px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
}

.audio-player button {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
    margin: 0 5px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .section {
        padding: 4rem 0;
    }

    #bride .couple-container {
        flex-direction: column;
    }

    #bride .and-symbol {
        margin: 2rem 0;
        justify-content: center;
    }

    .home .couple-main {
        width: 250px;
        height: 250px;
    }

    #welcome h1 {
        font-size: 4rem;
    }

    .home h1 {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    #welcome .couple-img {
        width: 150px;
        height: 150px;
    }

    .home .couple-main {
        width: 200px;
        height: 200px;
    }

    #bride .bride-card {
        min-width: 100%;
    }
}