/* Excel Industrial - Public Site Styles */

:root {
    --primary: #1E1E1E;
    --secondary: #2F2F2F;
    --accent: #D97706;
    --accent-hover: #F59E0B;
    --bg-light: #F5F5F4;
    --bg-white: #FFFFFF;
    --text-dark: #1E1E1E;
    --text-muted: #6B7280;
    --text-light: #F9FAFB;
    --container-max: 1200px;
    --container-narrow: 800px;
    /* Added Premium Variables */
    --grey-50: #F9FAFB;
    --grey-100: #F3F4F6;
    --grey-200: #E5E7EB;
    --grey-300: #D1D5DB;
    --grey-400: #9CA3AF;
    --grey-500: #6B7280;
    --grey-600: #4B5563;
    --grey-700: #374151;
    --grey-800: #1F2937;
    --grey-900: #111827;
    --safety-orange: #D97706;
    --off-white: #F9FAFB;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
.logo-text {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

.container-narrow {
    max-width: var(--container-narrow);
}

.section {
    padding: 6rem 0;
}

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

.section-dark {
    background-color: var(--primary);
    color: var(--text-light);
}

/* Header & Nav */
.header {
    background-color: var(--bg-white);
    border-bottom: 1px solid #E5E7EB;
    position: sticky;
    top: 0;
    z-index: 100;
    height: 64px;
    display: flex;
    align-items: center;
}

.header-inner {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 1.25rem;
    color: var(--primary);
    letter-spacing: 0.1em;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.2s;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 0.875rem;
    border: none;
    cursor: pointer;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
}

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

.btn-accent:hover {
    background-color: var(--accent-hover);
    transform: translateY(-1px);
}

.btn-outline {
    border: 2px solid white;
    color: white;
}

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

.btn-full {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background-image: url('./assets/hero.png');
    background-size: cover;
    background-position: center;
    color: white;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero-credentials {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: 1rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subhead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-btns {
    display: flex;
    gap: 1rem;
}

/* Trust Bar */
.trust-bar {
    background-color: var(--secondary);
    color: white;
    padding: 1.5rem 0;
}

.trust-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.trust-icon {
    color: var(--accent);
    font-weight: bold;
}

.trust-text {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
}

/* Why Different */
#why-different .container-narrow {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.accent-line {
    width: 4px;
    height: 100px;
    background-color: var(--accent);
    flex-shrink: 0;
}

.emphasized {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.emphasized.large {
    font-size: 2.5rem;
    font-weight: 900;
    text-transform: uppercase;
}

/* Services */
.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.section-one-liner {
    color: var(--text-muted);
    font-weight: 500;
}

.section-one-liner.white {
    color: rgba(255, 255, 255, 0.7);
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 4px;
    border: 1px solid #E5E7EB;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}

.service-badge {
    display: inline-block;
    font-size: 0.625rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.25rem 0.5rem;
    background-color: var(--accent);
    color: var(--primary);
    border-radius: 2px;
    margin-bottom: 0.75rem;
}

.service-name {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.service-desc {
    font-size: 0.9375rem;
    color: var(--text-muted);
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 4rem;
}

.how-title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.how-block p {
    font-size: 1rem;
    line-height: 1.8;
}

/* About Flex */
.about-flex {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.service-area {
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    font-size: 0.875rem;
    border-left: 3px solid var(--accent);
    padding-left: 1rem;
}

.credentials-list {
    margin-top: 3rem;
    padding: 2rem;
    background-color: var(--bg-light);
    border-radius: 4px;
}

.cred-title {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.credentials-list ul {
    list-style: none;
}

.credentials-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    font-size: 0.875rem;
}

.credentials-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.about-visual {
    flex: 1;
}

.portrait-placeholder {
    aspect-ratio: 4/5;
    background-color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.3);
    text-align: center;
    padding: 2rem;
}

/* Contact Form */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-tips {
    margin-top: 2rem;
}

.contact-tips h4 {
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.contact-tips ul {
    list-style: none;
}

.contact-tips li {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    display: flex;
    gap: 0.5rem;
}

.contact-tips li::before {
    content: "•";
    color: var(--accent);
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 4px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

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

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

label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

input,
select,
textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #D1D5DB;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.2);
}

/* Footer */
.footer {
    background-color: var(--primary);
    color: white;
    padding: 4rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.footer-brand p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.5rem;
}

.footer-contact {
    text-align: right;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
}

/* Responsive */
/* Header Actions & User Info */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--grey-300);
}

.portal-link {
    color: var(--safety-orange);
    text-decoration: none;
    font-weight: 600;
}

.logout-link {
    background: none;
    border: none;
    color: var(--grey-400);
    cursor: pointer;
    font-size: 0.8rem;
    padding: 0;
}

.alert-info {
    background: rgba(217, 119, 6, 0.1);
    border: 1px solid var(--safety-orange);
    color: var(--off-white);
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

.modal-content {
    background-color: var(--grey-800);
    margin: 8% auto;
    padding: 3rem;
    border: 1px solid var(--grey-700);
    width: 90%;
    max-width: 480px;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    color: var(--off-white);
}

.modal-content h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: white;
}

.close {
    color: var(--grey-400);
    position: absolute;
    right: 1.5rem;
    top: 1rem;
    font-size: 24px;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.close:hover {
    color: var(--off-white);
}

.modal-subtext {
    text-align: center;
    color: var(--grey-400);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.modal-footer {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--grey-400);
}

.modal-footer a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.modal-footer a:hover {
    text-decoration: underline;
}

.modal-content label {
    color: var(--grey-300);
    font-size: 0.7rem;
    margin-bottom: 0.4rem;
}

.modal-content input {
    background: var(--grey-900);
    border: 1px solid var(--grey-700);
    color: white;
    padding: 0.8rem 1rem;
}

.modal-content input::placeholder {
    color: var(--grey-600);
}

.divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
    color: var(--grey-500);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.divider::before,
.divider::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: var(--grey-700);
}

.divider::before {
    left: 0;
}

.divider::after {
    right: 0;
}

.btn-google {
    background: white;
    color: var(--grey-800);
    border: 1px solid var(--grey-200);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-weight: 600;
}

.btn-google:hover {
    background: var(--grey-50);
    border-color: var(--grey-300);
    transform: translateY(-1px);
}

.btn-icon {
    width: 18px;
    height: 18px;
}

.btn-text {
    background: none;
    border: none;
    color: var(--grey-300);
    cursor: pointer;
    font-weight: 500;
}

.btn-text:hover {
    color: var(--safety-orange);
}

@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header {
        height: auto;
        padding: 1rem 0;
    }

    .header-inner {
        flex-direction: column;
        gap: 1rem;
    }

    .nav {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .desk-only {
        display: none;
    }

    .hero {
        text-align: center;
        padding: 4rem 0;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-btns {
        justify-content: center;
        flex-direction: column;
    }

    .trust-inner {
        justify-content: center;
    }

    #why-different .container-narrow {
        flex-direction: column;
        gap: 1.5rem;
    }

    .accent-line {
        width: 100%;
        height: 4px;
    }

    .about-flex {
        flex-direction: column;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2rem;
    }

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