/* ============================================
   Hilltop Trucking — Clean Minimalist Design
   Palette: Plum (#7B2CBF) + Amber (#D97706)
   ============================================ */

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

:root {
    --plum-50: #faf5ff;
    --plum-100: #f3e8ff;
    --plum-200: #e9d5ff;
    --plum-300: #d8b4fe;
    --plum-400: #c084fc;
    --plum-500: #a855f7;
    --plum-600: #7B2CBF;
    --plum-700: #6b21a8;
    --plum-800: #581c87;
    --plum-900: #3b0764;
    
    --amber-50: #fffbeb;
    --amber-100: #fef3c7;
    --amber-200: #fde68a;
    --amber-300: #fcd34d;
    --amber-400: #fbbf24;
    --amber-500: #D97706;
    --amber-600: #b45309;
    --amber-700: #92400e;
    
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
    
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--gray-800);
    background: #ffffff;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--plum-600);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--plum-700);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-weight: 400;
    line-height: 1.2;
    color: var(--gray-900);
}

.section-eyebrow {
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--plum-600);
    margin-bottom: var(--space-md);
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    color: var(--gray-900);
    margin-bottom: var(--space-lg);
}

.section-line {
    width: 60px;
    height: 1px;
    background: var(--amber-400);
    margin-bottom: var(--space-xl);
}

.section-sub {
    font-size: 1.05rem;
    color: var(--gray-500);
    max-width: 560px;
    line-height: 1.8;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--plum-600);
    color: #ffffff;
    border-color: var(--plum-600);
}

.btn-primary:hover {
    background: var(--plum-700);
    border-color: var(--plum-700);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(123, 44, 191, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--plum-600);
    border-color: var(--plum-600);
}

.btn-outline:hover {
    background: var(--plum-600);
    color: #ffffff;
}

.btn-outline-light {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
    background: #ffffff;
    color: var(--plum-600);
    border-color: #ffffff;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-200);
    transition: box-shadow var(--transition);
}

.nav.scrolled {
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    color: var(--gray-900);
}

.logo-mark {
    width: 32px;
    height: 32px;
    background: var(--plum-600);
    clip-path: polygon(50% 0%, 100% 40%, 80% 100%, 20% 100%, 0% 40%);
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    list-style: none;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--gray-600);
    letter-spacing: 0.01em;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--plum-600);
    transition: width var(--transition);
}

.nav-links a:hover {
    color: var(--plum-600);
}

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

.nav-cta {
    background: var(--plum-600) !important;
    color: #ffffff !important;
    padding: 0.6rem 1.25rem !important;
    border-radius: var(--radius-sm) !important;
    font-weight: 500 !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--plum-700) !important;
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
}

.nav-toggle span {
    width: 22px;
    height: 1.5px;
    background: var(--gray-700);
    transition: all var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 4px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -4px);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--gray-900);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('https://images.pexels.com/photos/35336025/pexels-photo-35336025.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center center / cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59, 7, 100, 0.88) 0%, rgba(123, 44, 191, 0.75) 50%, rgba(23, 23, 23, 0.85) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px var(--space-xl) 80px;
    width: 100%;
}

.hero-card {
    max-width: 680px;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: var(--space-3xl);
}

.hero-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--amber-300);
    margin-bottom: var(--space-lg);
    font-weight: 400;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 400;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: var(--space-xl);
}

.hero-sub {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: var(--space-2xl);
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.hero-actions .btn-primary {
    background: var(--amber-500);
    border-color: var(--amber-500);
    color: var(--gray-900);
    font-weight: 500;
}

.hero-actions .btn-primary:hover {
    background: var(--amber-400);
    border-color: var(--amber-400);
    box-shadow: 0 4px 20px rgba(217, 119, 6, 0.4);
}

.hero-actions .btn-outline {
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
}

.hero-actions .btn-outline:hover {
    background: #ffffff;
    color: var(--plum-600);
    border-color: #ffffff;
}

/* Floating Stat Cards */
.hero-stats {
    position: absolute;
    right: var(--space-xl);
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    z-index: 2;
}

.stat-card {
    background: rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-md);
    padding: var(--space-lg) var(--space-xl);
    min-width: 160px;
    transition: transform var(--transition);
}

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

.stat-card--1 { animation: float1 6s ease-in-out infinite; }
.stat-card--2 { animation: float2 7s ease-in-out infinite; }
.stat-card--3 { animation: float3 5.5s ease-in-out infinite; }
.stat-card--4 { animation: float4 6.5s ease-in-out infinite; }

@keyframes float1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(0, -8px); }
}
@keyframes float2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(0, 6px); }
}
@keyframes float3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(0, -10px); }
}
@keyframes float4 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(0, 7px); }
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--amber-300);
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.stat-label {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

/* --- Section Base --- */
.section {
    padding: var(--space-4xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-header .section-line {
    margin-left: auto;
    margin-right: auto;
}

/* --- Services Section --- */
.services {
    background: var(--gray-50);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.service-card {
    background: #ffffff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: var(--space-2xl);
    transition: all var(--transition);
}

.service-card:hover {
    border-color: var(--plum-200);
    box-shadow: 0 8px 32px rgba(123, 44, 191, 0.08);
    transform: translateY(-4px);
}

.service-icon {
    width: 48px;
    height: 48px;
    color: var(--plum-600);
    margin-bottom: var(--space-lg);
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--gray-900);
    margin-bottom: var(--space-md);
}

.service-desc {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.8;
}

/* --- About Section --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 6/7;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content .section-title {
    margin-bottom: var(--space-lg);
}

.about-text {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.9;
    margin-bottom: var(--space-lg);
}

.about-values {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--gray-200);
}

.value-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.value-dot {
    width: 6px;
    height: 6px;
    background: var(--amber-400);
    border-radius: 50%;
    flex-shrink: 0;
}

.value-label {
    font-size: 0.85rem;
    color: var(--gray-700);
    font-weight: 400;
}

/* --- Coverage Section --- */
.coverage {
    background: var(--gray-50);
}

.coverage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.coverage-card {
    background: #ffffff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    transition: all var(--transition);
}

.coverage-card:hover {
    border-color: var(--plum-200);
    box-shadow: 0 4px 20px rgba(123, 44, 191, 0.07);
}

.coverage-region {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--gray-900);
    margin-bottom: var(--space-sm);
}

.coverage-desc {
    font-size: 0.875rem;
    color: var(--gray-500);
    line-height: 1.7;
}

.coverage-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

/* --- CTA Section --- */
.cta {
    background: linear-gradient(135deg, var(--plum-800) 0%, var(--plum-600) 100%);
    padding: var(--space-4xl) 0;
}

.cta-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--space-3xl);
    align-items: center;
}

.cta-content .section-eyebrow {
    color: var(--amber-300);
}

.cta-headline {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 400;
    color: #ffffff;
    margin-bottom: var(--space-lg);
}

.cta-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    max-width: 480px;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    flex-shrink: 0;
}

.cta-actions .btn-primary {
    background: var(--amber-500);
    border-color: var(--amber-500);
    color: var(--gray-900);
    font-weight: 500;
    white-space: nowrap;
}

.cta-actions .btn-primary:hover {
    background: var(--amber-400);
    border-color: var(--amber-400);
    box-shadow: 0 4px 20px rgba(217, 119, 6, 0.4);
}

/* --- Contact Section --- */
.contact {
    background: #ffffff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
}

.contact-text {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: var(--space-2xl);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
}

.contact-icon {
    width: 40px;
    height: 40px;
    color: var(--plum-600);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 100%;
    height: 100%;
}

.contact-label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: var(--space-xs);
}

.contact-value {
    font-size: 0.95rem;
    color: var(--gray-700);
    line-height: 1.7;
}

.contact-link {
    font-size: 1rem;
    color: var(--plum-600);
    font-weight: 400;
}

.contact-link:hover {
    color: var(--plum-700);
}

/* Form */
.contact-form-wrap {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.form-group label {
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray-500);
    font-weight: 400;
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--gray-800);
    background: #ffffff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    transition: border-color var(--transition);
    outline: none;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--plum-400);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    display: none;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--plum-50);
    border: 1px solid var(--plum-200);
    border-radius: var(--radius-md);
    color: var(--plum-700);
    font-size: 0.9rem;
}

.form-success.show {
    display: flex;
}

.form-success svg {
    width: 20px;
    height: 20px;
    color: var(--plum-600);
    flex-shrink: 0;
}

/* --- Footer --- */
.footer {
    background: var(--gray-900);
    color: rgba(255, 255, 255, 0.6);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-brand .logo-text {
    color: #ffffff;
}

.footer-tagline {
    font-size: 0.875rem;
    line-height: 1.8;
    margin-top: var(--space-md);
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
    margin-bottom: var(--space-lg);
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-links a:hover {
    color: var(--amber-300);
}

.footer-contact p {
    font-size: 0.875rem;
    line-height: 1.8;
    margin-bottom: var(--space-sm);
}

.footer-contact .contact-link {
    color: var(--amber-400);
}

.footer-bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
}

/* --- Reveal Animations --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-stats {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        margin-top: var(--space-2xl);
        gap: var(--space-sm);
    }
    
    .stat-card {
        min-width: 140px;
    }
    
    .stat-card:hover {
        transform: none;
    }
    
    .stat-card--1, .stat-card--2, .stat-card--3, .stat-card--4 {
        animation: none;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .about-image {
        aspect-ratio: 16/9;
    }
    
    .coverage-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .cta-actions {
        flex-direction: row;
        justify-content: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: var(--space-xl);
        gap: var(--space-md);
        border-bottom: 1px solid var(--gray-200);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all var(--transition);
    }
    
    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-card {
        padding: var(--space-xl);
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .stat-card {
        width: 100%;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .coverage-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .cta-actions {
        flex-direction: column;
    }
    
    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
}
