/* ===== Custom Styles for Bixler's Stumps & Trees ===== */

/* Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    overflow-x: hidden;
}

/* ===== Navigation ===== */
.nav {
    background: rgba(3, 10, 7, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: all duration-500;
}

.nav.scrolled {
    background: rgba(3, 10, 7, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

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

/* ===== Buttons ===== */
.btn-gold {
    background: linear-gradient(135deg, #f5c842 0%, #d4a017 50%, #c49000 100%);
    color: #06120c;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-gold::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #ffe066 0%, #f5c842 50%, #d4a017 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-gold:hover::before {
    opacity: 1;
}

.btn-gold span,
.btn-gold svg,
.btn-gold * {
    position: relative;
    z-index: 1;
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.btn-outline:hover {
    border-color: rgba(16, 185, 129, 0.5);
    background: rgba(16, 185, 129, 0.1);
}

/* ===== Hero ===== */
.hero {
    position: relative;
}

/* Floating Cards */
.floating-card {
    animation: float 6s ease-in-out infinite;
}

.card-stagger-1 {
    animation-delay: 0s;
}

.card-stagger-2 {
    animation-delay: -1.5s;
}

.card-stagger-3 {
    animation-delay: -3s;
}

.card-stagger-4 {
    animation-delay: -4.5s;
}

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

/* Scroll line animation */
@keyframes scrollLine {
    0% {
        top: -16px;
        opacity: 1;
    }
    100% {
        top: calc(100% + 16px);
        opacity: 0;
    }
}

.scroll-line {
    animation: scrollLine 1.5s ease-in-out infinite;
}

/* ===== Services ===== */
.service-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* ===== Gallery ===== */
.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(3, 10, 7, 0.5) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* ===== Scroll Animations ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ===== Selection ===== */
::selection {
    background: rgba(16, 185, 129, 0.3);
    color: #fefdf8;
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #06120c;
}

::-webkit-scrollbar-thumb {
    background: rgba(16, 185, 129, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(16, 185, 129, 0.5);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .floating-card {
        display: none;
    }
    
    .hero {
        min-height: 100vh;
        min-height: 100dvh;
    }
}
