/*
                                        STILI GLOBALI 
*/

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

:root {
    --font-family: 'Cinzel' serif;
    --text-color: #333;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    height: 100%;
    /*font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;*/
    font-family: 'Montserrat' sans-serif;
    color: var(--text-color);
    background: #C9A27D;
}

.bg-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: conic-gradient(at center top, rgb(124, 45, 18), rgb(254, 243, 199), rgb(124, 45, 18));
    /*background: linear-gradient(rgb(17, 24, 39), rgb(75, 85, 99));*/
    /*background: conic-gradient(at center top, rgb(124, 45, 18), rgb(254, 243, 199), rgb(124, 45, 18));*/
    
    background-repeat: no-repeat;
    background-size: cover;
}

/* Navbar: on desktop we'll anchor it to the right while centering the logo */
.navbar {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 100;
}

.menu-btn {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background-color: #000;
    display: block;
    margin: 3px 0;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.menu {
    position: absolute;
    top: 100%;
    right: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: rgba(0,0,0,0.6);
    padding: 16px;
    border-radius: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.menu.show { opacity: 1; visibility: visible; transform: translateY(0); }

.menu a { color: white; text-decoration: none; }

/* Logo */
.logo {
    width: 200px;
    height: auto;
    display: block;
    margin: 0 auto;
    margin-top: 30px;
    transition: transform 0.28s linear, opacity 0.28s linear;
    z-index: 101;
}

/* Header/container - center contents, navbar will be positioned absolutely to the right */
header {
    padding: 1rem 0;
    position: sticky;
    top: 0;
    background: #C9A27D;
    /*background: #121928;*/
    z-index: 100;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    position: relative; /* needed so .navbar absolute positions relative to this */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

main { padding-top: 2rem; }

/* Hero */

#home.hero {
    display: grid;
    place-content: center;
    align-items: center;

}

.hero {
    display: grid;
    justify-content:center ;
    text-align: center  ;
    width: auto;
    height: auto;
    color: black;
    
}

.lista {
    list-style-type: none;
    margin-bottom: 40px;
    margin-top: 40px;
    text-align: center;
}

.first_paragraph {
    margin: 40px;
    align-items: center;
    text-align: left;
}

.second_paragraph {
    margin-top: 40px;
    margin-bottom: 40px;
    text-align: center;
}

.third_paragraph {
    margin-top: 40px;
    margin-bottom: 40px;
    text-align: center;
}

.fourth_paragraph {
    margin-top: 40px;
    margin-bottom: 40px;
    text-align: center;
}

.main-title{
    font-size:50px; 
}
.titolo-uno{
    font-size:xx-large;
}

.titolo-due{
    font-size: xx-large;
}

.titolo-tre{
    font-size: xx-large;
}

.titolo-quattro{
    font-size: xx-large;
    margin-bottom: 30px;
}
/* Cards */
.about, .services, .contact {
    background: rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 50px;
    max-width: 1000px;
    align-content: center;
}

.pie_di_pagina {
    text-align: center;
    margin-top: 100px;
    margin-bottom: 10px;    
    /*color: #555;*/
    color: #b0b0b0;
    font-size: 0.9rem;
}

.icon-phone {
    width: 35px;
    height: 35px;
    vertical-align: middle;
    margin-right: 70px;
}

.logo-instagram {
    width: 50px;
    height: 50px;
    vertical-align: middle;
    margin-right: auto;
    margin-top: auto;
}

.icon-email {
    width: 35px;
    height: 35px;
    margin-left: 70px;
}

.contatti {
    display: flex;
    justify-items: center;
    align-items: center;
    gap: auto;
    margin-bottom: 30px;
}

.contatti img {
    width: 40px;
    height: auto;
}

#contact.contatti {
    display: flex;
    justify-content: center;
    gap: 20px,

}
/*
.contatti a img {
    margin-top:40px;
    width: 40px;
    height: auto;
}
*/

/* Responsive rules 
@media (max-width: 768px) {
    header .container { flex-direction: column; align-items: center; justify-content: center; }
    .navbar { position: static; transform: none; width: 100%; justify-content: center; padding: 0 0.5rem; }
    .menu { right: 0; left: 0; }
    .logo { width: 180px; margin: 0.5rem auto 0; }
    .hero h1 { font-size: 2rem; }
}

@media (min-width: 769px) {
    header .container { flex-direction: row; }
    .navbar { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); }
    .logo { width: 220px; }
    .hero { padding: 5rem 1rem; }
}

@media (min-width: 1200px) {
    .hero h1 { font-size: 3.5rem; }
}

@keyframes slideDown { from { transform: translateY(-20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
*/
