/* ============================================
   PLUMB R US — Custom Styles
   ============================================ */

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    min-height: 100vh;
}

/* ============================================
   GEOMETRIC BACKGROUND SHAPES
   ============================================ */
.geo-shape {
    position: fixed;
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
}

.shape-circle-1 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 166, 35, 0.08) 0%, transparent 70%);
    top: 10%;
    right: -100px;
    animation: floatSlow 20s ease-in-out infinite;
}

.shape-circle-2 {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(168, 32, 224, 0.1) 0%, transparent 70%);
    bottom: 20%;
    left: -50px;
    animation: floatSlow 15s ease-in-out infinite reverse;
}

.shape-square-1 {
    width: 120px;
    height: 120px;
    background: rgba(245, 166, 35, 0.05);
    border: 2px solid rgba(245, 166, 35, 0.1);
    top: 40%;
    left: 5%;
    transform: rotate(45deg);
    animation: floatSlow 18s ease-in-out infinite;
}

.shape-triangle-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(168, 32, 224, 0.06);
    top: 60%;
    right: 8%;
    animation: floatSlow 22s ease-in-out infinite reverse;
}

.shape-ring-1 {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 3px solid rgba(245, 166, 35, 0.08);
    top: 75%;
    left: 15%;
    animation: floatSlow 16s ease-in-out infinite;
}

@keyframes floatSlow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(2deg); }
    50% { transform: translateY(10px) rotate(-1deg); }
    75% { transform: translateY(-15px) rotate(1deg); }
}

/* ============================================
   HERO GEOMETRIC DECORATIONS
   ============================================ */
.geo-deco {
    position: absolute;
    pointer-events: none;
}

.deco-square-1 {
    width: 100px;
    height: 100px;
    background: rgba(245, 166, 35, 0.12);
    border: 2px solid rgba(245, 166, 35, 0.2);
    top: 18%;
    left: 8%;
    transform: rotate(25deg);
    animation: decoFloat1 12s ease-in-out infinite;
}

.deco-circle-1 {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 3px solid rgba(168, 32, 224, 0.2);
    top: 25%;
    right: 10%;
    animation: decoFloat2 14s ease-in-out infinite;
}

.deco-circle-2 {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(245, 166, 35, 0.08);
    bottom: 22%;
    right: 20%;
    animation: decoFloat3 10s ease-in-out infinite;
}

.deco-triangle-1 {
    width: 0;
    height: 0;
    border-left: 45px solid transparent;
    border-right: 45px solid transparent;
    border-bottom: 78px solid rgba(168, 32, 224, 0.1);
    bottom: 30%;
    left: 12%;
    animation: decoFloat1 16s ease-in-out infinite reverse;
}

.deco-dots {
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, rgba(245, 166, 35, 0.3) 1px, transparent 1px);
    background-size: 16px 16px;
    top: 65%;
    right: 8%;
    animation: decoFloat2 18s ease-in-out infinite;
}

@keyframes decoFloat1 {
    0%, 100% { transform: rotate(25deg) translateY(0); }
    50% { transform: rotate(25deg) translateY(-25px); }
}

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

@keyframes decoFloat3 {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-15px) scale(1.05); }
}

/* ============================================
   AMBER PATTERN (Why Us Section)
   ============================================ */
.geo-pattern-amber {
    background-image:
        radial-gradient(circle at 20% 20%, rgba(123, 45, 142, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(123, 45, 142, 0.06) 0%, transparent 50%);
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #F5A623;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Navbar background on scroll */
#navbar.scrolled {
    background: rgba(42, 6, 50, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(123, 45, 142, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* CTA Nav Button */
.btn-cta-nav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #F5A623;
    color: #2a0632;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 10px 20px;
    rounded-xl;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(245, 166, 35, 0.3);
}

.btn-cta-nav:hover {
    background: #fbbf24;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(245, 166, 35, 0.4);
}

/* Mobile Nav Links */
.mobile-nav-link {
    display: block;
    font-size: 1.1rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(123, 45, 142, 0.2);
}

.mobile-nav-link:last-of-type {
    border-bottom: none;
}

/* Mobile CTA */
.btn-cta-mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #F5A623;
    color: #2a0632;
    font-weight: 700;
    padding: 14px 24px;
    rounded-xl;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* ============================================
   HERO BUTTONS
   ============================================ */
.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    background: #F5A623;
    color: #2a0632;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    padding: 18px 36px;
    border-radius: 60px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(245, 166, 35, 0.35);
}

.btn-hero-primary:hover {
    background: #fbbf24;
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(245, 166, 35, 0.45);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: white;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 18px 36px;
    border-radius: 60px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
}

/* ============================================
   SERVICE CARDS
   ============================================ */
.service-card {
    perspective: 1000px;
}

.service-card:hover .service-card-inner {
    transform: translateY(-4px);
}

/* ============================================
   CTA BUTTONS
   ============================================ */
.btn-cta-large {
    display: inline-flex;
    align-items: center;
    background: #F5A623;
    color: #2a0632;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.15rem;
    padding: 18px 40px;
    border-radius: 60px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(245, 166, 35, 0.3);
}

.btn-cta-large:hover {
    background: #fbbf24;
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(245, 166, 35, 0.4);
}

.btn-cta-outline-large {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: white;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 18px 36px;
    border-radius: 60px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-cta-outline-large:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
}

/* ============================================
   CONTACT FORM
   ============================================ */
.btn-form-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #F5A623;
    color: #2a0632;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.05rem;
    padding: 16px 32px;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(245, 166, 35, 0.3);
    width: 100%;
}

.btn-form-submit:hover {
    background: #fbbf24;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(245, 166, 35, 0.4);
}

.btn-form-submit:active {
    transform: translateY(0);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ============================================
   MOBILE MENU
   ============================================ */
#mobileMenu {
    max-height: 0;
}

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

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 640px) {
    .deco-square-1 {
        width: 60px;
        height: 60px;
    }

    .deco-circle-1 {
        width: 100px;
        height: 100px;
    }

    .deco-circle-2 {
        display: none;
    }

    .deco-triangle-1 {
        border-left: 30px solid transparent;
        border-right: 30px solid transparent;
        border-bottom: 52px solid rgba(168, 32, 224, 0.1);
    }

    .deco-dots {
        width: 80px;
        height: 80px;
        background-size: 12px 12px;
    }
}

/* ============================================
   FOCUS STYLES
   ============================================ */
*:focus-visible {
    outline: 2px solid #F5A623;
    outline-offset: 2px;
}

/* ============================================
   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;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
