/* ============================================
   LEE HILL PEAT — Custom Styles
   ============================================ */

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

.geo-circle-1 {
    width: 500px;
    height: 500px;
    border: 2px solid rgba(20, 184, 166, 0.15);
    border-radius: 50%;
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.geo-circle-2 {
    width: 300px;
    height: 300px;
    background: rgba(20, 184, 166, 0.08);
    border-radius: 50%;
    bottom: 10%;
    left: 5%;
    animation: float 6s ease-in-out infinite reverse;
}

.geo-rect-1 {
    width: 120px;
    height: 120px;
    background: rgba(20, 184, 166, 0.12);
    top: 20%;
    left: 8%;
    transform: rotate(45deg);
    animation: spin 20s linear infinite;
}

.geo-triangle {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(20, 184, 166, 0.1);
    bottom: 20%;
    right: 15%;
    animation: float 7s ease-in-out infinite;
}

.geo-dots {
    width: 80px;
    height: 80px;
    background-image: radial-gradient(rgba(20, 184, 166, 0.3) 1.5px, transparent 1.5px);
    background-size: 12px 12px;
    top: 40%;
    right: 5%;
    animation: float 5s ease-in-out infinite reverse;
}

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

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

/* --- Navbar --- */
#navbar {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

#navbar.scrolled .nav-link {
    color: #475569;
}

#navbar.scrolled .font-serif {
    color: #0f172a;
}

#navbar.scrolled .text-slate-500 {
    color: #64748b;
}

/* --- Mobile Menu --- */
.menu-line {
    display: block;
}

#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);
}

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

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #0d9488, #2dd4bf);
    transition: width 0.5s ease;
}

.service-card:hover::after {
    width: 100%;
}

/* --- Process Steps --- */
.process-step {
    position: relative;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 48px;
    width: calc(100% - 48px);
    height: 2px;
    background: linear-gradient(90deg, rgba(20, 184, 166, 0.4), transparent);
    display: none;
}

@media (min-width: 1024px) {
    .process-step:not(:last-child)::before {
        display: block;
    }
}

/* --- Scroll Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    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; }
.reveal-delay-6 { transition-delay: 0.6s; }

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

/* --- Selection --- */
::selection {
    background: rgba(13, 148, 136, 0.2);
    color: #0f172a;
}

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

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

::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* --- Focus Styles --- */
:focus-visible {
    outline: 2px solid #0d9488;
    outline-offset: 2px;
}

/* --- Button Ripple --- */
button, a {
    -webkit-tap-highlight-color: transparent;
}
