/*
 * palette1.css - Blu Spazio
 * 
 * Blu profondo con riflessi bianco/azzurro, tema spazio/abisso.
 * Font: Cormorant Garamond (heading) + Lato (body)
 * 
 * @author Aurabolle
 */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap');

:root {
    --purple: #4A8AD8;
    --purple-dark: #0A1224;
    --purple-light: #7CABE0;
    --pink: #5B8FD4;
    --pink-light: #8BB8E8;
    --gold: #6BA3E0;
    --gold-light: #A0C8EE;
    --teal: #3A7AD8;
    --dark: #0A1224;
    --dark-bg: #060C18;
    --text: #0A1224;
    --text-light: #4A6A8A;
    --bg: #E0E8F2;
    --bg-alt: #C8D6E8;
    --white: #FFFFFF;
    --shadow: 0 4px 24px rgba(10, 18, 36, 0.10);

    --font: 'Lato', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --header-bg: rgba(10, 14, 26, 0.85);
    --nav-link: rgba(255, 255, 255, 0.8);
    --nav-link-hover: #8BB8E8;
    --header-border: rgba(60, 130, 255, 0.15);
    --card-frame: rgba(60, 130, 255, 0.18);
    --card-border: rgba(60, 130, 255, 0.30);
    --section-line: #4A8AD8;
    --faq-accent: #3A7AD8;
    --pattern-color: rgba(60, 130, 255, 0.08);
    --pattern-color-alt: rgba(100, 160, 255, 0.06);
}

body {
    font-family: var(--font);
}

.card {
    background: rgba(60, 130, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.card-mystic {
    background: rgba(10, 18, 36, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 4px solid var(--card-border);
}

.faq-item {
    background: rgba(60, 130, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* ========= SEZIONE TITOLI ========= */
.section-title {
    color: #0A1224;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #4A8AD8, #4A8AD8, transparent);
    margin: 14px auto 0;
    border-radius: 2px;
}

/* Ghirigoro decorativo sopra i titoli */
.section {
    position: relative;
}

.section::before {
    content: '✦';
    display: block;
    text-align: center;
    font-size: 1.4rem;
    color: #4A8AD8;
    opacity: 0.3;
    margin-bottom: -16px;
    letter-spacing: 12px;
}

.section:first-of-type::before {
    display: none;
}

/* ========= CARD ========= */
.card {
    border-color: rgba(60, 130, 255, 0.10);
    position: relative;
    overflow: visible;
}

.card::before {
    content: '';
    position: absolute;
    inset: 5px;
    border: 1px solid rgba(60, 130, 255, 0.06);
    border-radius: calc(var(--radius) - 5px);
    pointer-events: none;
}

.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #4A8AD8, transparent);
    border-radius: 0 0 2px 2px;
    pointer-events: none;
}

/* Angoli decorativi sulle card */
.card .corner-tl,
.card .corner-tr,
.card .corner-bl,
.card .corner-br {
    position: absolute;
    width: 12px;
    height: 12px;
    border-color: #4A8AD8;
    opacity: 0.25;
    pointer-events: none;
}

.card:hover {
    border-color: rgba(60, 130, 255, 0.30);
    box-shadow: 0 8px 30px rgba(60, 130, 255, 0.12);
}

.card:hover .corner-tl,
.card:hover .corner-tr,
.card:hover .corner-bl,
.card:hover .corner-br {
    opacity: 0.5;
}

.card-title {
    color: #0A1224;
    font-weight: 700;
}

.card-text {
    color: #4A6A8A;
}

.card-cta {
    color: #4A8AD8;
}

.card-cta:hover {
    color: #0A1224;
}

/* ========= CARD MYSTIC ========= */
.card-mystic {
    background: linear-gradient(145deg, #0A1224, #060C18);
    border: 1px solid rgba(60, 130, 255, 0.12);
    position: relative;
}

.card-mystic::before {
    content: '';
    position: absolute;
    inset: 5px;
    border: 1px solid rgba(60, 130, 255, 0.08);
    border-radius: calc(var(--radius) - 5px);
    pointer-events: none;
}

.card-mystic::after {
    content: '';
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #4A8AD8, transparent);
    border-radius: 0 0 2px 2px;
    pointer-events: none;
}

.card-mystic .card-title {
    color: #A0C8EE;
}

/* ========= FAQ ========= */
.faq-item {
    border-left: 3px solid #3A7AD8;
    border-top: 1px solid rgba(60, 130, 255, 0.06);
    border-right: 1px solid rgba(60, 130, 255, 0.06);
    border-bottom: 1px solid rgba(60, 130, 255, 0.06);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow);
}

.faq-question {
    color: #0A1224;
}

.faq-question:hover {
    background: rgba(60, 130, 255, 0.03);
}

.faq-question::after {
    color: #4A8AD8;
}

/* ========= GALLERIA ========= */
.gallery-item {
    border: 1px solid rgba(60, 130, 255, 0.08);
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    cursor: pointer;
    aspect-ratio: 1;
    background: var(--white);
    padding: 6px;
    box-shadow: var(--shadow);
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: calc(var(--radius) - 6px);
    transition: transform 0.4s;
}

.gallery-item:hover img,
.gallery-item:hover video {
    transform: scale(1.08);
}

/* ========= BOTTONI ========= */
.btn-primary {
    background: linear-gradient(135deg, #1A4A8A, #0D2D5A);
    box-shadow: 0 4px 16px rgba(40, 80, 200, 0.30);
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    box-shadow: 0 6px 24px rgba(60, 100, 230, 0.45);
    transform: translateY(-2px);
}

.btn-secondary {
    color: #4A8AD8;
    border-color: #4A8AD8;
}

.btn-secondary:hover {
    background: rgba(60, 130, 255, 0.08);
}

/* ========= ALTRI ELEMENTI ========= */
.section-subtitle {
    color: #4A6A8A;
}

.review-stars {
    color: #4A8AD8;
}

.review-author {
    color: #0A1224;
}

.split-content h3 {
    color: #0A1224;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    border-color: rgba(60, 130, 255, 0.15);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #4A8AD8;
}

.footer {
    border-top: 2px solid rgba(60, 130, 255, 0.10);
    position: relative;
}

.footer::before {
    content: '✦ ✦ ✦';
    display: block;
    text-align: center;
    font-size: 0.8rem;
    color: #4A8AD8;
    opacity: 0.2;
    margin-bottom: 12px;
    letter-spacing: 8px;
}

/* ========= PALLINI DECORATIVI ========= */
.deco-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4A8AD8;
    opacity: 0.3;
    margin: 0 4px;
}

/* ========= TUTTI I RIQUADRI CIRCULAR ========= */
.card,
.card-mystic {
    border-radius: 28px !important;
}
.card::before,
.card-mystic::before {
    border-radius: 22px !important;
}
.gallery-item {
    border-radius: 50% !important;
}
.gallery-item img,
.gallery-item video {
    border-radius: 50% !important;
}
.faq-item {
    border-radius: 30px !important;
}
