/* ========================================
   PARIMEX - Corporate Classic Design
   Clean, structured, professional
======================================== */

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

:root {
    /* Brand Colors - Green */
    --primary: #059669;
    --primary-hover: #047857;
    --primary-light: #D1FAE5;
    --primary-dark: #065F46;

    /* Neutral Scale */
    --gray-900: #111827;
    --gray-800: #1F2937;
    --gray-700: #374151;
    --gray-600: #4B5563;
    --gray-500: #6B7280;
    --gray-400: #9CA3AF;
    --gray-300: #D1D5DB;
    --gray-200: #E5E7EB;
    --gray-100: #F3F4F6;
    --gray-50: #F9FAFB;
    --white: #FFFFFF;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Figtree', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-700);
    line-height: 1.6;
    background: var(--white);
    font-size: 16px;
}

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

/* ========================================
   Header - Classic Centered Navigation
======================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    z-index: 1000;
    border-bottom: 1px solid var(--gray-200);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo img {
    height: 55px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    letter-spacing: -0.5px;
}

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

nav a {
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

.btn-header {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary);
    color: var(--white) !important;
    padding: 0.625rem 1.25rem;
    border-radius: 6px;
    transition: background 0.2s;
    font-size: 0.875rem;
    font-weight: 600;
}

.btn-header:hover {
    background: var(--primary-hover);
}

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

.menu-toggle span {
    width: 22px;
    height: 2px;
    background: var(--gray-800);
}

/* ========================================
   Buttons
======================================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 6px;
    transition: background 0.2s;
    border: none;
    cursor: pointer;
}

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

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: transparent;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 6px;
    border: 2px solid var(--primary);
    transition: background 0.2s, color 0.2s;
    cursor: pointer;
}

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

.btn-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: var(--white);
    color: var(--gray-900);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 6px;
    border: none;
    transition: background 0.2s;
    cursor: pointer;
}

.btn-white:hover {
    background: var(--gray-100);
}

/* ========================================
   Hero - Background Image with Overlay
======================================== */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 10rem 2rem 6rem;
    overflow: hidden;
}

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

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

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(0, 0, 0, 0.55) 50%,
        rgba(0, 0, 0, 0.35) 100%
    );
}

.hero-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    text-align: left;
}

.hero-eyebrow {
    display: inline-block;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    color: var(--white);
    max-width: 700px;
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: transparent;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 6px;
    border: 2px solid var(--white);
    transition: background 0.2s, color 0.2s;
    cursor: pointer;
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--gray-900);
}

/* ========================================
   Sections Common
======================================== */
section {
    padding: 5rem 2rem;
}

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

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3.5rem;
}

.section-eyebrow {
    display: inline-block;
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ========================================
   About - Two Column with Stats
======================================== */
.about {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

.about-content h2 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
}

.about-text {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

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

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========================================
   Products - Classic 3-Column Grid
======================================== */
.products {
    background: var(--primary-dark);
}

.products .section-eyebrow {
    color: var(--primary-light);
}

.products .section-header h2 {
    color: var(--white);
}

.products .section-header p {
    color: rgba(255, 255, 255, 0.8);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.product-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.product-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.product-image {
    height: 220px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-content {
    padding: 1.5rem;
}

.product-content h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.product-content p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ========================================
   Sectors - Alternating Rows Layout
======================================== */
.sectors {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
}

.sector-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 2rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.sector-row:last-child {
    border-bottom: none;
}

.sector-row:nth-child(even) .sector-content {
    order: 2;
}

.sector-row:nth-child(even) .sector-image {
    order: 1;
}

.sector-number {
    display: inline-block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--gray-200);
    line-height: 1;
    margin-bottom: 1rem;
}

.sector-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.sector-content p {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.7;
}

.sector-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 8px;
}

/* ========================================
   Services - 4 Column Icon Grid
======================================== */
.services {
    background: var(--primary-dark);
    color: var(--white);
}

.services .section-eyebrow {
    color: var(--primary-light);
}

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

.services .section-header p {
    color: rgba(255, 255, 255, 0.8);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.service-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.service-icon svg {
    width: 28px;
    height: 28px;
    color: var(--white);
}

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

.service-card p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
}

/* ========================================
   Values - 3 Column Cards
======================================== */
.values {
    background: var(--gray-50);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.value-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.value-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.value-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.value-icon svg {
    width: 26px;
    height: 26px;
    color: var(--primary);
}

.value-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.value-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ========================================
   CTA Banner
======================================== */
.cta {
    background: var(--primary);
    padding: 4rem 2rem;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

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

.cta p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   Contact - Corporate Split Layout
======================================== */
.contact {
    padding: 0;
}

.contact-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.contact-info {
    background: var(--gray-900);
    padding: 3rem;
    border-radius: 12px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-eyebrow {
    display: inline-block;
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.contact-info h2 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.contact-intro {
    font-size: 1rem;
    color: var(--gray-400);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 400px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.contact-item-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-icon svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.contact-item-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-500);
}

.contact-item-content a,
.contact-item-content address,
.contact-item-content p {
    font-size: 1rem;
    color: var(--white);
    font-style: normal;
    text-decoration: none;
    line-height: 1.5;
}

.contact-item-content a:hover {
    color: var(--primary);
}


/* ========================================
   Footer - Classic Multi-Column
======================================== */
footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 4rem 2rem 2rem;
}

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

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

.footer-brand img {
    height: 45px;
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--gray-400);
    line-height: 1.6;
}

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

.footer-col ul {
    list-style: none;
}

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

.footer-col a {
    font-size: 0.9rem;
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.2s;
}

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

.footer-col span {
    font-size: 0.9rem;
    color: var(--gray-400);
}

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

.footer-bottom p,
.footer-bottom a {
    font-size: 0.85rem;
    color: var(--gray-500);
    text-decoration: none;
}

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

/* ========================================
   Animations
======================================== */
.product-card, .service-card, .value-card {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.product-card.visible, .service-card.visible, .value-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Responsive
======================================== */
@media (max-width: 1024px) {
    .hero {
        min-height: 70vh;
        padding: 9rem 1.5rem 5rem;
    }

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

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

    .about-image {
        order: -1;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .sector-row:nth-child(even) .sector-content,
    .sector-row:nth-child(even) .sector-image {
        order: unset;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

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

    .contact-info {
        padding: 3rem 2rem;
    }

    .contact-image {
        min-height: 300px;
    }

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

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        gap: 0;
        border-top: 1px solid var(--gray-200);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    nav.active {
        display: flex;
    }

    nav a {
        padding: 0.875rem 0;
        border-bottom: 1px solid var(--gray-100);
    }

    .btn-header {
        width: 100%;
        justify-content: center;
        margin-top: 0.5rem;
    }

    section {
        padding: 4rem 1.5rem;
    }

    .hero {
        min-height: 60vh;
        padding: 7rem 1.5rem 4rem;
    }

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

    .hero-description {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

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

    .services-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
        margin: 0 auto;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

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

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

    .hero-actions,
    .cta-actions {
        flex-direction: column;
    }

    .btn-primary,
    .btn-outline,
    .btn-secondary,
    .btn-white {
        width: 100%;
    }
}
