/* Reset */

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

/* Body */

body {
    background-color: #011323;
    font-family: "Montserrat", sans-serif;
    color: white;
    background-image: url("logo.png");
    background-repeat: no-repeat;
    background-position: center 120px;
    background-size: 350px;

    overflow-x: hidden;
}

/* Overlay */

.overlay {
    position: fixed;
    inset: 0;
    background: linear-gradient(
        rgba(2, 21, 39, 0.1),
        rgba(2, 21, 39, 0.2)
    );
    pointer-events: none;
}

/* Hero */

.hero {
    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;
}

.content {
    margin-top: 350px;
}

/* Titoli */

h1 {
    color: #C9A24E;

    font-family: "Cinzel", serif;

    font-size: clamp(2.5rem, 6vw, 5rem);

    font-weight: 500;

    letter-spacing: 8px;

    margin-bottom: 15px;
}

h2 {
    color: #E8D7B0;

    font-size: clamp(0.9rem, 2vw, 1.2rem);

    letter-spacing: 6px;

    font-weight: 300;
}

/* Sezione descrizione */

.about {
    max-width: 1000px;

    margin: auto;

    padding: 80px 20px;

    text-align: center;
}

.main-image {
    width: 100%;

    max-width: 800px;

    border-radius: 12px;

    margin-bottom: 40px;
}

.about h3 {
    color: #C9A24E;

    font-family: "Cinzel", serif;

    font-size: 2rem;

    margin-bottom: 20px;
}

.about p {
    color: #ddd;

    font-size: 1.1rem;

    line-height: 1.8;
}

/* Galleria */

.gallery {
    max-width: 1200px;

    margin: 60px auto;

    padding: 20px;

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));

    gap: 20px;
}



.gallery img {
    width: 100%;

    height: 300px;

    object-fit: cover;

    border-radius: 12px;

    transition: 0.3s;
}

.gallery img:hover {
    transform: scale(1.03);
}
/* ANIMAZIONI INIZIALI */

/* Logo sul body */
body {
    animation: logoZoom 2.5s ease-out forwards;
}

/* Titolo */
h1 {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 1.5s ease forwards;
    animation-delay: 0.6s;
}

/* Sottotitolo */
h2 {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1.5s ease forwards;
    animation-delay: 1.2s;
}



.property-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(201,162,78,0.25);
    border-radius: 14px;
    overflow: hidden;
    transition: 0.4s ease;
}

.property-card:hover {
    transform: translateY(-8px);
    border-color: #C9A24E;
    box-shadow: 0 15px 40px rgba(0,0,0,0.35);
}

.property-info {
    padding: 25px;
}

.property-info h4 {
    font-family: "Cinzel", serif;
    color: #C9A24E;
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.property-info p {
    color: #d7d7d7;
    line-height: 1.7;
    font-size: 0.95rem;
}

.privacy-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 20px 0;
    font-size: 13px;
    line-height: 1.5;
    color: #555;
}
.privacy-check {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 25px auto 20px;
    max-width: 500px;
    font-size: 13px;
    line-height: 1.5;
    color: #555;
    text-align: left;
}

.privacy-check input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #b08d57;
    flex-shrink: 0;
}

.privacy-check label {
    cursor: pointer;
}

.privacy-check a {
    color: #b08d57;
    text-decoration: underline;
}

.privacy-check a:hover {
    color: #8c6b3e;
}

.thank-you {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
    background: #111;
    color: white;
}

.thank-you-content {
    max-width: 600px;
}

.thank-you h1 {
    font-family: 'Cinzel', serif;
    font-size: 42px;
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.thank-you h2 {
    font-size: 26px;
    font-weight: 300;
    margin-bottom: 25px;
}

.thank-you p {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #ddd;
    margin-bottom: 15px;
}

.thank-you .contact-button {
    display: inline-block;
    margin-top: 30px;
    padding: 14px 35px;
    border: 1px solid #b08d57;
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.thank-you .contact-button:hover {
    background: #b08d57;
}


.contact-details a {
    color: inherit;
    text-decoration: none;
}

/* Effetto comparsa */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

/* Zoom del logo */

@keyframes logoZoom {
    from {
        background-size: 250px;
    }

    to {
        background-size: 350px;
    }
}

/* ==========================
   CONTACT SECTION
========================== */

.contact {
    max-width: 900px;
    margin: 120px auto;
    padding: 0 20px;
    text-align: center;
}

.contact h3 {
    font-family: "Cinzel", serif;
    color: #C9A24E;
    font-size: 2.2rem;
    margin-bottom: 25px;
}

.contact p {
    color: #d6d6d6;
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 30px;
}

.contact-button {
    display: inline-block;
    padding: 16px 40px;
    border: 1px solid #C9A24E;
    color: #C9A24E;
    text-decoration: none;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: .35s;
    border-radius: 50px;
    font-weight: 500;
}

.contact-button:hover {
    background: #C9A24E;
    color: #011323;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(201,162,78,.35);
}

.contact-details {
    margin-top: 70px;

    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 30px;

    text-align: center;
}

.contact-details p {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(201,162,78,.25);
    border-radius: 14px;
    padding: 30px 20px;
    margin: 0;
}

.contact-details strong {
    display: block;
    color: #C9A24E;
    font-family: "Cinzel", serif;
    margin-bottom: 10px;
    font-size: 1.15rem;
}

.lang-switch{
display:flex;
gap:10px;
align-items:center;
}

.lang-switch button{
background:transparent;
border:1px solid #C9A24E;
color:white;
padding:6px 12px;
cursor:pointer;
letter-spacing:1px;
transition:.3s;
border-radius:20px;
}

.lang-switch button:hover{
background:#C9A24E;
color:#011323;
transform:translateY(-2px);
}

/* ==========================
   CONTACT FORM
========================== */

.contact-section{
    width:100%;
    max-width:700px;
    margin:120px auto;
    padding:0 20px;
    text-align:center;
}

.contact-section h3{
    font-family:"Cinzel", serif;
    font-size:2.5rem;
    color:#C9A24E;
    margin-bottom:15px;
}

.contact-subtitle{
    color:#d8d8d8;
    line-height:1.8;
    margin-bottom:50px;
}

.contact-form{
    display:flex;
    flex-direction:column;
    gap:30px;
}

.form-group{
    position:relative;
}

.form-group input,
.form-group textarea{
    width:100%;
    background:transparent;
    border:none;
    border-bottom:1px solid rgba(201,162,78,.45);
    color:#fff;
    font-size:16px;
    padding:16px 0;
    font-family:"Montserrat", sans-serif;
    transition:.3s;
}

.form-group textarea{
    resize:vertical;
    min-height:140px;
}

.form-group input:focus,
.form-group textarea:focus{
    outline:none;
    border-bottom:1px solid #C9A24E;
}

.form-group label{
    position:absolute;
    left:0;
    top:16px;
    color:#9b9b9b;
    pointer-events:none;
    transition:.3s;
}

/* Animazione etichette */

.form-group input:focus + label,
.form-group input:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label{
    top:-12px;
    font-size:12px;
    color:#C9A24E;
}

.contact-btn{
    width:220px;
    margin:20px auto 0;
    padding:16px 30px;
    border:none;
    border-radius:50px;
    background:#C9A24E;
    color:#011323;
    font-weight:600;
    letter-spacing:2px;
    text-transform:uppercase;
    cursor:pointer;
    transition:.35s;
}

.contact-btn:hover{
    background:#d8b46a;
    transform:translateY(-3px);
    box-shadow:0 12px 30px rgba(201,162,78,.35);
}

/* Responsive */

@media (max-width:768px){

    .contact-section h3{
        font-size:2rem;
    }

    .contact-btn{
        width:100%;
    }

}

.partitaIva {
    display: flex;
    justify-content: center;
    padding: 50px;


}