/*
 * File: style.css
 * Progetto: Balance Hair Salon Website
 * Descrizione: Stili personalizzati per implementare il design minimale.
*/

/* --------------------------------------------------------------
   # Variabili e Stili Globali
   -------------------------------------------------------------- */
:root {
    --font-primary: 'Quicksand', sans-serif;
    --color-dark: #1a1a1a;
    --color-light: #f8f9fa;
    --color-gray: #6c757d;
    --color-white: #ffffff;
    --secondary-color: #ffffff;
}

body {
    font-family: var(--font-primary);
    color: var(--color-dark);
    background-color: var(--color-white);
}

a {
    color: var(--color-dark);
    text-decoration: none;
    transition: all 0.3s;
}

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

h1, h2, h3, h4, h5 {
    font-weight: 700;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

/* test */
button {
    background: none;
    border: none;
    outline: none
}

button.chat-toggle {
    border: 1px solid transparent;
    border-radius: 30px;
    cursor: pointer;
    display: flex;
    height: 50px;
    margin: 0 6px;
    width: 50px
}

button.chat-toggle.chat-toggle--text-button {
    align-items: center;
    border: none;
    border-radius: 16px;
    box-shadow: 0 0 5px rgba(0, 0, 0, .15);
    color: var(--secondary-color);
    display: flex;
    font-size: 1.5rem;
    font-weight: 600;
    height: 50px;
    line-height: 2rem;
    max-width: fit-content;
    padding: 0 12px 0 3px;
    width: auto
}

/* --------------------------------------------------------------
   # Header
   -------------------------------------------------------------- */

#top-bar {
    background-color: #2c2c2c; /* Colore di sfondo scuro */
    padding: 0.5rem 0; /* Aggiunge un po' di spazio verticale */
    width: 100%;
    align-items: center; /* Centra verticalmente logo e pulsante */
}

/* Stile per l'immagine del logo dentro la top-bar */
#top-bar img {
    max-width: 280px; /* Dimensione massima su schermi grandi */
    height: auto; /* Mantiene le proporzioni */
    transition: all 0.3s ease;
}


/* --------------------------------------------------------------
   # Responsive per Header (Mobile)
   -------------------------------------------------------------- */
@media (max-width: 768px) {
    /* Rimpicciolisce il logo su schermi piccoli per dare più spazio */
    #top-bar img {
        max-width: 220px;
    }
}

/* --------------------------------------------------------------
   # Hero Section
   -------------------------------------------------------------- */
#hero {
    width: 100%;
    height: 100vh;
    position: relative;
    background: url('../img/portfolio/003.jpg') no-repeat center center;
    background-size: cover;
}

#hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Overlay scuro */
}

#hero .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-btn {
    border-width: 2px;
    padding: 12px 30px;
    font-weight: 600;
    font-size: 1rem;
    margin-top: 1.5rem;
    letter-spacing: 1px;
}

.hero-btn:hover {
    background-color: var(--color-white);
    color: var(--color-dark);
}


/* --------------------------------------------------------------
   # Portfolio
   -------------------------------------------------------------- */
#portfolio img {
    transition: transform 0.4s ease, opacity 0.4s ease;
}

#portfolio .col-lg-4:hover img {
    transform: scale(1.05);
    opacity: 0.85;
}

/* --------------------------------------------------------------
   # Recensioni
   -------------------------------------------------------------- */
.review-card {
    max-width: 700px;
    margin: auto;
}

.review-card .blockquote {
    font-size: 1.2rem;
    font-style: italic;
}

.review-card .blockquote-footer {
    font-style: normal;
    font-weight: 600;
    color: var(--color-dark);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: var(--color-dark);
    border-radius: 50%;
}


/* --------------------------------------------------------------
   # Footer
   -------------------------------------------------------------- */
footer {
    background-color: #2c2c2c; /* NUOVO COLORE DI SFONDO */
    color: var(--color-light); /* Testo principale chiaro */
}

.footer-title {
    font-weight: 600;
    color: var(--color-white); /* Titoli bianchi */
}

footer a {
    color: var(--color-white); /* Link di un grigio più chiaro */
}

footer a:hover {
    color: var(--color-light); /* Link bianchi al passaggio del mouse */
}

/* Regola per il testo del copyright */
footer .border-top {
    border-color: #444 !important; /* Bordo separatore più scuro */
}

/* --------------------------------------------------------------
   # Responsive
   -------------------------------------------------------------- */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

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