/* Variáveis CSS */
:root {
    --primary-color: #e6a756; /* Rosa vibrante */
    --secondary-color: #092143e6; /* Roxo elegante */
    --accent-color: #ffd700; /* Dourado para detalhes */
    --text-color: #e6a756;
    --light-gray: #f8f9fa;
    --dark-gray: #343a40;
    --white: #ffffff;
    --shadow: 0 4px 12px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
    --gradient: linear-gradient(50deg, var(--primary-color), var(--secondary-color));
    --background-color: #ffffff;
    --card-bg: #092143e6;
    --border-color: #e0e0e0;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

/* Modo Escuro */
[data-theme="dark"] {
    --text-color: #f8f9fa;
    --light-gray: #343a40;
    --dark-gray: #adb5bd;
    --white: #1e1e1e;
    --shadow: 0 4px 12px rgba(0,0,0,0.3);
    --primary-color: #092143e6;
    --secondary-color: #9c27b0;
    --accent-color: #ffd700;
    --background-color: #1a1a1a;
    --card-bg: #2d2d2d;
    --border-color: #404040;
    --shadow-color: rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] body {
    background-color: #121212;
}

[data-theme="dark"] .service-category,
[data-theme="dark"] .salon-card,
[data-theme="dark"] .testimonial-card {
    background: var(--card-bg);
    border-color: var(--border-color);
}

[data-theme="dark"] .service-category h5,
[data-theme="dark"] .salon-card h5 {
    color: var(--text-color);
}

[data-theme="dark"] .service-category p,
[data-theme="dark"] .salon-card p {
    color: var(--dark-gray);
}

[data-theme="dark"] .how-it-works {
    background: #1a1a1a;
}

[data-theme="dark"] .search-form,
[data-theme="dark"] header,
[data-theme="dark"] footer {
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    color: var(--text-color);
}

[data-theme="dark"] .search-form .form-control,
[data-theme="dark"] .search-form .form-select {
    background-color: #2a2a2a;
    border-color: #404040;
    color: #ffffff;
}

[data-theme="dark"] .search-form .form-control:focus {
    background-color: #333333;
    border-color: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 0 0 0.2rem rgba(255, 105, 180, 0.25);
}

/* Botão de Alternância de Tema */
.theme-toggle {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px var(--shadow-color);
    transition: all 0.3s ease;
    z-index: 1000;
}

.theme-toggle:hover {
    transform: scale(1.1);
    background: var(--secondary-color);
}

.theme-toggle i {
    font-size: 1.2rem;
}

/* Reset e Estilos Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fafafa;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header e Navegação */
header {
    background: var(--card-bg);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
}

header .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #092143e6;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo i {
    font-size: 1.5rem;
}

nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: 50px;
}

nav a:hover {
    color: var(--primary-color);
    background: var(--light-gray);
}

nav .btn-primary {
    padding: 0.5rem 1.5rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
}

button:hover,button:focus{
background: #e6a756;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 105, 180, 0.3);
    background: #e6a756;
    color: var(--dark-gray);
}

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

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

.btn-light {
    background: var(--white);
    color: var(--primary-color);
}

.theme-toggle i {
    font-size: 1.2rem;
}

/* Hero Section com Busca */
.hero-section {
    background: var(--gradient);
    color: var(--white);
    padding: 5rem 0;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/hero-bg.jpg') center/cover;
    opacity: 0.1;
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Formulário de Busca */
.search-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    max-width: 900px;
    margin: 0 auto;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input-wrapper .form-control {
    padding-right: 45px;
    border-radius: 50px;
    height: 50px;
    font-size: 1rem;
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.search-input-wrapper .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 105, 180, 0.15);
}

.btn-location {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gradient);
    border: none;
    color: white;
    transition: var(--transition);
    cursor: pointer;
    z-index: 2;
}

.btn-location:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 3px 8px rgba(var(--primary-color-rgb), 0.3);
}

.btn-location i {
    font-size: 0.9rem;
}

.search-form .form-select {
    height: 50px;
    border-radius: 25px;
    border: 2px solid var(--secondary-color);
    padding: 0 1.5rem;
    font-size: 1rem;
    cursor: pointer;
    background-position: right 1.5rem center;
}

.search-form .btn {
    height: 50px;
    padding: 0 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 25px;
    background: var(--gradient);
    border: none;
    color: var(--white);
    transition: var(--transition);
}

.search-form .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(var(--primary-color-rgb), 0.4);
}

/* Categorias de Serviços (Estilo Original) */
.service-category {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
}

.service-category:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.service-category i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: var(--transition);
}

.service-category:hover i {
    transform: scale(1.2);
    color: var(--secondary-color);
}

.service-category h5 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-weight: 600;
}

.service-category p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

/* Cards de Salão */
.salon-card {
    background: var(--white);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    height: 100%;
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.salon-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
    opacity: 0;
    transition: var(--transition);
}

.salon-card:hover::before {
    opacity: 1;
}

.salon-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-hover-shadow);
}

.salon-image-container {
    height: 240px;
    position: relative;
    overflow: hidden;
}

.salon-image-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
}

.salon-card:hover .salon-image-container::after {
    opacity: 1;
}

.rating-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--gradient);
    padding: 6px 16px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(var(--primary-color-rgb), 0.3);
    z-index: 2;
}

.rating-badge i {
    color: var(--accent-color);
    font-size: 1rem;
}

.salon-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.salon-card:hover .salon-image {
    transform: scale(1.1);
}

.card-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
    z-index: 1;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 0.25rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.card-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient);
    border-radius: 50px;
}

.salon-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.salon-location i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.salon-services {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 1rem;
}

.service-tag {
    background: rgba(var(--primary-color-rgb), 0.1);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition);
}

.service-tag:hover {
    background: rgba(var(--primary-color-rgb), 0.15);
    transform: translateY(-2px);
}

.salon-price {
    margin: 0.5rem 0 1.5rem;
}

.price-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 4px;
    font-weight: 500;
}

.price-value {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.btn-details {
    margin-top: auto;
    background: var(--gradient);
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    color: var(--white);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    text-align: center;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-details::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: translateX(-100%);
    transition: 0.6s;
    z-index: -1;
}

.btn-details:hover::before {
    transform: translateX(100%);
}

.btn-details:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(var(--primary-color-rgb), 0.3);
}

/* Responsividade */
@media (max-width: 768px) {
    .salon-card {
        margin-bottom: 2rem;
    }
    
    .salon-image-container {
        height: 200px;
    }
    
    .card-title {
        font-size: 1.5rem;
    }
    
    .service-tag {
        font-size: 0.85rem;
        padding: 4px 12px;
    }
    
    .price-value {
        font-size: 1.25rem;
    }
    
    .btn-details {
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
    }
}

/* Modo Escuro */
[data-theme="dark"] {
    --text-color: #f8f9fa;
    --text-light: #adb5bd;
    --background: #1a1a1a;
    --white: #2d2d2d;
}

[data-theme="dark"] body {
    background-color: #121212;
}

[data-theme="dark"] .search-form {
    background: var(--white);
}

[data-theme="dark"] .search-form .form-control,
[data-theme="dark"] .search-form .form-select {
    background-color: #2a2a2a;
    border-color: #404040;
    color: var(--text-color);
}

[data-theme="dark"] .search-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .search-form .form-control:focus {
    background-color: #333333;
    border-color: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 0 0 0.2rem rgba(255, 105, 180, 0.25);
}

[data-theme="dark"] .theme-toggle {
    color: var(--text-color);
}

[data-theme="dark"] .service-category {
    background: var(--white);
}

[data-theme="dark"] .service-category h5 {
    color: var(--text-color);
}

[data-theme="dark"] .service-category p {
    color: var(--text-light);
}

[data-theme="dark"] header {
    background: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .btn-cadastrar {
    background: var(--gradient);
    color: var(--white);
}

/* Como Funciona */
.how-it-works {
    background: var(--light-gray);
    padding: 5rem 0;
    margin: 5rem 0;
    position: relative;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern.png') center/cover;
    opacity: 0.03;
    z-index: 0;
}

.how-it-works .container {
    position: relative;
    z-index: 1;
}

.step-circle {
    width: 100px;
    height: 100px;
    background: var(--gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 20px rgba(var(--primary-color-rgb), 0.3);
    transition: var(--transition);
}

.step-circle:hover {
    transform: scale(1.1);
}

.step-circle i {
    font-size: 2.5rem;
}

/* CTA Section */
.cta-section {
    background: var(--gradient);
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
    margin-top: 5rem;
    border-radius: var(--card-radius);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern.png') center/cover;
    opacity: 0.1;
    z-index: 0;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.btn-cta {
    background: var(--white);
    color: var(--primary-color);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    border: 2px solid transparent;
}

.btn-cta:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
    transform: translateY(-3px);
}

/* Footer */
footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 4rem 0;
    margin-top: 5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-links a {
    color: #ffd700; /* Dourado para destaque */
    text-decoration: none !important;
    transition: var(--transition);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.footer-links a:hover {
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
    text-decoration: underline;
}

.footer-socials a, .footer-socials i {
    color: #ffd700;
    font-size: 1.3rem;
    margin-right: 0.7rem;
    transition: color 0.2s;
}
.footer-socials a:hover, .footer-socials i:hover {
    color: var(--primary-color);
}

.footer-info {
    text-align: center;
    color: var(--light-gray);
    font-size: 0.9rem;
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient);
}

.section-title p {
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Responsividade */
@media (max-width: 992px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 1rem;
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-section {
        padding: 3rem 0;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .step-circle {
        width: 80px;
        height: 80px;
    }

    .step-circle i {
        font-size: 2rem;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
    }
}

.mini-thumb {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border: 2px solid #fff;
    transition: opacity 0.3s ease;
}

.thumb-inactive {
    opacity: 0.7;
}

[data-theme="dark"] footer {
    background: var(--card-bg);
    color: var(--text-color);
}

[data-theme="dark"] .footer-links a {
    color: #ffd700;
    text-decoration: none !important;
}
[data-theme="dark"] .footer-links a:hover {
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
    text-decoration: underline;
}
[data-theme="dark"] .footer-socials a, [data-theme="dark"] .footer-socials i {
    color: #ffd700;
}
[data-theme="dark"] .footer-socials a:hover, [data-theme="dark"] .footer-socials i:hover {
    color: var(--primary-color);
}

[data-theme="dark"] .footer-info {
    color: var(--text-light);
}

footer .list-unstyled a {
    color: var(--primary-color);
    text-decoration: none !important;
    transition: var(--transition);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}
footer .list-unstyled a:hover {
    color: var(--secondary-color);
    background: rgba(255, 105, 180, 0.1);
    text-decoration: underline;
}

footer .social-icons a, footer .social-icons i {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-right: 0.7rem;
    transition: var(--transition);
}
footer .social-icons a:hover, footer .social-icons i:hover {
    color: var(--secondary-color);
    transform: translateY(-3px);
}

[data-theme="dark"] footer .list-unstyled a {
    color: var(--primary-color);
    text-decoration: none !important;
}
[data-theme="dark"] footer .list-unstyled a:hover {
    color: var(--secondary-color);
    background: rgba(255, 105, 180, 0.08);
    text-decoration: underline;
}
[data-theme="dark"] footer .social-icons a, [data-theme="dark"] footer .social-icons i {
    color: var(--primary-color);
}
[data-theme="dark"] footer .social-icons a:hover, [data-theme="dark"] footer .social-icons i:hover {
    color: var(--secondary-color);
    transform: translateY(-3px);
}

.btn-view-more {
    margin: 2rem auto;
    background: var(--gradient);
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    color: var(--white);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    text-align: center;
    text-decoration: none;
    display: block;
    max-width: 300px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-view-more::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: translateX(-100%);
    transition: 0.6s;
    z-index: -1;
}

.btn-view-more:hover::before {
    transform: translateX(100%);
}

.btn-view-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(var(--primary-color-rgb), 0.3);
}

[data-theme="dark"] .btn-view-more {
    background: var(--gradient);
    color: var(--white);
}

[data-theme="dark"] .btn-view-more:hover {
    box-shadow: 0 8px 20px rgba(var(--primary-color-rgb), 0.5);
} 