/* 
   ==============================
   IMPACTUS BARBEARIA STYLES
   ==============================
*/

:root {
    /* Paleta de Cores */
    --black: #0a0a0a;
    --dark-bg: #141414;
    --gold: #B8860B;
    --gold-hover: #d4ab41;
    --gray: #333333;
    --light-gray: #a3a3a3;
    --white: #F5F5F5;
    --brown: #5C4033;
    --brown-hover: #7b594b;
    --whatsapp: #25D366;
    --whatsapp-hover: #1ebd5c;
    
    /* Fontes */
    --font-main: 'Montserrat', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--black);
    color: var(--white);
    line-height: 1.6;
    /* Padrão em SVG de Colmeia bem sutil */
    background-image: url("data:image/svg+xml,%3Csvg width='56' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M28 66L0 50L0 16L28 0L56 16L56 50L28 66L28 100' fill='none' stroke='%23333333' stroke-width='1' stroke-opacity='0.15'/%3E%3C/svg%3E");
    background-size: 56px 100px;
    background-attachment: fixed;
}

/* Tipografia e Utilidades */
h1, h2, h3 {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.highlight {
    color: var(--gold);
}

.gold-dot {
    color: var(--gold);
}

.separator {
    width: 60px;
    height: 4px;
    background-color: var(--gold);
    margin: 15px 0 25px 0;
}

.separator.center {
    margin: 15px auto 35px auto;
}

.section-title h2 {
    text-align: center;
    font-size: 2.5rem;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Botões */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.9rem;
    letter-spacing: 1px;
    border: none;
}

.btn-primary {
    background-color: var(--gold);
    color: var(--black);
}

.btn-primary:hover {
    background-color: var(--gold-hover);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(184, 134, 11, 0.4);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
    padding: 8px 20px;
}

.btn-secondary:hover {
    background-color: var(--gold);
    color: var(--black);
}

.btn-whatsapp {
    background-color: var(--whatsapp);
    color: white;
    margin-top: 15px;
}

.btn-whatsapp:hover {
    background-color: var(--whatsapp-hover);
    transform: translateY(-3px);
}

/* ================== HEADER ================== */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray);
    z-index: 1000;
    transition: background-color 0.3s;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.nav a {
    margin-left: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--light-gray);
    transition: color 0.3s ease;
}

.nav a:hover {
    color: var(--gold);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.8rem;
    cursor: pointer;
}

/* ================== HERO ================== */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: url('https://images.unsplash.com/photo-1599351431202-1e0f0137899a?auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0.6) 100%);
}

.hero-content {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    z-index: 2;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--light-gray);
    margin-bottom: 30px;
    max-width: 500px;
}

/* ================== SOBRE NÓS ================== */
.about {
    padding: 100px 20px;
    background-color: var(--dark-bg);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text p {
    color: var(--light-gray);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* Carousel */
.carousel-wrapper {
    flex: 1;
    position: relative;
    border: 3px solid var(--gray);
    border-radius: 8px;
    overflow: hidden;
    /* Adicionando sutil aspecto de couro na borda/fundo */
    background: var(--brown);
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
}

.carousel {
    position: relative;
    height: 400px;
    width: 100%;
}

.carousel-track-container {
    height: 100%;
    position: relative;
    overflow: hidden;
}

.carousel-track {
    padding: 0;
    margin: 0;
    list-style: none;
    position: relative;
    height: 100%;
    transition: transform 0.4s ease-in-out;
}

.carousel-slide {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(10,10,10,0.7);
    color: var(--gold);
    border: none;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
}

.carousel-btn:hover {
    background: var(--gold);
    color: var(--black);
}

.carousel-btn.left { left: 10px; }
.carousel-btn.right { right: 10px; }

/* ================== SERVIÇOS ================== */
.services {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background-color: var(--dark-bg);
    border: 1px solid var(--gray);
    padding: 30px;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.3s, border-color 0.3s;
    /* Sutil estilo para a box remeter à Colmeia */
    border-left: 4px solid var(--gold);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.service-info {
    flex: 1;
    padding-right: 20px;
}

.service-info h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.service-info p {
    color: var(--light-gray);
    font-size: 0.95rem;
}

.service-action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

.service-action .price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--gold);
}

/* ================== PORTFÓLIO ================== */
.portfolio {
    padding: 100px 20px;
    background-color: var(--dark-bg);
}

.portfolio-grid {
    max-width: 1200px;
    margin: 50px auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    /* Patern de grid diferenciado para lembrar colmeia estruturalmente */
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    height: 350px;
    border-radius: 5px;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.portfolio-item::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: inset 0 0 50px rgba(0,0,0,0.8); /* Vignette effect */
    pointer-events: none;
}

/* ================== CONTATO ================== */
.contact {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-container {
    display: flex;
    gap: 50px;
    background-color: var(--brown); /* Usando o couro escuro */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.contact-info {
    flex: 1;
    padding: 60px;
    background: linear-gradient(135deg, var(--brown) 0%, #301f17 100%);
}

.contact-info ul {
    list-style: none;
    margin: 30px 0;
}

.contact-info li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #e5e5e5;
}

.contact-map {
    flex: 1;
    background-color: var(--gray);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('https://images.unsplash.com/photo-1524661135-423995f22d0b?auto=format&fit=crop&w=800&q=80') no-repeat center center/cover;
    position: relative;
}

.map-placeholder::before {
    content: '';
    position: absolute;
    top:0; left:0; right:0; bottom:0;
    background-color: rgba(0,0,0,0.7);
}

.map-placeholder span {
    position: relative;
    z-index: 2;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--white);
    letter-spacing: 2px;
}

/* ================== FOOTER ================== */
.footer {
    background-color: var(--black);
    text-align: center;
    padding: 30px 20px;
    border-top: 1px solid var(--gray);
    color: var(--light-gray);
    font-size: 0.9rem;
}

/* ================== RESPONSIVO ================== */
@media (max-width: 900px) {
    .about-container, .contact-container {
        flex-direction: column;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .contact-info {
        padding: 40px 20px;
    }
    
    .map-placeholder {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none; /* Em um cenário real, aqui entraria o menu hamburger JS */
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}
