/* CSS Variables */
:root {
    --dark-bg: #121212;
    --dark-secondary: #1e1e1e;
    --darker-secondary: #171717;
    --text-color: #ffffff;
    --accent-color: #ff9800;
    --border-color: #333333;
    --button-orange: #ff9800;
    --green-badge: #4CAF50;
}

/* Base Styles */
body {
    background-color: black;
    color: var(--text-color);
}

.container {
    display: flex;
    flex-direction: row;
    min-height: 100vh;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* Main content */
.main-content {
    flex: 1;
    padding: 0;
    border-right: none;
}

/* Quando a aba de serviços está ativa, adicionamos o margin-right */
.tab-services-active .main-content {
    margin-right: 350px;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: black;
}

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

.logo-img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    background-color: white;
    border-radius: 50%;
    overflow: hidden;
}

.logo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-weight: bold;
    font-size: 16px;
}

.rating {
    display: flex;
    align-items: center;
    color: #ccc;
    font-size: 12px;
}

.rating i {
    color: var(--accent-color);
    margin-right: 4px;
    font-size: 10px;
}

.header-actions {
    display: flex;
    align-items: center;
}

.favorite-btn {
    background: transparent;
    border: none;
    color: #777;
    margin-right: 15px;
    cursor: pointer;
    font-size: 20px;
}

.favorite-btn:hover {
    color: #ff4d4d;
}

.schedule-btn {
    background-color: var(--button-orange);
    color: black;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    font-size: 12px;
}

/* Main banner */
.main-banner {
    width: 100%;
    height: 400px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black;
    overflow: hidden;
}

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

.logo-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
}

.logo-overlay img {
    width: 120px;
    height: auto;
    margin-bottom: 10px;
}

.logo-title {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 4px;
    margin-bottom: 5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.logo-subtitle {
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Navigation */
.nav-tabs {
    display: flex;
    overflow-x: auto;
    background-color: black;
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
    padding: 0 15px;
}

.nav-tab {
    padding: 12px 15px;
    cursor: pointer;
    position: relative;
    color: #aaa;
    font-size: 14px;
}

.nav-tab.active {
    color: var(--text-color);
}

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

/* Amenities section */
.amenities-section {
    padding: 20px;
    background-color: black;
}

.section-title {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.section-subtitle {
    font-size: 12px;
    color: #999;
    margin-bottom: 15px;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.amenity-item {
    background-color: #222;
    border-radius: 8px;
    padding: 15px 10px;
    text-align: center;
    cursor: pointer;
}

.amenity-icon {
    font-size: 20px;
    margin-bottom: 8px;
}

.amenity-name {
    font-size: 12px;
}

/* Services section */
.services-section {
    padding: 20px;
    background-color: black;
}

.services-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

/* Serviços */
.services-list {
    margin-top: 20px;
}

.service-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.service-info {
    display: flex;
    align-items: center;
}

.service-icon {
    width: 50px;
    height: 50px;
    margin-right: 12px;
    border-radius: 50%;
    overflow: hidden;
    background-color: white;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.service-details {
    display: flex;
    flex-direction: column;
}

.service-name {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 3px;
}

.service-price {
    font-size: 12px;
    color: #4CAF50;
}

.service-meta {
    display: flex;
    align-items: center;
}

.service-duration {
    display: flex;
    align-items: center;
    color: #aaa;
    font-size: 12px;
    margin-right: 15px;
}

.service-duration i {
    margin-right: 5px;
}

.service-book-btn {
    background-color: #0078d4;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 12px;
    cursor: pointer;
}

.service-book-btn:hover {
    background-color: #0069c0;
}

/* Transições suaves para elementos interativos */
.service-book-btn,
.nav-tab,
.favorite-btn,
.schedule-btn,
.amenity-item,
.social-icon,
.map-btn {
    transition: all 0.3s ease;
}

/* Estado hover para botões de agendamento */
.service-book-btn:hover {
    background-color: #006bc0;
    transform: translateY(-2px);
}

/* Estado hover para tabs */
.nav-tab:hover {
    color: #ddd;
}

/* Estado hover para itens de comodidades */
.amenity-item:hover {
    background-color: #333;
    transform: translateY(-2px);
}

/* Estado hover para o botão de agendar agora */
.schedule-btn:hover {
    background-color: #e08800;
    transform: translateY(-1px);
}

.search-bar {
    position: relative;
    width: 100%;
    margin-top: 10px;
}

.search-bar input {
    width: 100%;
    padding: 10px 15px 10px 40px;
    background-color: #222;
    border: none;
    border-radius: 25px;
    color: var(--text-color);
    font-size: 14px;
}

.search-bar i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
}

/* Sidebar */
.sidebar {
    width: 350px;
    padding: 20px;
    background-color: #121212;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    border-left: 1px solid var(--border-color);
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

/* Quando a aba de serviços está ativa, exibimos a sidebar */
.tab-services-active .sidebar {
    transform: translateX(0);
}

.sidebar-section {
    margin-bottom: 25px;
}

.sidebar-title {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--text-color);
}

/* Location section */
.location-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.location-address {
    flex: 1;
}

.address-line {
    font-size: 12px;
    margin-bottom: 5px;
    color: #aaa;
}

.map-btn {
    background-color: transparent;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    cursor: pointer;
}

/* Schedule section */
.schedule-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.schedule-day {
    font-size: 12px;
    color: #aaa;
}

.schedule-hours {
    font-size: 12px;
    text-align: right;
}

.today-badge {
    display: inline-block;
    background-color: var(--green-badge);
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 5px;
}

/* Payment section */
.payment-methods {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.payment-method {
    background-color: #222;
    border-radius: 4px;
    padding: 6px 10px;
    font-size: 12px;
    color: #aaa;
}

/* Social section */
.social-icons {
    display: flex;
    gap: 12px;
}

.social-icon {
    background-color: #222;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    cursor: pointer;
    text-decoration: none;
}

/* Contact section */
.contact-item {
    display: flex;
    margin-bottom: 12px;
    align-items: center;
}

.contact-icon-container {
    background-color: #222;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.contact-text {
    font-size: 12px;
    color: #aaa;
}

/* Estilos para a lista de profissionais */
.professionals-list {
    margin-top: 20px;
}

.professional-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.professional-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    background-color: #222;
}

.professional-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.professional-info {
    flex: 1;
}

.professional-name {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 4px;
}

.professional-note {
    font-size: 12px;
    color: #aaa;
}

.professional-select-btn {
    background-color: var(--button-orange);
    color: black;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 12px;
    cursor: pointer;
}

.professional-select-btn:hover {
    background-color: #e08800;
}

/* Content tabs */
.tab-content {
    display: none;
}

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

/* Responsive styles */
@media screen and (max-width: 992px) {
    .container {
        flex-direction: column;
    }

    .tab-services-active .main-content {
        margin-right: 0;
    }

    .sidebar {
        width: 100%;
        position: static;
        border-top: 1px solid var(--border-color);
        border-left: none;
        transform: translateY(100%);
    }

    .tab-services-active .sidebar {
        transform: translateY(0);
    }

    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 576px) {
    .header {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-actions {
        margin-top: 15px;
        width: 100%;
        justify-content: space-between;
    }

    .amenities-grid {
        grid-template-columns: 1fr 1fr;
    }

    .service-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .service-meta {
        width: 100%;
        margin-top: 10px;
        justify-content: space-between;
    }

    .main-banner {
        height: 160px;
    }

    .professional-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .professional-image {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .professional-info {
        margin-bottom: 10px;
    }
}