/* =========================================================
   GLOBAL RESET
========================================================= */

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


/* =========================================================
   HTML
========================================================= */

html {
    scroll-behavior: smooth;
}


/* =========================================================
   BODY
========================================================= */

body {
    font-family: Arial, sans-serif;
    min-height: 100vh;

    background:
        radial-gradient(
            circle at top,
            #fffdf7 0%,
            #fff5dc 45%,
            #f7dfb0 100%
        );

    color: #5c1020;
    overflow-x: hidden;
}


/* =========================================================
   HEADER
========================================================= */

header {
    width: 100%;
    padding: 20px 8%;

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

    background: rgba(255, 248, 231, 0.80);

    border-bottom:
        1px solid rgba(212, 175, 55, 0.45);

    backdrop-filter: blur(12px);
}


.logo {
    font-size: 28px;
    font-weight: bold;
    color: #8b0015;
}


nav {
    display: flex;
    gap: 25px;
}


nav a {
    text-decoration: none;
    color: #7a0012;
    font-weight: 600;

    transition: 0.3s ease;
}


nav a:hover {
    color: #d4af37;
}


/* =========================================================
   HERO SECTION
========================================================= */

.hero {
    min-height: 330px;

    padding: 70px 8% 45px;

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

    text-align: center;
}


.eyebrow {
    margin-bottom: 15px;

    color: #b8860b;
    font-weight: bold;
    letter-spacing: 1px;
}


.hero h1 {
    font-size: clamp(38px, 6vw, 75px);

    color: #8b0015;

    margin-bottom: 18px;

    text-shadow:
        0 4px 15px rgba(139, 0, 21, 0.12);
}


.hero > p:last-child {
    max-width: 700px;

    font-size: 18px;
    line-height: 1.7;

    color: #7b3a35;
}


/* =========================================================
   RAKHI CARD
========================================================= */

.rakhi-card {
    width: min(1400px, 98%);
    min-height: 400px;

    margin: 20px auto 70px;

    padding: 45px 55px;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.85),
            rgba(255, 248, 231, 0.80)
        );

    border:
        1px solid rgba(212, 175, 55, 0.70);

    border-radius: 30px;

    box-shadow:
        0 25px 70px rgba(100, 20, 25, 0.16);

    backdrop-filter: blur(12px);
}


.rakhi-card h2 {
    margin-bottom: 25px;

    font-size: clamp(24px, 4vw, 32px);

    color: #8b0015;
}


/* =========================================================
   RAKHI IMAGE BOX
========================================================= */

.rakhi-image-box {
    width: 100%;
    min-height: 220px;

    padding: 45px 50px;

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

    background: #fff8e7;

    border:
        2px solid rgba(212, 175, 55, 0.65);

    border-radius: 22px;
}


.rakhi-image-box img {
    width: 100%;
    max-width: 1100px;

    height: auto;

    display: block;
    margin: 0 auto;

    object-fit: contain;
}


/* =========================================================
   SPECIAL MESSAGE PREVIEW
========================================================= */

.message-preview {
    width: min(1000px, 92%);

    margin: 0 auto 80px;
}


.preview-card {
    position: relative;

    padding: 70px 50px;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            #fffdf8,
            #fff1d0
        );

    border:
        1px solid rgba(212, 175, 55, 0.75);

    border-radius: 32px;

    box-shadow:
        0 25px 70px rgba(100, 20, 25, 0.16);

    overflow: hidden;
}


.preview-card::before,
.preview-card::after {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    border-radius: 50%;

    border:
        2px solid rgba(212, 175, 55, 0.18);

    pointer-events: none;
}


.preview-card::before {
    top: -90px;
    left: -90px;
}


.preview-card::after {
    right: -90px;
    bottom: -90px;
}


.preview-heart {
    position: relative;
    z-index: 1;

    display: inline-block;

    margin-bottom: 15px;

    font-size: 42px;

    animation: heartbeat 2s infinite;
}


.preview-card h2 {
    position: relative;
    z-index: 1;

    max-width: 750px;

    margin: 0 auto 20px;

    font-size: clamp(38px, 6vw, 68px);
    line-height: 1.15;

    color: #8b0015;

    text-shadow:
        0 4px 15px rgba(139, 0, 21, 0.10);
}


.preview-card p {
    position: relative;
    z-index: 1;

    margin-bottom: 35px;

    font-size: 18px;

    color: #7b3a35;
}


/* =========================================================
   MESSAGE BUTTON
========================================================= */

.message-button {
    position: relative;
    z-index: 1;

    display: inline-block;

    padding: 16px 32px;

    background:
        linear-gradient(
            135deg,
            #8b0015,
            #c62828
        );

    color: #ffffff;

    text-decoration: none;

    font-size: 17px;
    font-weight: bold;

    border-radius: 50px;

    box-shadow:
        0 10px 25px rgba(139, 0, 21, 0.25);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.message-button:hover {
    transform: translateY(-4px);

    box-shadow:
        0 16px 30px rgba(139, 0, 21, 0.32);
}


/* =========================================================
   MESSAGE PAGE
========================================================= */

.message-page {
    min-height: 100vh;

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

    padding: 60px 20px;
}


.message-page-section {
    width: min(900px, 100%);
}


.message-card {
    padding: 60px 70px;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            #fffdf8,
            #fff3d7
        );

    border:
        1px solid rgba(212, 175, 55, 0.75);

    border-radius: 30px;

    box-shadow:
        0 25px 60px rgba(100, 20, 25, 0.15);
}


.message-heart {
    display: inline-block;

    margin-bottom: 15px;

    font-size: 38px;

    animation: heartbeat 2s infinite;
}


.message-card h1 {
    margin-bottom: 35px;

    font-size: clamp(30px, 5vw, 52px);

    color: #8b0015;

    line-height: 1.2;
}


.message-content {
    max-width: 700px;

    margin: auto;

    text-align: left;

    font-size: 18px;
    line-height: 1.9;

    color: #6b2929;
}


.message-content p {
    margin-bottom: 20px;
}


.message-content p:first-child {
    font-size: 22px;

    color: #8b0015;
}


.signature {
    margin-top: 30px;

    text-align: right;

    font-size: 21px;
    font-weight: bold;

    color: #8b0015;
}


/* =========================================================
   BACK BUTTON
========================================================= */

.back-button {
    display: inline-block;

    margin-top: 25px;

    padding: 14px 25px;

    background:
        linear-gradient(
            135deg,
            #8b0015,
            #c62828
        );

    color: white;

    text-decoration: none;

    font-weight: bold;

    border-radius: 50px;

    transition: transform 0.3s ease;
}


.back-button:hover {
    transform: translateY(-3px);
}


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

footer {
    padding: 25px;

    text-align: center;

    background: #7a0012;

    color: #fff7e5;

    font-size: 15px;

    border-top:
        3px solid #d4af37;
}


/* =========================================================
   HEART ANIMATION
========================================================= */

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }

}


/* =========================================================
   TABLET RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    header {
        padding: 18px 6%;
    }


    .rakhi-card {
        width: 94%;

        padding: 30px;

        min-height: auto;
    }


    .rakhi-image-box {
        min-height: auto;

        padding: 30px 20px;
    }


    .preview-card {
        padding: 60px 35px;
    }


    .message-card {
        padding: 50px 40px;
    }

}


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

@media (max-width: 768px) {

    header {
        padding: 18px 5%;

        flex-direction: column;

        gap: 12px;
    }


    .logo {
        font-size: 22px;

        text-align: center;
    }


    nav {
        gap: 20px;
    }


    .hero {
        min-height: auto;

        padding: 65px 6% 40px;
    }


    .hero h1 {
        font-size: 40px;
    }


    .hero > p:last-child {
        font-size: 16px;
    }


    .rakhi-card {
        width: 94%;

        margin: 15px auto 50px;

        padding: 22px 14px;
    }


    .rakhi-image-box {
        padding: 25px 5px;

        border-radius: 16px;
    }


    .rakhi-image-box img {
        width: 100%;
        max-width: 100%;
    }


    .message-preview {
        width: 92%;

        margin-bottom: 55px;
    }


    .preview-card {
        padding: 50px 20px;

        border-radius: 24px;
    }


    .preview-heart {
        font-size: 34px;
    }


    .preview-card h2 {
        font-size: clamp(34px, 10vw, 52px);
    }


    .preview-card p {
        font-size: 16px;

        line-height: 1.6;
    }


    .message-button {
        padding: 14px 27px;

        font-size: 16px;
    }


    /* Message page */

    .message-page {
        align-items: flex-start;

        padding: 30px 15px;
    }


    .message-card {
        padding: 40px 25px;

        border-radius: 22px;
    }


    .message-card h1 {
        margin-bottom: 28px;
    }


    .message-content {
        font-size: 16px;

        line-height: 1.8;
    }


    .message-content p:first-child {
        font-size: 20px;
    }


    .signature {
        font-size: 18px;
    }

}


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

@media (max-width: 480px) {

    .hero h1 {
        font-size: 34px;
    }


    .eyebrow {
        font-size: 14px;
    }


    nav a {
        font-size: 14px;
    }


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


    .rakhi-image-box {
        padding: 15px 0;
    }


    .preview-card {
        padding: 42px 16px;
    }


    .preview-card h2 {
        font-size: 34px;
    }


    .message-card {
        padding: 32px 18px;
    }


    .message-heart {
        font-size: 30px;
    }


    footer {
        padding: 20px 15px;
    }

}