/* ============================================
   ABLE EXCAVATING - PROFESSIONAL CORPORATE THEME
   Colors: Navy #1e3a5f, Blue #2563eb, Light Gray #f8fafc
   ============================================ */

:root {
    --color-navy: #1e3a5f;
    --color-navy-dark: #152a45;
    --color-blue: #2563eb;
    --color-blue-light: #3b82f6;
    --color-accent: #0ea5e9;
    --color-bg: #f8fafc;
    --color-white: #ffffff;
    --color-text: #1e293b;
    --color-text-muted: #64748b;
    --color-border: #e2e8f0;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--color-white);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Top Header */
.top-header {
    background: var(--color-navy);
    padding: 8px 0;
    font-size: 13px;
    color: rgba(255,255,255,0.8);
}

.top-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-phone {
    color: var(--color-white);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.top-phone:hover { color: var(--color-blue-light); }

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--color-white);
    box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-mark {
    width: 42px;
    height: 42px;
    background: var(--color-navy);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-name {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    color: var(--color-navy);
    letter-spacing: 1px;
}

.logo-tagline {
    font-size: 10px;
    font-weight: 500;
    color: var(--color-text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-menu a {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-blue);
    transition: var(--transition);
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--color-blue);
}

.nav-menu a:hover::after, .nav-menu a.active::after {
    width: 100%;
}

.nav-cta {
    background: var(--color-navy);
    color: var(--color-white) !important;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600 !important;
}

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

.nav-cta:hover {
    background: var(--color-blue);
    color: var(--color-white) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-navy);
    transition: var(--transition);
}

/* Hero */
.hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(30,58,95,0.88) 0%, rgba(30,58,95,0.65) 50%, rgba(30,58,95,0.35) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 680px;
    padding: 0 24px;
    text-align: left;
}

.hero-badge {
    display: inline-block;
    background: var(--color-blue);
    color: var(--color-white);
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-white);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    max-width: 520px;
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.btn-primary {
    background: var(--color-blue);
    color: var(--color-white);
    border-color: var(--color-blue);
}

.btn-primary:hover {
    background: var(--color-blue-light);
    border-color: var(--color-blue-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37,99,235,0.3);
}

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

.btn-secondary:hover {
    background: var(--color-white);
    color: var(--color-navy);
    border-color: var(--color-white);
}

.btn-white {
    background: var(--color-white);
    color: var(--color-navy);
    border-color: var(--color-white);
    font-weight: 700;
}

.btn-white:hover {
    background: var(--color-bg);
}

.btn-large { padding: 16px 40px; font-size: 16px; }
.btn-full { width: 100%; }

/* Stats Section */
.stats-section {
    background: var(--color-navy);
    padding: 56px 0;
}

.stats-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: center;
}

.stat-item {
    flex: 1;
}

.stat-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    color: var(--color-white);
}

.stat-desc {
    display: block;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
    margin-top: 4px;
}

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

/* Section Styles */
.section-eyebrow {
    display: block;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--color-blue);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 12px;
}

.section-header p {
    color: var(--color-text-muted);
    max-width: 560px;
    margin: 0 auto;
    font-size: 16px;
}

/* About */
.about {
    padding: 100px 0;
    background: var(--color-bg);
}

.about-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.about-header {
    text-align: center;
    margin-bottom: 56px;
}

.about-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: var(--color-navy);
}

.about-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-text .lead {
    font-size: 18px;
    color: var(--color-text);
    font-weight: 500;
    margin-bottom: 16px;
    line-height: 1.7;
}

.about-text p {
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

.about-checklist {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 28px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
}

.check-item svg {
    width: 18px;
    height: 18px;
    color: var(--color-blue);
    flex-shrink: 0;
}

.about-media {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.about-img {
    border-radius: 8px;
    overflow: hidden;
}

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

.main-img { grid-row: span 2; min-height: 320px; }
.secondary-img { height: 154px; }

.experience-card {
    position: absolute;
    bottom: -16px;
    right: -16px;
    background: var(--color-navy);
    color: var(--color-white);
    padding: 24px 28px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(30,58,95,0.3);
}

.exp-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
}

.exp-label {
    font-size: 11px;
    font-weight: 500;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Services */
.services {
    padding: 100px 0;
    background: var(--color-white);
}

.services-list {
    max-width: 900px;
    margin: 0 auto;
}

.service-row {
    display: grid;
    grid-template-columns: 60px 1fr 48px;
    align-items: center;
    gap: 24px;
    padding: 32px 0;
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition);
    cursor: pointer;
}

.service-row:hover {
    padding-left: 16px;
    background: var(--color-bg);
    border-radius: 8px;
    border-bottom-color: transparent;
}

.service-row:hover .service-arrow {
    color: var(--color-blue);
    transform: translateX(4px);
}

.service-number {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--color-border);
    line-height: 1;
}

.service-info h3 {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 6px;
}

.service-info p {
    color: var(--color-text-muted);
    font-size: 14px;
    line-height: 1.6;
}

.service-arrow {
    color: var(--color-text-muted);
    transition: var(--transition);
}

.service-arrow svg {
    width: 24px;
    height: 24px;
}

/* Projects */
.projects {
    padding: 100px 0;
    background: var(--color-bg);
}

.projects-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 280px;
    gap: 16px;
}

.project-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover img {
    transform: scale(1.05);
}

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(30,58,95,0.85), transparent);
    color: var(--color-white);
}

.project-type {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-blue-light);
    margin-bottom: 6px;
}

.project-info h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
}

/* CTA Banner */
.cta-banner {
    padding: 64px 0;
    background: var(--color-navy);
}

.cta-banner .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(24px, 3.5vw, 32px);
    color: var(--color-white);
    margin-bottom: 8px;
}

.cta-content p {
    color: rgba(255,255,255,0.8);
    font-size: 16px;
}

/* Contact */
.contact {
    padding: 100px 0;
    background: var(--color-white);
}

.contact-header {
    text-align: center;
    margin-bottom: 56px;
}

.contact-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 40px);
    color: var(--color-navy);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: start;
}

.contact-intro {
    margin-bottom: 32px;
}

.contact-intro p {
    color: var(--color-text-muted);
    font-size: 16px;
    line-height: 1.7;
}

.contact-blocks {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-block {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--color-bg);
    border-radius: 8px;
    border: 1px solid var(--color-border);
}

.contact-block-icon {
    width: 44px;
    height: 44px;
    background: var(--color-navy);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    flex-shrink: 0;
}

.contact-block-icon svg {
    width: 20px;
    height: 20px;
}

.contact-block h4 {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.contact-block a, .contact-block span {
    color: var(--color-navy);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
}

.contact-block a:hover {
    color: var(--color-blue);
}

/* Form */
.contact-form-panel {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 40px;
}

.contact-form-panel h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--color-navy);
    margin-bottom: 24px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-field {
    margin-bottom: 16px;
}

.form-field.full-width {
    grid-column: span 2;
}

.form-field label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 12px 14px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 15px;
    transition: var(--transition);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--color-blue);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

/* Footer */
.footer {
    background: var(--color-navy-dark);
    color: var(--color-white);
    padding: 60px 0 24px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-brand .logo { margin-bottom: 16px; }
.footer-brand .logo-mark { background: var(--color-blue); }
.footer-brand .logo-name { color: var(--color-white); }
.footer-brand p {
    font-size: 14px;
    opacity: 0.75;
    line-height: 1.7;
}

.footer-nav h4, .footer-contact-info h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    opacity: 0.6;
}

.footer-nav ul { list-style: none; }
.footer-nav li { margin-bottom: 10px; }
.footer-nav a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}
.footer-nav a:hover { color: var(--color-white); }

.footer-contact-info p {
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 8px;
}
.footer-contact-info a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: var(--transition);
}
.footer-contact-info a:hover { color: var(--color-white); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 13px;
    opacity: 0.6;
}

.footer-service-area {
    font-style: italic;
}

/* Responsive */
@media (max-width: 992px) {
    .about-body { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; }
    .projects-grid { grid-template-columns: 1fr 1fr; }
    .project-card-large { grid-column: span 2; }
    .footer-top { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { gap: 24px; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-menu {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        background: var(--color-white);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
        transform: translateY(-150%);
        opacity: 0;
        transition: var(--transition);
        pointer-events: none;
    }
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    .hero-content { text-align: center; }
    .hero-subtitle { margin: 0 auto 32px; }
    .hero-cta { justify-content: center; }
    .stats-grid { flex-wrap: wrap; }
    .stat-item { flex: 1 1 45%; }
    .stat-divider { display: none; }
    .about-checklist { grid-template-columns: 1fr; }
    .about-media { max-width: 500px; margin: 0 auto; }
    .service-row { grid-template-columns: 48px 1fr; }
    .service-arrow { display: none; }
    .projects-grid { grid-template-columns: 1fr; }
    .project-card-large { grid-column: span 1; }
    .cta-banner .container { flex-direction: column; text-align: center; }
    .form-grid { grid-template-columns: 1fr; }
    .form-field.full-width { grid-column: span 1; }
    .footer-top { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 32px; }
    .stat-num { font-size: 32px; }
    .btn { padding: 12px 24px; font-size: 13px; }
    .contact-form-panel { padding: 24px; }
}
