/* Custom Styles for Southern Sass */

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

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

::-webkit-scrollbar-track {
    background: #0a1a2e;
}

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

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

/* Navbar Styles */
#navbar {
    transition: all 0.5s ease;
}

#navbar.scrolled {
    background: rgba(10, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Mobile Menu Animation */
.menu-line {
    transition: all 0.3s ease;
}

#menuBtn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#menuBtn.active .menu-line:nth-child(2) {
    opacity: 0;
}

#menuBtn.active .menu-line:nth-child(3) {
    width: 24px;
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Links Animation */
.mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

#mobileMenu.open .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

#mobileMenu.open .mobile-link:nth-child(1) { transition-delay: 0.1s; }
#mobileMenu.open .mobile-link:nth-child(2) { transition-delay: 0.2s; }
#mobileMenu.open .mobile-link:nth-child(3) { transition-delay: 0.3s; }
#mobileMenu.open .mobile-link:nth-child(4) { transition-delay: 0.4s; }
#mobileMenu.open .mobile-link:nth-child(5) { transition-delay: 0.5s; }

/* Floating Animation */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(3deg); }
    50% { transform: translateY(-20px) rotate(3deg); }
}

@keyframes float-reverse {
    0%, 100% { transform: translateY(0px) rotate(-2deg); }
    50% { transform: translateY(-15px) rotate(-2deg); }
}

/* Apply floating animations to hero cards */
.hero-card-1 {
    animation: float 6s ease-in-out infinite;
}

.hero-card-2 {
    animation: float-reverse 5s ease-in-out infinite;
}

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

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

/* Image Hover Effects */
img {
    transition: transform 0.7s ease;
}

/* Geometric Decorations */
.geometric-shape {
    position: absolute;
    pointer-events: none;
}

/* Glow Effects */
.glow-gold {
    box-shadow: 0 0 40px rgba(212, 168, 67, 0.3);
}

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

/* Card Hover Lift */
.card-hover-lift {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.card-hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(212, 168, 67, 0.2);
}

/* Pulse Animation for Dots */
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

/* 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 Responsive Adjustments */
@media (max-width: 768px) {
    .hero-card-1,
    .hero-card-2,
    .hero-card-3 {
        animation: none;
    }
}

/* Loading State */
.loading {
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Stagger Animation Delays */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }

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

/* Selection Color */
::selection {
    background: #d4a843;
    color: #0a1a2e;
}
