/* Hero */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Be Vietnam Pro',sans-serif;
    background:#fff8f6;
    color:#444;
}

header{
    all:unset;
}

section{
    max-width:1000px;
    margin:auto;
    padding:90px 24px;
}

.title{
    text-align:center;
    font-size:34px;
    margin-bottom:40px;
    color:#b76e79;
}

.about{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
    align-items:center;
}

.about img{
    width:100%;
    border-radius:15px;
    box-shadow:0 10px 30px rgba(0,0,0,.2);
}

.info{
    font-size:18px;
    line-height:2;
}

.card{
    margin:20px auto;
    padding:30px 30px 30px;
    border-radius:15px;
    box-shadow:0 5px 20px rgba(0,0,0,.1);
    font-size:25px;
}

iframe{
    width:100%;
    height:450px;
    border-radius:18px;
}

@media(max-width:768px){

iframe{
    height:320px;
}

}

.button{
    display:inline-block;
    margin-top:25px;
    background:#7b0018;
    color:white;
    text-decoration:none;
    padding:15px 35px;
    border-radius:30px;
    transition:.3s;
    font-size:32px;
}

.button:hover{
    background:#7b0018;
    
}

footer{
    background:#7b0018;
    color:white;
    text-align:center;
    padding:25px;
    margin-top:50px;
}

@media (max-width:768px){

header{
    min-height:85vh;
}

.hero{
    padding:70px 20px;
}

.hero h1{
    font-size:52px;
    line-height:1.2;
}

.hero h2{
    font-size:28px;
    margin-top:12px;
}

.hero p{
    font-size:16px;
    line-height:1.7;
    max-width:330px;
}

/* ----------- Album Hinh---------*/

}
.album-section{

    background:#7b0018;
    padding:80px 0;

}

.album-section .title{

    color:#fff;
    margin-bottom:40px;

}

.swiper{

    width:100%;
    padding-top:40px;
    padding-bottom:70px;

}

.swiper-slide{
    width:520px;
    height:760px;
}

@media (max-width:768px){

.swiper-slide{
    width:280px;
    height:420px;
}

}

.swiper-slide img{

    width:100%;
    height:100%;
    object-fit:cover;

}

.swiper-button-next,
.swiper-button-prev{

    color:#fff;

}

.swiper-pagination-bullet{

    background:#fff;

}

/*---------------------------------------*/


/* Tiệc cưới */
.wedding-info{
    background:#f6f1ea;
    padding:90px 24px;
    display:flex;
    justify-content:center;
}

.wedding-info .card{
    width:700px;
    background:#7b0018;
    color:#fff;
    padding:45px 35px;
    border-radius:15px;
    text-align:center;
    box-shadow:0 10px 25px rgba(0,0,0,.2);
}

.card h5{
    font-size:16px;
    letter-spacing:2px;
    margin-bottom:25px;
}

.card h2{
    font-size:32px;
    margin-bottom:25px;
}

.date-top{
    display:flex;
    justify-content:center;
    gap:60px;
    margin-bottom:20px;
    font-size:18px;
}

.date-main{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:20px;
}

.day{
    font-size:72px;
    font-weight:bold;
}

.month-year{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
}

.month-year span{
    font-size:20px;
}

.month-year strong{
    font-size:40px;
}

.lunar{
    margin:25px 0;
    font-size:18px;
}

.time-box{
    display:flex;
    justify-content:center;
    gap:80px;
    margin-bottom:35px;
}

.time-box span{
    display:block;
    font-size:15px;
    margin-bottom:5px;
}

.time-box strong{
    font-size:24px;
}

.calendar{
    background:#f6efe6;
    color:#5b1a1a;
    border-radius:12px;
    padding:20px;
    margin:30px auto;
}

.calendar h3{
    margin-bottom:15px;
    font-family:cursive;
}

.calendar table{
    width:100%;
    border-collapse:collapse;
}

.calendar th,
.calendar td{
    width:14.2%;
    padding:10px;
    text-align:center;
}

.active{
    width:34px;
    height:34px;
    display:inline-flex;
    justify-content:center;
    align-items:center;
    border-radius:50%;
    background:#65151b;
    color:#fff;
    font-weight:bold;
}

.calendar-btn{
    display:inline-block;
    margin:20px 0;
    color:#fff;
    text-decoration:underline;
}

.confirm-btn{
    display:inline-block;
    padding:14px 35px;
    background:#efe5d9;
    color:#65151b;
    border-radius:30px;
    text-decoration:none;
    font-weight:bold;
    transition:.3s;
}

.confirm-btn:hover{
    background:#fff;
}

@media(max-width:768px){

.wedding-info .card{
    width:100%;
    padding:30px 18px;
}

.card h2{
    font-size:24px;
}

.day{
    font-size:52px;
}

.month-year strong{
    font-size:28px;
}

.time-box{
    flex-direction:column;
    gap:20px;
}

.calendar{
    padding:12px;
}

.calendar td,
.calendar th{
    padding:6px;
    font-size:13px;
}

.confirm-btn{
    width:100%;
}

}



/*-------THÔNG TIN LỄ CƯỚI-----------*/

.wedding-detail{
    background:#f6f1ea;
    padding:90px 24px;
}

.info-header{
    background:#7b0018;
    color:#fff;
    text-align:center;
    padding:18px;
    font-size:28px;
    font-weight:bold;
    letter-spacing:2px;
}


.family{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:40px;
    padding:40px;
}

.family-box{
    width:45%;
    text-align:center;
    padding:20px 40px 60px;
    font-size:25px;
}

.family-box h3{
    color:#7a0000;
    margin:8px 0;
}

.divider{
    width:2px;
    background:#8b0000;
    min-height:200px;
}

.invite{
    text-align:center;
    padding:0px 20px 20px;
    color:#6d1a1a;
}

.invite h1{
    font-size:100px;
    font-family:'Great Vibes',cursive;
    margin:30px 0;
    font-weight:normal;
}

.invite span{
    display:block;
    font-size:40px;
    margin:20px 0;
}

.invite h2{
    margin:15px 0;
    color:#8b0000;
}

.date-box{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:20px;
    margin:30px 0;
}

.date-box strong{
    font-size:40px;
    color:#8b0000;
}

@media(max-width:768px){

.family{
    flex-direction:column;
    padding:25px 20px;
    gap:25px;
}

.family-box{
    width:100%;
}

.divider{
    display:none;
}

.info-header{
    font-size:24px;
}

.invite{
    padding:30px 15px 40px;
}

.invite h1{
    font-size:44px;
}

.invite h2{
    font-size:22px;
}

.date-box{
    gap:12px;
}

.date-box strong{
    font-size:48px;
}

}

/*================ HEADER MỚI =================*/

.wedding-header{
    max-width:1000px;
    margin:auto;
    background:#f8efe9;
    overflow:hidden;
    position:relative;
}

/* nền rồng */

.header-top{
    height:120px;

    background:
    linear-gradient(rgba(120,15,20,.85),rgba(120,15,20,.85)),
    url("images/hy.jpg");

    background-size:cover;
    background-position:center;
}

/* dải ngang */

.header-content{

    position:relative;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:45px 70px;

    background:
    linear-gradient(
        to bottom,
        #f7eee7 0%,
        #f7eee7 42%,
        #8a1f1d 42%,
        #8a1f1d 58%,
        #f7eee7 58%,
        #f7eee7 100%
    );

}

.person{
    width:260px;
    text-align:center;
    z-index:2;
}

.avatar{

    width:220px;
    height:220px;

    margin:auto;

    border-radius:50%;
    overflow:hidden;

    border:8px solid transparent;
}

.avatar img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.person span{
    display:block;
    margin-top:18px;
    color:#444;
    font-size:18px;
}

.person h2{

    margin-top:8px;

    color:#8b1e1d;

    font-size:50px;
    font-family:"Cormorant Garamond",serif;
    font-weight:500;
}

/* Song Hỷ */

.double-happiness{

    position:absolute;

    left:50%;
    top:50%;

    transform:translate(-50%,-50%);

    width:95px;
    height:95px;

    background:white;

    border:5px solid #8b1e1d;
    border-radius:10px;

    display:flex;
    align-items:center;
    justify-content:center;

    color:#8b1e1d;
    font-size:62px;
    font-weight:bold;

    box-shadow:0 10px 25px rgba(0,0,0,.18);

    z-index:5;
}

/*================ Mobile =================*/

@media(max-width:768px){

.header-content{

    padding:35px 20px;

    flex-direction:column;
    gap:35px;

    background:#f7eee7;
}

.person{
    width:100%;
}

.avatar{
    width:180px;
    height:180px;
}

.person h2{
    font-size:40px;
}

.double-happiness{

    position:relative;

    left:auto;
    top:auto;

    transform:none;

    margin:15px auto;
}

.header-top{
    height:90px;
}

}


/* ------- audio---------*/
.music-btn{
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,.9);
    color: #e91e63;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,.2);
    z-index: 9999;
    transition: .3s;
}

.music-btn:hover{
    transform: scale(1.1);
}


/* =====================================================
   SỔ LƯU BÚT
===================================================== */

.guestbook-section {
    width: 100%;
    padding: 60px 15px 80px;
    box-sizing: border-box;
}

.guestbook-box {
    width: min(100%, 550px);
    margin: 0 auto;
    box-sizing: border-box;
}

/* Khung nhập lời chúc */

#guestbookForm {
    position: relative;
    background: rgba(255, 253, 249, 0.94);
    padding: 45px 50px 55px;
    border-radius: 14px;
    box-shadow:
        0 8px 25px rgba(60, 30, 20, 0.12),
        inset 0 0 25px rgba(120, 80, 60, 0.03);
}

/* Tiêu đề */

.guestbook-box h2 {
    margin: 0 0 28px;
    text-align: center;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    letter-spacing: 1px;
    color: #5c171c;
    font-weight: 600;
}

/* Input + textarea */

#guestbookForm input,
#guestbookForm textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #6d2025;
    border-radius: 8px;
    background: rgba(255,255,255,0.18);
    outline: none;
    color: #4d2525;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 14px;
    transition: 0.25s;
}

#guestbookForm input {
    height: 43px;
    padding: 0 14px;
    margin-bottom: 15px;
}

#guestbookForm textarea {
    height: 100px;
    padding: 13px 14px;
    resize: none;
}

#guestbookForm input::placeholder,
#guestbookForm textarea::placeholder {
    color: #a99591;
}

#guestbookForm input:focus,
#guestbookForm textarea:focus {
    border-color: #571015;
    box-shadow: 0 0 0 2px rgba(92, 23, 28, 0.08);
}

/* Nút gửi */

.guestbook-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
}

.guestbook-icon {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    background: #f2eee9;
    color: #6b1b20;
    font-size: 22px;
}

.guestbook-action button {
    border: none;
    background: #7b0018;
    color: white;
    padding: 10px 24px;
    border-radius: 25px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.25s ease;
}

.guestbook-action button:hover {
    background: #481015;
    transform: translateY(-1px);
}

/* ================================
   FORM LỜI CHÚC
================================ */

.wish-form {
    width: 100%;
    max-width: 550px;
    margin: 0 auto;
}


/* ================================
   INPUT
================================ */

.wish-form input,
.wish-form textarea {
    width: 100%;
    box-sizing: border-box;

    border: 1px solid #6f2633;
    border-radius: 8px;

    background: #fff;

    padding: 14px;

    font-family: inherit;
    font-size: 15px;

    outline: none;

    transition: 0.3s;
}

.wish-form input {
    height: 45px;
    margin-bottom: 14px;
}

.wish-form textarea {
    min-height: 100px;
    resize: vertical;
}


/* Focus */

.wish-form input:focus,
.wish-form textarea:focus {
    border-color: #8b001b;

    box-shadow:
        0 0 0 3px rgba(139, 0, 27, 0.08);
}


/* ================================
   NÚT GỬI
================================ */

.wish-form-bottom {
    display: flex;
    justify-content: flex-end;

    margin-top: 18px;
}

.send-wish-btn {
    border: none;

    background: #8b001b;
    color: #fff;

    padding: 12px 25px;

    border-radius: 25px;

    font-weight: bold;
    font-family: inherit;

    cursor: pointer;

    transition: all 0.25s ease;
}

.send-wish-btn:hover {
    background: #6d0015;

    transform: translateY(-1px);
}

.send-wish-btn:disabled {
    opacity: 0.6;

    cursor: not-allowed;

    transform: none;
}


/* ================================
   THÔNG BÁO
================================ */

.wish-status {
    margin-top: 15px;

    padding: 10px 14px;

    border-radius: 8px;

    text-align: center;

    font-size: 14px;
}

.wish-status.success {
    background: #edf8ef;
    color: #28743a;
    border: 1px solid #b8dfc0;
}

.wish-status.error {
    background: #fff0f0;
    color: #a32222;
    border: 1px solid #e5b5b5;
}


/* ================================
   DANH SÁCH LỜI CHÚC
================================ */

#wishList {
    width: 100%;
    max-width: 550px;

    margin: 25px auto 0;
}


/* ================================
   MỘT LỜI CHÚC
================================ */

.wish-item {
    background: #fffdf9;

    border: 1px solid #d8d0ca;

    border-radius: 8px;

    padding: 12px;

    margin-bottom: 12px;

    box-sizing: border-box;
}


/* Header */

.wish-header {
    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 10px;

    margin-bottom: 8px;
}

.wish-header strong {
    color: #3e302c;

    font-family: Georgia, serif;

    font-size: 15px;
}

.wish-header span {
    color: #777;

    font-size: 11px;

    white-space: nowrap;
}


/* Nội dung */

.wish-message {
    color: #3d3633;

    font-family: Georgia, serif;

    font-size: 14px;

    line-height: 1.6;

    padding-left: 20px;
}


/* Mobile */

@media (max-width: 600px) {

    .wish-form {
        max-width: 100%;
    }

    #wishList {
        max-width: 100%;
    }

    .wish-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
    }

    .wish-header span {
        font-size: 10px;
    }

    .send-wish-btn {
        width: 100%;
    }

    .wish-form-bottom {
        display: block;
    }
}

/* =========================================
   DANH SÁCH SỔ LƯU BÚT
========================================= */

.guestbook-list {
    width: 100%;
    max-width: 550px;
    margin: 25px auto 0;
}


/* =========================================
   MỖI LỜI CHÚC
========================================= */

.guestbook-item {
    background: #fffdf9;

    border: 1px solid #d5ccc5;

    border-radius: 8px;

    padding: 12px 14px;

    margin-bottom: 12px;

    box-sizing: border-box;

    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}


/* =========================================
   TÊN + THỜI GIAN
========================================= */

.guestbook-item-header {
    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 10px;

    margin-bottom: 7px;
}


.guestbook-item-header strong {
    font-family: Georgia, "Times New Roman", serif;

    font-size: 15px;

    color: #3f2b25;
}


.guestbook-item-header span {
    font-family: Georgia, "Times New Roman", serif;

    font-size: 11px;

    color: #777;

    white-space: nowrap;
}


/* =========================================
   NỘI DUNG LỜI CHÚC
========================================= */

.guestbook-item-message {
    padding-left: 46px;

    padding-right: 5px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 14px;

    line-height: 1.6;

    color: #3f3835;

    word-break: break-word;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .guestbook-list {
        width: calc(100% - 20px);

        margin-left: auto;

        margin-right: auto;
    }


    .guestbook-item-header {
        align-items: flex-start;
    }


    .guestbook-item-header span {
        font-size: 10px;
    }


    .guestbook-item-message {
        padding-left: 15px;
    }

}