
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Serif 4', serif;
    line-height: 1.6;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display SC', serif;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0.03em;
}
/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #2C3E50;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1A2B3C;
}
/* Video styles */
video {
    display: block;
    background: #000;
}

/* Animation classes */
.animate-float {
    animation: float 6s ease-in-out infinite;
}

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

/* Pulse animation */
.animate-pulse-slow {
    animation: pulse 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Custom underline */
.custom-underline {
    position: relative;
    display: inline-block;
}
.custom-underline::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #2C3E50, #E74C3C);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}
.custom-underline:hover::after {
    transform: scaleX(1);
}

/* Mobile portrait image sizing - 60-70% of screen width */
@media (max-width: 768px) {
    .portrait-image {
        width: 65% !important;
        margin: 0 auto;
        display: block;
    }
}