/* Custom styles for Casino Greenhouses */

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

/* Base styles */
body {
    font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
    overflow-x: hidden;
}

/* Geometric shape animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.geo-circle {
    animation: float 6s ease-in-out infinite;
}

.geo-circle:nth-child(2) {
    animation-delay: -2s;
    animation-duration: 8s;
}

.geo-circle:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 7s;
}

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

/* Hero section asymmetric layout */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

@media (max-width: 1023px) {
    .hero-grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }
}

/* Magazine-style accent line */
.magazine-accent {
    position: relative;
}

.magazine-accent::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #e04528, #f29a85);
}

/* Card hover effects */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Geometric pattern overlay */
.geo-pattern {
    background-image: 
        linear-gradient(45deg, rgba(224, 69, 40, 0.05) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(224, 69, 40, 0.05) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(224, 69, 40, 0.05) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(224, 69, 40, 0.05) 75%);
    background-size: 40px 40px;
    background-position: 0 0, 0 20px, 20px -20px, -20px 0px;
}

/* Scroll reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Mobile menu */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
}

.mobile-menu.open {
    transform: translateX(0);
}

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

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

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

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

/* Button hover effects */
button:hover,
a:hover {
    transition: all 0.3s ease;
}

/* Form focus states */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(224, 69, 40, 0.2);
}

/* Image hover zoom */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

/* Reduced motion preference */
@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;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
}
