/* Custom styles for Barlery website */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f5f0e8;
}
::-webkit-scrollbar-thumb {
    background: #9bbf94;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #71a368;
}

/* Hero animations */
.hero-content {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
}

.hero-image {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease 0.2s forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About section animations */
.about-images {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s ease;
}

.about-images.visible {
    opacity: 1;
    transform: translateX(0);
}

.about-content {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s ease;
}

.about-content.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Atmosphere section animations */
.atmosphere-content {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.atmosphere-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.atmosphere-images {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.2s;
}

.atmosphere-images.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Menu tabs */
.menu-tab {
    background: transparent;
    color: #4d8a45;
    border: none;
    cursor: pointer;
}

.menu-tab.active {
    background: #1a4d2e;
    color: #faf8f4;
    box-shadow: 0 4px 12px rgba(26, 77, 46, 0.3);
}

.menu-tab:not(.active):hover {
    background: #e8f0ea;
}

.menu-panel {
    animation: fadeIn 0.4s ease;
}

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

/* Navbar scroll effect */
.nav-scrolled {
    background: rgba(250, 248, 244, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 20px rgba(26, 77, 46, 0.08);
}

.nav-transparent {
    background: transparent !important;
    box-shadow: none !important;
}

/* Mobile menu */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* Button hover effects */
a, button {
    -webkit-tap-highlight-color: transparent;
}

/* Image hover zoom */
.rounded-2xl.overflow-hidden img,
.rounded-3xl.overflow-hidden img {
    transition: transform 0.6s ease;
}

.rounded-2xl.overflow-hidden:hover img,
.rounded-3xl.overflow-hidden:hover img {
    transform: scale(1.03);
}

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

/* Section reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

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