/* Custom styles for Lazarus IT Services */

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

/* Geometric Background Shapes */
.geo-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.geo-square {
    position: absolute;
    pointer-events: none;
    border-radius: 20px;
}

.geo-triangle {
    position: absolute;
    width: 0 !important;
    height: 0 !important;
    pointer-events: none;
}

.geo-line {
    position: absolute;
    pointer-events: none;
}

/* Hero geometric shapes */
.geo-circle-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #e84f15 0%, #d9400e 100%);
    top: -100px;
    right: -100px;
    opacity: 0.1;
    animation: float 8s ease-in-out infinite;
}

.geo-circle-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #f5e195 0%, #e4b030 100%);
    bottom: 10%;
    left: 5%;
    opacity: 0.15;
    animation: float 6s ease-in-out infinite reverse;
}

.geo-square-1 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #c88d6e 0%, #ba724f 100%);
    top: 30%;
    right: 35%;
    opacity: 0.08;
    transform: rotate(45deg);
    animation: rotate 20s linear infinite;
}

.geo-triangle-1 {
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 173px solid #e84f15;
    opacity: 0.06;
    top: 20%;
    left: 10%;
    animation: float 10s ease-in-out infinite;
}

.geo-line-1 {
    width: 300px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #e84f15, transparent);
    top: 50%;
    right: -50px;
    opacity: 0.2;
    transform: rotate(-15deg);
}

.geo-line-2 {
    width: 200px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #f5e195, transparent);
    bottom: 20%;
    left: -50px;
    opacity: 0.2;
    transform: rotate(10deg);
}

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

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

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

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e84f15 0%, #d9400e 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card > * {
    position: relative;
    z-index: 1;
}

/* Navbar scroll effect */
#navbar {
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

#navbar.scrolled {
    background: rgba(254, 253, 248, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Mobile menu */
.mobile-link {
    transition: color 0.3s ease, transform 0.3s ease;
}

.mobile-link:hover {
    color: #e84f15;
    transform: scale(1.05);
}

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

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

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

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

/* Selection color */
::selection {
    background: #e84f15;
    color: white;
}

/* Fade in animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Stagger children animation */
.stagger-children > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s 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);
}

/* Button ripple effect */
button, a {
    position: relative;
    overflow: hidden;
}

button::after, a::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

button:active::after, a:active::after {
    width: 300px;
    height: 300px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .geo-circle-1 {
        width: 200px;
        height: 200px;
    }
    
    .geo-circle-2 {
        width: 100px;
        height: 100px;
    }
    
    .geo-square-1 {
        width: 75px;
        height: 75px;
    }
    
    .geo-triangle-1 {
        border-left: 50px solid transparent;
        border-right: 50px solid transparent;
        border-bottom: 86px solid #e84f15;
    }
}
