﻿/* --- TAVOLOZZA COLORI & FONT --- */
:root {
    --rosa-pastello: rgba(249, 236, 234, 0.7);
    --verde-salvia: rgba(220, 228, 211, 0.7);
    --oro-elegante: #BFA37E;
    --oro-light: rgba(242, 232, 213, 0.7);
    --testo: #4A4A4A;
    --bianco-vetro: rgba(255, 255, 255, 0.8);
}

/* --- RESET BASE --- */
* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

body {
    font-family: 'Playfair Display', serif;
    color: var(--testo);
    background-image: url('images/white-texture_1160-786.avif'); 
    background-attachment: fixed; 
    background-size: cover;
    background-position: center;
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- HEADER & NAVIGAZIONE --- */
header {
    background: rgba(255, 255, 255, 0.9);
    padding: 30px 20px 10px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom: 1px solid var(--oro-elegante);
}

.logo-container img {
    width: 300px;
    height: auto;
    object-fit: contain;
    margin-bottom: 15px;
}

nav {
    display: flex;
    gap: 35px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px 0;
}

nav a {
    text-decoration: none;
    color: var(--testo);
    text-transform: uppercase;
    font-size: 1.1em;
    font-weight: 600;
    letter-spacing: 2px;
    transition: 0.3s;
    padding: 5px 10px;
}

nav a:hover {
    color: var(--oro-elegante);
}

/* --- SEZIONI --- */
.hero {
    padding: 100px 10%; 
    text-align: center;
    background: rgba(255, 255, 255, 0.2);
}

.hero h1 {
    font-size: 3.5em;
    color: var(--oro-elegante);
    margin-bottom: 20px;
    font-style: italic;
    text-shadow: 1px 1px 3px rgba(255,255,255,0.5);
}

.section-pastel {
    padding: 80px 10%;
    text-align: center;
    border-bottom: 1px solid rgba(0,0,0,0.03);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.verde-bg { background-color: var(--verde-salvia); }
.oro-light-bg { background-color: var(--oro-light); }
.rosa-bg { background-color: var(--rosa-pastello); }

/* --- GRIGLIE & CARD --- */
.stationery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

.product-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: left;
}

.product-card h3 { color: var(--oro-elegante); margin-bottom: 15px; }

.section-pastel ul { list-style: none; padding: 0; }
.section-pastel li { margin-bottom: 8px; }

/* --- BOTTONI --- */
.btn-oro {
    display: inline-block;
    padding: 18px 45px;
    background: var(--oro-elegante);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(191, 163, 126, 0.3);
}

.btn-oro:hover {
    background-color: #a38b6a;
    transform: translateY(-3px);
}

/* --- GRIGLIA VIDEO OTTIMIZZATA --- */
.video-container-section {
    padding: 60px 5%;
    text-align: center;
    background: rgba(255, 255, 255, 0.3);
}

.video-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.video-frame {
    display: flex;
    width: fit-content;
    height: 70vh;
    padding: 12px;
    border: 1px solid var(--oro-elegante);
    background: white;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    position: relative;
    border-radius: 5px;
}

.video-frame::before {
    content: '';
    position: absolute;
    top: 5px; left: 5px; right: 5px; bottom: 5px;
    border: 1px solid var(--oro-elegante);
    pointer-events: none;
    opacity: 0.3;
}

.video-frame video {
    height: 100%;
    width: auto;
    display: block;
    border-radius: 2px;
}

/* --- FOOTER & COOKIE --- */
footer {
    text-align: center;
    padding: 80px 20px;
    background: rgba(255, 255, 255, 0.9);
    border-top: 1px solid var(--oro-elegante);
}

#cookie-bar {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: rgba(255, 255, 255, 0.98);
    padding: 20px;
    text-align: center;
    z-index: 100000;
    border-top: 1px solid var(--oro-elegante);
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .video-grid { flex-direction: column; align-items: center; }
    .video-frame { height: 60vh; width: auto; max-width: 95%; }
}