@import url('fonts.googleapis.com');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

/* Navagation */
nav {
    position: relative;
    width: 100%;
    height: auto;
}
/* Home Nav Image */
nav .HomeImg{
    width: 100%;
    height: auto;
    object-fit: cover;
    mask-image: linear-gradient(to bottom, black 50%, transparent 0%);
    -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 95%);
}

/* Navigation Menu */

nav .NavImg {
    width: 100%;
    height: 100px;
    object-fit: cover;
}

nav ul {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    margin: 0;
    padding: 10px 0; 
    text-align: center;
    background: linear-gradient(rgba(255, 255, 255, 0.4), rgb(248, 126, 187, 0.4));
}

.baseNav ul {
    position: absolute;
    left: 50%;
    width: 100%;
    text-align: center;
    background: linear-gradient(rgba(248, 248, 248, 0), rgb(248, 126, 187, 0.7));
}

.baseNav ul li a {
    color: rgb(255, 255, 255);
}

nav ul li {
    display: inline-block;
    margin: 0 15px;
}
nav ul li a {
    color: #383946;
    font-weight: bold;
    font-family: 'Arial', sans-serif;
    font-size: 30px;
    text-decoration: none;
}

.pageSize {
    max-width: clamp(320px, 90vw, 1200px);
    margin: 0 auto;
}

/* Opening Section */

body {
    margin: 0;
    padding: 0;
    background: linear-gradient(180deg, rgba(255,244,249,1) 0%, rgba(255,255,255,1) 100%);
    min-height: 100vh;
}


h1 {
    text-align: center;
    font-weight: bold;
    font-size: 60px;
    color: #B565A7;
    
}

.OpeningPicture {
    text-align: center;
    width: 100%;
    height: auto;
    margin: 20px;
}

.OpeningPicture img{
    
    width: 60%;
    height: auto;
    padding: 20px;
}


/* Split Section */
.Split {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 60px 0;
}

/* Section 1 */
.Split .Section1 {
    flex: 1;
    padding: 10px 20px;
    box-sizing: border-box;
    text-align: center;
}

.Split .Section1 {
    font-size: 20px;
    color: #333333;
    font-family: 'Arial', sans-serif;
}

#NamesText {
    color: black;
    font-family: "Meow Script", cursive;
    font-weight: 700;
    font-style: normal;
    text-align: center;
    margin: 0;
    font-size: clamp(36px, 8vw, 72px);
    line-height: 1.05;
}

/* Section 2 */
.Split .Section2 {
    flex: 1;
    padding: 10px 20px;
    box-sizing: border-box;
    text-align: center;
    border-left: 2px solid #f1c7df;
}

#DateText {
    color: black;
    font-family: "Meow Script", cursive;
    font-weight: 700;
    font-style: normal;
    text-align: center;
    margin: 0;
    font-size: clamp(24px, 5vw, 56px);
    padding: 8px 0;
}

.Countdown {
    margin: 60px auto;
    max-width: 1100px;
    padding: 0 20px;
}

.Countdown div {
    background: #ffffff;
    padding: 28px 36px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
    text-align: center;
}

.Countdown h3 {
    margin: 0 0 14px 0;
    font-size: 34px;
    line-height: 1;
}

.countItem {
    display: inline-block;
    width: 140px;
    margin: 0 14px;
    text-align: center;
    font-family: 'Dancing Script', cursive;
    color: #ff6fae;
}

.countItem {
    font-size: 18px;
}

.numbers {
    display: block;
    font-size: 28px;
    letter-spacing: 1px;
    color: black;
    margin-top: 8px;
    font-weight: 700;
    font-family:'Twinkle Star', cursive;
}


.countFinished {
    font-size: 40px;
    color: #ff6fae;
    font-family: 'Twinkle Star', cursive;
    font-weight: 500;
    font-style: normal;
    margin: 150px;
    text-align: center;
}

h3 {
    text-align: center;
    font-weight: bold;
    font-family: "Playfair Display", serif;
    font-size: 50px;
    color: #ff6fae;
}

.Message {
    font-size: 40px;
    color: black;
    font-family: 'Twinkle Star', cursive;
    font-weight: 500;
    font-style: normal;
    margin: 150px;
    text-align: center;
}



/* Photo Page */
.PhotoGallery {
    margin: 20px;
}

.PhotoGallery table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 12px;
}

.PhotoGallery td {
    width: 50%;
    padding: 20px;
    vertical-align: top;
}

.PhotoGallery img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.PhotoGallery img:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 28px rgba(181, 101, 167, 0.3);
}

/* Details Page */

.DetailsImage {
    text-align: center;
    padding-bottom: 40px;
}

.DetailsImage img {
    width: 65%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 12px 36px rgba(181, 101, 167, 0.25);
    margin: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.DetailsImage img:hover {
    transform: scale(1.02);
    box-shadow: 0 18px 48px rgba(181, 101, 167, 0.35);
}

.detailsDivider {
    text-align: center;
    color: #e89ecf;
    font-size: 20px;
    letter-spacing: 12px;
    margin: 10px 0 40px;
}

.detailsCards {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin: 20px 0 50px;
}

.detailsCard {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(181, 101, 167, 0.13);
    padding: 32px 36px;
    min-width: 200px;
    flex: 1;
    max-width: 280px;
    text-align: center;
    border-top: 4px solid #e89ecf;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.detailsCard:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 40px rgba(181, 101, 167, 0.22);
}

.detailsCardIcon {
    font-size: 36px;
    margin-bottom: 10px;
}

.detailsCardLabel {
    font-family: 'Playfair Display', serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #c97bb5;
    margin-bottom: 8px;
}

.detailsCardValue {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: #333333;
    line-height: 1.5;
}

.detailsNote {
    text-align: center;
    margin: 10px auto 60px;
    max-width: 680px;
}

.detailsNote p {
    font-family: 'Twinkle Star', cursive;
    font-size: 26px;
    color: #B565A7;
    line-height: 1.6;
    margin: 12px 0;
}

.detailsNote a {
    color: #B565A7;
    text-decoration: underline;
}

/* Wedding Party Page */

.Split {
    align-items: flex-start;
    gap: 0;
    padding: 40px 60px 60px;
    box-sizing: border-box;
}

.bridalTable {
    flex: 1;
    box-sizing: border-box;
    text-align: center;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(181, 101, 167, 0.1);
    margin: 0 20px;
}

.bridalTable th {
    font-size: 28px;
    color: #ffffff;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    padding: 20px 30px;
    background: linear-gradient(135deg, #c97bb5, #e89ecf);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.bridalTable td {
    font-size: 18px;
    color: #444444;
    font-family: 'Playfair Display', serif;
    padding: 14px 30px;
    border-bottom: 1px solid #fce8f3;
}

.bridalTable tr:nth-child(odd) td {
    background: #f9f0f8;
}

.bridalTable tr:nth-child(even) td {
    background: #ffffff;
}

.bridalTable tr:hover td {
    background: #fce8f3;
}

/* Registry Page */



.registryLogo {
    max-width: 110px;
    max-height: 110px;
    width: auto;
    height: auto;
}

.registryMessage {
    text-align: center;
    margin: 30px;
}

.registryMessage p{
    font-size: 30px;
    color: black;
    font-family: 'Twinkle Star', cursive;
    font-style: normal;
    text-align: center;
}

.registryList {
    text-align: center;
    margin: 20px;
}


.registryList h1 {
    padding: 30px;
}

.registryList li {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 15px;
    background: #ffffff;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
    width: 300px;
    height: 300px;
    box-sizing: border-box;
}

.registryList img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.registryList ul{
    text-align: center;
    list-style-type: none;
}
