*{
box-sizing:border-box;
}

body{
margin:0;
font-family:'Inter', sans-serif;
background:
radial-gradient(circle at top left, #3a3a3d 0%, transparent 28%),
radial-gradient(circle at bottom right, #b8b8b4 0%, transparent 25%),
linear-gradient(135deg, #c9c9c4, #b7b7b2, #8f8f8a);
color:#151515;
}

h1, h2, h3{
font-family:'Montserrat', sans-serif;
font-weight:700;
letter-spacing:1px;
}

h1{
text-align:center;
}

section{
max-width:900px;
margin:60px auto;
padding:30px 24px;
background:rgba(235,235,230,0.78);
border-radius:18px;
box-shadow:0 18px 45px rgba(0,0,0,0.14);
border:1px solid rgba(255,255,255,0.45);
}

.sr{
color:#5f5f5f;
font-size:0.95rem;
}

/* NAV */

.top-nav{
position:fixed;
top:15px;
left:50%;
transform:translateX(-50%);
z-index:10;
display:flex;
gap:10px;
background:rgba(255,255,255,0.18);
backdrop-filter:blur(12px);
padding:10px 14px;
border-radius:999px;
border:1px solid rgba(255,255,255,0.25);
}

.top-nav a{
color:white;
text-decoration:none;
font-size:14px;
font-weight:600;
padding:6px 10px;
border-radius:999px;
}

.top-nav a:hover{
background:rgba(255,255,255,0.2);
}

/* GENERAL BOXES */

.box{
background:#deded8;
padding:15px;
margin:10px 0;
border-radius:10px;
box-shadow:0 12px 32px rgba(0,0,0,0.13);
border:1px solid rgba(255,255,255,0.4);
}

.box:hover{
background:#e7e7e2;
}

/* HERO */

.hero{
min-height:78vh;
display:flex;
align-items:center;
justify-content:center;
text-align:center;
padding:40px 20px;
border-radius:0 0 30px 30px;
position:relative;
overflow:hidden;
background:#0f0f10;
}

.hero::before{
content:"";
position:absolute;
inset:0;
background:url("com.png");
background-size:cover;
background-position:center;
background-repeat:no-repeat;
transform:scale(1.18);
filter:blur(4px);
animation:backgroundIntro 2s ease forwards;
}

.hero::after{
content:"";
position:absolute;
inset:0;
background:linear-gradient(rgba(15,15,16,0.82), rgba(15,15,16,0.93));
z-index:1;
}

.hero-content{
max-width:800px;
position:relative;
z-index:2;
opacity:0;
transform:translateY(18px);
animation:textIntro 0.8s ease forwards;
animation-delay:2s;
}

.hero h1{
font-size:56px;
margin-bottom:15px;
color:white;
text-shadow:0 2px 12px rgba(0,0,0,0.6);
}

.hero-subtitle{
font-size:18px;
color:#ddd;
margin-bottom:8px;
text-shadow:0 2px 10px rgba(0,0,0,0.6);
}

.hero-sr{
margin-bottom:25px;
color:#aaa;
}

.hero-buttons{
display:flex;
justify-content:center;
gap:12px;
flex-wrap:wrap;
}

.hero-btn{
background:white;
color:#111;
padding:12px 18px;
border-radius:10px;
text-decoration:none;
font-weight:700;
}

.hero-btn:hover{
background:#ddd;
}

.hero-btn.secondary{
background:#222;
color:white;
}

.hero-btn.secondary:hover{
background:#333;
}

/* ANIMATIONS */

@keyframes backgroundIntro{
from{
transform:scale(1.18);
filter:blur(4px);
}

to{
transform:scale(1);
filter:blur(0);
}
}

@keyframes textIntro{
from{
opacity:0;
transform:translateY(18px);
}

to{
opacity:1;
transform:translateY(0);
}
}

@keyframes cardIntro{
from{
opacity:0;
transform:translateY(25px);
}

to{
opacity:1;
transform:translateY(0);
}
}

/* ABOUT */

.about-section{
text-align:center;
max-width:750px;
}

.about-section p{
line-height:1.7;
}

.brand-weber{
display:inline-block;
font-family:'Montserrat', sans-serif;
font-weight:700;
letter-spacing:1px;
color:#111;
background:#f2f2ee;
padding:3px 8px;
border-radius:6px;
border:1px solid rgba(0,0,0,0.12);
box-shadow:0 4px 12px rgba(0,0,0,0.08);
}

/* ASORTIMENTI */

.asortimenti-grid{
display:grid;
grid-template-columns:repeat(auto-fit, minmax(180px, 1fr));
gap:10px;
margin-top:15px;
}

.mini-box{
background:#deded8;
padding:12px;
border-radius:10px;
box-shadow:0 12px 32px rgba(0,0,0,0.13);
border:1px solid rgba(255,255,255,0.4);
}

.mini-box:hover{
background:#e7e7e2;
}

.mini-box p{
margin:0;
font-weight:600;
}

.mini-box span{
display:block;
margin-top:4px;
color:#5f5f5f;
font-size:13px;
}

/* CONTACT */

.contact{
max-width:900px;
margin:60px auto;
padding:30px 24px;
}

.contact-card{
background:#deded8;
padding:15px;
margin:10px 0;
border-radius:12px;
box-shadow:0 12px 32px rgba(0,0,0,0.13);
border:1px solid rgba(255,255,255,0.4);
}

.contact-card:hover{
background:#e7e7e2;
}

.contact-card p{
margin:0 0 10px 0;
color:#5f5f5f;
}

.btn{
display:inline-block;
padding:10px 14px;
background:#1f1f1f;
color:white;
text-decoration:none;
border-radius:8px;
font-weight:600;
}

.btn:hover{
background:#333;
}

.wa{
background:#25D366;
}

.wa:hover{
background:#1ebe5d;
}

.vb{
background:#7360f2;
}

.vb:hover{
background:#5b49d6;
}

.location-btn{
display:inline-block;
margin:10px 0;
padding:10px 14px;
background:#1f1f1f;
color:white;
text-decoration:none;
border-radius:8px;
font-size:14px;
}

.location-btn:hover{
background:#333;
}

/* PRODUCTS PAGE */

.products-header{
text-align:center;
padding:50px 20px 20px;
opacity:0;
animation:textIntro 0.8s ease forwards;
color:#151515;
}

.back-btn{
display:inline-block;
margin-top:15px;
padding:10px 14px;
background:#1f1f1f;
color:white;
text-decoration:none;
border-radius:8px;
font-weight:600;
}

.back-btn:hover{
background:#333;
}

.product-grid{
display:grid;
grid-template-columns:repeat(auto-fit, minmax(240px, 1fr));
gap:22px;
max-width:1100px;
margin:60px auto;
padding:40px 20px;
}

.product-card{
background:#deded8;
border-radius:16px;
padding:16px;
transition:0.3s ease;
opacity:0;
animation:cardIntro 0.7s ease forwards;
box-shadow:0 12px 32px rgba(0,0,0,0.13);
border:1px solid rgba(255,255,255,0.4);
}

.product-card:hover{
transform:translateY(-6px);
background:#e7e7e2;
box-shadow:0 18px 42px rgba(0,0,0,0.16);
}

.product-card h3{
font-size:19px;
line-height:1.3;
margin-bottom:5px;
}

.product-card:nth-child(1){animation-delay:0.1s;}
.product-card:nth-child(2){animation-delay:0.2s;}
.product-card:nth-child(3){animation-delay:0.3s;}
.product-card:nth-child(4){animation-delay:0.4s;}
.product-card:nth-child(5){animation-delay:0.5s;}
.product-card:nth-child(6){animation-delay:0.6s;}
.product-card:nth-child(7){animation-delay:0.7s;}
.product-card:nth-child(8){animation-delay:0.8s;}
.product-card:nth-child(9){animation-delay:0.9s;}
.product-card:nth-child(10){animation-delay:1s;}
.product-card:nth-child(11){animation-delay:1.1s;}
.product-card:nth-child(12){animation-delay:1.2s;}
.product-card:nth-child(13){animation-delay:1.3s;}
.product-card:nth-child(14){animation-delay:1.4s;}
.product-card:nth-child(15){animation-delay:1.5s;}
.product-card:nth-child(16){animation-delay:1.6s;}

.img-box{
height:190px;
background:linear-gradient(135deg,#bdbdb8,#e2e2dc);
border-radius:12px;
display:flex;
align-items:center;
justify-content:center;
color:#555;
margin-bottom:15px;
font-size:14px;
}

/* PRODUCT IMAGES */

.product-img{
width:100%;
height:190px;
object-fit:contain;
object-position:center;
background:rgb(255, 255, 255);
padding:14px;
border-radius:12px;
margin-bottom:15px;
display:block;
}

/* WEBER COLOR PALETTE */

.color-card{
order:99;
}

.color-dropdown{
margin-top:14px;
text-align:left;
}

.color-dropdown summary{
cursor:pointer;
list-style:none;
font-weight:700;
padding:12px 16px;
background:#1f1f1f;
color:white;
border-radius:12px;
text-align:center;
transition:0.3s ease;
}

.color-dropdown summary:hover{
background:#333;
}

.color-dropdown summary::-webkit-details-marker{
display:none;
}

.palette-groups{
margin-top:18px;
display:flex;
flex-direction:column;
gap:14px;
}

.palette-row{
opacity:0;
transform:translateY(12px);
}

.color-dropdown[open] .palette-row{
animation:paletteOpen 0.45s ease forwards;
}

.color-dropdown[open] .palette-row:nth-child(1){animation-delay:0.05s;}
.color-dropdown[open] .palette-row:nth-child(2){animation-delay:0.10s;}
.color-dropdown[open] .palette-row:nth-child(3){animation-delay:0.15s;}
.color-dropdown[open] .palette-row:nth-child(4){animation-delay:0.20s;}
.color-dropdown[open] .palette-row:nth-child(5){animation-delay:0.25s;}
.color-dropdown[open] .palette-row:nth-child(6){animation-delay:0.30s;}
.color-dropdown[open] .palette-row:nth-child(7){animation-delay:0.35s;}

.palette-row p{
margin:0 0 6px 0;
font-weight:700;
font-size:13px;
color:#333;
}

.palette-colors{
display:grid;
grid-template-columns:repeat(5, 1fr);
gap:8px;
}

.palette-colors span{
display:block;
height:38px;
border-radius:9px;
border:1px solid rgba(0,0,0,0.14);
box-shadow:0 4px 10px rgba(0,0,0,0.08);
}

@keyframes paletteOpen{
to{
opacity:1;
transform:translateY(0);
}
}

.palette-note{
margin-top:14px;
font-size:14px;
font-weight:600;
color:#333;
text-align:center;
line-height:1.5;
}

/* FOOTER */

.site-footer{
text-align:center;
padding:40px 20px;
margin-top:60px;
}

.footer-logo{
width:240px;
opacity:0.22;
filter:grayscale(100%);
}

.signature-text{
margin-top:18px;
font-size:15px;
color:#555;
letter-spacing:1px;
}

.signature-name{
margin-top:4px;
font-family:'Sacramento', cursive;
font-size:20px;
color:#151515;
}

/* MOBILE STICKY */

.mobile-sticky{
display:none;
}

@media(max-width:700px){
.mobile-sticky{
position:fixed;
bottom:15px;
left:15px;
right:15px;
z-index:20;
display:flex;
gap:10px;
}

.mobile-sticky a{
flex:1;
text-align:center;
padding:13px;
border-radius:12px;
background:#1f1f1f;
color:white;
text-decoration:none;
font-weight:700;
box-shadow:0 10px 30px rgba(0,0,0,0.25);
}

.mobile-sticky a:nth-child(2){
background:#25D366;
}
}

/* MOBILE */

@media(max-width:600px){
.hero h1{
font-size:36px;
}

.hero-subtitle{
font-size:16px;
}

.hero-btn{
width:100%;
text-align:center;
}

.product-grid{
grid-template-columns:1fr;
padding:30px 16px;
}

.product-img{
height:200px;
padding:16px;
}

.img-box{
height:200px;
}

.palette-colors{
grid-template-columns:repeat(5, 1fr);
gap:7px;
}

.palette-colors span{
height:34px;
}
}