@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

* {
    font-family: 'Inter', sans-serif;
}

body {
    background-color: #0a0a0a;
    background-image: url("../assets/img/bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow-x: hidden;
    position: relative;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body.light-mode {
    background-color: #f5f5f5;
    color: #1a1a1a;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 10, 0.9);
    pointer-events: none;
    z-index: 0;
    transition: background-color 0.3s ease;
}

body.light-mode::before {
    background-color: rgba(255, 255, 255, 0.9);
}

body > * {
    position: relative;
    z-index: 1;
}

/* Glassmorphism Effects */
.glassmorphism {
    background: rgba(33, 126, 119, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(33, 126, 119, 0.1);
    transition: all 0.3s ease;
}

body.light-mode .glassmorphism {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(33, 126, 119, 0.2);
}

.glassmorphism-blue {
    background: rgba(30, 50, 100, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(30, 50, 100, 0.1);
    transition: all 0.3s ease;
}

body.light-mode .glassmorphism-blue {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(30, 50, 100, 0.2);
}

/* Logo padrão (desktop) */
img.logo {
  max-width: 300px;
}

/* Versão mobile */
@media (max-width: 768px) {
  img.logo {
    max-width: 120px;
  }
}


/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #217e77 0%, #1e3264 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #217e77 0%, #1a6660 100%);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(33, 126, 119, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #1e3264 0%, #162851 100%);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(30, 50, 100, 0.4);
}

/* Card Effects */
.card-hover {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-8px) scale(1.02);
}

/* Animations */
.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.shine {
    position: relative;
    overflow: hidden;
}

.shine::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 70%
    );
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.glow-effect {
    box-shadow: 0 0 30px rgba(33, 126, 119, 0.3);
}

/* Rotating Words */
#rotating-word {
    position: relative;
    display: block;
    min-width: 320px;
    height: 1.4em;
    margin: 0 auto;
}

.word {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%) translateY(30px);
    white-space: nowrap;
    opacity: 0;
    animation: rotateWord 12s infinite;
    font-weight: 800;
}

.word:nth-child(1) { animation-delay: 0s; }
.word:nth-child(2) { animation-delay: 2s; }
.word:nth-child(3) { animation-delay: 4s; }
.word:nth-child(4) { animation-delay: 6s; }
.word:nth-child(5) { animation-delay: 8s; }
.word:nth-child(6) { animation-delay: 10s; }

@keyframes rotateWord {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(30px);
    }
    3%, 14% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    17%, 100% {
        opacity: 0;
        transform: translateX(-50%) translateY(-30px);
    }
}

/* Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 999;
    animation: fadeIn 0.3s ease;
}


.modal-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Garantir que SweetAlert fique acima das modais e centralizado */
.swal2-container {
    z-index: 99999 !important;
}

.swal2-popup {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
}

/* Garantir que o backdrop do SweetAlert também fique acima */
.swal2-backdrop-show {
    z-index: 99998 !important;
}

.modal-content {
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(33, 126, 119, 0.2);
    border-radius: 24px;
    padding: 40px;
    width: 90%;
    max-width: 450px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.4s ease;
    position: relative;
    transition: all 0.3s ease;
    scrollbar-width: thin;
    scrollbar-color: #217e77 rgba(255, 255, 255, 0.05);
}

.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin: 10px 0;
}

.modal-content::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #217e77 0%, #1e3264 100%);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #2a9d93 0%, #253c7a 100%);
    box-shadow: 0 0 10px rgba(33, 126, 119, 0.5);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(30px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* Form Elements */
.input-field {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
}

.input-field:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: #217e77;
    box-shadow: 0 0 0 3px rgba(33, 126, 119, 0.1);
}

.input-field::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.filter-select {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-size: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-select:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: #217e77;
    box-shadow: 0 0 0 3px rgba(33, 126, 119, 0.1);
}

.filter-select option {
    background: #1a1a1a;
    color: white;
    padding: 10px;
}

/* Category Options */
.category-option {
    padding: 12px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.category-option:hover {
    border-color: rgba(33, 126, 119, 0.5);
    background: rgba(33, 126, 119, 0.1);
    transform: translateY(-2px);
}

.category-option.selected {
    border-color: #217e77;
    background: rgba(33, 126, 119, 0.2);
    box-shadow: 0 0 20px rgba(33, 126, 119, 0.3);
}

.category-option input[type="radio"] {
    display: none;
}

.category-filter {
    padding: 10px 20px;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.category-filter:hover {
    border-color: rgba(33, 126, 119, 0.5);
    background: rgba(33, 126, 119, 0.1);
    transform: translateY(-2px);
}

.category-filter.active {
    border-color: #217e77;
    background: rgba(33, 126, 119, 0.2);
    box-shadow: 0 0 20px rgba(33, 126, 119, 0.3);
}

/* Professional Cards */
.professional-card {
    background: rgba(20, 20, 20, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(33, 126, 119, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.professional-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(33, 126, 119, 0.3);
    border-color: #217e77;
}

.professional-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: linear-gradient(135deg, rgba(33, 126, 119, 0.2) 0%, rgba(30, 50, 100, 0.2) 100%);
}

/* Badges */
.badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

.badge-category {
    background: linear-gradient(135deg, #217e77 0%, #1a6660 100%);
    color: white;
}

.badge-location {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.rating {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #fbbf24;
}

/* Theme Toggle */
#themeToggle {
    position: relative;
}

#themeToggle svg {
    transition: all 0.3s ease;
}

#themeToggle:hover {
    transform: rotate(180deg);
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #217e77 0%, #1e3264 100%);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #2a9d93 0%, #253c7a 100%);
}

/* Light Mode Styles */
body.light-mode {
    color: #1a1a1a;
}

body.light-mode .text-white {
    color: #1a1a1a !important;
}

body.light-mode .text-gray-300 {
    color: #4a4a4a !important;
}

body.light-mode .text-gray-400 {
    color: #6a6a6a !important;
}

body.light-mode .text-gray-600 {
    color: #8a8a8a !important;
}

body.light-mode .border-gray-800 {
    border-color: #e0e0e0 !important;
}

body.light-mode .modal-content {
    background: rgba(255, 255, 255, 0.95);
}

body.light-mode .input-field {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #1a1a1a;
}

body.light-mode .input-field::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

body.light-mode .category-option {
    border: 2px solid rgba(0, 0, 0, 0.1);
    background: rgba(0, 0, 0, 0.05);
}

body.light-mode .close-modal {
    background: rgba(0, 0, 0, 0.1);
    color: #1a1a1a;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    #rotating-word {
        min-width: 250px !important;
    }
}



/* style_busca.css - Estilos para página de busca de profissionais */

/* Filtro Select */
.filter-select {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(31, 41, 55, 0.8);
    border: 1px solid rgba(75, 85, 99, 0.5);
    border-radius: 0.75rem;
    color: white;
    font-size: 0.875rem;
    transition: all 0.3s;
}

.filter-select:focus {
    outline: none;
    border-color: #217e77;
    box-shadow: 0 0 0 3px rgba(33, 126, 119, 0.1);
}

.filter-select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Filtros de Categoria */
.category-filter {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(31, 41, 55, 0.5);
    border: 2px solid transparent;
    border-radius: 9999px;
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.category-filter:hover {
    background: rgba(33, 126, 119, 0.2);
    border-color: #217e77;
    transform: translateY(-2px);
}

.category-filter.active {
    background: linear-gradient(135deg, #217e77 0%, #1e3264 100%);
    border-color: #217e77;
    box-shadow: 0 4px 15px rgba(33, 126, 119, 0.4);
}

/* Card de Profissional */
.professional-card {
    background: rgba(31, 41, 55, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 1.5rem;
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid rgba(75, 85, 99, 0.3);
}

.professional-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(33, 126, 119, 0.3);
    border-color: #217e77;
}

.professional-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.badge-category {
    background: rgba(33, 126, 119, 0.2);
    color: #217e77;
    border: 1px solid rgba(33, 126, 119, 0.3);
}

.badge-location {
    background: rgba(30, 50, 100, 0.2);
    color: #7dd3fc;
    border: 1px solid rgba(30, 50, 100, 0.3);
}

.badge-secondary {
    background: rgba(139, 92, 246, 0.2);
    color: #c084fc;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

/* Rating */
.rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Botões */
.btn-primary {
    background: linear-gradient(135deg, #217e77 0%, #1e3264 100%);
    transition: all 0.3s;
}

.btn-primary:hover {
    box-shadow: 0 4px 15px rgba(33, 126, 119, 0.5);
    transform: translateY(-2px);
}

/* Glassmorphism */
.glassmorphism {
    background: rgba(31, 41, 55, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(75, 85, 99, 0.3);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #217e77 0%, #1e3264 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Line Clamp */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Responsive */
@media (max-width: 768px) {
    .professional-card {
        margin-bottom: 1rem;
    }
    
    .category-filter {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
}


/*para perfil profissional*/

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}
.portfolio-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 1rem;
    cursor: pointer;
    transition: transform 0.3s;
}
.portfolio-item:hover {
    transform: scale(1.05);
}
.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.stars-rating {
    display: flex;
    gap: 0.25rem;
}
.star {
    font-size: 1.5rem;
    color: #d1d5db;
    cursor: pointer;
    transition: color 0.2s;
}
.star.active,
.star:hover {
    color: #fbbf24;
}
.swal-wide {
    width: 500px !important;
    padding: 2rem !important;
}
.swal2-html-container {
    margin: 0 !important;
    padding: 0 !important;
}