@import url('../css/base/variable.css');
@import url('../css/base/_utilities.css');

/* =====================================================
   BASE & GLOBAL
   ===================================================== */

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {}

/* =====================================================
   AOS OVERRIDES
   ===================================================== */

[data-aos] { 
    pointer-events: none; 
}

[data-aos].aos-animate  { 
    pointer-events: auto; 
}

[data-aos="fade-up"]    { 
    transform: translateY(1.875rem); 
}

[data-aos="fade-down"]  { 
    transform: translateY(-1.875rem); 
}

[data-aos="fade-left"]  { 
    transform: translateX(1.875rem); 
}

[data-aos="fade-right"] { 
    transform: translateX(-1.875rem);
}

/* =====================================================
   AUDIO PLAYER
   ===================================================== */

.audio {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    z-index: 100;
    width: 3.125rem;
    height: 3.125rem;
    border-radius: 50%;
    background: #518F77;
    color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

/* =====================================================
   SHARED: ACCENT SYSTEM
   ===================================================== */

.accent {
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 5;
}

.accent.accent-bottom-left { 
    bottom: 0; 
    left: 0;  
    background-position: left bottom;   
}

.accent.accent-top-left { 
    top: 0;    
    left: 0;  
    background-position: left top;      
}

.accent.accent-center-left { 
    top: 50%;  
    left: 0;  
    transform: translateY(-50%); 
    background-position: left center;  
}

.accent.accent-bottom-right { 
    bottom: 0; 
    right: 0; 
    background-position: right bottom;  
}

.accent.accent-top-right { 
    top: 0;    
    right: 0; 
    background-position: right top;     
}

.accent.accent-center-right { 
    top: 50%;  
    right: 0; 
    transform: translateY(-50%); 
    background-position: right center;
}

/* =====================================================
   DESKTOP NAVIGATION
   ===================================================== */

.navigation {
    font-family: var(--font-family-ovo);
    padding: 0.5rem 5%;
    display: flex;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 99;
    background: linear-gradient(to bottom, var(--color-bg-primary), rgba(84, 115, 142, 0));
}

.navigation h1 {
    margin: 0;
    font-size: 3rem;
    color: var(--white);
}

.navigation a {
    font-size: 1rem;
    color: var(--white);
    text-transform: uppercase;
    text-decoration: none;
    margin-bottom: 0.3125rem;
}

.navigation a:hover,
.navigation .active {
    text-decoration: none;
    border-bottom: 2px solid var(--white);
    margin-bottom: 0;
}

.nav-left,
.nav-right {
    display: flex;
    gap: 1.875rem;
}

.nav-left { margin-right: auto; }
.nav-right { margin-left: auto; }

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

.navbar-mobile {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 200;
    display: none; 
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1.25rem;
    background: linear-gradient(to bottom, var(--color-bg-primary), rgba(84, 115, 142, 0));
}

.navbar-mobile-toggler {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.75rem;
    line-height: 1;
    padding: 0;
    cursor: pointer;
}

.navbar-mobile-map {
    color: var(--white);
    font-size: 1.375rem;
    text-decoration: none;
    line-height: 1;
}

.mobile-offcanvas {
    background: var(--color-bg-primary);
    width: 72vw !important;
    max-width: 18rem;
}

.mobile-offcanvas .offcanvas-title {
    font-family: var(--font-family-ovo);
    color: var(--white);
    letter-spacing: 0.12em;
    font-size: 1rem;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-list li a {
    display: block;
    font-family: var(--font-family-ovo);
    font-size: 1rem;
    color: var(--white);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.9rem 0.25rem;
    transition: color 0.2s, padding-left 0.2s;
}

.mobile-nav-list li a:hover {
    color: rgba(255, 255, 255, 0.65);
    padding-left: 0.5rem;
}

/* =====================================================
   WELCOME
   ===================================================== */

#welcome {
    background-color: rgba(0, 0, 0, 0.3);
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100vh;
    top: 0;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
}

#welcome .content {
    background: url('../images/welcome/background.png') center / cover;
    border: 7px solid var(--color-bg-secondary);
    padding: 2.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 80%;
}

#welcome .content > *:not(.accent) {
    position: relative;
    z-index: 1;
}

#welcome .content .accent {
    width: 13.75rem;
    height: 13.75rem;
    z-index: 0;
}

#welcome .content .accent.accent-bottom-left { 
    background-image: url('../images/welcome/accent-left.svg');  
}

#welcome .content .accent.accent-bottom-right { 
    background-image: url('../images/welcome/accent-right.svg'); 
}

#welcome .content h2 {
    font-family: var(--font-family-tenor);
    font-size: 3rem;
    letter-spacing: 0.02em;
    color: #F5FDFA;
}

#welcome .content p {
    font-family: var(--font-family-tenor);
    font-size: 1.25rem;
    letter-spacing: 0.02em;
    color: #F5FDFA;
}

#welcome .content .btn {
    background: var(--color-bg-primary);
    border: 1px solid var(--white-soft);
    border-radius: 0.25rem;
    font-family: var(--font-family-tenor);
    font-size: 1.5rem;
    color: #F3FFFB;
    width: 12.5rem;
    padding: 0.3125rem 0;
    margin-top: 1.25rem;
    transition: background 0.2s, color 0.2s;
}

#welcome .content .btn:hover {
    background: var(--white-soft);
    color: var(--color-bg-primary);
}

/* =====================================================
   HOME
   ===================================================== */

#home {
    background: url('../images/home/background.png') center / cover;
    font-family: var(--font-family-ovo);
    display: flex;
    align-items: flex-end;
    padding: 1rem 3.75rem;
    min-height: 100vh;
    position: relative;
    overflow: visible;
}

#home .home-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 7.5rem;
    background: linear-gradient(to top, var(--color-bg-primary), rgba(84, 115, 142, 0));
    pointer-events: none;
    z-index: 1;
}

#home .container {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
}

#home .accent {
    width: 11rem;
    height: 20rem;
}

#home .accent.accent-bottom-left { 
    background-image: url('../images/home/accent-left.svg');  
    transform: translateY(35%); 
}

#home .accent.accent-bottom-right { 
    background-image: url('../images/home/accent-right.svg');
    transform: translateY(35%); 
}

#home .heading {
    justify-items: center !important;
}

#home .place {
    font-size: 1.5rem;
    color: var(--white);
    line-height: 1.7;
    text-align: center;
    margin-bottom: 0;
}

#home .time {
    display: flex;
    justify-content: center;
}

#home .time p {
    font-family: var(--font-family-lato);
    font-size: 2.25rem;
    color: var(--white);
    margin: 0;
    padding: 0.3125rem 1.25rem;
}

/* =====================================================
   COUNTDOWN
   ===================================================== */

#countdown {
    background-image: url('../images/countdown/background.png');
    background-repeat: no-repeat;
    background-size: contain;
    min-height: 100vh;
    padding: 1.875rem 3.125rem;
    display: flex;
    justify-content: space-between;
    font-family: var(--font-family-ovo);
    position: relative;
}

#countdown::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to left,
        rgba(255, 255, 255, 1)    48%,
        rgba(255, 255, 255, 0.67) 80%,
        rgba(255, 255, 255, 0.31) 95%,
        rgba(255, 255, 255, 0)   120%
    );
    pointer-events: none;
    z-index: 1;
}

#countdown .container {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
    align-content: center;
}

#countdown .container img {
    border-radius: 0.9375rem;
}

#countdown h1 {
    font-family: var(--font-family-ovo);
    font-size: 4rem;
    line-height: 1.2;
    color: var(--color-text-primary);
    margin: 0;
    text-align: center;
}

#countdown p {
    font-family: var(--font-family-ovo);
    font-size: 1.5rem;
    color: var(--color-text-primary);
}

#countdown .timer .time #weeks,
#countdown .timer .time #days,
#countdown .timer .time #hours,
#countdown .timer .time #minutes,
#countdown .timer .time #seconds {
    font-family: var(--font-family-ovo);
    font-size: 3.25rem;
    text-align: center;
    color: var(--color-text-primary);
    margin-bottom: 0.625rem;
}

#countdown .timer .time .title {
    font-family: var(--font-family-ovo);
    font-size: 1.5rem;
    text-align: center;
    color: var(--color-text-primary);
}

#countdown .timer .separator {
    font-family: var(--font-family-ovo);
    font-size: 3.25rem;
    color: var(--color-text-primary);
    line-height: 1;
    margin-bottom: 2.125rem;
    align-self: flex-end;
}

/* =====================================================
   US
   ===================================================== */

#us {
    background: url('../images/us/background.jpg') right center / 50% auto no-repeat;
    background-color: var(--color-bg-tertiary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: visible;
    padding: 5rem 0 7.5rem;
}

#us .us-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        115deg,
        var(--color-bg-tertiary)       0%,
        var(--color-bg-tertiary)       45%,
        rgba(223, 26, 85, 0.85)        60%,
        rgba(223, 26, 85, 0.4)         75%,
        rgba(223, 26, 85, 0)          100%
    );
    pointer-events: none;
    z-index: 1;
}

#us .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

#us .accent { 
    width: 11rem; 
    height: 20rem; 
}

#us .accent.accent-bottom-left { 
    background-image: url('../images/us/accent-left.svg');      
    transform: translateY(40%);
}
#us .accent.accent-bottom-right { 
    background-image: url('../images/us/accent-right.svg');     
    transform: translateY(40%); 
}

#us .accent.accent-top-right { 
    background-image: url('../images/us/accent-top-right.svg'); 
    top: 3rem; 
    width: 10rem; 
    height: 10rem; 
}

#us .accent.accent-center-left { 
    background-image: url('../images/us/accent-left.svg');      
    width: 8rem; 
    height: 16rem; 
}

#us .header {
    margin-bottom: 3.75rem;
}

#us .header h1 {
    font-family: var(--font-family-ovo);
    font-size: 1.875rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

#us .header .line {
    width: 100%;
    height: 1px;
    background: var(--white);
}

/* Person */
#us .us-person {
    display: flex;
    flex-direction: column;
}

#us .us-person.text-right {
    align-items: flex-end;
    text-align: right;
}

#us .us-person .role {
    font-family: var(--font-family-ovo);
    font-size: 1.125rem;
    color: var(--white);
    margin-bottom: 0.25rem;
}

#us .us-person .nickname {
    font-family: var(--font-family-ovo);
    font-size: 3rem;
    color: var(--white);
    margin: 0 0 0.25rem;
}

#us .us-person .fullname {
    font-family: var(--font-family-lato);
    font-size: 1rem;
    color: var(--white);
    line-height: 2.1875rem;
}

#us .us-person .parents {
    font-family: var(--font-family-lato);
    font-size: 1.125rem;
    color: var(--white);
    line-height: 2.1875rem;
    margin-bottom: 1rem;
}

#us .us-person .sosmed {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-bg-primary);
    border-radius: 1.25rem;
    padding: 0.25rem 0.875rem;
    font-family: var(--font-family-ovo);
    font-size: 1rem;
    color: var(--white);
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

#us .us-person .sosmed:hover {
    background: var(--white);
    color: var(--color-text-primary);
    opacity: 0.8;
}

/* Photo */
#us .us-photo {
    display: flex;
    justify-content: center;
}

#us .us-photo .photo-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
}

#us .us-photo .photo-bride,
#us .us-photo .photo-groom {
    width: calc(50% - 0.625rem);
    border-radius: 0.625rem;
    overflow: hidden;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

#us .us-photo .photo-bride {
    position: relative;
    z-index: 2;
    margin-right: -1.25rem;
}

#us .us-photo .photo-groom {
    position: relative;
    z-index: 1;
    margin-top: 3.75rem;
}

#us .us-photo .photo-bride .image-ratio,
#us .us-photo .photo-groom .image-ratio {
    width: 100%;
}

/* =====================================================
   STORY
   ===================================================== */

#story {
    background: var(--white);
    display: flex;
    flex-direction: column;
    padding: 5.625rem 0;
    position: relative;
    z-index: 0;
}

#story::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: var(--color-bg-primary);
    z-index: 1;
}

#story .container {
    position: relative;
    z-index: 2;
}

#story .accent { 
    width: 11rem; 
    height: 20rem; 
    z-index: 3; 
}

#story .accent.accent-bottom-left { 
    background-image: url('../images/story/accent-left.svg'); 
    transform: translateY(40%); 
}

#story .header {
    margin-bottom: 3.75rem;
}

#story .header h1 {
    font-family: var(--font-family-ovo);
    font-size: 1.875rem;
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
}

#story .header .line {
    width: 100%;
    height: 1px;
    background: var(--color-text-primary);
}

#story .card {
    border-radius: 0.625rem;
    border: none !important;
    box-shadow: 0 0.25rem 0.9375rem 0.625rem rgba(0, 0, 0, 0.05);
}

#story .card .card-body {
    padding: 6.25rem;
}

#story .item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 3.75rem;
}

#story .item .image {
    width: 40%;
    flex-shrink: 0;
    overflow: hidden;
    margin-right: 1.875rem;
}

#story .item .separator {
    width: 3px;
    align-self: stretch;
    margin-top: auto;
    margin-right: 1.875rem;
    flex-shrink: 0;
}

#story .item:nth-child(odd) .separator { 
    background-color: var(--color-bg-primary);   
}

#story .item:nth-child(even) .separator { 
    background-color: var(--color-bg-tertiary); 
}

#story .item:nth-child(odd) .content {
    color: var(--color-text-primary);   
}

#story .item:nth-child(even) .content { 
    color: var(--color-text-tertiary); 
}

#story .item .content {
    width: 60%;
}

#story .item .content h1 {
    font-family: var(--font-family-ovo);
    font-size: 2rem;
    color: inherit;
    margin-bottom: 1rem;
}

#story .item .content p {
    font-family: var(--font-family-mulish);
    font-size: 1.125rem;
    line-height: 1.8;
    color: inherit;
    margin: 0;
}

/* =====================================================
   EVENT
   ===================================================== */

#event {
    background: url('../images/event/background.jpg') center / cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 5rem 0;
    position: relative;
}

#event::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(223, 26, 85, 1) 0%, rgba(223, 26, 85, 0) 50%),
        linear-gradient(to top,    rgba(223, 26, 85, 1) 0%, rgba(223, 26, 85, 0) 50%);
    z-index: 1;
}

#event .accent { 
    width: 11rem; 
    height: 20rem; 
    z-index: 3; 
}

#event .accent.accent-bottom-left { 
    background-image: url('../images/event/accent-left.svg'); 
}

#event .container {
    position: relative;
    z-index: 10;
}

#event .header {
    margin-bottom: 3.125rem;
}

#event .header h1 {
    font-family: var(--font-family-ovo);
    font-size: 1.5rem;
    color: var(--white);
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
}

#event .header .line {
    width: 100%;
    height: 2px;
    background: var(--white);
}

#event .event-card {
    border-radius: 0.75rem;
    border: 4px solid var(--color-border);
    padding: 2.5rem;
    min-height: 31.25rem;
    position: relative;
    overflow: visible;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

#event .event-card.card-tertiary {
    align-items: flex-start;
}

#event .event-card .event-title {
    font-family: var(--font-family-ovo);
    font-size: 4.375rem;
    letter-spacing: 0.24em;
    color: var(--white);
    position: absolute;
}

#event .event-card.card-primary .event-title { 
    top: 10%;    
    right: -20%; 
}

#event .event-card.card-tertiary .event-title { 
    bottom: 10%; 
    left: -45%;  
}

#event .event-card .event-body {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

#event .event-body .event-date,
#event .event-body .event-venue,
#event .event-body .event-time {
    font-family: var(--font-family-mulish);
    color: var(--white);
    margin: 0;
}

#event .event-body .event-date { 
    font-size: 1.125rem; 
}

#event .event-body .event-venue {
    font-size: 1rem;     
}

#event .event-time { 
    font-size: 1.25rem; 
    font-weight: 600; 
}

#event .btn-direction {
    background: var(--white);
    color: var(--color-text-primary);
    border-radius: 0.3125rem;
    font-family: var(--font-family-mulish);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    padding: 0.5rem 1.875rem;
    transition: opacity 0.2s;
}

#event .btn-direction:hover {
    opacity: 0.8;
}

/* =====================================================
   GALLERY
   ===================================================== */

#gallery {
    background: var(--white);
    padding: 3.75rem 0;
    position: relative;
}

#gallery .accent { 
    width: 11rem; 
    height: 20rem; 
    z-index: 3;
}

#gallery .accent.accent-top-right { 
    background-image: url('../images/gallery/accent-right.svg');    
}

#gallery .header {
    margin-bottom: 1.875rem;
}

#gallery .header h1 {
    font-family: var(--font-family-ovo);
    font-size: 1.5rem;
    color: var(--color-text-primary);
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
}

#gallery .header .line {
    width: 100%;
    height: 2px;
    background: var(--color-bg-primary);
}

#gallery h1 {
    font-family: var(--font-family-ovo);
    font-size: 2.375rem;
    color: var(--color-text-primary);
    letter-spacing: 0.24em;
    margin-bottom: 1.875rem;
}

/* Swiper */
#gallery .gallery-swiper {
    padding: 2.5rem 0 3.75rem !important;
    position: relative;
}

#gallery .gallery-swiper .swiper-wrapper {
    align-items: center;
}

#gallery .gallery-swiper .swiper-slide {
    border-radius: 0.75rem;
    overflow: hidden;
    position: relative;
    align-items: center;
}

#gallery .gallery-swiper .swiper-slide-active {
    transform: scale(1);
}

#gallery .gallery-swiper .swiper-slide a {
    display: block;
}

#gallery .gallery-swiper .swiper-slide .image-ratio {
    width: 100%;
    padding-bottom: 100%;
    border-radius: 0.75rem;
    overflow: hidden;
}

#gallery .gallery-swiper .swiper-slide-active .image-ratio {
    padding-bottom: 133.33%;
}

#gallery .gallery-swiper .swiper-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 0.75rem;
    z-index: 1;
    pointer-events: none;
}

#gallery .gallery-swiper .swiper-slide-active::after {
    opacity: 0;
}

/* Pagination */
#gallery .swiper-pagination {
    bottom: 0.625rem;
}

#gallery .swiper-pagination-bullet {
    background: #432D8680;
    opacity: 0.5;
    width: 1.25rem;
    height: 0.3125rem;
    border-radius: 0.1875rem;
}

#gallery .swiper-pagination-bullet-active {
    background: var(--color-bg-primary);
    opacity: 1;
    width: 2.5rem;
}

/* Navigation */
#gallery .swiper-button-prev,
#gallery .swiper-button-next {
    color: var(--color-bg-primary);
}

#gallery .swiper-button-prev::after,
#gallery .swiper-button-next::after {
    font-size: 1.25rem;
    font-weight: bold;
}



/* =====================================================
   PROTOCOL
   ===================================================== */

#protocol {
    padding: 3.75rem 0;
}

#protocol h1 {
    font-family: var(--font-family-ovo);
    font-size: 2.25rem;
    line-height: 1.4;
    text-align: center;
    margin-bottom: 1.25rem;
}

#protocol img {
    width: 5rem;
    height: 5rem;
    margin: 1.25rem 0;
}

#protocol p {
    font-family: var(--font-family-mulish);
    font-size: 0.875rem;
    line-height: 1.5;
}

/* =====================================================
   MESSAGES CAROUSEL
   ===================================================== */

.messages .item {
    padding: 2.5rem;
    text-align: center;
}

.messages .item h1 {
    font-family: var(--font-family-ovo);
    font-size: 2.25rem;
}

.messages .item p {
    font-family: var(--font-family-lato);
}

.messages .owl-nav {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    margin: 0;
    display: flex;
    justify-content: space-between;
}

.messages .owl-carousel .owl-nav button.owl-prev,
.messages .owl-carousel .owl-nav button.owl-next {
    margin: 0;
    color: #1B323D;
    background: none;
}

.messages .owl-carousel .owl-nav button.owl-prev:hover,
.messages .owl-carousel .owl-nav button.owl-next:hover {
    background: none;
    color: #1B323D;
}

.messages .owl-carousel .owl-nav button.owl-prev:focus,
.messages .owl-carousel .owl-nav button.owl-next:focus {
    outline: none;
}

.messages .owl-carousel .owl-nav button.owl-prev i,
.messages .owl-carousel .owl-nav button.owl-next i {
    font-size: 3.125rem;
}

/* =====================================================
   MESSAGE SECTION
   ===================================================== */

#message {
    background: var(--color-bg-primary);
    background-blend-mode: multiply;
    background-size: cover;
    min-height: calc(100vh - 2.875rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 0;
    position: relative;
    overflow: hidden;
}

#message .accent { 
    width: 11.25rem; 
    height: 22.5rem; 
}

#message .accent.accent-center-left { 
    background-image: url('../images/message/accent-left.svg');  
}

#message .accent.accent-center-right { 
    background-image: url('../images/message/accent-right.svg'); 
}

#message .container {
    position: relative;
    z-index: 1;
}

#message .header {
    margin-bottom: 1rem;
    text-align: left;
}

#message .header h1 {
    font-family: var(--font-family-ovo);
    font-size: 1.25rem;
    color: var(--white);
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
}

#message .header .line {
    width: 100%;
    height: 1px;
    background: var(--white);
}

#message .content-wrapper {
    padding: 1.25rem 15%;
}

#message .content-wrapper > .col-md-12 > p {
    font-family: var(--font-family-ovo);
    font-size: 1.125rem;
    color: var(--white);
}

/* Gift Row */
#message .row.justify-content-center {
    align-items: stretch;
}

#message .gift-item {
    display: flex;
    margin-bottom: 1.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

/* Gift Card */
#message .gift-card {
    display: flex;
    flex-direction: column;
    width: 100%;
}

#message .gift-card-body  { flex: 1; }

#message .gift-card-footer {
    margin-top: auto;
    padding-top: 0.875rem;
}

#message .card-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    padding: 0.625rem;
}

#message .card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#message h4 {
    font-family: var(--font-family-ovo);
    color: var(--white);
    font-size: 1.5rem;
}

#message #gift-content p {
    font-family: var(--font-family-mulish);
    font-size: 1rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 0.25rem;
}

#message .gift-detail,
#message .gift-number { font-style: italic; }

#message .gift-holder {
    font-family: var(--font-family-ovo) !important;
    font-style: normal;
}

#message .btn-copy {
    background: var(--color-bg-tertiary);
    color: var(--white);
    border: none;
    border-radius: 1.25rem;
    padding: 0.25rem 1.375rem;
    font-size: 1rem;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

#message .btn-copy:hover {
    opacity: 0.85;
    color: var(--white);
}

/* =====================================================
   MESSAGE FORM CARD
   ===================================================== */

.message-form-card {
    background: var(--white);
    border-radius: 0.75rem;
    padding: 1.75rem 2rem;
    box-shadow: 0 0.25rem 1.25rem rgba(0, 0, 0, 0.15);
}

.message-form-card h5 {
    font-family: var(--font-family-ovo);
    font-size: 1.5rem;
    color: var(--color-text-primary);
    margin-bottom: 1.25rem;
    text-align: center;
}

.message-form-card .message-input {
    background-color: transparent;
    border: 1px solid var(--color-bg-tertiary);
    border-radius: 1.25rem;
    color: #555;
    padding: 0.625rem 0.875rem;
    font-family: var(--font-family-mulish);
    font-size: 1rem;
    text-align: center;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.message-form-card .message-input::placeholder {
    color: rgba(100, 22, 41, 0.3);
    text-align: center;
}

.message-form-card .message-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(229, 62, 62, 0.2);
    border-color: var(--color-bg-tertiary);
}

/* Attendance */
.attendance-options {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.attendance-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    margin-bottom: 0;
}

.attendance-option input[type="radio"] {
    display: none;
}

.attendance-dot {
    width: 1.375rem;
    height: 1.375rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    transition: box-shadow 0.2s;
}

.dot-hadir,
.dot-tidak {
    background: #A8CF38;
}

.attendance-dot::after {
    content: '';
    display: block;
    width: 0.3125rem;
    height: 0.5625rem;
    border: 2px solid var(--white);
    border-top: none;
    border-left: none;
    transform: rotate(45deg) scale(0);
    transition: transform 0.15s ease;
    margin-bottom: 0.125rem;
}

.attendance-option input[type="radio"]:checked + .attendance-dot::after {
    transform: rotate(45deg) scale(1);
}

.attendance-option input[type="radio"]:checked + .attendance-dot {
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.15);
}

.attendance-label {
    font-family: var(--font-family-mulish);
    font-size: 1rem;
    color: var(--color-text-primary);
}

/* Submit Button */
.btn-message-submit {
    background: var(--color-bg-tertiary);
    color: var(--white);
    border: none;
    border-radius: 1.25rem;
    width: fit-content;
    padding: 0.625rem 6.25rem;
    font-family: var(--font-family-mulish);
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    transition: opacity 0.2s ease;
    display: block;
    margin: 0 auto;
}

.btn-message-submit:hover {
    background-color: var(--color-bg-tertiary);
    opacity: 0.85;
    color: var(--white);
}

/* Alert Success */
.alert-message-success {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid #22c55e;
    border-radius: 0.375rem;
    color: #16a34a;
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.625rem 1rem;
    margin-bottom: 1rem;
    text-align: center;
}

.alert-message-icon {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    background: #22c55e;
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6875rem;
    flex-shrink: 0;
}

/* =====================================================
   FOOTER
   ===================================================== */

.footer {
    font-family: var(--font-family-mulish);
    background: var(--color-bg-primary);
    padding: 0.625rem 15%;
}

.footer .copyright p {
    font-size: 1.125rem;
    color: var(--white);
    margin: 0;
}

.footer .copyright a {
    text-decoration: none;
    color: #85AC9E;
}

/* =====================================================
   RESPONSIVE — TABLET (max 991px)
   ===================================================== */

@media (max-width: 991.98px) {

    /* NAVIGATION */
    .navigation h1 { font-size: 1rem; }
    .navigation a { font-size: 0.8125rem; }

    /* HOME */
    #home { 
        background: url('../images/home/m-background.png') center / cover; 
    }
    #home .place { 
        font-size: 1.125rem; 
    }

    #home .time p { 
        font-size: 1.5rem; 
    }

    /* COUNTDOWN */
    #countdown {
        background-size: cover;
        padding: 2.5rem 1.25rem;
        min-height: 100vh;
    }

    #countdown h1 { 
        font-size: 3rem; 
    }

    #countdown p { 
        font-size: 1.125rem; 
    }

    #countdown .timer .time #weeks,
    #countdown .timer .time #days,
    #countdown .timer .time #hours { 
        font-size: 2.5rem; 
    }

    #countdown .timer .time .title { 
        font-size: 1.125rem; 
    }

    #countdown .timer .separator { 
        font-size: 2.5rem; 
        margin-bottom: 1.625rem; 
    }

    /* US */
    #us {
        background: url('../images/us/background.jpg') center / cover;
        padding: 3.75rem 0 5rem;
    }

    #us .header { 
        margin-bottom: 2.5rem; 
    }

    #us .us-person .nickname { 
        font-size: 2.25rem; 
    }
    #us .us-person .parents {
        font-size: 0.9375rem; 
        line-height: 1.6; 
    }

    /* STORY */
    #story { 
        padding: 3.75rem 0; 
    }

    #story .card .card-body { 
        padding: 3.125rem 2.5rem; 
    }

    #story .item .content h1 { 
        font-size: 1.625rem; 
    }

    #story .item .content p { 
        font-size: 0.9375rem; 
    }

    /* EVENT */
    #event { 
        padding: 3.75rem 0; 
    }

    #event .event-card {
        min-height: 25rem;
        padding: 1.875rem;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1rem;
    }

    #event .event-card.card-tertiary { align-items: center; }

    #event .event-card .event-title {
        position: static;
        font-size: 3.25rem;
        letter-spacing: 0.1em;
        text-align: center;
        top: auto; right: auto; bottom: auto; left: auto;
    }

    /* GALLERY */
    #gallery h1 { 
        font-size: 1.75rem; 
    }

    /* MESSAGE */
    #message { 
        padding: 2.5rem 0; 
    }
    #message .content-wrapper { 
        padding: 1.25rem 8%; 
    }

    #message .content-wrapper > .col-md-12 > p { 
        font-size: 0.9375rem; 
    }

    #message .accent { 
        width: 8.125rem; 
        height: 16.25rem; 
    }

    #message h4 { 
        font-size: 1.125rem; 
    }

    #message #gift-content p { 
        font-size: 0.8125rem; 
    }

    /* FOOTER */
    .footer { 
        padding: 0.625rem 8%; 
    }
    
    .footer .copyright p { 
        font-size: 0.9375rem; 
    }
}

/* =====================================================
   RESPONSIVE — MOBILE (max 767px)
   ===================================================== */
@media (max-width: 767.98px) {
    .navigation {
        display: none !important;
    }
    .navbar-mobile {
        display: flex;
    }
    #welcome .content {
        width: 92%;
        padding: 2rem 1.5rem;
    }
    #welcome .content .accent {
        width: 8.75rem;
        height: 8.75rem;
    }
    #welcome .content h2 {
        font-size: 2rem;
    }
    #welcome .content p {
        font-size: 1rem;
    }
    #welcome .content .btn {
        font-size: 1.125rem;
        width: 10rem;
    }

    /* HOME */
    #home {
        background: url('../images/home/m-background.png') center / cover !important;
        padding-top: 4rem;
        align-items: stretch;
    }
    #home .home-gradient {
        height: 20rem;
    }
    #home .container {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        min-height: calc(100svh - 6rem);
        padding-bottom: 2rem;
    }
    #home .heading {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-top: 1rem;
    }
    #home .information {
        width: 100%;
        text-align: center;
    }
    #home .title {
        font-family: var(--font-family-ovo);
        font-size: 1.5rem;
        color: var(--white);
    }
    #home .accent {
        width: 8.75rem;
        height: 17.5rem;
    }
    #home .place {
        font-size: 1rem;
        letter-spacing: 0.04em;
        margin-bottom: 0.25rem;
    }
    #home .time p {
        font-size: 1.125rem;
        font-weight: 700;
        padding: 0.25rem 0.5rem;
    }
    #countdown {
        background-image: url('../images/countdown/m-background.png');
        background-size: cover;
        background-position: center bottom;
        background-repeat: no-repeat;
        min-height: 100svh;
        padding: 3rem 1.5rem;
        justify-content: center;
        align-items: center;
    }
    #countdown::before {
        background: linear-gradient(
            to top,
            rgba(255, 255, 255, 0)    0%,
            rgba(255, 255, 255, 0.15) 0%,
            rgba(255, 255, 255, 0.55) 10%,
            rgba(255, 255, 255, 0.85) 30%,
            rgba(255, 255, 255, 1)    55%
        );
    }
    #countdown .container {
        z-index: 2;
        min-height: calc(100svh - 6rem);
    }
    #countdown h1 {
        font-size: 2.25rem;
    }
    #countdown p {
        font-size: 1rem;
    }
    #countdown .timer .time #weeks,
    #countdown .timer .time #days,
    #countdown .timer .time #hours {
        font-size: 2rem;
        margin-bottom: 0.375rem;
    }
    #countdown .timer .time .title {
        font-size: 0.875rem;
    }
    #us {
        padding: 2rem 0 4.375rem;
        background-size: cover;
    }
    #us .accent.accent-bottom-left,
    #us .accent.accent-bottom-right {
        display: none;
    }
    #us .accent.accent-center-left {
        width: 8rem;
        height: 16rem;
        top: 50%;
        transform: translateY(-30%);
    }
    #us .accent.accent-top-right {
        width: 9rem;
        height: 12rem;
        top: 15%;
    }
    #us .header h1 {
        font-size: 1.5rem;
        text-align: center;
    }
    #us .header .line {
        width: 65%;
        margin-left: auto;
    }
    #us .us-person {
        align-items: center;
        text-align: center;
    }
    #us .us-person.text-right {
        align-items: center;
        text-align: center;
    }
    #us .us-person .mobile-photo img {
        border-radius: 0.625rem;
    }
    #story {
        padding: 2.5rem 0;
    }
    #story .accent {
        width: 9rem;
        height: 12rem;
    }
    #story .header {
        margin-bottom: 1.875rem;
    }
    #story .header h1 {
        font-size: 1.5rem;
    }
    #story .header .line {
        width: 68%;
        margin-right: auto;
    }
    #story .card .card-body {
        padding: 1.875rem 1.25rem;
    }
    #story .item {
        flex-direction: column;
        margin-bottom: 2rem;
    }
    #story .item .image {
        width: 100%;
        margin-right: 0;
        margin-bottom: 1rem;
    }
    #story .item .separator {
        width: 40%;
        height: 2px;
        align-self: auto;
        margin-right: 0;
        margin-top: 0;
        margin-bottom: 1rem;
    }
    #story .item:nth-child(odd) {
        align-items: flex-start;
        text-align: left;
    }
    #story .item:nth-child(odd) .separator {
        margin-left: 0;
        margin-right: auto;
    }
    #story .item:nth-child(even) {
        align-items: flex-end;
        text-align: right;
    }
    #story .item:nth-child(even) .separator {
        margin-left: auto;
        margin-right: 0;
    }
    #story .item .content {
        width: 100%;
    }
    #story .item .content h1 {
        font-size: 1.375rem;
        margin-bottom: 0.625rem;
    }
    #story .item .content p {
        font-size: 0.875rem;
    }
    #event {
        background: url('../images/event/m-background.png') center / cover no-repeat;
        padding: 3.125rem 0;
        min-height: auto;
    }
    #event .header h1 {
        font-size: 1.5rem;
    }
    #event .header .line {
        width: 65%;
        margin-left: auto;
    }
    #event .event-card {
        border: 3px solid #A8CF38;
        min-height: auto;
        padding: 1.5rem 1.25rem;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1rem;
    }
    #event .event-card .event-title,
    #event .event-card.card-primary .event-title,
    #event .event-card.card-tertiary .event-title {
        position: static;
        font-size: 2.25rem;
        letter-spacing: 0.1em;
        text-align: center;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
    }
    #event .event-card.card-tertiary {
        align-items: center;
    }
    #event .event-body .event-date {
        font-size: 0.9375rem;
    }
    #event .event-body .event-venue {
        font-size: 0.875rem;
    }
    #event .event-time {
        font-size: 1.0625rem;
    }
    #gallery {
        padding: 2.5rem 0;
    }
    #gallery .accent {
        width: 8rem;
        height: 12rem;
    }
    #gallery .header h1 {
        font-size: 1.5rem;
        text-align: center;
    }
    #gallery .header .line {
        width: 65%;
        margin-right: auto;
    }
    #gallery h1 {
        font-size: 1.375rem;
        letter-spacing: 0.1em;
        margin-bottom: 1rem;
    }
    #gallery .gallery-swiper {
        padding-bottom: 4rem !important;
    }
    #gallery .swiper-button-prev,
    #gallery .swiper-button-next {
        display: none;
    }
    #gallery .swiper-pagination {
        display: none;
    }
    #gallery .gallery-nav-bar {
        position: absolute;
        bottom: 0.5rem;
        left: 0;
        width: 100%;
        height: 2rem;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 1rem;
    }
    #gallery .gallery-nav-bar .swiper-button-prev,
    #gallery .gallery-nav-bar .swiper-button-next {
        display: flex;
        position: static;
        margin: 0;
        width: 1.5rem;
        height: 1.5rem;
        flex-shrink: 0;
    }
    #gallery .gallery-nav-bar .swiper-button-prev::after,
    #gallery .gallery-nav-bar .swiper-button-next::after {
        font-size: 1rem;
        font-weight: bold;
    }
    #gallery .gallery-nav-bar .swiper-pagination {
        display: flex;
        position: static;
        width: auto;
        flex-shrink: 0;
        align-items: center;
        gap: 0.25rem;
    }
    #gallery .gallery-swiper .swiper-slide {
        transform: scale(1);
    }
    #gallery .gallery-swiper .swiper-slide-active {
        transform: scale(1);
    }
    #gallery .gallery-swiper .swiper-slide-active .image-ratio {
        padding-bottom: 100%;
    }
    #gallery .gallery-swiper .swiper-slide::after {
        opacity: 0;
    }
    #protocol {
        padding: 2.5rem 0;
    }
    #protocol h1 {
        font-size: 1.375rem;
    }
    #protocol img {
        width: 3.75rem;
        height: 3.75rem;
    }
    .messages .item {
        padding: 1.875rem 1.25rem;
    }
    .messages .item h1 {
        font-size: 1.625rem;
    }
    .messages .owl-carousel .owl-nav button.owl-prev i,
    .messages .owl-carousel .owl-nav button.owl-next i {
        font-size: 1.875rem;
    }
    #message {
        padding: 1rem 0;
    }
    #message .accent {
        width: 5.625rem;
        height: 11.25rem;
        opacity: 0.7;
    }
    #message .header h1 {
        font-size: 1.5rem;
        text-align: center;
    }
    #message .header .line {
        width: 68%;
        margin-left: auto;
    }
    #message .content-wrapper {
        padding: 1rem 4%;
    }
    #message .content-wrapper > .col-md-12 > p {
        font-size: 0.8125rem;
        line-height: 1.7;
    }
    #message h4 {
        font-size: 0.875rem;
        margin-bottom: 0.375rem;
    }
    #message #gift-content p {
        font-size: 0.6875rem;
    }
    #message .gift-number {
        font-size: 0.75rem;
    }
    #message .card-icon {
        width: 3rem;
        height: 3rem;
        padding: 0.5rem;
        margin-bottom: 0.5rem;
    }
    #message .gift-item {
        padding-left: 0.25rem;
        padding-right: 0.25rem;
        margin-bottom: 1rem;
    }
    #message .gift-card-footer {
        padding-top: 0.625rem;
    }
    #message .btn-copy {
        padding: 0.1875rem 0.875rem;
        font-size: 0.75rem;
    }
    .message-form-card {
        padding: 1.25rem 1rem;
    }
    .message-form-card h5 {
        font-size: 1.125rem;
        margin-bottom: 1rem;
    }
    .message-form-card .message-input {
        font-size: 0.875rem;
        padding: 0.5rem 0.75rem;
    }
    .attendance-options {
        gap: 0.75rem;
    }
    .attendance-label {
        font-size: 0.8125rem;
    }
    .btn-message-submit {
        padding: 0.625rem 3.75rem;
        font-size: 0.8125rem;
    }
    .footer {
        padding: 0.625rem 1rem;
    }
    .footer .copyright p {
        font-size: 0.8125rem;
    }
}

/* =====================================================
   RESPONSIVE — MOBILE SMALL (max 575px)
   ===================================================== */
@media (max-width: 575.98px) {
    #welcome .content {
        width: 95%;
        padding: 1.5rem 1rem;
    }
    #welcome .content .accent {
        width: 6.25rem;
        height: 6.25rem;
    }
    #welcome .content h2 {
        font-size: 1.5rem;
    }
    #welcome .content p {
        font-size: 0.875rem;
    }
    #welcome .content .btn {
        font-size: 1rem;
        width: 8.75rem;
    }
    #home .accent {
        width: 6.25rem;
        height: 12.5rem;
    }
    #home .place,
    #home .time p {
        font-size: 1.2rem;
    }
    #countdown h1 {
        font-size: 2rem;
    }
    #countdown p {
        font-size: 1rem;
    }
    #countdown .timer .time #weeks,
    #countdown .timer .time #days,
    #countdown .timer .time #hours {
        font-size: 3rem;
    }
    #us .accent.accent-center-left {
        width: 6.25rem;
        height: 14rem;
    }
    #us .accent.accent-top-right {
        width: 7rem;
        height: 10rem;
    }
    #us .us-person .role {
        font-size: 1rem;
    }
    #us .us-person .nickname {
        font-size: 2.5rem;
    }
    #us .us-person .fullname {
        font-size: 1rem;
        line-height: 2.1875rem;
    }
    #us .us-person .parents {
        font-size: 1.125rem;
    }
    #story .card .card-body {
        padding: 1.25rem 1rem;
    }
    #story .item .content h1 {
        font-size: 1.25rem;
    }
    #event .event-card .event-title {
        font-size: 1.75rem;
    }
    #gallery h1 {
        font-size: 1.75rem;
    }
    #gallery .accent {
        width: 6.25rem;
        height: 10rem;
    }
    #protocol h1 {
        font-size: 1.125rem;
    }
    #protocol img {
        width: 3.125rem;
        height: 3.125rem;
    }
    #message .accent {
        width: 4.375rem;
        height: 8.75rem;
        opacity: 0.5;
    }
    #message .header h1 {
        font-size: 1.125rem;
    }
    #message .content-wrapper > .col-md-12 > p {
        font-size: 0.875rem;
    }
    #message .card-icon {
        width: 4rem;
        height: 4rem;
        padding: 0.625rem;
        margin-bottom: 0.75rem;
    }
    #message h4 {
        font-size: 1.125rem;
    }
    #message #gift-content p {
        font-size: 1rem;
    }
    #message .btn-copy {
        border-radius: 1.25rem;
        padding: 0.5rem 2rem;
        font-size: 0.875rem;
    }
    .message-form-card {
        padding: 1rem 0.75rem;
    }
    .btn-message-submit {
        padding: 0.5rem 2.5rem;
    }
    .footer .copyright p {
        font-size: 0.75rem;
    }
}
/* =====================================================
   RESPONSIVE — EXTRA SMALL (max 374px)
   ===================================================== */
@media (max-width: 374.98px) {
    #countdown .timer {
        gap: 0.625rem;
    }
    #countdown .timer .time #weeks,
    #countdown .timer .time #days,
    #countdown .timer .time #hours {
        font-size: 1.5rem;
    }
    #countdown .timer .separator {
        font-size: 1.5rem;
    }
    #us .accent.accent-center-left {
        width: 5rem;
        height: 12rem;
    }
    #us .us-person .nickname {
        font-size: 1.5rem;
    }
    #message h4 {
        font-size: 0.6875rem;
    }
    #message #gift-content p {
        font-size: 0.5625rem;
    }
    #message .btn-copy {
        padding: 0.1875rem 0.625rem;
        font-size: 0.625rem;
    }
    .messages .item h1 {
        font-size: 1.375rem;
    }
}