/* ============================================
   ProZone Appliance Services — Custom Styles
   ============================================ */

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

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

body {
    margin: 0;
    font-family: 'Inter', system-ui, sans-serif;
    line-height: 1.6;
    color: #111827;
    background-color: #ffffff;
}

/* --- Geometric Background Shapes --- */
.geo-shape {
    position: fixed;
    pointer-events: none;
    z-index: 0;
}

.geo-circle-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(161, 32, 54, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    top: 15%;
    right: -10%;
}

.geo-circle-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 144, 112, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    bottom: 20%;
    left: -5%;
}

.geo-square-1 {
    width: 120px;
    height: 120px;
    background: rgba(161, 32, 54, 0.03);
    border: 2px solid rgba(161, 32, 54, 0.06);
    border-radius: 20px;
    top: 40%;
    left: 5%;
    transform: rotate(45deg);
}

.geo-triangle {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 100px solid rgba(255, 144, 112, 0.05);
    top: 60%;
    right: 8%;
}

.geo-dots {
    width: 80px;
    height: 80px;
    background-image: radial-gradient(circle, rgba(161, 32, 54, 0.1) 2px, transparent 2px);
    background-size: 12px 12px;
    top: 25%;
    left: 15%;
}

/* --- Navigation --- */
.nav-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.nav-fixed.scrolled {
    background-color: rgba(59, 10, 17, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.nav-link {
    position: relative;
}

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

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

/* --- Buttons --- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ff623e;
    color: #ffffff;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 12px 24px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(255, 98, 62, 0.35);
}

.btn-primary:hover {
    background: #f03e18;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 98, 62, 0.45);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 12px 24px;
    border-radius: 12px;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    backdrop-filter: blur(4px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    color: #a12036;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-cta-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #ffffff;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
}

.btn-cta-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
}

/* --- Hero Overlay --- */
.hero-overlay {
    background: linear-gradient(
        135deg,
        rgba(59, 10, 17, 0.88) 0%,
        rgba(109, 26, 44, 0.82) 40%,
        rgba(161, 32, 54, 0.72) 100%
    );
}

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

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #a12036, #ff623e);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

/* --- Brand Pills --- */
.brand-pill {
    transition: all 0.2s ease;
}

/* --- Input Fields --- */
.input-field {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    color: #111827;
    background: #ffffff;
    transition: all 0.2s ease;
    outline: none;
}

.input-field:hover {
    border-color: #d1d5db;
}

.input-field:focus {
    border-color: #a12036;
    box-shadow: 0 0 0 3px rgba(161, 32, 54, 0.1);
}

.input-field::placeholder {
    color: #9ca3af;
}

/* --- Mobile Menu --- */
#mobile-menu {
    transition: max-height 0.4s ease, padding 0.4s ease;
}

#mobile-menu.open {
    max-height: 500px;
}

.mobile-link {
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

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

/* --- Responsive --- */
@media (max-width: 767px) {
    .font-heading {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .service-card {
        padding: 1.5rem;
    }
}

/* --- Focus Visible --- */
:focus-visible {
    outline: 2px solid #a12036;
    outline-offset: 2px;
}

/* --- Selection --- */
::selection {
    background: rgba(161, 32, 54, 0.15);
    color: #6e1a2c;
}
