/*
Theme Name: Dom Moura Barbearia
Theme URI: https://dommourabarbearia.com
Author: Seu Nome
Description: Tema personalizado para a Dom Moura Barbearia
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dom-moura
*/

/* Variáveis CSS para a paleta de cores */
:root {
    --background-primary: #121212;
    --background-secondary: #1E1E1E;
    --accent-color: #C5A47E;
    --title-color: #F5F5DC;
    --text-color: #B0B0B0;
    --error-color: #ff6b6b;
    --success-color: #66bb6a;
}

/* Reset e estilos gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--background-primary);
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--title-color);
    margin-bottom: 1rem;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    opacity: 0.8;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--background-primary);
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(197, 164, 126, 0.3);
}

.btn:disabled {
    background-color: #666;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    opacity: 0.7;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 15px auto 0;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(18, 18, 18, 0.95);
    transition: all 0.4s ease;
    padding: 20px 0;
}

header.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    background-color: rgba(18, 18, 18, 0.98);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: var(--title-color);
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
}

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

.nav-menu a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover:after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--background-primary);
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(30, 30, 30, 0.5) 0%, rgba(18, 18, 18, 0.9) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-logo {
    width: 150px;
    height: 150px;
    margin: 0 auto 30px;
}

.hero h1 {
    font-size: 60px;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
}

.hero-buttons {
    animation: fadeInUp 1s ease 0.4s forwards;
    opacity: 0;
}

.hero-buttons .btn {
    margin: 0 10px;
}

/* Filosofia Section */
.filosofia {
    background-color: var(--background-secondary);
}

.filosofia-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.filosofia-text {
    flex: 1;
}

.filosofia-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.filosofia-image svg {
    width: 100%;
    height: auto;
    display: block;
}

/* Serviços Section */
.servicos {
    background-color: var(--background-secondary);
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.servico-card {
    background-color: var(--background-primary);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.servico-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.servico-img {
    height: 200px;
    background-color: var(--background-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.servico-img svg {
    width: 80px;
    height: 80px;
    fill: var(--accent-color);
}

.servico-content {
    padding: 20px;
}

.servico-content h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.servico-content p {
    margin-bottom: 15px;
}

.servico-price {
    font-size: 24px;
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 15px;
}

/* Equipe Section */
.equipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.barbeiro-card {
    background-color: var(--background-secondary);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    text-align: center;
}

.barbeiro-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.barbeiro-img {
    height: 250px;
    background-color: var(--background-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.barbeiro-img svg {
    width: 100px;
    height: 100px;
    fill: var(--accent-color);
}

.barbeiro-content {
    padding: 20px;
}

.barbeiro-content h3 {
    font-size: 22px;
    margin-bottom: 5px;
}

.barbeiro-content p {
    color: var(--accent-color);
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--background-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--accent-color);
}

.social-links a svg {
    width: 20px;
    height: 20px;
    fill: var(--text-color);
}

.social-links a:hover svg {
    fill: var(--background-primary);
}

/* Agendamento Section */
.agendamento {
    background-color: var(--background-secondary);
}

.agendamento-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.agendamento-info {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.agendamento-form {
    background-color: var(--background-primary);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    background-color: var(--background-secondary);
    border: 1px solid #333;
    border-radius: 4px;
    color: var(--text-color);
    font-family: 'Montserrat', sans-serif;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.form-error {
    color: var(--error-color);
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

.form-error.visible {
    display: block;
}

.form-success {
    color: var(--success-color);
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

.form-success.visible {
    display: block;
}

.input-with-icon {
    position: relative;
}

.input-with-icon .form-control {
    padding-left: 40px;
}

.input-with-icon svg {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    fill: var(--text-color);
}

.input-with-button {
    position: relative;
}

.input-with-button .form-control {
    padding-right: 110px;
}

.input-with-button .btn-verify {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    padding: 8px 15px;
    font-size: 14px;
}

/* Novo sistema de agendamento */
.booking-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}

.booking-steps:after {
    content: '';
    position: absolute;
    top: 25px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #333;
    z-index: 1;
}

.booking-step {
    position: relative;
    z-index: 2;
    width: 50px;
    height: 50px;
    background-color: var(--background-primary);
    border: 2px solid #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.booking-step.active {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--background-primary);
}

.booking-step.completed {
    background-color: var(--success-color);
    border-color: var(--success-color);
    color: var(--background-primary);
}

.booking-step-label {
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 14px;
}

.booking-content {
    display: none;
}

.booking-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.service-card {
    background-color: var(--background-secondary);
    border: 2px solid transparent;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card.selected {
    border-color: var(--accent-color);
    box-shadow: 0 5px 15px rgba(197, 164, 126, 0.3);
}

.service-card svg {
    width: 50px;
    height: 50px;
    fill: var(--accent-color);
    margin-bottom: 15px;
}

.service-card h4 {
    margin-bottom: 5px;
}

.service-card p {
    color: var(--accent-color);
    font-weight: 700;
}

.barber-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.barber-card {
    background-color: var(--background-secondary);
    border: 2px solid transparent;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.barber-card:hover {
    transform: translateY(-5px);
}

.barber-card.selected {
    border-color: var(--accent-color);
    box-shadow: 0 5px 15px rgba(197, 164, 126, 0.3);
}

.barber-card svg {
    width: 60px;
    height: 60px;
    fill: var(--accent-color);
    margin-bottom: 15px;
}

.barber-card h4 {
    margin-bottom: 5px;
}

.barber-card p {
    color: var(--accent-color);
}

.date-picker {
    margin-bottom: 30px;
}

.date-picker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.date-picker-title {
    font-size: 20px;
    font-weight: 700;
}

.date-picker-nav {
    display: flex;
    gap: 10px;
}

.date-picker-nav button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--background-primary);
    border: 1px solid #333;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.date-picker-nav button:hover {
    background-color: var(--accent-color);
    color: var(--background-primary);
}

.date-picker-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
}

.date-picker-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background-color: var(--background-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.date-picker-day:hover:not(.disabled) {
    background-color: var(--accent-color);
    color: var(--background-primary);
}

.date-picker-day.selected {
    background-color: var(--accent-color);
    color: var(--background-primary);
}

.date-picker-day.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.date-picker-day-name {
    font-size: 12px;
    margin-bottom: 5px;
}

.date-picker-day-number {
    font-size: 18px;
    font-weight: 700;
}

.time-slots {
    margin-bottom: 30px;
}

.time-slots-header {
    margin-bottom: 20px;
}

.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 15px;
}

.time-slot {
    padding: 15px 10px;
    border-radius: 8px;
    background-color: var(--background-primary);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.time-slot:hover:not(.disabled) {
    background-color: var(--accent-color);
    color: var(--background-primary);
}

.time-slot.selected {
    background-color: var(--accent-color);
    color: var(--background-primary);
}

.time-slot.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    text-decoration: line-through;
}

.booking-summary {
    background-color: var(--background-secondary);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
}

.booking-summary h4 {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #333;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.summary-item-label {
    font-weight: 500;
}

.summary-item-value {
    color: var(--accent-color);
}

.booking-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

/* Verificação de WhatsApp */
.verification-container {
    background-color: var(--background-secondary);
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    display: none;
}

.verification-container.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.verification-title {
    font-size: 18px;
    margin-bottom: 15px;
}

.verification-code {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.verification-digit {
    width: 50px;
    height: 60px;
    background-color: var(--background-primary);
    border: 1px solid #333;
    border-radius: 5px;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    color: var(--accent-color);
}

.verification-timer {
    text-align: center;
    margin-bottom: 20px;
}

.verification-resend {
    text-align: center;
}

.verification-resend button {
    background: none;
    border: none;
    color: var(--accent-color);
    cursor: pointer;
    text-decoration: underline;
}

.verification-resend button:disabled {
    color: #666;
    cursor: not-allowed;
    text-decoration: none;
}

/* Contato Section */
.contato-container {
    display: flex;
    gap: 50px;
}

.contato-info {
    flex: 1;
}

.contato-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contato-info-item svg {
    width: 24px;
    height: 24px;
    fill: var(--accent-color);
    margin-right: 15px;
    flex-shrink: 0;
}

.contato-form {
    flex: 2;
    background-color: var(--background-secondary);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
    background-color: var(--background-secondary);
    padding: 60px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo-img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.footer-logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: var(--title-color);
}

.footer-about p {
    margin-bottom: 20px;
}

.footer-heading {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-color);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--background-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--accent-color);
}

.footer-social a svg {
    width: 20px;
    height: 20px;
    fill: var(--text-color);
}

.footer-social a:hover svg {
    fill: var(--background-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
}

/* Login/Register Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: var(--background-secondary);
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.4s ease;
}

.modal-header {
    background-color: var(--background-primary);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 24px;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 24px;
    cursor: pointer;
}

.modal-body {
    padding: 30px;
}

.modal-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid #333;
}

.modal-tab {
    padding: 10px 20px;
    cursor: pointer;
    color: var(--text-color);
    font-weight: 500;
    position: relative;
}

.modal-tab.active {
    color: var(--accent-color);
}

.modal-tab.active:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media Queries */
@media (max-width: 992px) {
    .filosofia-content {
        flex-direction: column;
    }
    
    .contato-container {
        flex-direction: column;
    }
    
    .form-row {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--background-primary);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: all 0.4s ease;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .hero h1 {
        font-size: 40px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .hero-buttons .btn {
        margin: 5px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .booking-step-label {
        display: none;
    }
}

@media (max-width: 576px) {
    .logo-text {
        font-size: 20px;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .service-cards, .barber-cards {
        grid-template-columns: 1fr;
    }
    
    .date-picker-days {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .verification-code {
        gap: 5px;
    }
    
    .verification-digit {
        width: 40px;
        height: 50px;
        font-size: 20px;
    }
}