/* Main stylesheet for Tecno Volt */

@import url("https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,100..900;1,100..900&display=swap");

:root {
    --color-1: #252c5e;
    --color-2: #706f6f;
    --color-3: #c7c7c5;
}

body {
    font-family: "Archivo", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "wdth" 100;
}

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

a:hover {
    color: var(--color-2);
    transition: color 0.3s ease;
}

.container-header-home {
    height: 100vh;
}

.container-header-page {
    height: 250px;
}

.img-logo:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.text-social:hover {
    color: var(--color-1) !important;
    transition: color 0.3s ease;
}

.vegas-slogan {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 20vh;
}

.vegas-title {
    font-size: 3.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.vegas-subtitle {
    font-size: 1.7rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.text-title {
    font-size: 3.5rem;
    color: var(--color-2);
    font-weight: 700;
    margin-bottom: 20px;
}

.link-top {
    color: var(--color-1) !important;
    text-decoration: none;
}

.link-top:hover {
    color: var(--color-2);
    transition: color 0.3s ease;
}

.container-footer {
    color: var(--color-3);
    padding: 20px 0;
}

.container-footer h4 {
    color: var(--color-1);
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 1.6rem;
}

.container-footer a {
    color: var(--color-2);
    text-decoration: none;
}

.container-footer a:hover {
    color: var(--color-1);
    transition: color 0.3s ease;
    text-decoration: underline;
}

.navbar-mobile-menu a {
    color: var(--color-1);
}

.navbar-mobile-menu a.active {
    color: var(--color-2) !important;
}

.container-title-header {
    background-image: url("title-bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.menu-footer a.active {
    color: var(--color-1) !important;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.portfolio-item img {
    transition: transform 0.4s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    color: #fff;
    text-align: center;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.list-certificazioni li {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px dotted #ddd;
    padding-bottom: 0.5rem;
}

.text-pre-title {
    color: var(--color-1);
    font-weight: 500;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
}

.text-primary {
    color: var(--color-1) !important;
}

.btn-primary {
    background-color: var(--color-1);
    border-color: var(--color-1);
}

.btn-primary:hover {
    background-color: var(--color-2);
    border-color: var(--color-2);
}

.card-text-pre-title {
    font-size: 2.7rem;
    color: var(--color-1);
    font-weight: 500;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Media query per dispositivi mobile - Adatta stili per schermi fino a 768px */
@media (max-width: 768px) {
    .contact-info-footer a[href^="tel"],
    .contact-info-page a[href^="tel"],
    .contact-info-page .partita-iva {
        color: white !important;
    }

    .contact-info-page a[href^="tel"],
    .contact-info-page a[href^="tel"],
    .contact-info-page .partita-iva {
        color: var(--color-2) !important;
    }

    .text-title {
        font-size: 2rem;
    }

    .card-text-pre-title {
        font-size: 1.5rem;
    }
}
