/* Custom Styles for Kendal Jackson Vineyards */

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

/* Geometric Background Shapes */
.geo-shape {
    position: absolute;
    opacity: 0.1;
    pointer-events: none;
}

.geo-circle-1 {
    top: 10%;
    right: 5%;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.geo-circle-2 {
    bottom: 20%;
    left: 5%;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #102a43, #243b53);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

.geo-triangle {
    top: 50%;
    right: 10%;
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 173px solid #fbbf24;
    opacity: 0.05;
    animation: rotate 20s linear infinite;
}

.geo-square {
    bottom: 10%;
    left: 10%;
    width: 150px;
    height: 150px;
    background: #102a43;
    transform: rotate(45deg);
    animation: rotate 15s linear infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

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

/* Navigation */
.nav-link {
    position: relative;
}

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

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

/* Navbar Scroll Effect */
nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Button Hover Effects */
button, a {
    transition: all 0.3s ease;
}

/* Form Focus States */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

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

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

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .geo-shape,
    .animate-bounce {
        animation: none;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

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

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

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

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

/* Selection Color */
::selection {
    background: #fbbf24;
    color: #102a43;
}
