/* Custom styles for Ewa Gawlik Dermatology */

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

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

::-webkit-scrollbar-track {
    background: #04120C;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #155035, #2D8F62);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #2D8F62, #4DB882);
}

/* Gold gradient text */
.gold-gradient-text {
    background: linear-gradient(135deg, #F5F0E0 0%, #D4A853 50%, #B8860B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card hover effects */
.card-hover {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 30px rgba(45, 143, 98, 0.2);
}

/* Button styles */
.btn-gold {
    background: linear-gradient(135deg, #D4A853 0%, #B8860B 100%);
    color: #04120C;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 168, 83, 0.3);
}

.btn-outline-gold {
    border: 2px solid #D4A853;
    color: #D4A853;
    transition: all 0.3s ease;
}

.btn-outline-gold:hover {
    background: #D4A853;
    color: #04120C;
}

/* Navigation scroll effect */
.nav-scrolled {
    background: rgba(4, 18, 12, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

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

/* Reduced motion preference */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
}

/* Responsive typography */
@media (max-width: 640px) {
    .font-serif {
        font-size: 2rem;
    }
}

@media (min-width: 641px) and (max-width: 768px) {
    .font-serif {
        font-size: 3rem;
    }
}

@media (min-width: 769px) {
    .font-serif {
        font-size: 4rem;
    }
}

/* Focus styles for accessibility */
button:focus,
a:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #D4A853;
    outline-offset: 2px;
}

/* Image optimization */
img {
    max-width: 100%;
    height: auto;
}

/* Print styles */
@media print {
    .no-print {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
