
/* ==============================
   SUPREME BARBER SHOP
   GLOBAL STYLES
================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800;900&family=Open+Sans:wght@400;500;600;700&display=swap');

:root {
    --black: #101010;
    --dark: #191919;
    --green: #174D32;
    --gold: #F5C542;
    --white: #FFFFFF;
    --gray: #BDBDBD;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    background: var(--black);
    color: var(--white);
    font-family: 'Open Sans', sans-serif;
    line-height: 1.7;
}

h1, h2, h3 {
    font-family: 'Barlow Condensed', sans-serif;
    text-transform: uppercase;
    line-height: 1.1;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ==============================
   NAVIGATION
================================ */

header {
    background: var(--black);
    border-bottom: 1px solid #333;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    max-width: 1200px;
    margin: auto;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
}

.logo span {
    color: var(--gold);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-button {
    background: var(--gold);
    color: var(--black);
    padding: 12px 25px;
    font-weight: 700;
    border-radius: 4px;
    transition: background 0.3s;
}

.nav-button:hover {
    background: #DBAD27;
}

/* ==============================
   HERO SECTION
================================ */


.hero {
    min-height: 700px;
    display: flex;
    align-items: center;

    background-image:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.95) 0%,
            rgba(0, 0, 0, 0.75) 45%,
            rgba(0, 0, 0, 0.25) 100%
        ),
        url("images/barber-hero.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    padding: 100px 8%;
}

.hero-content {
    max-width: 750px;
}

.hero-subtitle {
    color: var(--gold);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(55px, 8vw, 105px);
    font-weight: 900;
    margin-bottom: 25px;
}

.hero-content > p:not(.hero-subtitle) {
    font-size: 18px;
    color: #E0E0E0;
    max-width: 550px;
}

.hero-buttons,
.contact-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 35px;
}

/* ==============================
   BUTTONS
================================ */

.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--gold);
    color: var(--black);
}

.btn-primary:hover {
    background: #DBAD27;
    transform: translateY(-3px);
}

.btn-secondary {
    border: 2px solid var(--gold);
    color: var(--gold);
}

.btn-secondary:hover {
    background: var(--gold);
    color: var(--black);
}

/* ==============================
   ABOUT SECTION
================================ */

.about {
    padding: 110px 8%;
    background: var(--dark);
    text-align: left;
}

.about-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
}

.about-image img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.about-content .section-label {
    color: var(--gold);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.about-content h2 {
    font-size: clamp(40px, 5vw, 60px);
    margin-bottom: 25px;
}

.about-content h2::after {
    content: "";
    display: block;
    width: 70px;
    height: 4px;
    background: var(--gold);
    margin: 20px 0;
}

.about-content > p:not(.section-label) {
    color: var(--gray);
    font-size: 17px;
    line-height: 1.9;
    margin-bottom: 30px;
    max-width: 550px;
}

@media (max-width: 900px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .about-image img {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .about-image img {
        height: 260px;
    }
}



/* ==============================
   SERVICES SECTION
================================ */

.services {
    padding: 110px 8%;
    text-align: center;
    background: var(--black);
}

.services .section-label {
    color: var(--gold);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.services h2 {
    font-size: clamp(40px, 5vw, 60px);
    margin-bottom: 25px;
}

.services h2::after {
    content: "";
    display: block;
    width: 70px;
    height: 4px;
    background: var(--gold);
    margin: 20px auto;
}

.services > p:not(.section-label) {
    color: var(--gray);
    margin-bottom: 45px;
}

.services-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.service-card {
    background: var(--dark);
    border: 1px solid #333;
    border-radius: 8px;
    overflow: hidden;
    padding: 0;
    transition: transform 0.3s, border-color 0.3s;
}

.service-card:hover {
    border-color: var(--gold);
    transform: translateY(-8px);
}

.service-card img {
    display: block;
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.4s;
}

.service-card:hover img {
    transform: scale(1.03);
}

.service-info {
    padding: 30px 25px 35px;
}

.service-info h3 {
    font-size: 28px;
    color: var(--gold);
    margin-bottom: 15px;
}

.service-info p {
    color: var(--gray);
    font-size: 15px;
}

.services-cta {
    margin-top: 45px;
}

@media (max-width: 900px) {
    .services-container {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
}

@media (max-width: 480px) {
    .service-card img {
        height: 240px;
    }
}


/* ==============================
   CONTACT SECTION
================================ */

.contact {
    background: var(--green);
    padding: 110px 8%;
    text-align: left;
}

.contact-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.contact-info .section-label {
    color: var(--gold);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.contact-info h2 {
    font-size: clamp(40px, 5vw, 60px);
    margin-bottom: 30px;
}

.contact-info h2::after {
    content: "";
    display: block;
    width: 70px;
    height: 4px;
    background: var(--gold);
    margin: 20px 0;
}

.contact-detail {
    margin-bottom: 25px;
}

.contact-detail h3 {
    font-size: 22px;
    color: var(--gold);
    margin-bottom: 8px;
}

.contact-detail p {
    color: var(--white);
    font-size: 16px;
    line-height: 1.8;
}

.contact-detail a:hover {
    color: var(--gold);
}

.contact-buttons {
    justify-content: flex-start;
    margin-top: 30px;
}

.contact-map {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    border: 3px solid var(--gold);
    background: #E8E8E8;
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 450px;
    border: 0;
}

/* TABLET AND MOBILE */

@media (max-width: 900px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-map iframe {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .contact-map iframe {
        height: 300px;
    }
}


/* ==============================
   PROFESSIONAL FOOTER
================================ */

.footer {
    background: #080808;
    padding: 75px 8% 25px;
    text-align: left;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto 55px;
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
}

.footer-logo {
    display: inline-block;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 30px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
}

.footer-logo span {
    color: var(--gold);
}

.footer-column h3 {
    color: var(--gold);
    font-size: 22px;
    margin-bottom: 25px;
}

.footer-column p {
    color: var(--gray);
    font-size: 15px;
    margin-bottom: 15px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    transition: color 0.3s;
}

.footer-column ul a {
    color: var(--gray);
    font-size: 15px;
}

.footer-column a:hover {
    color: var(--gold);
}

.footer-bottom {
    max-width: 1200px;
    margin: auto;
    border-top: 1px solid #333;
    padding-top: 25px;
    text-align: center;
}

.footer-bottom p {
    color: var(--gray);
    font-size: 13px;
}

@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .footer {
        padding: 60px 6% 25px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}


/* ==============================
   RESPONSIVE DESIGN
================================ */

@media (max-width: 900px) {

    .navbar {
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }

    .services-container {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .hero {
        min-height: 550px;
        padding: 80px 6%;
    }
}

@media (max-width: 480px) {

    .logo {
        font-size: 23px;
    }

    .nav-button {
        padding: 10px 16px;
    }

    .hero h1 {
        font-size: 55px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .about,
    .services,
    .contact {
        padding: 75px 6%;
    }
}
/* LANGUAGE SWITCHER */

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.language-switcher {
    display: flex;
    background: #252525;
    border: 1px solid #444;
    border-radius: 5px;
    padding: 4px;
}

.language-switcher button {
    background: transparent;
    border: none;
    color: white;
    padding: 8px 12px;
    cursor: pointer;
    font-weight: 700;
    border-radius: 3px;
}

.language-switcher button.active {
    background: #F5C542;
    color: #101010;
}

@media (max-width: 480px) {
    .nav-actions {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* HERO BACKGROUND ON MOBILE */

@media (max-width: 600px) {
    .hero {
        min-height: 600px;

        background-image:
            linear-gradient(
                rgba(0, 0, 0, 0.80),
                rgba(0, 0, 0, 0.75)
            ),
            url("images/barber-hero.jpg");

        background-position: 65% center;
        padding: 80px 6%;
    }
}


/* ==============================
   MOBILE NAVIGATION
================================ */

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
    transition: 0.3s;
}

@media (max-width: 900px) {

    .navbar {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        order: 3;
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 15px 0;
        border-top: 1px solid #333;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 15px;
    }

    .nav-actions {
        display: flex;
        align-items: center;
        gap: 10px;
    }
}

@media (max-width: 600px) {

    .navbar {
        padding: 15px;
    }

    .logo {
        font-size: 21px;
    }

    .nav-button {
        display: none;
    }

    .language-switcher button {
        padding: 7px 9px;
    }
}
