/* Commercial Dish Service - Professional B2B Industrial Design */

/* Google Fonts - Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

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

:root {
    --primary-blue: #1e3a5f;
    --secondary-blue: #2c5282;
    --accent-orange: #dd6b20;
    --safety-yellow: #ecc94b;
    --light-gray: #f7fafc;
    --medium-gray: #e2e8f0;
    --dark-gray: #4a5568;
    --text-dark: #1a202c;
    --white: #ffffff;
    --success-green: #38a169;
    --warning-red: #c53030;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--dark-gray);
}

a {
    color: var(--secondary-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header and Navigation */
.header {
    background-color: var(--white);
    color: var(--text-dark);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05), 0 4px 12px rgba(0,0,0,0.05);
}

.header-top {
    background-color: var(--primary-blue);
    padding: 0.625rem 0;
    font-size: 0.8125rem;
    letter-spacing: 0.025em;
}

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

.header-top span {
    color: rgba(255,255,255,0.85);
}

.header-top a {
    color: var(--white);
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.header-top a:hover {
    opacity: 0.85;
    color: var(--white);
}

.header-top-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-top-links a {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.header-main {
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background-color: var(--accent-orange);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.25rem;
}

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

.logo-text .company-name {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.1;
}

.logo-text .tagline {
    font-size: 0.75rem;
    color: var(--medium-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.logo-image {
    height: 110px;
    width: auto;
    display: block;
}

/* Navigation */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

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

.nav-menu a {
    display: block;
    padding: 0.5rem 1.125rem;
    color: var(--dark-gray);
    font-weight: 500;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 0;
    transition: color 0.2s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1.125rem;
    right: 1.125rem;
    height: 2px;
    background-color: var(--primary-blue);
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

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

.nav-menu a:hover::after {
    transform: scaleX(1);
}

.nav-menu a.active {
    color: var(--primary-blue);
    font-weight: 600;
}

.nav-menu a.active::after {
    transform: scaleX(1);
}

.nav-menu a.sds-link {
    background-color: var(--safety-yellow);
    color: var(--text-dark);
    font-weight: 600;
    border-radius: 4px;
    margin-left: 0.5rem;
}

.nav-menu a.sds-link::after {
    display: none;
}

.nav-menu a.sds-link:hover {
    background-color: #d69e2e;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    color: var(--white);
    font-size: 2.75rem;
    margin-bottom: 1rem;
}

.hero p {
    color: rgba(255,255,255,0.9);
    font-size: 1.25rem;
    max-width: 600px;
}

.hero-content {
    max-width: 700px;
}

/* Page Header (for inner pages) */
.page-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    padding: 3rem 0;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.page-header p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 0;
}

/* Breadcrumb */
.breadcrumb {
    padding: 1rem 0;
    background-color: var(--light-gray);
    border-bottom: 1px solid var(--medium-gray);
}

.breadcrumb ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    margin-left: 0.5rem;
    color: var(--dark-gray);
}

.breadcrumb a {
    color: var(--secondary-blue);
}

.breadcrumb span {
    color: var(--dark-gray);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

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

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

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

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

.btn-safety {
    background-color: var(--safety-yellow);
    color: var(--text-dark);
}

.btn-safety:hover {
    background-color: #d69e2e;
    color: var(--text-dark);
}

.btn-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Sections */
.section {
    padding: 4rem 0;
}

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

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    margin-bottom: 0.5rem;
}

.section-title p {
    max-width: 600px;
    margin: 0 auto;
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid var(--medium-gray);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.card-icon {
    width: 60px;
    height: 60px;
    background-color: var(--light-gray);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.card p {
    font-size: 0.9375rem;
    margin-bottom: 1rem;
}

.card-link {
    font-weight: 600;
    color: var(--accent-orange);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.card-link:hover {
    color: var(--secondary-blue);
}

/* Feature List */
.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 0.5rem 0;
    padding-left: 1.75rem;
    position: relative;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-green);
    font-weight: bold;
}

/* Stats Section */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1.5rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-orange);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--dark-gray);
}

/* Product Categories */
.product-card {
    border-left: 4px solid var(--accent-orange);
}

.product-card .badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.badge-green {
    background-color: #c6f6d5;
    color: #276749;
}

.badge-blue {
    background-color: #bee3f8;
    color: #2b6cb0;
}

.badge-orange {
    background-color: #feebc8;
    color: #c05621;
}

/* SDS Section */
.sds-alert {
    background-color: var(--safety-yellow);
    border-left: 4px solid var(--accent-orange);
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 0 8px 8px 0;
}

.sds-alert h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.sds-alert p {
    color: var(--text-dark);
    margin-bottom: 0;
}

.sds-category {
    background-color: var(--white);
    border: 1px solid var(--medium-gray);
    border-radius: 8px;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.sds-category-header {
    background-color: var(--light-gray);
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--medium-gray);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sds-category-header h3 {
    margin-bottom: 0;
    font-size: 1.125rem;
}

.sds-list {
    list-style: none;
    padding: 1rem 1.5rem;
}

.sds-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--medium-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.sds-list li:last-child {
    border-bottom: none;
}

.sds-list .product-name {
    font-weight: 500;
}

.sds-list .sds-link {
    background-color: var(--warning-red);
    color: var(--white);
    padding: 0.375rem 0.75rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
}

.sds-list .sds-link:hover {
    background-color: #9b2c2c;
    color: var(--white);
}

/* CDS Exclusive Products Callout */
.cds-exclusive-callout {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    margin-top: 2rem;
    position: relative;
}

.cds-exclusive-callout h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.cds-exclusive-callout p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 0;
    max-width: 600px;
}

.cds-exclusive-badge {
    display: inline-block;
    background-color: var(--accent-orange);
    color: var(--white);
    padding: 0.375rem 0.875rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.sds-category-featured {
    border: 2px solid var(--primary-blue);
    box-shadow: 0 4px 12px rgba(30, 58, 95, 0.15);
}

.sds-category-featured .sds-category-header {
    background-color: var(--primary-blue);
}

.sds-category-featured .sds-category-header h3 {
    color: var(--white);
}

/* CDS Product List Grid */
.cds-product-list {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.cds-product-list h4 {
    color: var(--primary-blue);
    font-size: 1.125rem;
    margin-bottom: 1.25rem;
    font-weight: 600;
}

.cds-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.75rem;
}

.cds-product-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.875rem 1rem;
    background-color: var(--white);
    border: 1px solid var(--medium-gray);
    border-radius: 6px;
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cds-product-item:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 2px 8px rgba(30, 58, 95, 0.1);
}

.cds-product-name {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.9375rem;
}

.cds-product-link {
    font-size: 0.8125rem;
    color: var(--primary-blue);
    font-weight: 500;
    white-space: nowrap;
}

/* Services */
.service-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.5rem;
    align-items: start;
}

.service-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
}

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

.contact-info h3 {
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

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

.contact-item h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-item p {
    margin-bottom: 0;
    font-size: 0.9375rem;
}

.contact-form {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 8px;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--medium-gray);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary-blue);
}

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

/* Service Area Map Placeholder */
.map-container {
    background-color: var(--light-gray);
    border: 2px dashed var(--medium-gray);
    border-radius: 8px;
    padding: 3rem;
    text-align: center;
    margin-top: 2rem;
}

.service-areas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.service-area-item {
    background-color: var(--white);
    padding: 1rem;
    border-radius: 6px;
    text-align: center;
    border: 1px solid var(--medium-gray);
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.cta h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta p {
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: var(--medium-gray);
    padding: 3rem 0 1.5rem;
}

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

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

.footer-about p {
    font-size: 0.9375rem;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--medium-gray);
    font-size: 0.9375rem;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.875rem;
}

/* Emergency Contact */
.emergency-banner {
    background-color: var(--warning-red);
    color: var(--white);
    padding: 0.75rem 0;
    text-align: center;
}

.emergency-banner a {
    color: var(--white);
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .header-top {
        display: none;
    }

    .nav-toggle {
        display: block;
        color: var(--primary-blue);
        font-size: 1.75rem;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: 0.5rem 1rem;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        border-top: 1px solid rgba(0,0,0,0.08);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        padding: 1rem;
        border-radius: 0;
        border-bottom: 1px solid rgba(0,0,0,0.06);
        text-transform: none;
        font-size: 1rem;
        letter-spacing: normal;
    }

    .nav-menu a::after {
        display: none;
    }

    .nav-menu a.sds-link {
        margin: 0.5rem 0;
        text-align: center;
    }

    .hero {
        padding: 3rem 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }

    .section {
        padding: 3rem 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .btn-group {
        flex-direction: column;
    }

    .btn-group .btn {
        width: 100%;
    }

    .service-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .service-number {
        margin: 0 auto;
    }

    .sds-list li {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .logo-text .company-name {
        font-size: 1.25rem;
    }

    .logo-image {
        height: 70px;
    }

    .card {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

/* Print Styles */
@media print {
    .header, .footer, .nav-toggle, .btn {
        display: none;
    }

    .hero, .page-header {
        background: none;
        color: var(--text-dark);
        padding: 1rem 0;
    }

    .hero h1, .page-header h1 {
        color: var(--text-dark);
    }
}
