/* Cores personalizadas Bella 7 Beauty */
:root {
    --nude: #b48972;
    --nude-light: #e6d7ce;
    --nude-lighter: #f9f5f2;
    --nude-dark: #8c6354;
}

/* Estilos gerais */
body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
}

h1, h2, h3, .font-serif {
    font-family: 'Playfair Display', serif;
}

/* Transições e hover effects */
.transition-all {
    transition: all 0.3s ease;
}

/* Classes personalizadas de cores */
.bg-nude {
    background-color: var(--nude);
}

.bg-nude-light {
    background-color: var(--nude-light);
}

.bg-nude-lighter {
    background-color: var(--nude-lighter);
}

.text-nude {
    color: var(--nude);
}

.border-nude {
    border-color: var(--nude);
}

.hover\:bg-nude-dark:hover {
    background-color: var(--nude-dark);
}

.hover\:text-nude:hover {
    color: var(--nude);
}

/* Gradientes personalizados */
.gradient-nude {
    background: linear-gradient(to bottom, var(--nude-lighter), var(--nude-light));
}

/* Responsividade adicional */
@media (max-width: 640px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

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

.animate-fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

/* Animação de destaque para o número 7 */
@keyframes glow {
    0% { text-shadow: 0 0 5px rgba(180, 137, 114, 0.3); }
    50% { text-shadow: 0 0 20px rgba(180, 137, 114, 0.7); }
    100% { text-shadow: 0 0 5px rgba(180, 137, 114, 0.3); }
}

.animate-glow {
    animation: glow 2s infinite;
}

/* Animação de flutuação suave */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.animate-float {
    animation: float 5s ease-in-out infinite;
}

/* Estilos para cards e botões */
.card {
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background-color: var(--nude-dark);
}

/* Estilos para seções */
section {
    padding: 4rem 1rem;
}

/* Melhorias de acessibilidade */
a:focus, button:focus {
    outline: 2px solid var(--nude);
    outline-offset: 2px;
}

/* Melhorias para dispositivos de toque */
@media (hover: none) {
    .hover\:bg-nude-dark:hover {
        background-color: var(--nude);
    }
    
    .card:hover {
        transform: none;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
}

/* Estilos para o Gallery Modal */
#galleryModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 50;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.3s ease;
}

#galleryModal.hidden {
    display: none;
    opacity: 0;
}

#closeModal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 51;
    transition: transform 0.2s ease, color 0.2s ease;
}

#closeModal:hover {
    color: var(--nude);
    transform: scale(1.1);
}

#modalImage {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

#modalImage.loaded {
    opacity: 1;
    transform: scale(1);
}

#modalImage.img-changing {
    opacity: 0;
    transform: scale(0.95);
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
    z-index: 51;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.nav-btn:disabled {
    cursor: not-allowed;
    opacity: 0.3;
}

#prevBtn, #prevImage {
    left: 20px;
}

#nextBtn, #nextImage {
    right: 20px;
}

/* Animação para transição de imagem */
@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Estilos para botões de navegação em dispositivos móveis */
.mobile-nav-btn {
    position: absolute;
    z-index: 1003;
    top: 50%;
    transform: translateY(-50%) !important;
    background-color: rgba(0, 0, 0, 0.2) !important;
    color: white;
    border: none;
    width: 60px !important;
    height: 100px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border-radius: 10px !important;
    padding: 0 10px;
    opacity: 0.7 !important;
    backdrop-filter: blur(2px);
    transition: opacity 0.3s, transform 0.3s !important;
}

.mobile-nav-btn:hover, .mobile-nav-btn:focus {
    opacity: 1 !important;
}

.mobile-close-btn {
    width: 44px !important;
    height: 44px !important;
    background-color: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(3px);
    border-radius: 22px !important;
}

/* Animações para feedback quando atingir os limites da galeria */
@keyframes bounceLeft {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-15px); }
    75% { transform: translateX(5px); }
}

@keyframes bounceRight {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(15px); }
    75% { transform: translateX(-5px); }
}

.bounce-left {
    animation: bounceLeft 0.5s ease-in-out;
}

.bounce-right {
    animation: bounceRight 0.5s ease-in-out;
}

/* Indicador de swipe para dispositivos móveis */
.swipe-indicator {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    border-radius: 20px;
    width: 250px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.3s;
    opacity: 0;
    pointer-events: none;
}

.swipe-indicator span {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Melhorias para visualização de imagens no modal em dispositivos móveis */
@media (max-width: 768px) {
    #galleryModal {
        padding: 0;
    }
    
    #modalImage {
        max-width: 100% !important;
        max-height: 80vh !important;
    }
    
    #closeModal {
        top: 15px;
        right: 15px;
    }
    
    .nav-btn {
        background-size: 20px !important;
    }
}

/* Estilos para o menu hamburguer moderno */
.hamburger-menu {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: transparent;
    border: none;
    outline: none;
    padding: 0;
}

.hamburger-icon {
    position: relative;
    width: 24px;
    height: 18px;
}

.hamburger-icon .line {
    position: absolute;
    left: 0;
    height: 2px;
    width: 100%;
    background-color: var(--nude);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger-icon .line-1 {
    top: 0;
}

.hamburger-icon .line-2 {
    top: 8px;
    width: 75%;
    right: 0;
    left: auto;
    transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
}

.hamburger-icon .line-3 {
    bottom: 0;
}

/* Menu hamburguer ativo (X) */
.hamburger-menu.active .line-1 {
    transform: translateY(8px) rotate(45deg);
}

.hamburger-menu.active .line-2 {
    opacity: 0;
    width: 0;
}

.hamburger-menu.active .line-3 {
    transform: translateY(-8px) rotate(-45deg);
}

/* Menu mobile */
.mobile-menu-overlay {
    transition: opacity 0.3s ease;
    opacity: 0;
}

.mobile-menu-overlay.active {
    opacity: 1;
}

/* Estilo para o menu mobile quando está aberto */
.mobile-menu.active {
    transform: translateX(0);
}

/* Animação de entrada para os itens do menu */
.mobile-menu nav a {
    transform: translateX(20px);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.mobile-menu.active nav a {
    transform: translateX(0);
    opacity: 1;
}

.mobile-menu.active nav a:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-menu.active nav a:nth-child(2) {
    transition-delay: 0.15s;
}

.mobile-menu.active nav a:nth-child(3) {
    transition-delay: 0.2s;
}

.mobile-menu.active nav a:nth-child(4) {
    transition-delay: 0.25s;
}

/* Prevenir rolagem quando o menu estiver aberto */
body.menu-open {
    overflow: hidden;
} 