/* ==========================================================
   RETAILSTOCK — STYLE.CSS
   Versione premium (hero blob, sezioni alternate, AVASK style)
   ========================================================== */

/* ----------------------------------------------------------
   VARIABILI GLOBALI
---------------------------------------------------------- */
:root {
    --amazon-orange: #ff9900;
    --amazon-orange-dark: #e58900;
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --bg-light: #ffffff;
    --bg-dark: #0f0f0f;

    --radius-card: 22px;
    --radius-pill: 14px;

    --shadow-soft: 0 18px 45px rgba(0,0,0,0.08);
    --shadow-orange: 0 20px 50px rgba(255,153,0,0.25);

    --transition: 0.25s ease;
}

/* DARK MODE */
[data-theme="dark"] {
    --bg-light: #141414;
    --text-dark: #f8f8f8;
}


/* ----------------------------------------------------------
   RESET
---------------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }

/* Container AVASK style */
.rs-container {
    width: min(1250px, 92%);
    margin: auto;
}


/* ----------------------------------------------------------
   HEADER
---------------------------------------------------------- */
.site-header {
    padding: 26px 0;
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 999;
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo img {
    height: 48px;
}

.site-nav a {
    margin: 0 14px;
    font-weight: 500;
    text-decoration: none;
    color: #333;
    transition: var(--transition);
}

.site-nav a:hover {
    color: var(--amazon-orange);
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline {
    border: 2px solid var(--amazon-orange);
    color: var(--amazon-orange);
}

.btn-outline:hover {
    background: var(--amazon-orange);
    color: #fff;
}


/* ----------------------------------------------------------
   HERO SECTION
---------------------------------------------------------- */
.hero {
    padding: 150px 0 100px;
    background: #ffffff;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.hero-tag {
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    opacity: .7;
    color: var(--amazon-orange);
    margin-bottom: 12px;
}

.hero-title {
    font-size: 2.9rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-title .accent {
    color: var(--amazon-orange);
}

.hero-subtitle {
    font-size: 1.12rem;
    opacity: .85;
    margin-bottom: 30px;
}

.hero-cta-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-primary {
    background: var(--amazon-orange);
    color: #fff;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
    background: var(--amazon-orange-dark);
}

.hero-note {
    font-size: 0.9rem;
    opacity: .65;
}

/* HERO BLOBBED BACKGROUND */
.hero-blob {
    background: #fff;
    padding: 60px 60px 95px 105px;

    /* Forma organica stile AVASK */
    border-radius: 48% 45% 55% 50% / 38% 60% 28% 60%;

    box-shadow: 0 35px 80px rgba(255,153,0,0.28);
    transform: translate(-70px, 25px);
    transition: var(--transition);
}

.hero-blob:hover {
    transform: translate(-70px, 15px);
}

.hero-img {
    width: 640px;
}


/* ----------------------------------------------------------
   SEZIONI GLOBALI
---------------------------------------------------------- */
.section {
    padding: 130px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 55px;
}

.section-kicker {
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: .7;
    font-size: 0.85rem;
}

.section-lead {
    max-width: 700px;
    margin: 15px auto 0;
    opacity: .85;
    font-size: 1.08rem;
}


/* ----------------------------------------------------------
   SEZIONE ARANCIONE (ALTERNATA)
---------------------------------------------------------- */
.section--orange {
    background: linear-gradient(180deg, #ff9900 0%, #f28f00 100%);
    color: #fff;
    position: relative;
}

.section--orange h2,
.section--orange p,
.section--orange h3 {
    color: #fff;
}


/* ----------------------------------------------------------
   SEZIONE BIANCA (ALTERNATA)
---------------------------------------------------------- */
.section--light {
    background: #ffffff;
}


/* ----------------------------------------------------------
   CARDS GRID (STILE AVASK)
---------------------------------------------------------- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
}

.card {
    background: #fff;
    padding: 40px 32px;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.section--orange .card {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.25);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-orange);
}


/* ----------------------------------------------------------
   ICONS MINIMAL INLINE (BOX / CHART / TRUCK)
---------------------------------------------------------- */
.icon-circle {
    width: 52px;
    height: 52px;
    background: rgba(255,153,0,0.18);
    border-radius: var(--radius-pill);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 18px;
}

.icon-line {
    display: block;
    width: 26px;
    height: 26px;
    border: 2.3px solid var(--amazon-orange);
    border-radius: 6px;
}

/* specifiche */
.icon-box { }
.icon-chart { transform: rotate(45deg); }
.icon-truck { border-radius: 4px 12px 12px 4px; }


/* ----------------------------------------------------------
   FAQ (STILE AVASK)
---------------------------------------------------------- */
.faq-list {
    max-width: 800px;
    margin: auto;
}

.faq-item {
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-card);
    padding: 20px 25px;
    margin-bottom: 15px;
    border: 1px solid rgba(255,255,255,0.25);
    cursor: pointer;
}

.faq-item summary {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.faq-item p {
    opacity: 0.95;
}


/* ----------------------------------------------------------
   FOOTER
---------------------------------------------------------- */
.site-footer {
    background: #000;
    color: #fff;
    padding: 70px 0 0;
}

.site-footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    flex-wrap: wrap;
}

.footer-brand img {
    width: 150px;
    margin-bottom: 15px;
}

.footer-cols {
    display: flex;
    gap: 60px;
}

.footer-col h4 {
    margin-bottom: 12px;
}

.footer-col a {
    display: block;
    margin-bottom: 6px;
    text-decoration: none;
    color: #ddd;
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--amazon-orange);
}

.site-footer-bottom {
    margin-top: 40px;
    padding: 25px 0;
    background: #0a0a0a;
    text-align: center;
    font-size: 0.9rem;
    opacity: .65;
}


/* ----------------------------------------------------------
   ANIMAZIONI FADE-IN
---------------------------------------------------------- */
[data-aos] {
    opacity: 0;
    transform: translateY(15px);

    transition: 0.7s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}


/* ----------------------------------------------------------
   RESPONSIVE
---------------------------------------------------------- */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-blob {
        transform: none !important;
        margin: auto;
    }
}

@media (max-width: 700px) {
    .site-nav { display: none; }
    .mobile-toggle { display: block; }
}


/* MOBILE MENU */
.mobile-toggle {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
}

body.menu-open .site-nav {
    display: flex !important;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 80px;
    right: 0;
    width: 260px;
    padding: 25px;
    box-shadow: var(--shadow-soft);
    z-index: 9999;
}
