/*
Theme Name: Le Frasche di Sansanello - Foto
Theme URI: https://www.lefraschedisansanello.it/
Author: Le Frasche di Sansanello
Description: Tema semplice e responsive con fotografie integrate per Le Frasche di Sansanello.
Version: 1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: lefrasche-foto
*/
:root{--green:#263b2b;--green2:#40543b;--cream:#f6f2e8;--gold:#b58a45;--ink:#34352d;--white:#fff}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--cream);color:var(--ink);font-family:Georgia,"Times New Roman",serif;line-height:1.7}
a{color:var(--green2)}
.site-header{background:var(--green);color:var(--cream);padding:18px 22px}
.header-inner{max-width:1160px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{color:var(--cream);text-decoration:none;font-size:clamp(22px,3vw,32px);font-weight:bold;line-height:1.15}
.brand small{display:block;color:#e5d5b8;font-size:12px;letter-spacing:2px;text-transform:uppercase;margin-top:5px}
.site-nav{display:flex;gap:22px;flex-wrap:wrap}
.site-nav a{color:var(--cream);text-decoration:none;font-family:Arial,sans-serif;font-size:14px}
.site-nav a:hover{color:#e4c58c}
.hero{position:relative;min-height:560px;display:grid;place-items:center;text-align:center;color:white;background:#29382a;overflow:hidden}
.hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(15,30,18,.58),rgba(15,30,18,.22)),url("assets/images/01-uliveto-panorama.jpg") center 48%/cover no-repeat}
.hero-content{position:relative;max-width:850px;padding:90px 24px}
.hero h1{font-size:clamp(42px,7vw,76px);line-height:1.05;margin:0 0 18px;color:white}
.hero p{font-size:clamp(18px,2.4vw,24px);margin:0 auto 28px;max-width:680px}
.btn{display:inline-block;background:var(--gold);color:#fff;text-decoration:none;padding:13px 25px;border-radius:3px;font-family:Arial,sans-serif;font-weight:bold}
.btn:hover{background:var(--green2);color:white}
.wrap{max-width:1160px;margin:auto;padding:72px 24px}
.section-title{text-align:center;color:var(--green);font-size:clamp(30px,4vw,42px);line-height:1.2;margin:0 0 18px}
.lead{text-align:center;max-width:780px;margin:0 auto 34px;font-size:18px}
.story-grid,.oil-grid{display:flex;flex-direction:column;gap:24px;align-items:center;text-align:center;max-width:900px;margin:0 auto}
.story-grid img,.oil-grid img{display:block;width:100%;max-width:820px;height:auto;max-height:520px;object-fit:contain;object-position:center;margin:0 auto;border-radius:3px}
.story-grid p,.oil-grid p{font-size:18px;max-width:820px;margin:0 auto 16px}
.soft{background:#eee8d9}
.gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:30px auto 0;max-width:1050px;justify-items:center}
.gallery img{width:100%;height:260px;object-fit:contain;object-position:center;border-radius:3px;display:block;margin:auto}
.products{display:grid;grid-template-columns:minmax(0,760px);justify-content:center;gap:22px;margin:34px auto 0}
.product-card{background:#fffdf8;padding:20px;border:1px solid #e6dece;text-align:center;max-width:760px;width:100%;margin:auto}
.product-card img{display:block;width:auto;max-width:100%;height:390px;object-fit:contain;margin:0 auto 16px}
.product-card h3{color:var(--green);font-size:23px;margin:14px 0 4px}
.product-card p{margin:0 0 10px}
.contact{text-align:center;background:var(--green);color:var(--cream)}
.contact .section-title{color:var(--cream)}
.contact a{color:#e8cc96}
.site-footer{text-align:center;background:#1b2b20;color:#ddd4c4;padding:22px;font-size:14px}
@media(max-width:760px){.header-inner{display:block;text-align:center}.site-nav{justify-content:center;margin-top:16px;gap:14px}.hero{min-height:470px}.gallery{grid-template-columns:1fr 1fr}.wrap{padding:52px 18px}.gallery img{height:210px}.product-card img{height:300px}}
@media(max-width:440px){.gallery{grid-template-columns:1fr}.gallery img{height:240px}}
