/* ============================================
   Dra. Geovana Brandão - Styles
   ============================================ */

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0a0a0a; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #c9a86c, #8e7a69); border-radius: 4px; }

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes pulseSlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    50% { box-shadow: 0 0 20px 10px rgba(34, 197, 94, 0); }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

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

.animate-pulse-slow {
    animation: pulseSlow 2s ease-in-out infinite;
}

/* Reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, #c9a86c 0%, #d4b87a 50%, #8e7a69 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero pattern */
.hero-pattern {
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(201, 168, 108, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(142, 122, 105, 0.1) 0%, transparent 50%);
}

/* Section divider */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 168, 108, 0.3), transparent);
}

/* Button primary */
.btn-primary {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #c9a86c 0%, #a88a4c 100%);
    transition: all 0.4s ease;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(201, 168, 108, 0.4);
}

/* Procedure card */
.procedure-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.procedure-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px -12px rgba(201, 168, 108, 0.25);
}

.procedure-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #c9a86c, #8e7a69);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.procedure-card:hover::before {
    transform: scaleX(1);
}

/* Testimonial card */
.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 120px;
    font-family: 'Cormorant Garamond', serif;
    color: rgba(201, 168, 108, 0.1);
    line-height: 1;
}

/* Team member */
.team-member:hover .team-overlay { opacity: 1; }
.team-member:hover .team-image { transform: scale(1.05); }

/* Video container */
.video-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(201, 168, 108, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.video-container:hover::before { opacity: 1; }

/* Mobile menu */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.active {
    transform: translateX(0);
}

/* Loading screen */
.loading-screen {
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Glass effect */
.glass {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Map container */
.map-container {
    position: relative;
}

.map-container::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(201, 168, 108, 0.3);
    pointer-events: none;
}

/* Smooth scroll */
html { scroll-behavior: smooth; }

/* Form styles */
.form-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(201, 168, 108, 0.2);
    padding: 1rem;
    color: white;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #c9a86c;
    background: rgba(255, 255, 255, 0.08);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* Footer link */
.footer-link {
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #c9a86c;
}

/* Modal styles */
.modal-content {
    transform: scale(0.95) translateY(20px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-content.modal-active {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* Prose styles for modal content */
#modal-content h4 {
    color: #c9a86c;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

#modal-content ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-top: 0.5rem;
}

#modal-content ul li {
    margin-bottom: 0.25rem;
}

#modal-content p {
    margin-bottom: 0.5rem;
}

#modal-content strong {
    color: #c9a86c;
}

/* Modal scrollbar */
#procedure-modal .overflow-y-auto::-webkit-scrollbar {
    width: 6px;
}

#procedure-modal .overflow-y-auto::-webkit-scrollbar-track {
    background: rgba(201, 168, 108, 0.1);
}

#procedure-modal .overflow-y-auto::-webkit-scrollbar-thumb {
    background: rgba(201, 168, 108, 0.5);
    border-radius: 3px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-pattern {
        background-image: 
            radial-gradient(circle at 50% 80%, rgba(201, 168, 108, 0.08) 0%, transparent 50%);
    }
    
    #procedure-modal .modal-content {
        max-height: 95vh;
    }
}
