/* =============================================
   Kilamanjaro Enterprises — Custom Styles
   ============================================= */

/* Base */
html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* =============================================
   Geometric Hero Shapes
   ============================================= */
.geo-shape {
    position: absolute;
    pointer-events: none;
}

.shape-circle-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(200, 90, 60, 0.08) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    border-radius: 50%;
    animation: float-slow 8s ease-in-out infinite;
}

.shape-circle-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(232, 200, 120, 0.15) 0%, transparent 70%);
    bottom: 10%;
    left: -50px;
    border-radius: 50%;
    animation: float-slow 10s ease-in-out infinite reverse;
}

.shape-circle-3 {
    width: 150px;
    height: 150px;
    background: rgba(200, 90, 60, 0.06);
    top: 40%;
    left: 30%;
    border-radius: 50%;
    animation: float-slow 6s ease-in-out infinite;
}

.shape-square-1 {
    width: 80px;
    height: 80px;
    background: rgba(232, 200, 120, 0.2);
    top: 25%;
    left: 8%;
    border-radius: 16px;
    transform: rotate(45deg);
    animation: spin-slow 20s linear infinite;
}

.shape-triangle-1 {
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 70px solid rgba(200, 90, 60, 0.1);
    top: 60%;
    right: 5%;
    animation: float-slow 7s ease-in-out infinite;
}

.shape-dots {
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, rgba(200, 90, 60, 0.15) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    bottom: 20%;
    right: 15%;
    border-radius: 20px;
    transform: rotate(15deg);
}

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

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

@keyframes spin-slow {
    from { transform: rotate(45deg); }
    to { transform: rotate(405deg); }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

/* =============================================
   Scroll Reveal (progressive enhancement)
   ============================================= */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal.revealed {
        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; }
}

/* Always visible fallback for reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* =============================================
   Navbar
   ============================================= */
#navbar {
    background: rgba(250, 246, 241, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

#navbar.scrolled {
    background: rgba(250, 246, 241, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* =============================================
   Service Cards
   ============================================= */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* =============================================
   Process Steps
   ============================================= */
.process-step {
    transition: transform 0.3s ease;
}

/* =============================================
   Testimonial Cards
   ============================================= */
.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* =============================================
   Back to Top
   ============================================= */
#back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

/* =============================================
   Mobile Menu
   ============================================= */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-link {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-link:last-child {
    border-bottom: none;
}

/* =============================================
   Selection
   ============================================= */
::selection {
    background: rgba(200, 90, 60, 0.2);
    color: #1a1410;
}
