/* Custom Styles */

* {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Header shadow on scroll */
#header.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Navigation active state */
.nav-link.active {
    color: #2d3e50;
    font-weight: 600;
}

/* Language button active state */
.lang-btn.active {
    color: #2d3e50;
    font-weight: 600;
}

/* Fade-in animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Section title animation */
.section-title {
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #c9a961;
}

/* Smooth transitions */
a, button {
    transition: all 0.3s ease;
}

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

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

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}

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

/* Mobile menu transition */
#mobile-menu {
    transition: max-height 0.3s ease-in-out;
}

/* Responsive text sizing */
@media (max-width: 640px) {
    html {
        font-size: 14px;
    }
}

/* Print styles */
@media print {
    #header,
    #mobile-menu,
    footer {
        display: none;
    }

    section {
        page-break-inside: avoid;
    }
}
