/* ========================================================================= */
/* U Call We Haul - Modern Premium Theme */
/* ========================================================================= */

:root {
    /* Color Palette */
    --primary: #0f172a;        /* Slate 900 - Deep, professional dark */
    --primary-light: #1e293b;  /* Slate 800 */
    --accent: #E60000;         /* Vibrant Brand Red - CTAs and high visibility */
    --accent-hover: #CC0000;
    --green: #10B981;          /* Emerald Green - Success, eco, secondary accent */
    
    --bg-main: #f8fafc;        /* Slate 50 - Very light grey/blue */
    --bg-card: #ffffff;
    --bg-dark: #0f172a;
    
    --text-main: #334155;      /* Slate 700 */
    --text-muted: #64748b;     /* Slate 500 */
    --text-light: #f1f5f9;     /* Slate 100 */
    --text-white: #ffffff;
    
    /* Layout & Spacing */
    --nav-height: 80px;
    --section-pad: clamp(4rem, 8vw, 8rem) 0;
    --container-w: 1200px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    /* Effects */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 40px -5px rgba(0, 0, 0, 0.15);
    --shadow-accent: 0 10px 25px -5px rgba(255, 90, 0, 0.4);
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Base Styles & Resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--primary);
    line-height: 1.2;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

ul {
    list-style: none;
}

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

/* Utilities */
.container {
    width: 90%;
    max-width: var(--container-w);
    margin: 0 auto;
}

.section {
    padding: var(--section-pad);
}

.section-bg {
    background-color: var(--bg-card);
}

.text-accent {
    color: var(--accent);
}

.text-white {
    color: var(--text-white);
}

.text-gray {
    color: var(--text-muted);
}

.text-center {
    text-align: center;
}

.mb-8 { margin-bottom: 2rem; }
.mt-4 { margin-top: 1rem; }
.mt-12 { margin-top: 3rem; }
.max-w-700 { max-width: 700px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.relative { position: relative; }
.z-10 { z-index: 10; }

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    position: relative;
    letter-spacing: -0.02em;
}

.section-subtitle {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.title-underline {
    height: 4px;
    width: 60px;
    background-color: var(--accent);
    margin-bottom: 1.5rem;
    border-radius: 2px;
}

.title-underline.center {
    margin-inline: auto;
}

.lead-text {
    font-size: 1.125rem;
    color: var(--text-main);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-base);
    border: 2px solid transparent;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--text-white);
    box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(255, 90, 0, 0.5);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background-color: var(--text-white);
    color: var(--primary);
    border-color: var(--text-white);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 100;
    background: rgba(255, 255, 255, 0.05); /* very subtle initial state if hero is image */
    backdrop-filter: blur(0px);
    transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    border-bottom-color: transparent;
}

.navbar.scrolled .logo,
.navbar.scrolled .nav-link {
    color: var(--primary);
}

.navbar.scrolled .mobile-menu-btn span {
    background-color: var(--primary);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    color: var(--text-white);
    z-index: 101;
}

.logo-bold {
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-light {
    font-weight: 300;
    margin-left: 0.25rem;
    color: inherit;
    opacity: 0.8;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-white);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition-base);
}

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 101;
}

.mobile-menu-btn span {
    width: 100%;
    height: 2px;
    background-color: var(--text-white);
    transition: var(--transition-base);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--primary);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 99;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-20px);
    transition: var(--transition-smooth);
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.mobile-link {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-white);
}

.mobile-link:hover {
    color: var(--accent);
}

/* Mobile Nav Toggle Animation */
.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./assets/hero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

/* Gradient overlay */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.6) 50%, rgba(15, 23, 42, 0.2) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    color: var(--text-white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-white);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-text {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
}

/* Mouse Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 13px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background-color: var(--text-white);
    border-radius: 2px;
    animation: scroll 2s infinite cubic-bezier(0.15, 0.41, 0.69, 0.94);
}

@keyframes scroll {
    0% { opacity: 0; transform: translate(-50%, 0); }
    50% { opacity: 1; transform: translate(-50%, 6px); }
    100% { opacity: 0; transform: translate(-50%, 12px); }
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s forwards cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* About Section */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 1.05rem;
}

.check-icon {
    width: 24px;
    height: 24px;
    stroke: var(--accent);
    stroke-width: 3;
    flex-shrink: 0;
    margin-top: 2px;
}

.about-visual {
    position: relative;
}

.experience-card {
    position: absolute;
    top: -30px;
    left: -30px;
    background-color: var(--bg-card);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 2;
}

.experience-card .year {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    font-family: 'Outfit', sans-serif;
}

.experience-card .desc {
    font-weight: 600;
    color: var(--primary);
    line-height: 1.2;
}

.image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.grid-img {
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--text-white);
    border-radius: var(--radius-md);
    transition: var(--transition-base);
}

.grid-img:hover {
    transform: scale(0.98);
}

.grid-img.bg-dark {
    background-color: var(--primary);
}

.grid-img.bg-accent {
    background-color: var(--accent);
    margin-top: 2rem;
}

.large-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
}

.grid-img span {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
    letter-spacing: 1px;
}

/* Services Section */
.services-section {
    position: relative;
    color: var(--text-white);
    background-color: var(--primary);
}

.services-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./assets/worker.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax */
    z-index: 1;
}

.services-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.9); /* Dark slate overlay */
    z-index: 2;
}

.services-section h2 {
    color: var(--text-white);
}

.services-section .title-underline {
    background-color: var(--accent);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-md);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-base);
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.icon-wrap {
    width: 60px;
    height: 60px;
    background: rgba(255, 90, 0, 0.1);
    color: var(--accent);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    transition: var(--transition-base);
}

.icon-wrap svg {
    width: 30px;
    height: 30px;
}

.service-card:hover .icon-wrap {
    background: var(--accent);
    color: var(--text-white);
}

.service-card h3 {
    color: var(--text-white);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
}

/* Containers Section */
.split-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: end;
}

.container-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contain-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    display: flex;
    flex-direction: column;
}

.contain-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.contain-card.featured {
    border: 2px solid var(--accent);
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.contain-card.featured:hover {
    transform: translateY(-15px);
}

.popular-tag {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent);
    color: var(--text-white);
    padding: 0.25rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-top {
    padding: 2rem;
    background-color: var(--bg-main);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.size-badge {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.size-badge small {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-body {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.dimensions {
    margin-bottom: 1.5rem;
}

.dimensions li {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

.dim-label {
    color: var(--text-muted);
    font-weight: 500;
}

.dimensions strong {
    color: var(--primary);
}

.ideal-for {
    background-color: rgba(16, 185, 129, 0.1); /* light green bg */
    color: var(--green);
    padding: 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 500;
    margin-top: auto;
}

/* Contact Section */
.hover-text {
    color: var(--primary);
    font-weight: 600;
    transition: var(--transition-base);
}

.hover-text:hover {
    color: var(--accent);
}

.info-blocks {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-block {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(255, 90, 0, 0.1);
    color: var(--accent);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.icon-circle svg {
    width: 24px;
    height: 24px;
}

.info-block h4 {
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.info-block p {
    color: var(--text-muted);
}

.contact-form-wrapper {
    background-color: var(--bg-card);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.contact-form h3 {
    margin-bottom: 2rem;
    font-size: 1.75rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-main);
    background-color: var(--bg-main);
    transition: var(--transition-base);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    background-color: var(--bg-card);
    box-shadow: 0 0 0 4px rgba(255, 90, 0, 0.1);
}

.form-group label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: var(--text-muted);
    transition: var(--transition-fast);
    pointer-events: none;
    background-color: transparent;
    padding: 0 0.25rem;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -0.6rem;
    left: 0.8rem;
    font-size: 0.85rem;
    color: var(--accent);
    background-color: var(--bg-card);
    font-weight: 500;
}

.btn-submit {
    width: 100%;
    padding: 1.25rem;
    border-radius: var(--radius-sm);
    font-size: 1.125rem;
}

/* Footer */
.footer {
    background-color: var(--primary);
    color: var(--text-white);
    padding: 5rem 0 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer h4 {
    color: var(--text-white);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.footer ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer a {
    color: var(--text-muted);
}

.footer a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .split-layout,
    .split-header,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .experience-card {
        top: -15px;
        left: -15px;
        padding: 1rem;
    }
    
    .experience-card .year {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .stat-divider {
        width: 100%;
        height: 1px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }
}

/* Gallery Section */
.gallery-section {
    background-color: var(--bg-card);
    overflow: hidden;
    padding-bottom: 4rem;
}

.gallery-slider {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    padding: 2rem 0;
}

.gallery-track {
    display: flex;
    width: max-content;
    animation: scrollGallery 40s linear infinite;
    gap: 1.5rem;
}

.gallery-slider:hover .gallery-track {
    animation-play-state: paused;
}

.gallery-item {
    width: 300px;
    height: 200px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

@keyframes scrollGallery {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-50% - 0.75rem)); }
}

@media (max-width: 768px) {
    .gallery-item {
        width: 250px;
        height: 180px;
    }
}
