/* Custom Styles for D&D The Place TO-Be */

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

/* Custom Font Families */
.font-syne {
    font-family: 'Syne', sans-serif;
}

.font-space {
    font-family: 'Space Grotesk', sans-serif;
}

/* Custom Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

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

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

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

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

/* Selection Color */
::selection {
    background: #C45B3B;
    color: white;
}

/* Focus Styles */
a:focus-visible,
button:focus-visible {
    outline: 3px solid #C45B3B;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Mobile Menu Transitions */
#mobileMenu {
    transition: transform 0.3s ease, opacity 0.3s ease, pointer-events 0.3s ease;
}

#mobileMenu.open {
    transform: translateY(0) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

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

/* Geometric Shape Animations */
@keyframes rotate-slow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.rotate-slow {
    animation: rotate-slow 20s linear infinite;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #C45B3B 0%, #D4A574 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glass Effect */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Shadow Utilities */
.shadow-soft {
    box-shadow: 0 10px 40px rgba(44, 24, 16, 0.1);
}

.shadow-hard {
    box-shadow: 8px 8px 0 rgba(44, 24, 16, 0.2);
}

/* Button Hover Effects */
.btn-primary {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

/* Card Hover Effects */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(44, 24, 16, 0.15);
}

/* Responsive Typography */
@media (max-width: 768px) {
    .font-syne {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
    }
}

/* Print Styles */
@media print {
    nav,
    .no-print {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
