/* Custom Styles for Psychoanalysis Clinic */

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

/* Hero geometric shapes */
.hero-shape {
    position: absolute;
    opacity: 0.15;
    animation: float 8s ease-in-out infinite;
}

.shape-circle-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(253, 249, 240, 0.8), transparent);
    border-radius: 50%;
    top: 10%;
    right: 5%;
    animation-delay: 0s;
}

.shape-circle-2 {
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(239, 206, 118, 0.6), transparent);
    border-radius: 50%;
    bottom: 20%;
    left: 8%;
    animation-delay: -2s;
}

.shape-square-1 {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    top: 25%;
    left: 10%;
    transform: rotate(45deg);
    animation-delay: -4s;
}

.shape-triangle-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(239, 206, 118, 0.3);
    top: 60%;
    right: 12%;
    animation-delay: -3s;
}

.shape-ring-1 {
    width: 200px;
    height: 200px;
    border: 3px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    bottom: 15%;
    right: 20%;
    animation-delay: -1s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(2deg);
    }
    66% {
        transform: translateY(10px) rotate(-1deg);
    }
}

/* Service cards */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #e85d26, #f4e2ab);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

/* Approach cards */
.approach-card {
    position: relative;
}

.approach-card:hover {
    transform: translateY(-8px);
}

/* Testimonial cards */
.testimonial-card {
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
}

/* Scroll reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .hero-shape {
        animation: none;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Navbar styles */
.nav-scrolled {
    background: rgba(254, 253, 251, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

/* Form focus styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #fdf9f0;
}

::-webkit-scrollbar-thumb {
    background: #e85d26;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #d94415;
}

/* Selection color */
::selection {
    background: #f4e2ab;
    color: #762311;
}
