/* =============================================
   A.C.H. Electric — Custom Styles
   ============================================= */

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

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

body {
    background-color: #0a1628;
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

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

.geo-circle--1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 160, 23, 0.06) 0%, transparent 70%);
    top: -100px;
    right: -200px;
}

.geo-circle--2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 160, 23, 0.04) 0%, transparent 70%);
    bottom: 10%;
    left: -100px;
}

.geo-diamond {
    position: absolute;
    width: 120px;
    height: 120px;
    background: rgba(212, 160, 23, 0.05);
    transform: rotate(45deg);
    pointer-events: none;
}

.geo-diamond--1 {
    top: 30%;
    left: 5%;
}

.geo-triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(212, 160, 23, 0.04);
    pointer-events: none;
}

.geo-triangle--1 {
    top: 60%;
    right: 8%;
    transform: rotate(-15deg);
}

/* =============================================
   Buttons
   ============================================= */
.btn-gold {
    background: linear-gradient(135deg, #d4a017 0%, #e8b828 100%);
    color: #0a1628;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(212, 160, 23, 0.25);
}

.btn-gold:hover {
    box-shadow: 0 8px 32px rgba(212, 160, 23, 0.4);
    transform: translateY(-2px);
}

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

.btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.05);
}

.btn-navy {
    background: #0a1628;
    color: #ffffff;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(10, 22, 40, 0.3);
}

.btn-navy:hover {
    box-shadow: 0 8px 32px rgba(10, 22, 40, 0.5);
    transform: translateY(-2px);
}

/* =============================================
   Badges
   ============================================= */
.badge-gold {
    display: inline-block;
    background: rgba(212, 160, 23, 0.12);
    border: 1px solid rgba(212, 160, 23, 0.3);
    color: #e8b828;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
    border-radius: 100px;
}

/* =============================================
   Navigation
   ============================================= */
.nav-header {
    background: rgba(10, 22, 40, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-header.scrolled {
    background: rgba(10, 22, 40, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-link {
    position: relative;
}

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

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

.nav-link:hover {
    color: #e8b828 !important;
}

/* Mobile menu */
.mobile-menu-btn {
    z-index: 60;
}

.mobile-menu-btn.active #hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active #hamburger span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active #hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 1.5rem;
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-nav-link {
    position: relative;
}

/* =============================================
   Form Inputs
   ============================================= */
.input-field {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 0.875rem 1rem;
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    outline: none;
    width: 100%;
}

.input-field::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.input-field:focus {
    border-color: rgba(212, 160, 23, 0.5);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.1);
}

.input-field option {
    background: #0f2140;
    color: #ffffff;
}

textarea.input-field {
    resize: none;
}

/* =============================================
   Service Cards
   ============================================= */
.service-card {
    opacity: 1;
}

/* =============================================
   Reason Cards
   ============================================= */
.reason-card {
    opacity: 1;
}

/* =============================================
   Scroll Reveal Animations
   (progressive enhancement — content visible without JS)
   ============================================= */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .reveal[data-reveal] {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .reveal-left[data-reveal] {
        opacity: 0;
        transform: translateX(-30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .reveal-right[data-reveal] {
        opacity: 0;
        transform: translateX(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
}

/* Reduced motion — disable animations */
@media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal[data-reveal],
    .reveal-left,
    .reveal-left[data-reveal],
    .reveal-right,
    .reveal-right[data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }

    html {
        scroll-behavior: auto;
    }
}

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 768px) {
    .geo-circle--1,
    .geo-circle--2,
    .geo-diamond,
    .geo-triangle {
        display: none;
    }
}
