/**
 * Homepage Moderna - Navegação e Estilos Premium
 * Barbearia Trajano
 */

/* ========================================
   IMPORTAR FONTES PREMIUM
======================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=Poppins:wght@300;400;500;600;700&display=swap');

/* ========================================
   HEADER MODERNO - FUNDO ESCURO FIXO
   Aplicado em todas as páginas
======================================== */

.header_section {
    background: rgba(0, 0, 0, 0.85) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Remover padding extra */
body {
    padding-top: 0 !important;
}

/* ========================================
   LOGO E BRANDING
======================================== */

.navbar-brand {
    font-family: 'Playfair Display', serif !important;
    font-size: 1.8rem !important;
    font-weight: 700 !important;
    letter-spacing: 1px;
    color: #fff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
    color: #E67E22 !important;
    text-shadow: 0 4px 20px rgba(230, 126, 34, 0.5);
}

.navbar img {
    transition: transform 0.3s ease;
    filter: brightness(1.2);
}

.navbar img:hover {
    transform: rotate(5deg) scale(1.1);
}

/* ========================================
   MENU NAVEGAÇÃO MODERNA
======================================== */

.navbar-nav {
    gap: 0.5rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-family: 'Poppins', sans-serif !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    color: rgba(255, 255, 255, 0.9) !important;
    padding: 0.8rem 1.2rem !important;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Efeito de fundo ao hover */
.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(230, 126, 34, 0.2) 0%, rgba(230, 126, 34, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 8px;
}

.nav-link:hover::before {
    opacity: 1;
}

/* Underline animado */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #E67E22, #F39C12);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::after,
.nav-item.active .nav-link::after {
    width: 60%;
}

.nav-link:hover {
    color: #fff !important;
    transform: translateY(-2px);
}

/* Item ativo */
.nav-item.active .nav-link {
    color: #E67E22 !important;
    font-weight: 600 !important;
}

/* ========================================
   ÍCONES SOCIAIS MODERNOS
======================================== */

.nav-item .nav-link i {
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.nav-item .nav-link:hover i {
    transform: scale(1.2) rotate(5deg);
}

/* Cores específicas para redes sociais */
.nav-item .nav-link[href*="whatsapp"]:hover {
    color: #25D366 !important;
}

.nav-item .nav-link[href*="instagram"]:hover {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   MENU MOBILE HAMBURGER
======================================== */

.navbar-toggler {
    border: none !important;
    padding: 0.5rem !important;
    background: rgba(230, 126, 34, 0.2) !important;
    border-radius: 8px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.3) !important;
}

.navbar-toggler span {
    display: block;
    width: 25px;
    height: 2px;
    background: #fff;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* ========================================
   HERO SECTION MODERNA
======================================== */

.slider_section {
    padding-top: 100px !important;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.slider_section .detail-box h1 {
    font-family: 'Playfair Display', serif !important;
    font-size: 4rem !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    margin-bottom: 1.5rem !important;
    background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease;
}

.slider_section .detail-box p {
    font-family: 'Poppins', sans-serif !important;
    font-size: 1.1rem !important;
    font-weight: 300 !important;
    line-height: 1.8 !important;
    color: rgba(255, 255, 255, 0.9) !important;
    margin-bottom: 2rem !important;
    animation: fadeInUp 0.8s ease 0.2s both;
}

/* ========================================
   BOTÃO CTA MODERNO
======================================== */

.slider_section .detail-box a,
.btn-box a {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #fff !important;
    background: linear-gradient(135deg, #E67E22 0%, #F39C12 100%);
    border: none !important;
    border-radius: 50px;
    text-decoration: none !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(230, 126, 34, 0.4);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.slider_section .detail-box a::before,
.btn-box a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.slider_section .detail-box a:hover::before,
.btn-box a:hover::before {
    left: 100%;
}

.slider_section .detail-box a:hover,
.btn-box a:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(230, 126, 34, 0.6);
}

.slider_section .detail-box a::after {
    content: '→';
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.slider_section .detail-box a:hover::after {
    transform: translateX(5px);
}

/* ========================================
   NAVEGAÇÃO DE SLIDES
======================================== */

.carousel-control-prev,
.carousel-control-next {
    width: 50px !important;
    height: 50px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50% !important;
    opacity: 1 !important;
    transition: all 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(230, 126, 34, 0.9) !important;
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(230, 126, 34, 0.4);
}

/* ========================================
   ANIMAÇÕES
======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* ========================================
   RESPONSIVIDADE
======================================== */

@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(20px);
        padding: 1.5rem;
        border-radius: 12px;
        margin-top: 1rem;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .navbar-nav {
        gap: 0;
    }
    
    .nav-link {
        padding: 1rem !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .nav-link::after {
        display: none;
    }
    
    .slider_section .detail-box h1 {
        font-size: 2.5rem !important;
    }
}

@media (max-width: 576px) {
    .slider_section .detail-box h1 {
        font-size: 2rem !important;
    }
    
    .slider_section .detail-box p {
        font-size: 0.95rem !important;
    }
    
    .slider_section .detail-box a {
        padding: 0.8rem 2rem !important;
        font-size: 0.9rem !important;
    }
}
