/* Custom styles for Odyssey Landscape */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #050b17;
}
::-webkit-scrollbar-thumb {
    background: #1a955c;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #2bb878;
}

/* CTA Button */
.cta-button {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    background: linear-gradient(135deg, #2bb878 0%, #1a955c 100%);
    color: #050b17;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(43, 184, 120, 0.3);
    border: none;
    cursor: pointer;
}
.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(43, 184, 120, 0.4);
    background: linear-gradient(135deg, #4fd39a 0%, #2bb878 100%);
}

/* Secondary button */
.btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    background: transparent;
    color: #f2fdf9;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(79, 211, 154, 0.3);
    cursor: pointer;
}
.btn-secondary:hover {
    background: rgba(79, 211, 154, 0.1);
    border-color: rgba(79, 211, 154, 0.6);
    transform: translateY(-2px);
}

/* Service cards */
.service-card {
    transform: translateY(0);
    transition: all 0.4s ease;
}
.service-card:hover {
    transform: translateY(-4px);
}

/* Testimonial cards */
.testimonial-card {
    transform: translateY(0);
    transition: all 0.4s ease;
}
.testimonial-card:hover {
    transform: translateY(-4px);
}

/* Navigation */
#navbar {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
#navbar.scrolled {
    background: rgba(5, 11, 23, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Mobile menu */
.mobile-nav-link {
    position: relative;
}
.mobile-nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #4fd39a;
    transition: width 0.3s ease;
}
.mobile-nav-link:hover::after {
    width: 100%;
}
.mobile-nav-link:hover {
    color: #4fd39a !important;
}

/* Menu animation */
.menu-line {
    display: block;
}
#mobileMenuBtn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
#mobileMenuBtn.active .menu-line:nth-child(2) {
    opacity: 0;
}
#mobileMenuBtn.active .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 24px !important;
}

/* Fade in animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.stagger-children > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.stagger-children.visible > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.6s; }
.stagger-children.visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* Selection color */
::selection {
    background: rgba(43, 184, 120, 0.3);
    color: #f2fdf9;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .cta-button, .btn-secondary {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}
