/*
Theme Name: ElegantStudio
Theme URI: https://example.com/elegantstudio
Author: Cline
Author URI: https://example.com
Description: A sophisticated and minimalist WordPress theme for studios and professionals.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-background, custom-header, custom-menu, featured-images, full-width-template, theme-options
Text Domain: elegantstudio
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 - Reset
2.0 - Typography
3.0 - Elements
4.0 - Forms
5.0 - Navigation
	5.1 - Links
	5.2 - Menus
6.0 - Accessibility
7.0 - Alignments
8.0 - Clearings
9.0 - Widgets
10.0 - Content
	10.1 - Posts and pages
	10.2 - Comments
11.0 - Media
	11.1 - Captions
	11.2 - Galleries
12.0 - Site Header
13.0 - Site Footer
14.0 - Colors
--------------------------------------------------------------*/

/*--------------------------------------------------------------
1.0 - Reset
--------------------------------------------------------------*/
html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    /* Garante que html e body ocupem toda a altura */
    background-color: #fff;
    /* Garante que o fundo seja branco */
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

/*--------------------------------------------------------------
2.0 - Typography
--------------------------------------------------------------*/
body {
    color: #000;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

/*--------------------------------------------------------------
12.0 - Site Header
--------------------------------------------------------------*/
.site-header {
    position: relative;
    height: 100vh;
    /* O slider ocupará toda a altura da tela */
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Alinha o conteúdo do header ao topo */
    margin-bottom: 0;
    /* Remove margem inferior do header */
}

.main-navigation.transparent-menu {
    position: absolute;
    top: 0;
    /* Alinha o menu ao topo */
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: transparent;
    /* Torna o menu transparente */
    border-radius: 0;
    padding: 20px 0;
    /* Adiciona um padding para o menu */
    display: flex;
    justify-content: center;
    /* Centraliza os itens do menu */
    align-items: center;
}

.main-navigation.transparent-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.main-navigation.transparent-menu ul li {
    margin: 0 15px;
    position: relative;
    /* Adicionado para o sub-menu */
}

.main-navigation.transparent-menu ul li a {
    color: #fff;
    /* Letras brancas */
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    transition: color 0.3s ease;
}

.main-navigation.transparent-menu ul li a:hover {
    color: var(--elegantstudio-pinkish-beige);
    /* Cor de hover */
}

/*--------------------------------------------------------------
   Classe Customizada para Botão de Destaque no Menu (Ex: Agendar)
--------------------------------------------------------------*/
.main-navigation.transparent-menu ul li.menu-botao-destaque {
    display: flex;
    align-items: center;
}

.main-navigation.transparent-menu ul li.menu-botao-destaque a {
    background-color: transparent;
    /* Cor de fundo (altere para #000 se quiser solido) */
    color: var(--elegantstudio-pinkish-beige);
    /* Cor do texto destaque */
    border: 2px solid var(--elegantstudio-pinkish-beige);
    /* Borda */
    padding: 8px 24px;
    /* Tamanho (altura e largura interna) */
    border-radius: 50px;
    /* Bordas arredondadas (estilo pílula) */
    font-weight: 600;
    /* Texto mais grosso */
    font-size: 1.05em;
    /* Tamanho da fonte */
    transition: all 0.3s ease;
}

/* Cor quando o mouse passa por cima (hover) */
.main-navigation.transparent-menu ul li.menu-botao-destaque a:hover {
    background-color: var(--elegantstudio-pinkish-beige);
    /* Cor de fundo no hover */
    color: #fff;
    /* Cor do texto no hover */
    transform: translateY(-2px);
    /* Efeito sutil de levantar */
    box-shadow: 0 5px 15px rgba(176, 145, 127, 0.4);
    /* Sombra elegante */
}

/*--------------------------------------------------------------
   Sub-menu (Menu Suspenso Eleganter)
--------------------------------------------------------------*/
.main-navigation.transparent-menu ul li ul.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(15px);
    border-radius: 12px;
    padding: 15px 0;
    min-width: 220px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.main-navigation.transparent-menu ul li:hover ul.sub-menu {
    display: flex;
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Seta apontando para o item pai */
.main-navigation.transparent-menu ul li ul.sub-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 14px;
    height: 14px;
    background: rgba(255, 255, 255, 0.97);
    border-top-left-radius: 2px;
}

.main-navigation.transparent-menu ul li ul.sub-menu li {
    margin: 0;
    width: 100%;
}

.main-navigation.transparent-menu ul li ul.sub-menu li a {
    color: var(--elegantstudio-black);
    padding: 12px 30px;
    font-size: 0.95em;
    font-weight: 500;
    transition: all 0.3s ease;
    display: block;
    text-align: center;
    letter-spacing: 0.5px;
}

.main-navigation.transparent-menu ul li ul.sub-menu li a:hover {
    color: var(--elegantstudio-pinkish-beige);
    background-color: rgba(176, 145, 127, 0.05);
    transform: translateX(5px);
}


.header-slider-placeholder {
    height: 100%;
    /* Ocupa o restante da altura do header */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.3);
    /* Overlay semi-transparente */
    color: #fff;
    text-align: center;
    padding: 20px;
}

.header-slider-placeholder p {
    margin: 10px 0;
    font-size: 1.2em;
}

/*--------------------------------------------------------------
12.1 - Logo Carousel
--------------------------------------------------------------*/
.logo-carousel-wrapper {
    background-color: var(--elegantstudio-pinkish-beige);
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    margin-top: 0;
    /* Remove margem superior do carrossel de logos */
}

.logo-carousel {
    display: flex;
    /* Use flexbox for better control */
    width: fit-content;
    /* Allow content to define width */
    animation: scroll-logos var(--carousel-speed, 30s) linear infinite;
}

.logo-item {
    flex-shrink: 0;
    /* Prevent items from shrinking */
    padding: 0 20px;
    /* Add padding instead of margin for spacing */
    vertical-align: middle;
    display: flex;
    /* Use flex for centering image if needed */
    align-items: center;
    justify-content: center;
}

.logo-item img {
    max-height: 50px;
    /* Adjust as needed */
    width: auto;
    filter: grayscale(100%);
    /* Optional: grayscale logos */
    opacity: 0.7;
    transition: all 0.3s ease;
}

.logo-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes scroll-logos {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-33.33%);
    }

    /* Adjust for 3 sets of duplicated logos */
}

/*--------------------------------------------------------------
12.2 - Testimonials Carousel
--------------------------------------------------------------*/
.testimonials-carousel-wrapper {
    text-align: center;
    position: relative;
    /* For positioning arrows */
}

.testimonials-carousel-wrapper h2 {
    font-size: 2em;
}

.testimonials-carousel-container {
    position: relative;
    margin: 0 auto;
    padding: 0 50px;
    /* Space for arrows */
}

.testimonials-carousel {
    display: flex;
    overflow-x: scroll;
    /* Enable horizontal scrolling */
    -webkit-overflow-scrolling: touch;
    /* Smooth scrolling on iOS */
    padding: 0 10px;
    /* Inner padding for items */
    scroll-behavior: smooth;
    /* Smooth scroll with arrows */
    scrollbar-width: none;
    /* Hide scrollbar for Firefox */
    -ms-overflow-style: none;
    /* Hide scrollbar for IE and Edge */
}

.testimonials-carousel::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar for Chrome, Safari, and Opera */
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--elegantstudio-black);
    color: #fff;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 1.5em;
    line-height: 1;
    border-radius: 50%;
    z-index: 10;
    transition: background-color 0.3s ease;
}

.carousel-nav:hover {
    background-color: var(--elegantstudio-pinkish-beige);
}

.prev-arrow {
    left: 0;
}

.next-arrow {
    right: 0;
}

.testimonial-item {
    flex: 0 0 300px;
    /* Fixed width for each testimonial */
    margin: 0 25px 30px 25px;
    /* Adjust margin for speech bubble tail */
    padding: 30px;
    background-color: #fff;
    border-radius: 15px;
    /* More rounded corners for speech bubble */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    scroll-snap-align: start;
    transition: transform 0.3s ease;
    position: relative;
    /* Needed for pseudo-element positioning */
}

.testimonial-item::before {
    content: "";
    position: absolute;
    bottom: -15px;
    /* Position the tail below the box */
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid #fff;
    /* Color of the tail */
    z-index: 1;
}

.testimonial-item:hover {
    transform: translateY(-10px);
    /* Slightly more pronounced hover */
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 15px;
    color: #555;
    line-height: 1.6;
}

.testimonial-author {
    font-weight: bold;
    color: var(--elegantstudio-pinkish-beige);
}

/*--------------------------------------------------------------
12.3 - Nossa História Timeline
--------------------------------------------------------------*/
.our-history-timeline {
    padding: 80px 0;
    background-color: #fff;
}

.timeline-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Garante que os elementos principais do layout não tenham margens/paddings padrão */
#page,
#content,
#primary,
#main {
    margin: 0;
    padding: 0;
}

.timeline-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    /* Torna o container flexível */
    overflow-x: auto;
    /* Adiciona scroll horizontal se necessário */
    padding-bottom: 50px;
    /* Espaço para os itens de baixo */
    justify-content: center;
    /* Centraliza os itens */
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 100%;
    /* Linha horizontal */
    height: 2px;
    background-color: var(--elegantstudio-pinkish-beige);
    top: 50%;
    /* Centraliza verticalmente */
    left: 0;
    transform: translateY(-50%);
    z-index: 0;
}

.timeline-item {
    flex: 0 0 300px;
    /* Largura fixa para cada item */
    margin: 0 20px;
    /* Espaçamento entre os itens */
    position: relative;
    background-color: inherit;
    padding-top: 60px;
    /* Espaço para o círculo acima */
    padding-bottom: 60px;
    /* Espaço para o círculo abaixo */
    text-align: center;
}

.timeline-item.top {
    padding-bottom: 0;
    padding-top: 60px;
}

.timeline-item.bottom {
    padding-top: 0;
    padding-bottom: 60px;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    background-color: var(--elegantstudio-pinkish-beige);
    border: 4px solid #fff;
    /* Cor da borda do círculo */
    border-radius: 50%;
    z-index: 1;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item.top::after {
    top: 50%;
    /* Posição do círculo acima da linha */
    margin-top: -12.5px;
    /* Ajuste para centralizar */
}

.timeline-item.bottom::after {
    bottom: 50%;
    /* Posição do círculo abaixo da linha */
    margin-bottom: -12.5px;
    /* Ajuste para centralizar */
}

.timeline-content {
    padding: 20px 30px;
    background-color: #f8f8f8;
    position: relative;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    /* Espaço entre o círculo e o conteúdo */
    margin-bottom: 20px;
    /* Espaço entre o círculo e o conteúdo */
}

.timeline-item.top .timeline-content {
    margin-top: 0;
    margin-bottom: 20px;
}

.timeline-item.bottom .timeline-content {
    margin-bottom: 0;
    margin-top: 20px;
}

.timeline-image {
    margin-top: 15px;
}

.timeline-image img {
    height: auto;
    border-radius: 4px;
    max-width: 100%;
    /* Garante que a imagem se ajuste ao box */
}

/* Media queries for responsiveness */
@media screen and (max-width: 768px) {
    .timeline-container {
        flex-direction: column;
        /* Volta para layout de coluna em telas pequenas */
        align-items: center;
        padding-bottom: 0;
    }

    .timeline-container::after {
        width: 2px;
        height: 100%;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }

    .timeline-item {
        width: 100%;
        max-width: 400px;
        /* Limita a largura em telas pequenas */
        margin: 20px 0;
        padding: 0 20px;
    }

    .timeline-item::after {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .timeline-item.top,
    .timeline-item.bottom {
        padding-top: 0;
        padding-bottom: 0;
    }

    .timeline-item.top::after,
    .timeline-item.bottom::after {
        margin-top: 0;
        margin-bottom: 0;
    }

    .timeline-item .timeline-content {
        margin-top: 20px;
        margin-bottom: 20px;
    }
}

/*--------------------------------------------------------------
12.4 - Services Grid
--------------------------------------------------------------*/
.services-grid-section {
    padding: 80px 0;
    background-color: #f8f8f8;
    text-align: center;
}

.services-grid-section h2 {
    margin-bottom: 40px;
    font-size: 2.5em;
    color: var(--elegantstudio-black);
}

.services-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
}

.service-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    font-size: 1.8em;
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--elegantstudio-pinkish-beige);
}

.service-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.service-professional {
    font-style: italic;
    color: #888;
    margin-bottom: 20px;
}

.button-agendar {
    display: inline-block;
    background-color: var(--elegantstudio-black);
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.button-agendar:hover {
    background-color: var(--elegantstudio-pinkish-beige);
}

/*--------------------------------------------------------------
12.5 - WooCommerce
--------------------------------------------------------------*/
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    background-color: var(--elegantstudio-black);
    color: #fff;
    border-radius: 5px;
    padding: 12px 25px;
    transition: background-color 0.3s ease;
}

.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    background-color: var(--elegantstudio-pinkish-beige);
    color: #fff;
}

.woocommerce ul.products li.product .price {
    color: var(--elegantstudio-pinkish-beige);
    font-weight: bold;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
    color: var(--elegantstudio-pinkish-beige);
    font-weight: bold;
    font-size: 1.5em;
}

.woocommerce .widget_price_filter .ui-slider .ui-slider-range {
    background-color: var(--elegantstudio-pinkish-beige);
}

.woocommerce .widget_price_filter .ui-slider .ui-slider-handle {
    background-color: var(--elegantstudio-black);
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    border-top-color: var(--elegantstudio-pinkish-beige);
    background-color: #f8f8f8;
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
    color: var(--elegantstudio-pinkish-beige);
}

/*--------------------------------------------------------------
12.6 - WhatsApp Contact Form
--------------------------------------------------------------*/
.whatsapp-contact-section {
    padding: 80px 0;
    background-color: #f8f8f8;
    text-align: center;
}

.whatsapp-contact-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

.whatsapp-contact-container h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: var(--elegantstudio-black);
}

.whatsapp-contact-container p {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 30px;
}

.whatsapp-button {
    display: inline-flex;
    align-items: center;
    background-color: #25D366;
    /* WhatsApp green */
    color: #fff;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s ease;
}

.whatsapp-button:hover {
    background-color: #1DA851;
}

.whatsapp-button img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    filter: brightness(0) invert(1);
    /* Make icon white */
}

/*--------------------------------------------------------------
12.7 - Appointment Form
--------------------------------------------------------------*/
.appointment-form-section {
    position: relative;
    z-index: 10;
    margin-top: -95vh;
    /* Puxa a seção mais para cima ainda */
    padding: 0 20px 80px 20px;
    background-color: transparent;
    /* Fundo transparente pois vai flutuar sob a imagem */
    text-align: center;
    min-height: 100vh;
    /* Para garantir espaço suficiente caso o form seja grande */
}

.appointment-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.20);
    /* Quase transparente */
    backdrop-filter: blur(25px);
    /* Desfoque sutilmente maior para manter a leitura */
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* Borda muito suave */
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    /* Sombra mais delicada */
    padding: 50px;
}

.appointment-form-container h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: var(--elegantstudio-black);
}

.appointment-form .form-group {
    margin-bottom: 20px;
    text-align: left;
}

.appointment-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--elegantstudio-black);
}

.appointment-form input[type="text"],
.appointment-form input[type="date"],
.appointment-form select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box;
}

.appointment-form input[type="text"]:focus,
.appointment-form input[type="date"]:focus,
.appointment-form select:focus {
    border-color: var(--elegantstudio-pinkish-beige);
    outline: none;
    box-shadow: 0 0 0 2px rgba(176, 145, 127, 0.2);
}

.appointment-form .required {
    color: red;
}

.appointment-form .button-submit {
    background-color: var(--elegantstudio-black);
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: auto;
    margin-top: 20px;
}

.appointment-form .button-submit:hover {
    background-color: var(--elegantstudio-pinkish-beige);
}

.appointment-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    font-weight: bold;
}

.appointment-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.appointment-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/*--------------------------------------------------------------
14.0 - Colors
--------------------------------------------------------------*/
:root {
    --elegantstudio-pinkish-beige: #b0917f;
    --elegantstudio-black: #000;
}

body {
    color: var(--elegantstudio-black);
}

a {
    color: var(--elegantstudio-pinkish-beige);
}

a:hover,
a:focus,
a:active {
    color: var(--elegantstudio-black);
}