@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;800;900&family=Cormorant+Garamond:wght@400;500;600;700&family=Poppins:wght@300;400;500;600&display=swap');

/* Custom backgrounds */
.bg-dark {
    background: linear-gradient(135deg, #1a1814 0%, #211d1a 100%);
}

.bg-dark-accent {
    background: linear-gradient(135deg, #211d1a 0%, #2a251f 100%);
}

.text-golden {
    color: #B8860B;
}

.hover-golden:hover {
    color: #B8860B;
}

.border-golden {
    border-color: #B8860B;
}

.bg-golden {
    background-color: #B8860B;
}

.bg-golden-gradient {
    background: linear-gradient(135deg, #B8860B 0%, #DAA520 100%);
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out forwards;
}

.animate-slide-in-right {
    animation: slideInRight 0.8s ease-out forwards;
}

.animate-scale {
    animation: scale 0.8s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

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

@keyframes slideInRight {
    from {
        transform: translateX(50px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes scale {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Scrolling animation */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.scroll-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
}

.scroll-content {
    display: inline-flex;
    animation: scroll 20s linear infinite;
    gap: 12px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.brand-group {
    display: inline-flex;
    gap: 12px;
}

/* Hover effects */
.hover-lift {
    transition: transform 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
}

.hover-glow:hover {
    box-shadow: 0 0 20px rgba(184, 134, 11, 0.3);
}

/* Custom font classes */
.font-cinzel {
    font-family: 'Cinzel', serif;
}

.font-cormorant {
    font-family: 'Cormorant Garamond', serif;
}

/* Custom Styles */
.nav-link {
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: #B8860B;
    transition: all 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
    left: 0;
}

.hero-gradient {
    background: linear-gradient(135deg, rgba(26, 24, 20, 0.95) 0%, rgba(33, 29, 26, 0.95) 100%);
}

.card-hover {
    transition: all 0.3s ease-in-out;
    will-change: transform;
    position: relative;
    z-index: 1;
}

.card-hover:hover {
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    transform: translateY(-5px);
    z-index: 10;
}

/* Gradient overlays for smooth edges */
.scroll-overlay-left {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100px;
    background: linear-gradient(to right, #1a1814 0%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}

.scroll-overlay-right {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 100px;
    background: linear-gradient(to left, #1a1814 0%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}

.scroll-content:hover {
    animation-play-state: paused;
}

/* Brand logo styling */
.brand-logo {
    filter: brightness(0.8) contrast(1.2) sepia(0.8) hue-rotate(5deg);
    transition: all 0.3s ease-in-out;
    will-change: transform, opacity;
}

.brand-logo.dark-golden {
    filter: brightness(0.6) sepia(1) saturate(0.8) hue-rotate(355deg);
}

.group:hover .brand-logo {
    filter: brightness(0.9) sepia(1) saturate(1.2) hue-rotate(355deg);
}

/* Mobile Menu Styles */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 40;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100%;
    background: linear-gradient(135deg, #1a1814 0%, #211d1a 100%);
    padding: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 50;
    overflow-y: auto;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    border-left: 1px solid rgba(184, 134, 11, 0.2);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(184, 134, 11, 0.2);
}

.mobile-menu-close {
    background: rgba(184, 134, 11, 0.1);
    border: 1px solid rgba(184, 134, 11, 0.3);
    color: #B8860B;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-close:hover {
    background: rgba(184, 134, 11, 0.2);
    transform: rotate(90deg);
    box-shadow: 0 0 15px rgba(184, 134, 11, 0.3);
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-menu-link {
    color: #fff;
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-size: 1.125rem;
    font-weight: 500;
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    background: rgba(184, 134, 11, 0.05);
    border: 1px solid rgba(184, 134, 11, 0.1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.mobile-menu-link:hover {
    background: rgba(184, 134, 11, 0.15);
    color: #B8860B;
    border-color: rgba(184, 134, 11, 0.3);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(184, 134, 11, 0.1);
}

.mobile-menu-link.active {
    background: linear-gradient(135deg, #B8860B 0%, #DAA520 100%);
    color: #1a1814;
    border-color: #B8860B;
    box-shadow: 0 4px 20px rgba(184, 134, 11, 0.3);
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.hide-scrollbar {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

/* Custom Scrollbar Styling */
/* Webkit (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: linear-gradient(135deg, rgba(26, 24, 20, 0.95) 0%, rgba(33, 29, 26, 0.95) 100%);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #B8860B 0%, #DAA520 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #DAA520 0%, #B8860B 100%);
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #B8860B rgba(26, 24, 20, 0.95);
}

/* Mobile and touch devices */
@supports (-webkit-overflow-scrolling: touch) {
    ::-webkit-scrollbar {
        width: 4px;
        height: 4px;
    }

    ::-webkit-scrollbar-thumb {
        background: #B8860B;
        border-radius: 2px;
    }

    ::-webkit-scrollbar-track {
        background: rgba(26, 24, 20, 0.95);
    }
}

/* For horizontal scrolling containers on mobile */
.scroll-container {
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #B8860B rgba(26, 24, 20, 0.95);
}