/* Trimark Egypt */

:root {
    --navy: #0F1D33;
    --blue: #1A3555;
    --steel: #3D5A80;
    --gray: #6B7280;
    --light: #F9FAFB;
    --border: #E5E7EB;
    --white: #FFFFFF;
    --gold: #B8973A;
    --font: 'Inter', sans-serif;
    --heading: 'Montserrat', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    color: var(--gray);
    background: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

h1, h2, h3, h4 {
    font-family: var(--heading);
    color: var(--navy);
    font-weight: 600;
    line-height: 1.3;
}

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -0.3px;
}

.logo svg {
    flex-shrink: 0;
}

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

.logo-main {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -0.3px;
}

.logo-sub {
    font-size: 0.5rem;
    font-weight: 500;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 1px;
}

.footer .logo {
    margin-bottom: 0;
}

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

.footer .logo-sub {
    color: var(--gray);
}

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

.nav a {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--gray);
    transition: color 0.2s;
}

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

.nav-cta {
    background: var(--navy);
    color: var(--white) !important;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.nav-cta:hover {
    background: var(--blue);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    width: 20px;
    height: 1.5px;
    background: var(--navy);
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 64px;
    background: var(--navy);
    position: relative;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}

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

.hero-label {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.hero h1 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
    letter-spacing: -0.5px;
}

.hero p {
    color: #9CA3AF;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 0.75rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.8125rem;
    font-weight: 500;
    border-radius: 4px;
    transition: 0.2s;
    cursor: pointer;
    border: none;
    font-family: var(--font);
}

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

.btn-gold:hover {
    background: #A8872D;
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stat-number {
    display: block;
    font-family: var(--heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
}

.hero-stat-label {
    font-size: 0.6875rem;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Stats */
.stats {
    padding: 3rem 0;
    border-bottom: 1px solid var(--border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
}

.stat-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.stat-item p {
    font-size: 0.75rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.section-header {
    margin-bottom: 2.5rem;
}

.section-header h2 {
    font-size: 1.375rem;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--gray);
    font-size: 0.9375rem;
}

/* Products */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
}

.product-card {
    background: var(--white);
    padding: 1.5rem;
    transition: background 0.2s;
}

.product-card:hover {
    background: var(--light);
}

.product-card h3 {
    font-size: 0.9375rem;
    margin-bottom: 0.375rem;
}

.product-card p {
    font-size: 0.8125rem;
    color: var(--gray);
    margin-bottom: 0.75rem;
}

.product-link {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--blue);
}

/* Industries */
.industries {
    background: var(--light);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
}

.industry-card {
    background: var(--white);
    padding: 1.5rem;
}

.industry-card h3 {
    font-size: 0.9375rem;
    margin-bottom: 0.25rem;
}

.industry-card p {
    font-size: 0.8125rem;
    color: var(--gray);
    margin: 0;
}

/* Why Us */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.why-item {
    padding: 0;
}

.why-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light);
    border-radius: 6px;
    margin-bottom: 0.75rem;
    color: var(--navy);
}

.why-item h3 {
    font-size: 0.9375rem;
    margin-bottom: 0.25rem;
}

.why-item p {
    font-size: 0.8125rem;
    color: var(--gray);
    margin: 0;
}

/* RFQ */
.rfq {
    background: var(--navy);
    position: relative;
}

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

.rfq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.rfq-info h2 {
    color: var(--white);
    font-size: 1.375rem;
    margin-bottom: 0.75rem;
}

.rfq-info > p {
    color: #9CA3AF;
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
}

.rfq-list {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.rfq-list li {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    color: #D1D5DB;
    font-size: 0.8125rem;
}

.rfq-check {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold);
    border-radius: 50%;
    flex-shrink: 0;
}

.rfq-check svg {
    width: 10px;
    height: 10px;
    color: var(--white);
}

.rfq-form {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 6px;
}

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

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

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

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 0.25rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.5rem 0.625rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 0.8125rem;
    font-family: var(--font);
    background: var(--white);
    transition: border-color 0.2s;
}

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

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

.form-submit {
    width: 100%;
}

/* Footer */
.footer {
    background: var(--navy);
    padding: 2.5rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand p {
    font-size: 0.8125rem;
    color: #6B7280;
    margin-top: 0.5rem;
}

.footer-social {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.footer-social a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    color: #6B7280;
    transition: 0.2s;
}

.footer-social a:hover {
    background: var(--gold);
    color: var(--white);
}

.footer-col h4 {
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.footer-links a {
    font-size: 0.8125rem;
    color: #6B7280;
}

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

.footer-contact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.8125rem;
    color: #6B7280;
}

.footer-contact svg {
    flex-shrink: 0;
    color: var(--gold);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: #4B5563;
}

.footer-legal {
    display: flex;
    gap: 1rem;
}

.footer-legal a {
    font-size: 0.75rem;
    color: #4B5563;
}

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

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s, transform 0.4s;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        gap: 1.5rem;
        transform: translateX(100%);
        transition: 0.3s;
    }

    .nav.active {
        transform: translateX(0);
    }

    .nav a {
        font-size: 1rem;
        color: var(--navy);
    }

    .hamburger {
        display: flex;
    }

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

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .stats-grid,
    .products-grid,
    .industries-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .products-grid,
    .industries-grid {
        gap: 0;
    }

    .rfq-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

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

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

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

/* Page Hero */
.page-hero {
    padding: 8rem 0 3rem;
    background: var(--navy);
}

.page-hero .container {
    max-width: 600px;
}

.page-hero .hero-label {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}

.page-hero h1 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.page-hero p {
    color: #9CA3AF;
    font-size: 1rem;
}

/* Two Column */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.two-col h2 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.two-col h2:not(:first-child) {
    margin-top: 1.5rem;
}

.two-col p {
    font-size: 0.9375rem;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1px;
    background: var(--border);
}

.value-item {
    background: var(--white);
    padding: 1.5rem;
    text-align: center;
}

.value-item h3 {
    font-size: 0.9375rem;
    margin-bottom: 0.375rem;
}

.value-item p {
    font-size: 0.8125rem;
    color: var(--gray);
    margin: 0;
}

/* Process Grid */
.process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1px;
    background: var(--border);
}

.process-item {
    background: var(--white);
    padding: 1.5rem;
}

.process-num {
    font-family: var(--heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gold);
    display: block;
    margin-bottom: 0.5rem;
}

.process-item h3 {
    font-size: 0.9375rem;
    margin-bottom: 0.375rem;
}

.process-item p {
    font-size: 0.8125rem;
    color: var(--gray);
    margin: 0;
}

/* Product Detail Grid */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.product-detail h2 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.product-detail ul {
    list-style: none;
    padding: 0;
}

.product-detail li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.875rem;
    color: var(--gray);
}

.product-detail p {
    font-size: 0.9375rem;
}

/* Product List */
.product-list {
    list-style: none;
    padding: 0;
}

.product-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.875rem;
    color: var(--gray);
    display: flex;
    justify-content: space-between;
}

.product-list li span {
    color: var(--navy);
    font-weight: 500;
}

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

.contact-info h2 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.875rem;
    color: var(--gray);
}

.contact-item svg {
    flex-shrink: 0;
    color: var(--gold);
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--border);
}

.timeline-item {
    position: relative;
    padding-bottom: 1.5rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0.375rem;
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
}

.timeline-item h3 {
    font-size: 0.9375rem;
    margin-bottom: 0.25rem;
}

.timeline-item p {
    font-size: 0.8125rem;
    color: var(--gray);
    margin: 0;
}

/* Service Grid */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
}

.service-item {
    background: var(--white);
    padding: 1.5rem;
}

.service-item h3 {
    font-size: 0.9375rem;
    margin-bottom: 0.375rem;
}

.service-item p {
    font-size: 0.8125rem;
    color: var(--gray);
    margin: 0;
}

/* Quality Grid */
.quality-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--border);
}

.quality-item {
    background: var(--white);
    padding: 1.5rem;
}

.quality-item h3 {
    font-size: 0.9375rem;
    margin-bottom: 0.375rem;
}

.quality-item p {
    font-size: 0.8125rem;
    color: var(--gray);
    margin: 0;
}

/* Responsive additions */
@media (max-width: 768px) {
    .two-col,
    .product-detail-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .values-grid,
    .process-grid,
    .service-grid {
        grid-template-columns: 1fr;
    }

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