:root {
    --card-background: #2f1408;
    --tab-background: #d7ccc8;
    --nav-background: #6c261a;
    --text-color: #fff8f5;
    --link-color: #d7ccc8;
}

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

body {
    font-family: "Titillium Web", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #fff;
    background-image: url('img/background-desktop.jpg');
    background-size: 100% auto;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.full-height {
    min-height: 100vh;
}

.container-col-2 {
    width: 90%;
    max-width: 1100px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 0 auto;
    padding: 1rem 0;
}

.container {
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
}

.card {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    border-radius: 30px;
}

nav {
    background-color: var(--nav-background);
}

nav .brand-logo {
    font-weight: normal;
    font-style: normal;
    font-size: 2.5rem;
    padding: 5px;
    font-family: Italianno, cursive;
    display: flex;
    align-items: center;
}

nav .brand-logo img {
    vertical-align: middle;
    margin-right: 10px;
    width: 50px;
}

nav ul a {
    font-size: 1.4rem;
}

nav ul a:hover {
    background-color: rgba(255,255,255, 0.2);
}

nav ul li.active > a {
    background-color: rgba(255, 255, 255, 0.2);
}

.sidenav li.active > a {
    background-color: rgba(108, 38, 26, 0.15);
    color: var(--nav-background);
    font-weight: 600;
}

.tabs {
    background-color: unset;
}

.tabs .indicator {
  background-color: transparent;
}

.tabs .tab a:hover {
    background-color: rgba(47, 20, 8, 0.2);
    color: var(--link-color);
    border-radius: 10px;
}

.tabs .tab a {
  color: var(--link-color);
}

.tabs .tab a.active {
  background-color: rgba(255,255,255, 0.5);
  color: var(--card-background);
  font-weight: 600;
  border-radius: 10px;
}

.tabs .tab a:focus, .tabs .tab a:focus.active {
  background-color: var(--tab-background);
  outline: none;
}

.card .card-title {
    font-family: "Italianno", cursive;
    font-weight: 200;
    font-style: normal;
    font-size: 4rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.card .card-content {
  padding: 24px;
  border-radius: 0px 0 30px 30px;
}

h1 {
    margin-bottom: 0.5em;
    font-family: "Italianno", cursive;
    font-weight: bolder;
    font-style: normal;
    text-align: center;
}

h2, h3 {
    font-family: "Italianno", cursive;
    font-weight: normal;
    font-style: normal;
}

h4 {
    font-family: "Titillium Web", sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 1.75rem;
}

h1, h2, h3, h4 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slogan {
    font-size: 1.5rem;
    margin: 1em 0;
}

.price {
    font-size: 1.5rem;
    font-weight: 600;
}

.contact-info {
    font-size: 1.2rem;
    margin-top: 1rem;
}

a {
    color: #ffcc00;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

td, th {
    padding: 0px 5px;
}

.logo-container {
    text-align: center;
}

.logo {
    width: 200px;
}

.salon-name {
    font-family: 'Italianno', cursive;
    font-size: 6rem;
    font-weight: normal;
    margin: 0;
    color: #ffd6cf;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.salon-description {
    font-family: "Titillium Web", sans-serif;
    font-size: 1rem;
    letter-spacing: 2px;
    color: var(--text-color);
    text-transform: uppercase;
    font-weight: bold;
    opacity: 0.8;
}

footer {
    margin-top: auto;
    text-align: center;
    padding: 10px 0;
    font-size: 1em;
    color: #fff;
}

.flow-text {
    font-size: 1.25rem;
    text-align: justify;
}

/* ── Tablette (≤ 992px) ── */
@media only screen and (max-width: 992px) {
    body {
        background-attachment: scroll; /* background-attachment: fixed cassé sur iOS */
    }

    nav .brand-logo {
        font-size: 2rem;
    }

    nav .brand-logo img {
        width: 40px;
    }
}

/* ── Tablette portrait / grand smartphone (≤ 768px) ── */
@media only screen and (max-width: 768px) {
    .container-col-2 {
        grid-template-columns: 1fr;
        width: 95%;
    }

    .container {
        width: 95%;
    }

    .card .card-title {
        font-size: 3rem;
    }
}

/* ── Smartphone (≤ 600px) ── */
@media only screen and (max-width: 600px) {
    body {
        background-image: url('img/background-smartphone.png');
        background-size: 100% auto;
        background-position: center center;
        background-repeat: no-repeat;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3, h4 {
        font-size: 1.15rem;
    }

    .salon-name {
        font-size: 4rem;
    }

    .salon-description {
        font-size: 11px;
    }

    .logo {
        width: 140px;
    }

    nav .brand-logo img {
        display: none;
    }

    nav .brand-logo {
        font-size: 1.75rem;
    }

    .card {
        max-width: 100%;
    }

    .slogan {
        font-size: 1.2em;
    }

    .contact-info {
        font-size: 1em;
    }
}
