/* =====================================================
   RED & BLACK NUMEROLOGY WEBSITE
   Complete Responsive 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: 16px 7%;
    border-bottom: 1px solid #4a1717;
    background: #120707;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Cinzel', serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
}

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

nav {
    display: flex;
    align-items: center;
    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,
.contact-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 CARD
===================================================== */

.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;
}


/* =====================================================
   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;
}


/* =====================================================
   CONTACT SECTION
===================================================== */

.contact-section {
    text-align: center;

    padding: 70px 20px;

    background: #1a0909;

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

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

.contact-section > p:not(.eyebrow) {
    color: #d9c1c1;
    line-height: 1.8;
    font-size: 15px;
}

.contact-details {
    display: flex;
    justify-content: center;
    align-items: center;

    gap: 20px;

    margin-top: 25px;

    flex-wrap: wrap;
}

.contact-details a {
    display: inline-block;

    min-width: 220px;

    padding: 12px 18px;

    color: #ffaaaa;

    text-decoration: none;

    font-size: 14px;
    font-weight: 600;

    border: 1px solid #6b2424;
    border-radius: 8px;

    background: #1f0b0b;

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

.contact-details a:hover {
    color: #ffffff;
    border-color: #ff8f8f;
    transform: translateY(-2px);
}


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

footer {
    text-align: center;

    padding: 25px;

    border-top: 1px solid #4a1717;

    color: #a98d8d;

    font-size: 12px;

    background: #120707;
}


/* =====================================================
   SOCIAL LINKS
===================================================== */

.social-links {
    display: flex;

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

    gap: 22px;

    margin-bottom: 15px;
}

.social-links a {
    display: flex;

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

    width: 42px;
    height: 42px;

    transition:
        transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.15);
}

.social-links img {
    width: 32px;
    height: 32px;

    object-fit: contain;
}


/* Phone icon smaller */

.social-links .phone-icon {
    width: 24px;
    height: 24px;
}


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

@media (max-width: 700px) {


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

    .navbar {
        flex-direction: column;

        gap: 14px;

        padding: 14px 12px 18px;
    }

    .logo {
        justify-content: center;

        gap: 8px;

        font-size: 14px;

        text-align: center;
    }

    .logo img {
        width: 50px;
        height: 50px;
    }

    nav {
        width: 100%;

        display: flex;

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

        gap: 6px;

        flex-wrap: wrap;
    }

    nav a {
        font-size: 12px;

        padding: 6px 7px;

        white-space: nowrap;
    }


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

    .hero {
        padding: 40px 18px 30px;
    }

    .stars {
        font-size: 18px;
        margin-bottom: 18px;
    }

    .eyebrow {
        font-size: 10px;
        letter-spacing: 1.5px;
    }

    .hero h1 {
        font-size: 32px;
        line-height: 1.25;

        margin: 15px 0;
    }

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


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

    .calculator-section {
        padding: 20px 12px 50px;
    }

    .calculator-card {
        width: 100%;

        padding: 25px 18px;

        border-radius: 14px;
    }

    .card-heading {
        gap: 12px;
        margin-bottom: 25px;
    }

    .moon-icon {
        width: 45px;
        height: 45px;

        font-size: 25px;
    }

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

    .card-heading p {
        font-size: 12px;
    }

    .numerology-form input {
        padding: 14px;
        font-size: 14px;
    }

    .numerology-form button {
        padding: 15px;
        font-size: 14px;
    }


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

    .report-section {
        padding: 50px 15px;
    }

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

    .report-name {
        font-size: 14px;
    }

    .numbers-grid {
        width: 100%;

        display: flex;

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

        margin-top: 25px;
    }

    .number-card {
        width: 100%;

        max-width: 500px;

        padding: 22px 18px;
    }

    .number {
        font-size: 45px;
    }

    .report-details {
        width: 100%;

        padding: 22px 18px;

        margin-top: 35px;
    }

    .report-details h3 {
        font-size: 19px;
    }

    .report-details h4 {
        font-size: 15px;
    }

    .report-details p {
        font-size: 13px;

        line-height: 1.7;

        text-align: center;
    }


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

    .about-section {
        padding: 55px 20px;
    }

    .about-section p:not(.eyebrow) {
        font-size: 14px;
        line-height: 1.7;
    }


    /* ================= CONTACT ================= */

    .contact-section {
        padding: 50px 20px;
    }

    .contact-section > p:not(.eyebrow) {
        font-size: 14px;
        line-height: 1.7;
    }

    .contact-details {
        display: flex;

        flex-direction: column;

        align-items: center;

        gap: 12px;

        margin-top: 22px;
    }

    .contact-details a {
        width: 100%;

        max-width: 280px;

        min-width: 0;

        padding: 11px 15px;

        font-size: 13px;

        text-align: center;
    }


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

    footer {
        padding: 20px 15px;
    }

    .social-links {
        gap: 16px;

        margin-bottom: 12px;
    }

    .social-links a {
        width: 38px;
        height: 38px;
    }

    .social-links img {
        width: 28px;
        height: 28px;
    }

    .social-links .phone-icon {
        width: 23px;
        height: 23px;
    }

    footer p {
        font-size: 11px;
        line-height: 1.5;
    }

}


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

@media print {

    body {
        background: white;
        color: black;
    }

    .navbar,
    .hero,
    .calculator-section,
    .about-section,
    .contact-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;
    }
}