/* ==================================================
   PAPA ORO MINATORE
   PREMIUM CHILDREN'S AUTHOR WEBSITE
   A magical world of stories, adventure & golden dreams
================================================== */

:root {
    --gold: #ffd33f;
    --gold-light: #ffe98a;
    --gold-dark: #c79c15;

    --bg: #0f0c08;
    --bg-secondary: #1a140d;
    --bg-card: #21180f;

    --cream: #f4f0e7;
    --muted: #d8d1c4;

    --border: rgba(255, 211, 63, .15);

    --shadow:
        0 0 20px rgba(255, 211, 63, .15);

    --shadow-hover:
        0 0 40px rgba(255, 211, 63, .35);

    --transition: .4s ease;
}

/* ==================================================
   RESET & BASE STYLES
   Global reset and body foundation
================================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    background:
        linear-gradient(180deg,
            #0f0c08 0%,
            #161109 40%,
            #1a140d 100%);

    color: var(--cream);

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

    overflow-x: hidden;
}

/* ==================================================
   TYPOGRAPHY
   Headings, paragraphs, links and section titles
================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Cinzel', serif;
    color: var(--cream);
}

p {
    color: var(--muted);
    line-height: 1.9;
}

a {
    text-decoration: none;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: 700;
}

@media(max-width:768px) {

    .section-title {
        font-size: 2rem;
    }

}

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

.nav-custom-navbar {
    background: rgba(15, 12, 8, .92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

/* ==========================================
   LOGO
========================================== */

.nav-premium-brand {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    text-decoration: none;
}

.nav-brand-title {
    color: var(--gold);
    font-family: 'Cinzel', serif;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-brand-subtitle {
    color: var(--gold-light);
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: .85;
}

/* ==========================================
   ACTIONS
========================================== */

.nav-navbar-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

/* ==========================================
   CART
========================================== */

.nav-premium-cart {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;

    padding: 10px 16px;

    border: 1px solid rgba(255, 211, 63, .25);
    border-radius: 50px;

    transition: var(--transition);
}

.nav-premium-cart:hover {
    border-color: var(--gold);
    background: rgba(255, 211, 63, .08);
}

.nav-premium-cart-icon-wrap {
    position: relative;
}

.nav-premium-cart-icon {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: var(--gold);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nav-premium-cart-text {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.nav-premium-cart-badge {
    position: absolute;
    top: -7px;
    right: -8px;

    width: 18px;
    height: 18px;

    border-radius: 50%;

    background: var(--gold);
    color: #111;

    font-size: 10px;
    font-weight: 700;

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

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

@media (max-width: 991px) {

    .nav-navbar-actions {
        margin-top: 20px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .nav-premium-cart {
        justify-content: center;
    }

    .navbar-nav {
        text-align: center;
        margin-top: 20px;
    }
}

/* ==================================================
   BUTTONS
   Gold primary and outline button styles
================================================== */

.btn-gold {

    background: var(--gold);
    color: #111;
    border: none;

    font-weight: 600;

    padding: 12px 28px;

    transition: var(--transition);

    border-radius: 50px;
}

.btn-gold:hover {

    background: var(--gold-light);

    transform: translateY(-4px);

    box-shadow:
        0 0 30px rgba(255, 211, 63, .5);

    color: #111;
}

.btn-outline-gold {

    border: 1px solid var(--gold);

    color: var(--gold);

    border-radius: 50px;

    padding: 12px 28px;

    transition: var(--transition);
}

.btn-outline-gold:hover {

    background: var(--gold);

    color: #111;

    box-shadow: var(--shadow-hover);
}

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

.hero-section {

    min-height: 100vh;

    display: flex;

    align-items: center;

    position: relative;

    padding-top: 120px;
}

.hero-section::before {

    content: '';

    position: absolute;

    inset: 0;

    background:
        radial-gradient(circle at center,
            rgba(255, 211, 63, .12),
            transparent 70%);
}

/* ==================================================
   GENERAL SECTION STYLING
================================================== */

.section-padding {
    padding: 110px 0;

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

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

.footer-footer {
    background: var(--bg);
    padding: 40px 20px;
}

.footer-footer-container {

    max-width: 1400px;
    margin: 0 auto;

    display: grid;
    grid-template-columns:
        1.2fr .9fr 1.2fr;

    background: var(--bg-card);

    border: 1px solid var(--border);
    border-radius: 18px;

    overflow: hidden;

    box-shadow: var(--shadow);
}

.footer-footer-brand,
.footer-footer-links,
.footer-footer-newsletter {
    padding: 32px;
}

.footer-footer-links,
.footer-footer-newsletter {
    border-left: 1px solid var(--border);
}

.footer-footer-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-footer-logo {
    width: 150px;
    height: 150px;
    background: url('../images/Logo.png') no-repeat center / cover;
    display: block;
}

.footer-footer-brand-text h3 {
    color: var(--gold);
    font-size: 38px;
    line-height: 1;
    margin-bottom: 8px;
}

.footer-footer-brand-text p {
    color: var(--muted);
    font-size: 14px;
}

.footer-footer-links h4,
.footer-footer-newsletter h4 {
    color: var(--gold);
    font-size: 32px;
    margin-bottom: 16px;
}

.footer-footer-links ul {
    list-style: none;
}

.footer-footer-links li {
    margin-bottom: 8px;
}

.footer-footer-links a {
    color: var(--cream);
    text-decoration: none;
    transition: var(--transition);
}

.footer-footer-links a:hover {
    color: var(--gold);
}

.footer-footer-newsletter p {
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.footer-footer-form {
    display: flex;
    overflow: hidden;
}

.footer-footer-form input {

    flex: 1;

    min-width: 250px;

    background: #241a11;

    border: 1px solid var(--border);

    color: white;

    padding: 15px 20px;

    border-radius: 50px;
}

.footer-footer-form input:focus {

    outline: none;

    border-color: var(--gold);
}

.footer-footer-form button {
    border: none;
    cursor: pointer;

    padding: 0 22px;

    background: linear-gradient(180deg,
            var(--gold-light),
            var(--gold-dark));

    color: #111;
    font-weight: 700;
    border-radius: 50px;

    transition: var(--transition);
}

.footer-footer-form button:hover {
    filter: brightness(1.05);
}

.footer-footer-bottom {
    text-align: center;
    margin-top: 14px;
    color: var(--muted);
    font-size: 12px;
}

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

@media(max-width:991px) {

    .footer-footer-container {
        grid-template-columns: 1fr;
    }

    .footer-footer-links,
    .footer-footer-newsletter {
        border-left: none;
        border-top: 1px solid var(--border);
    }

    .footer-footer-brand {
        justify-content: center;
        text-align: center;
    }

    .footer-footer-links,
    .footer-footer-newsletter {
        text-align: center;
    }

    .footer-footer-form {
        max-width: 450px;
        margin: 0 auto;
    }
}

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

@media(max-width:768px) {

    .footer-footer {
        padding: 20px 15px;
    }

    .footer-footer-brand {
        flex-direction: column;
    }

    .footer-footer-brand,
    .footer-footer-links,
    .footer-footer-newsletter {
        padding: 24px 18px;
    }

    .footer-footer-brand-text h3 {
        font-size: 22px;
    }

    .footer-footer-form {
        flex-direction: column;
        background: none;
        gap: 10px;
    }

    .footer-footer-form input {
        border-radius: 12px;
    }

    .footer-footer-form button {
        border-radius: 12px;
        padding: 14px;
    }
}

.particle-container {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    pointer-events: none;
    overflow: hidden;
}

.gold-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(255, 211, 63, .8), 0 0 15px rgba(255, 211, 63, .4);
    animation: goldFloat 10s linear infinite;
    pointer-events: none;
}

@keyframes goldFloat {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-10vh) translateX(50px);
        opacity: 0;
    }
}

/* Push footer above particles */
.footer-footer {
    position: relative;
    z-index: 1001;
    background: var(--bg);
}

.promo-description {
    font-weight: bold;
    white-space: pre-line;
}

.book-description{
    font-weight: bold;
    white-space: pre-line;
}
