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

body {
    font-family: 'Poppins', sans-serif;
    background: #0a0a0a;
    color: white;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.8);
    transition: 0.4s;
    z-index: 1000;
}

.navbar.scrolled {
    background: black;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.logo {
    font-family: 'Bebas Neue', sans-serif;
    color: #ff0033;
    font-size: 24px;
    text-shadow: 0 0 10px rgba(255, 0, 51, 0.6);
}

/* ===== MENU TOGGLE (MOBILE) ===== */
.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: 0.3s;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ===== NAV MOBILE ===== */
.navbar nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: #111;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transition: 0.4s;
}

.navbar nav.open {
    right: 0;
}

.navbar nav a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    transition: 0.3s;
}

.navbar nav a:hover {
    color: #ff0033;
}

/* ===== HERO ===== */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url("images/barber1.jpg") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    padding: 20px;
}

.hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 70px;
    letter-spacing: 4px;
    margin-bottom: 10px;
    font-weight: 400;
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(255, 0, 51, 0.7);
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 1.2s ease forwards;
}

.hero-subtitle {
    font-size: 28px;
    margin-bottom: 20px;
    color: #ff0033;
    font-weight: 600;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    background: #ff0033;
    padding: 14px 28px;
    text-decoration: none;
    color: white;
    border-radius: 6px;
    transition: 0.3s;
    margin-top: 20px;
    font-weight: 600;
}

.btn:hover {
    background: #ff3355;
    transform: translateY(-2px);
}

/* ===== SERVICES ===== */
.services {
    padding: 80px 20px;
    text-align: center;
}

.cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
}

.card {
    background: #111;
    padding: 30px;
    border-radius: 10px;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 0, 50, 0.3);
}

/* ===== GALLERY ===== */
.gallery {
    padding: 80px 20px;
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 30px;
}

.gallery-grid img {
    width: 100%;
    border-radius: 10px;
    transition: 0.4s;
}

.gallery-grid img:hover {
    transform: scale(1.05);
}

/* ===== CONTACT ===== */
.contact {
    padding: 80px 20px;
    text-align: center;
    background: #111;
}

/* ===== FOOTER ===== */
footer {
    text-align: center;
    padding: 20px;
    background: black;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: 0.35s;
}

.whatsapp-float img {
    width: 35px;
    height: 35px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: #1ebe5d;
}

/* ===== REVEAL ANIMATION ===== */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE ===== */
@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }

    .navbar nav {
        position: static;
        width: auto;
        height: auto;
        background: none;
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
        gap: 0;
    }

    .navbar nav a {
        margin-left: 20px;
        font-size: 14px;
    }

    .navbar {
        padding: 15px 50px;
    }

    .cards {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-title {
        font-size: 90px;
    }

    .hero-subtitle {
        font-size: 32px;
    }
}
