/* =====================================================
   RED & BLACK NUMEROLOGY WEBSITE
   Complete CSS
===================================================== */


/* =====================================================
   GOOGLE FONTS
===================================================== */

@import url(
    'https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700&family=Inter:wght@400;500;600&display=swap'
);


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

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: #ffffff;
    background: #120707;
    min-height: 100vh;
}


/* =====================================================
   NAVBAR
===================================================== */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 7%;

    border-bottom: 1px solid #4a1717;

    background: #120707;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;

    font-family: 'Cinzel', serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

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

nav a {
    color: #e6caca;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #ff9b9b;
}


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

.hero {
    position: relative;
    text-align: center;

    padding: 75px 20px 45px;

    background:
        radial-gradient(
            circle at 50% 0%,
            #6b2020 0%,
            #321010 35%,
            #120707 75%
        );

    overflow: hidden;
}

.hero::before {
    content: "";

    position: absolute;

    width: 400px;
    height: 400px;

    border-radius: 50%;

    background: #ff5555;

    opacity: 0.06;

    top: -220px;
    left: 50%;

    transform: translateX(-50%);
}

.stars {
    position: relative;

    color: #ffb3b3;

    font-size: 23px;

    margin-bottom: 25px;

    letter-spacing: 4px;
}

.eyebrow {
    color: #ffb3b3;

    font-size: 12px;

    font-weight: 600;

    letter-spacing: 2px;

    line-height: 1.8;
}

.hero h1 {
    position: relative;

    font-family: 'Cinzel', serif;

    font-size: clamp(32px, 5vw, 60px);

    line-height: 1.3;

    margin: 20px 0;

    font-weight: 700;
}

.hero h1 span {
    color: #ff8f8f;
}

.hero-text {
    color: #e2caca;

    font-size: 16px;

    max-width: 550px;

    margin: auto;

    line-height: 1.8;
}


/* =====================================================
   CALCULATOR SECTION
===================================================== */

.calculator-section {
    display: flex;

    justify-content: center;

    padding: 30px 20px 80px;

    background:
        linear-gradient(
            180deg,
            #120707 0%,
            #241010 100%
        );
}

.calculator-card {
    width: 100%;

    max-width: 530px;

    background: #ffffff;

    color: #1a0808;

    border-radius: 18px;

    padding: 38px;

    box-shadow:
        0 15px 60px #00000055;
}

.card-heading {
    display: flex;

    align-items: center;

    gap: 18px;

    margin-bottom: 30px;
}

.moon-icon {
    display: flex;

    align-items: center;

    justify-content: center;

    width: 58px;

    height: 58px;

    flex-shrink: 0;

    border-radius: 50%;

    background: #ffe5e5;

    color: #a71919;

    font-size: 32px;
}

.card-heading h2 {
    font-family: 'Cinzel', serif;

    margin: 0 0 8px;

    font-size: 24px;

    color: #1a0808;
}

.card-heading p {
    margin: 0;

    font-size: 13px;

    color: #806d6d;

    line-height: 1.5;
}


/* =====================================================
   FORM
===================================================== */

.numerology-form {
    display: flex;

    flex-direction: column;

    gap: 10px;
}

.numerology-form label {
    font-size: 14px;

    font-weight: 600;

    margin-top: 10px;

    color: #1a0808;
}

.numerology-form input {
    width: 100%;

    padding: 16px;

    border: 1px solid #e3caca;

    border-radius: 9px;

    font-size: 15px;

    font-family: 'Inter', sans-serif;

    color: #1a0808;

    background: #ffffff;

    outline: none;

    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.numerology-form input::placeholder {
    color: #a38d8d;
}

.numerology-form input:focus {
    border-color: #c62828;

    box-shadow:
        0 0 0 3px #c6282820;
}


/* =====================================================
   CALCULATE BUTTON
===================================================== */

.numerology-form button {
    margin-top: 20px;

    padding: 17px;

    border: none;

    border-radius: 9px;

    background:
        linear-gradient(
            90deg,
            #8b0000,
            #c62828
        );

    color: #ffffff;

    font-family: 'Inter', sans-serif;

    font-size: 15px;

    font-weight: 600;

    cursor: pointer;

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

.numerology-form button:hover {
    background: #6f0000;

    transform: translateY(-2px);

    box-shadow:
        0 5px 15px #8b000055;
}

.numerology-form button:active {
    transform: translateY(0);
}

.numerology-form button span {
    margin-left: 12px;

    color: #ffd6d6;
}

.privacy-text {
    text-align: center;

    font-size: 11px;

    color: #a38d8d;

    margin: 22px 0 0;

    line-height: 1.6;
}


/* =====================================================
   REPORT SECTION
===================================================== */

.report-section {
    text-align: center;

    padding: 65px 20px;

    background:
        linear-gradient(
            180deg,
            #241010 0%,
            #120707 100%
        );

    border-top: 1px solid #4a1717;
}

.report-logo {
    display: none;
}

.report-logo img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.report-section h2,
.about-section h2 {
    font-family: 'Cinzel', serif;

    font-size: 32px;

    margin: 12px 0;

    line-height: 1.4;
}

.report-name {
    color: #e0caca;

    margin: 20px 0;
}

.report-name strong {
    color: #ffaaaa;
}


/* =====================================================
   NUMEROLOGY NUMBER CARDS
===================================================== */

.numbers-grid {
    display: flex;

    justify-content: center;

    width: 100%;

    margin: 35px auto 0;
}

.number-card {
    width: 500px;

    background: #1f0b0b;

    text-align: center;

    border: 1px solid #6b2424;

    border-radius: 14px;

    padding: 28px 30px;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease;
}

.number-card:hover {
    transform: translateY(-5px);

    border-color: #ff8f8f;
}

.number-icon {
    color: #ffaaaa;

    font-size: 26px;
}

.number-card h3 {
    font-family: 'Cinzel', serif;

    font-size: 16px;

    color: #ffe2e2;

    line-height: 1.5;
}

.number {
    font-family: 'Cinzel', serif;

    font-size: 52px;

    font-weight: 700;

    color: #ff8f8f;

    margin: 10px 0;
}

.number-card p {
    color: #d1baba;

    font-size: 12px;

    line-height: 1.5;
}


/* =====================================================
   REPORT DETAILS
===================================================== */

.report-details {
    max-width: 650px;

    margin: 50px auto 0;

    padding: 30px;

    background: #1f0b0b;

    border: 1px solid #6b2424;

    border-radius: 14px;
}

.report-details h3 {
    font-family: 'Cinzel', serif;

    font-size: 22px;

    color: #ffe2e2;
}

.report-details h4 {
    color: #ffaaaa;

    font-family: 'Cinzel', serif;

    margin-top: 25px;

    margin-bottom: 8px;
}

.report-details p {
    color: #d9c1c1;

    font-size: 14px;

    line-height: 1.8;
}


/* =====================================================
   PRINT REPORT BUTTON
===================================================== */

.print-button {
    margin-top: 15px;

    padding: 13px 24px;

    border: 1px solid #ff8f8f;

    border-radius: 8px;

    background: transparent;

    color: #ffaaaa;

    font-size: 14px;

    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.3s ease,
        color 0.3s ease;
}

.print-button:hover {
    background: #ff8f8f;

    color: #1a0808;
}


/* =====================================================
   ABOUT SECTION
===================================================== */

.about-section {
    text-align: center;

    padding: 75px 20px;

    max-width: 750px;

    margin: auto;

    background: #120707;
}

.about-section h2 {
    color: #ffffff;
}

.about-section p:not(.eyebrow) {
    color: #d9c1c1;

    line-height: 1.8;

    font-size: 15px;
}


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

footer {
    text-align: center;

    padding: 25px;

    border-top: 1px solid #4a1717;

    color: #a98d8d;

    font-size: 12px;

    background: #120707;
}


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

@media (max-width: 700px) {

    .navbar {
        flex-direction: column;

        gap: 18px;

        padding: 20px;
    }

    .logo {
        font-size: 15px;
    }

    nav {
        gap: 18px;

        flex-wrap: wrap;

        justify-content: center;
    }

    nav a {
        font-size: 13px;
    }

    .hero {
        padding: 45px 20px 35px;
    }

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

    .hero-text {
        font-size: 14px;
    }

    .calculator-section {
        padding: 25px 15px 60px;
    }

    .calculator-card {
        padding: 25px 20px;
    }

    .card-heading {
        gap: 12px;
    }

    .moon-icon {
        width: 48px;

        height: 48px;

        font-size: 27px;
    }

    .card-heading h2 {
        font-size: 20px;
    }

    .numbers-grid {
        display: flex;

        flex-direction: column;

        width: 100%;

        max-width: 100%;

        justify-content: center;

        align-items: center;
    }

    .number-card {
        width: 100%;

        max-width: 500px;

        padding: 25px;
    }

    .report-section h2,
    .about-section h2 {
        font-size: 25px;
    }

    .report-details {
        padding: 22px 18px;
    }
}


/* =====================================================
   PRINT STYLES
===================================================== */

@media print {

    body {
        background: white;

        color: black;
    }

    .navbar,
    .hero,
    .calculator-section,
    .about-section,
    footer,
    .print-button {
        display: none !important;
    }

    .report-section {
        display: block !important;

        background: white;

        color: black;

        border: none;

        padding: 20px;
    }

    .report-logo {
        display: block;
        text-align: center;
        margin-bottom: 20px;
    }

    .report-logo img {
        width: 100px;
        height: 100px;
        object-fit: contain;
    }

    .report-section h2,
    .report-section h3 {
        color: black;
    }

    .report-name,
    .report-details p {
        color: black;
    }

    .number-card,
    .report-details {
        background: white;

        border: 1px solid #cccccc;

        color: black;
    }

    .number-card h3,
    .number-card p {
        color: black;
    }

    .number {
        color: black;
    }
}