
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Playfair+Display:wght@400;500;600;700&family=Poppins:wght@300;400;500;600&display=swap');

/* =====================================
   PINK FLORAL GARDEN WEDDING WEBSITE
   MAIN STYLESHEET
===================================== */

:root {
    --pink: #D98FA2;
    --dark-pink: #A85E76;
    --rose: #C4778D;
    --light-pink: #F2DCE2;
    --blush: #F4E5E8;
    --ivory: #F5EEE5;
    --gold: #deb369;
    --dark: #38272E;
    --text: #5F444D;
    --white: #F8F6F4;

    --heading-font: 'Playfair Display', serif;
    --script-font: 'Great Vibes', cursive;
    --body-font: 'Poppins', sans-serif;

    --transition: all 0.4s ease;
    --shadow: 0 10px 35px rgba(130, 75, 90, 0.12);
}

/* RESET */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: var(--body-font);
    background: var(--ivory);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.7;
}

body.no-scroll {
    overflow: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
}

ul {
    list-style: none;
}

section {
    position: relative;
    padding: 100px 7%;
}

/* COMMON ELEMENTS */

.container {
    width: 100%;
    max-width: 1250px;
    margin: auto;
}

.section-heading {
    text-align: center;
    margin-bottom: 60px;
}

.section-heading .subtitle {
    font-family: var(--script-font);
    font-size: 35px;
    color: var(--dark-pink);
    display: block;
    margin-bottom: 5px;
}

.section-heading h2 {
    font-family: var(--heading-font);
    font-size: clamp(32px, 4vw, 48px);
    color: var(--dark);
    font-weight: 500;
}

.section-heading p {
    max-width: 600px;
    margin: 15px auto 0;
    font-size: 14px;
    color: var(--text);
}

.section-divider {
    width: 100px;
    height: 2px;
    background: var(--gold);
    margin: 20px auto;
    position: relative;
}

.section-divider::before,
.section-divider::after {
    content: '✿';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--dark-pink);
    font-size: 18px;
}

.section-divider::before {
    left: -20px;
}

.section-divider::after {
    right: -20px;
}

/* BUTTONS */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    transition: var(--transition);
}

.btn-primary {
    background: var(--dark-pink);
    color: var(--white);
    border: 1px solid var(--dark-pink);
}

.btn-primary:hover {
    background: transparent;
    color: var(--dark-pink);
    transform: translateY(-4px);
}

.btn-outline {
    background: transparent;
    color: var(--dark-pink);
    border: 1px solid var(--dark-pink);
}

.btn-outline:hover {
    background: var(--dark-pink);
    color: var(--white);
}

/* OPENING INVITATION */

.opening-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--blush);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    text-align: center;
}

.opening-card {
    position: relative;
    width: 100%;
    max-width: 550px;
    min-height: 500px;
    padding: 70px 35px;
    background: var(--ivory);
    border: 1px solid var(--gold);
    outline: 8px solid rgba(197, 164, 109, 0.12);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.opening-card::before,
.opening-card::after {
    content: '❀';
    position: absolute;
    font-size: 55px;
    color: var(--pink);
    opacity: 0.7;
}

.opening-card::before {
    top: 15px;
    left: 20px;
}

.opening-card::after {
    bottom: 15px;
    right: 20px;
}

.opening-card .small-text {
    font-size: 12px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
}

.opening-card h1 {
    font-family: var(--script-font);
    font-size: clamp(55px, 9vw, 85px);
    color: var(--dark-pink);
    font-weight: 400;
    line-height: 1.2;
    margin: 20px 0;
}

.opening-card p {
    font-family: var(--heading-font);
    font-size: 18px;
    color: var(--text);
    margin-bottom: 30px;
}

/* NAVIGATION */

.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 25px 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
}

.navbar.sticky {
    position: fixed;
    background: rgba(255, 250, 243, 0.96);
    backdrop-filter: blur(12px);
    padding: 15px 7%;
    box-shadow: 0 4px 20px rgba(80, 45, 55, 0.08);
}

.nav-logo {
    font-family: var(--heading-font);
    font-size: 24px;
    color: var(--dark-pink);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    font-size: 12px;
    color: var(--dark);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--dark-pink);
}

.menu-toggle {
    display: none;
    background: transparent;
    color: var(--dark);
    font-size: 26px;
}

/* HERO SECTION */

.hero {
    min-height: 100vh;
    padding: 150px 7% 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background:
        linear-gradient(rgba(255, 244, 245, 0.60), rgba(255, 250, 243, 0.78)),
        url('../assets/images/decorations/hero-floral.jpg');
    background-size: cover;
    background-position: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-tag {
    font-size: 12px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 25px;
}

.hero h1 {
    font-family: var(--script-font);
    font-size: clamp(65px, 10vw, 125px);
    color: var(--dark-pink);
    font-weight: 400;
    line-height: 1.2;
}

.hero .ampersand {
    font-family: var(--heading-font);
    font-size: 45px;
    color: var(--gold);
    display: block;
    margin: 5px 0;
}

.hero-date {
    font-family: var(--heading-font);
    font-size: 22px;
    letter-spacing: 4px;
    color: var(--dark);
    margin: 25px 0;
}

.hero-description {
    max-width: 600px;
    margin: auto;
    font-size: 14px;
    color: var(--text);
}

.hero .btn {
    margin-top: 35px;
}

.hero-flower {
    position: absolute;
    width: 220px;
    opacity: 0.65;
    pointer-events: none;
}

.hero-flower.left {
    left: -50px;
    bottom: 0;
}

.hero-flower.right {
    right: -50px;
    top: 0;
}

/* COUPLE SECTION */

.couple-section {
    background: var(--ivory);
    overflow: hidden;
}

.couple-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    max-width: 950px;
    margin: auto;
}

.couple-card {
    text-align: center;
    padding: 25px;
}

.couple-image {
    width: 280px;
    height: 350px;
    margin: 0 auto 30px;
    padding: 10px;
    border: 1px solid var(--gold);
    border-radius: 180px 180px 15px 15px;
    background: var(--blush);
    overflow: hidden;
}

.couple-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 180px 180px 10px 10px;
}

.couple-card h3 {
    font-family: var(--script-font);
    font-size: 48px;
    color: var(--dark-pink);
    font-weight: 400;
}

.couple-card p {
    font-size: 13px;
    margin-top: 10px;
}

.couple-heart {
    font-size: 45px;
    color: var(--pink);
    text-align: center;
    align-self: center;
}

/* FAMILY SECTION */

.family-section {
    background: var(--blush);
}

.family-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
    max-width: 950px;
    margin: auto;
}

.family-card {
    padding: 40px 30px;
    text-align: center;
    background: var(--ivory);
    border: 1px solid rgba(197, 164, 109, 0.4);
    box-shadow: var(--shadow);
}

.family-card h3 {
    font-family: var(--heading-font);
    color: var(--dark-pink);
    font-size: 25px;
    margin-bottom: 15px;
}

.family-card p {
    font-size: 14px;
    line-height: 2;
}

/* EVENTS SECTION */

.events-section {
    background: var(--ivory);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.event-card {
    background: var(--white);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    border-radius: 5px;
}

.event-card:hover {
    transform: translateY(-10px);
}

.event-image {
    height: 240px;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.event-card:hover .event-image img {
    transform: scale(1.08);
}

.event-content {
    padding: 30px 25px;
    text-align: center;
}

.event-content .event-icon {
    color: var(--gold);
    font-size: 28px;
}

.event-content h3 {
    font-family: var(--heading-font);
    font-size: 25px;
    color: var(--dark-pink);
    margin: 12px 0;
}

.event-content .event-date {
    font-size: 13px;
    font-weight: 500;
    color: var(--dark);
}

.event-content p {
    font-size: 12px;
    margin-top: 10px;
}

/* COUNTDOWN SECTION */

.countdown-section {
    background:
        linear-gradient(rgba(73, 52, 59, 0.65), rgba(73, 52, 59, 0.65)),
        url('../assets/images/decorations/countdown-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    color: var(--white);
}

.countdown-section .section-heading h2 {
    color: var(--white);
}

.countdown-section .section-heading .subtitle {
    color: var(--pink);
}

.countdown-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
}

.countdown-box {
    min-width: 120px;
    padding: 25px 20px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
}

.countdown-box span {
    display: block;
    font-family: var(--heading-font);
    font-size: 42px;
    color: var(--white);
}

.countdown-box small {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* VENUE SECTION */

.venue-card {
    max-width: 950px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr;
    background: var(--ivory);
    box-shadow: var(--shadow);
}

.venue-info {
    width: 100%;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* GALLERY SECTION */

.gallery-section {
    background: var(--ivory);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 250px;
    gap: 15px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 4px;
}

.gallery-item:nth-child(2),
.gallery-item:nth-child(5) {
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item::after {
    content: '♡';
    position: absolute;
    inset: 0;
    background: rgba(189, 113, 137, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 45px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover::after {
    opacity: 1;
}

/* GALLERY LIGHTBOX */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(30, 20, 25, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 35px;
    color: var(--white);
    background: transparent;
    font-size: 40px;
}

/* CLOSING SECTION */

.closing-section {
    background: var(--blush);
    text-align: center;
    padding: 120px 7%;
}

.closing-section .closing-title {
    font-family: var(--script-font);
    font-size: clamp(55px, 8vw, 90px);
    color: var(--dark-pink);
    font-weight: 400;
}

.closing-section p {
    max-width: 650px;
    margin: 20px auto;
    font-size: 14px;
}

.closing-section .closing-date {
    font-family: var(--heading-font);
    font-size: 20px;
    color: var(--gold);
    letter-spacing: 3px;
    margin-top: 25px;
}

/* FOOTER */

.footer {
    background: #49343b;
    padding: 50px 7%;
    text-align: center;
    color: var(--white);
}

.footer h3 {
    font-family: var(--script-font);
    font-size: 45px;
    color: var(--pink);
    font-weight: 400;
}

.footer p {
    font-size: 11px;
    margin-top: 12px;
    opacity: 0.8;
}

.footer .heart {
    color: var(--pink);
}

/* MUSIC BUTTON */

.music-button {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 900;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--dark-pink);
    color: var(--white);
    font-size: 20px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.music-button:hover {
    transform: scale(1.1);
}

/* BACK TO TOP */

.back-to-top {
    position: fixed;
    bottom: 90px;
    right: 25px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 900;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* FLOATING PETALS */

.petal {
    position: fixed;
    top: -30px;
    z-index: 5;
    pointer-events: none;
    color: var(--pink);
    opacity: 0.7;
}

/* SCROLL ANIMATIONS */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: var(--transition);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: var(--transition);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* SELECTION */

::selection {
    background: var(--pink);
    color: var(--white);
}

/* SCROLLBAR */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--blush);
}

::-webkit-scrollbar-thumb {
    background: var(--pink);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dark-pink);
}
/* HERO TEXT ALIGNMENT FIX */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 50px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-subtitle,
.hero-title,
.hero-date,
.hero-description {
    width: 100%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.hero-title {
    line-height: 1.15;
}

.hero-title span {
    display: block;
    text-align: center;
}
/* REMOVE FLOATING BUTTONS */
.music-button,
.back-to-top {
    display: none !important;
}
/* VENUE CONTENT CENTER ALIGNMENT */

.venue-card {
    display: flex;
    justify-content: center;
}

.venue-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 50px 25px;
}

.venue-info h3,
.venue-info p {
    width: 100%;
    text-align: center;
}

.venue-info .btn {
    align-self: center;
    width: auto;
    min-width: 240px;
    margin: 15px auto 0;
}