:root{
    --black:#111111;
    --black-soft:#1C1C1C;
    --copper:#A46A3D;
    --copper-light:#C58B5C;
    --ivory:#F3EFE7;
    --warm-gray:#9B958C;
    --max-width:1200px;
}

@font-face {
    font-family: 'Manrope';
    src: url('/fonts/manrope/Manrope-VariableFont_wght.ttf') format('truetype');
    font-weight: 200 800;
    font-style: normal;
    font-display: swap;
}

/* RESET */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

/* BASE */

body{
    background:var(--black);
    color:var(--ivory);
    font-family:Manrope,sans-serif;
    font-weight: 400;
    line-height:1.8;
}

h1 {
    font-weight: 700;
}

.light-text {
    font-weight: 300;
}

a{
    color:var(--copper);
    text-decoration:none;
}

img{
    max-width:100%;
    height:auto;
    display:block;
}

.container{
    width:90%;
    max-width:var(--max-width);
    margin:auto;
}

/* HEADER */

header{
    /*position:fixed;*/
    position:sticky;
    top:0;
    width:100%;
    z-index:1000;
    background:rgba(17,17,17,.92);
}

.navbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:25px 0;
}

.nav-left{
    display:flex;
    align-items:center;
    gap:1.5rem;
}

nav ul{
    display:flex;
    gap:1.5rem;
    list-style:none;
    margin:0;
    padding:0;
}

.nav-divider{
    width:1px;
    height:20px;
    background:#ccc;
}

nav a{
    letter-spacing:0.8px;
    transition:color .3s ease;
}

nav a:hover{
    color:var(--copper-light);
}

/* HERO */

.hero{
    position:relative;
    
    margin:0;
    padding:0;
}

.hero img{
    width:100%;
    display:block;
    
    height:auto;
}

.hero-content{
    position:absolute;
    inset:0;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    background:rgba(17,17,17,.35);
}

.hero h1{
    font-size:4rem;
    font-weight:200;
    margin-bottom:10px;
}

.hero p{
    color:var(--ivory);
}

/* SEZIONI */

section{
    padding:120px 0;
}

.page-top{
    padding-top:40px;
    padding-bottom:60px;
}

.section-title{
    font-size:2rem;
    font-weight:300;
    margin-bottom:10px;
}

/* TESTI */

.text-block{
    max-width:700px;
}

.text-block p{
    margin-bottom:2rem;
    max-width:700px;
}

.text-block img{
    margin-bottom:40px;
}

/* GRIGLIE */

.projects{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:40px;
}

.project-intro{
    color:var(--warm-gray);
    margin-bottom:40px;
}

/* CARD */

.project-card{
    padding:40px;
    border:1px solid #222;
}

.project-card img{
    margin-bottom:20px;
}

.project-card h3{
    margin-bottom:10px;
    font-weight:300;
}

.project-card p{
    color:var(--warm-gray);
}

/* CONTATTI */

.contact-buttons{
    display:flex;
    gap:15px;
    margin-top:40px;
    flex-wrap:wrap;
}

.btn-contact{
    display:inline-block;
    padding:12px 24px;
    border:1px solid var(--copper);
    color:var(--copper);
    transition:all .3s ease;
}

.btn-contact:hover{
    background:var(--copper);
    color:var(--black);
}

/* SGUARDI */

.post-date{
    color:var(--warm-gray);
    font-size:0.85rem;
    letter-spacing:0.5px;
    margin-bottom:40px;
}

.post-meta{
    color:var(--warm-gray);
    font-size:0.85rem;
    letter-spacing:0.5px;
    margin-top:15px;
}

.sguardo-img{
    max-width:700px;
    width:100%;
    margin:50px 0 0;
}

.sguardo-title{
    font-size:2rem;
    font-weight:300;
    margin-bottom:30px;
}

.sguardo-divider{
    border:none;
    border-top:1px solid #222;
    margin:80px 0;
}

.back-link{
    margin-top:30px;
}

.back-link a{    
    font-size:0.8rem;
    color:var(--warm-gray);
    transition:color .3s ease;
}

.back-link a:hover{
    color:var(--copper);
}

.sguardi-list{
    border-top:1px solid #222;
    padding:60px 0 120px;
}

/* FOOTER */

footer{
    border-top:1px solid #222;
    padding:50px 0;
}

/* RESPONSIVE */


.footer-title{
    margin:0;
    font-size:1.1rem;
    margin-bottom:15px;
}

.footer-links{
    margin-top:20px;
    display:flex;
    gap:20px;
    flex-wrap:wrap;
}

.footer-links a{
    color:var(--warm-gray);
}

.footer-links a:hover{
    color:var(--copper);
}

.footer-legal{
    margin-top:25px;
}

.footer-legal a{
    font-size:.8rem;
    color:var(--warm-gray);
}

.footer-legal a:hover{
    color:var(--copper);
}

.nav-group{
    display:flex;
    align-items:center;
    gap:20px;
}

.nav-divider{
    width:1px;
    height:20px;
    background:#333;
}

.social-nav{
    display:flex;
    align-items:center;
    gap:12px;
}

.social-nav img{
    width:18px;
    height:18px;
    display:block;
    opacity:.8;
    transition:opacity .3s ease;
}

.social-nav img:hover{
    opacity:1;
}

.social-nav a{
    color:var(--copper);
}

.project-title{
    font-size:2rem;
    font-weight:300;
    margin-bottom:30px;
}

.masonry-gallery{
    columns:3;
    column-gap:20px;
}

.masonry-gallery img{
    width:100%;
    margin-bottom:20px;
    break-inside:avoid;
    display:block;
}

@media(max-width:768px){

    .navbar{
        flex-direction:column;
        gap:15px;
    }

    .projects{
        grid-template-columns:1fr;
    }

    .masonry-gallery{
        columns:1;
    }
}

.masonry-gallery a{
    display:block;
    margin-bottom:20px;
}

.masonry-gallery img{
    width:100%;
    display:block;
    break-inside:avoid;
    user-select:none;
    -webkit-user-drag:none;
}

.attesa-home{
    padding: 4rem 0;
}

.attesa-home .text-block{
    text-align:center;
    max-width:700px;
    margin:0 auto;
}

.attesa-home p{
    margin:0 0 2.5rem;
}

