/* Custom styles for Lighthouse Food Mart Auto */

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

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

.shape-circle-1 {
    width: 500px;
    height: 500px;
    border-radius: 50%;
    border: 3px solid white;
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.shape-circle-2 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: white;
    bottom: 10%;
    left: -50px;
    animation: float 6s ease-in-out infinite reverse;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 173px solid white;
    top: 30%;
    left: 5%;
    opacity: 0.06;
    animation: spin 20s linear infinite;
}

.shape-square {
    width: 120px;
    height: 120px;
    background: white;
    top: 20%;
    right: 10%;
    transform: rotate(45deg);
    animation: float 7s ease-in-out infinite;
}

.shape-diamond {
    width: 80px;
    height: 80px;
    background: white;
    bottom: 25%;
    right: 20%;
    transform: rotate(45deg);
    opacity: 0.05;
    animation: spin 15s linear infinite reverse;
}

.shape-arc {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 4px solid white;
    border-left-color: transparent;
    border-bottom-color: transparent;
    top: 60%;
    left: 15%;
    opacity: 0.07;
    animation: spin 12s linear infinite;
}

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

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

/* Service cards */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1a6b3d, #5cb87e);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

/* Navbar scroll effect */
#navbar.scrolled {
    background: rgba(254, 253, 248, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

/* Intersection Observer animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }
.delay-600 { transition-delay: 0.6s; }

/* Mobile menu transition */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobile-menu.open {
    max-height: 400px;
}

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

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

::-webkit-scrollbar-thumb {
    background: #8ecfa5;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #5cb87e;
}

/* Selection color */
::selection {
    background: #8ecfa5;
    color: #0b2f1a;
}
