/* ============================================================
   Citywide Moving Systems — Custom CSS
   Palette: Navy #1B2A4A, Copper #C17832, Gold #E8C567
   Fonts: Merriweather (headings), Inter (body)
   ============================================================ */

html {
    scroll-behavior: smooth;
}

::selection {
    background: #C17832;
    color: white;
}

/* Header glassmorphism gradient */
#main-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Header shrink on scroll */
#main-header.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}
#main-header.scrolled nav {
    height: 4rem;
}
#main-header.scrolled img {
    height: 2.75rem;
}

/* Hero section with video background */
.hero-video-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.hero-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Page hero gradient */
.page-hero {
    background: linear-gradient(135deg, #1B2A4A 0%, #243656 50%, #1B2A4A 100%);
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(193, 120, 50, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* Service cards */
.service-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px -15px rgba(27, 42, 74, 0.2);
}

/* Testimonial cards */
.testimonial-card {
    position: relative;
}
.testimonial-card::before {
    content: '\201C';
    font-family: 'Merriweather', serif;
    font-size: 5rem;
    line-height: 1;
    color: rgba(193, 120, 50, 0.15);
    position: absolute;
    top: -0.5rem;
    left: 1rem;
}

/* Fade in on scroll */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger reveal for grids */
.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; }

/* Floating CTA orb (phone icon) */
.cta-orb {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: #C17832;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 8px 30px rgba(193, 120, 50, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 40;
    text-decoration: none;
}
.cta-orb:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(193, 120, 50, 0.5);
    background: #A85A2A;
}

/* Warm divider line */
.warm-divider {
    height: 3px;
    background: linear-gradient(90deg, transparent, #C17832, #E8C567, #C17832, transparent);
}

/* Stats counter */
.stat-number {
    background: linear-gradient(135deg, #C17832, #E8C567);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Form inputs */
.form-input {
    border: 2px solid #e5e1dc;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    width: 100%;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: white;
}
.form-input:focus {
    outline: none;
    border-color: #C17832;
    box-shadow: 0 0 0 3px rgba(193, 120, 50, 0.15);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FAF7F2;
}
::-webkit-scrollbar-thumb {
    background: #1B2A4A;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #C17832;
}

/* Responsive */
@media (max-width: 768px) {
    .font-display {
        font-size: 0.85em;
    }
}
