﻿/* HERO */
.ct-hero-section {
    position: relative;
    min-height: 100vh;
    margin-top: -116px;
    display: flex;
    align-items: center;
    color: #fff;
    background-image: url('/images/wallpaper/contatti-cestriecon.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow: hidden;
}

.ct-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(7,2,13,0.35), rgba(7,2,13,0.55));
    z-index: 1;
}

.ct-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 120px 0 100px;
}

.ct-hero-title {
    font-size: clamp(2.2rem, 3vw, 3rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.ct-hero-subtitle {
    font-size: 1.55rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
}

/* FORM SECTION */
.ct-contact-form {
    padding: 80px 0;
}

.ct-form .form-control {
    border-radius: 0;
    border: 1px solid #dbdbdb;
    padding: 12px 14px;
}

.form-control:focus {
    box-shadow: none!important;
}


.form-floating-group {
    position: relative;
}

.floating-input {
    padding: 14px 12px;
    font-size: 1rem;
    background: transparent;
}

.form-floating-group label {
    position: absolute;
    left: 12px;
    top: 14px;
    font-size: 1rem;
    color: #777;
    pointer-events: none;
    transition: all .25s ease;
    background: transparent;
}

/* Effetto floating */
.floating-input:focus + label,
.floating-input:not(:placeholder-shown) + label {
    top: -8px;
    left: 10px;
    font-size: 0.75rem;
    color: #c19571; /* colore premium del tuo brand */
    background: #fff;
    padding: 0 4px;
}

.ct-form .btn {
    font-size: 1rem;
    border-radius: 8px;
}

#ct-contact-error {
    color: red;
}

/* LOCATION SECTION */
.ct-location {
    padding: 120px;
    margin: 50px 0;
    background: #cdac9233;
}

.ct-info-card {
    padding: 35px 30px;
    border-radius: 0;
}

.ct-info-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #07020d;
    margin-bottom: 50px;
}

/* Lista contatti */
.ct-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

    /* Ogni elemento */
    .ct-info-list li {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        font-size: 1rem;
        color: #2b2b2b;
    }

        /* Icone Phosphor */
        .ct-info-list li i {
            font-size: 1.3rem;
            color: #0d6efd; /* blu Cestriecon */
            margin-top: 2px;
        }

        /* Testo principale */
        .ct-info-list li span {
            display: inline-block;
            line-height: 1.4;
        }

    /* Link */
    .ct-info-list a {
        color: #0d6efd;
        text-decoration: none;
        font-weight: 600;
    }

        .ct-info-list a:hover {
            text-decoration: underline;
        }

    /* Note tra parentesi */
    .ct-info-list li span i {
        font-style: italic;
        color: #6c6c6c;
        font-size: 0.9rem;
    }

/* Responsive */
@media (max-width: 768px) {
    .ct-hero-section {
        background-attachment: scroll;
    }

    .ct-contact-form, .ct-location {
        padding: 60px 0;
    }

    .ct-info-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}
