﻿
/* =========================================
   UNITY MACHINES - MAIN STYLESHEET
   ========================================= */

:root {
    --primary: #164E85;
    --primary-dark: #10365D;
    --primary-light: #2879BD;
    --accent: #E6F1FA;
    --background: #F5F8FC;
    --white: #FFFFFF;
    --text: #29394A;
    --muted: #68798A;
    --border: #DFE7EF;
    --success: #18845B;

    --shadow: 0 8px 28px rgba(16, 54, 93, 0.08);
    --radius: 12px;
}


/* RESET */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.7;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
}


/* GENERAL LAYOUT */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}


/* HEADER */

.site-header {
    background: var(--primary-dark);
    color: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 3px 12px rgba(0,0,0,0.12);
}

.header-content {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    color: var(--white);
    font-size: 23px;
    font-weight: 800;
    letter-spacing: 1px;
}

.main-nav {
    display: flex;
    gap: 30px;
}

.main-nav a {
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s;
}

.main-nav a:hover {
    color: #91C9F4;
}


/* HERO */

.hero {
    background:
        linear-gradient(
            110deg,
            rgba(16, 54, 93, 0.97),
            rgba(28, 103, 165, 0.91)
        );

    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.hero .container {
    max-width: 900px;
}

.eyebrow {
    display: inline-block;
    color: #73B9EF;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.hero h1 {
    font-size: clamp(32px, 5vw, 54px);
    line-height: 1.2;
    margin-bottom: 18px;
}

.hero h2 {
    font-size: clamp(18px, 3vw, 25px);
    font-weight: 400;
    margin-bottom: 20px;
}

.hero p {
    font-size: 17px;
    color: #D8E9F8;
    max-width: 700px;
    margin: 0 auto 30px;
}


/* BUTTONS */

.btn {
    display: inline-block;
    padding: 13px 28px;
    border-radius: 6px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-dark);
}

.btn-primary:hover {
    background: #DCEEFF;
    transform: translateY(-2px);
}

.btn-light {
    background: var(--white);
    color: var(--primary-dark);
}

.btn-light:hover {
    background: #DCEEFF;
}


/* PRODUCTS SECTION */

.products-section {
    padding: 85px 0;
}

.section-heading {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 55px;
}

.section-heading h2 {
    font-size: clamp(28px, 4vw, 38px);
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.section-heading p {
    color: var(--muted);
}


/* PRODUCT CARDS */

.product-card {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 45px;
    align-items: center;

    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);

    padding: 40px;
    margin-bottom: 40px;

    box-shadow: var(--shadow);
}

.product-card.reverse {
    grid-template-columns: 1.15fr 0.85fr;
}

.product-card.reverse .product-image {
    order: 2;
}

.product-card.reverse .product-content {
    order: 1;
}

.product-image {
    background: var(--accent);
    border-radius: 10px;
    padding: 25px;
    min-width: 0;
}

.product-image img {
    width: 100%;
    height: 430px;
    object-fit: contain;
}

.product-content h2 {
    color: var(--primary-dark);
    font-size: 30px;
    margin: 8px 0 0;
}

.product-content h3 {
    color: var(--muted);
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 20px;
}

.product-content h4 {
    color: var(--primary);
    font-size: 17px;
    margin: 25px 0 12px;
}

.product-content p {
    margin-bottom: 15px;
}


/* PRICE */

.price {
    color: var(--primary-light);
    font-size: 34px;
    font-weight: 800;
    margin: 12px 0 0;
}

.price span {
    font-size: 17px;
    font-weight: 600;
}

.price-note {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 20px;
}

.product-tag {
    display: inline-block;
    background: var(--accent);
    color: var(--primary);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}


/* FEATURES */

.feature-list {
    list-style: none;
}

.feature-list li {
    position: relative;
    padding: 6px 0 6px 26px;
    border-bottom: 1px solid #EDF1F5;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 800;
}

.highlight {
    background: var(--accent);
    color: var(--primary-dark);
    border-left: 4px solid var(--primary-light);
    padding: 16px;
    border-radius: 5px;
    font-weight: 700;
    margin: 20px 0;
}

.product-note {
    background: #F1F6FB;
    border-radius: 6px;
    padding: 15px;
    margin: 20px 0;
}

.small-note {
    font-size: 13px;
    color: var(--muted);
    margin-top: 18px;
}

.secondary-image {
    margin-top: 25px;
    background: var(--accent);
    padding: 20px;
    border-radius: 8px;
}

.secondary-image img {
    max-height: 260px;
    width: auto;
    margin: auto;
    object-fit: contain;
}


/* APPLICATIONS */

.applications-section {
    background: #E9F2FA;
    padding: 85px 0;
    text-align: center;
}

.applications-section h2 {
    color: var(--primary-dark);
    font-size: 34px;
    margin-bottom: 15px;
}

.applications-section p {
    color: var(--muted);
    margin-bottom: 30px;
}

.application-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.application-item {
    background: var(--white);
    padding: 20px 10px;
    border-radius: 8px;
    color: var(--primary-dark);
    font-weight: 700;
    box-shadow: 0 3px 12px rgba(0,0,0,0.04);
}

.application-footer {
    margin-top: 30px;
}


/* CONTACT */

.contact-section {
    background: var(--primary);
    color: var(--white);
    text-align: center;
    padding: 75px 20px;
}

.contact-section h2 {
    font-size: clamp(25px, 4vw, 36px);
    margin-bottom: 15px;
}

.contact-section p {
    color: #D8E9F8;
    max-width: 700px;
    margin: 0 auto 25px;
}


/* FOOTER */

.site-footer {
    background: var(--primary-dark);
    color: #C9D9E8;
    text-align: center;
    padding: 25px 15px;
    font-size: 13px;
}


/* TABLET */

@media (max-width: 900px) {

    .product-card,
    .product-card.reverse {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 25px;
    }

    .product-card.reverse .product-image,
    .product-card.reverse .product-content {
        order: initial;
    }

    .product-image img {
        height: 350px;
    }

    .application-grid {
        grid-template-columns: repeat(3, 1fr);
    }

}


/* MOBILE */

@media (max-width: 600px) {

    .container {
        padding: 0 16px;
    }

    .header-content {
        flex-direction: column;
        justify-content: center;
        padding: 15px 0;
        gap: 10px;
    }

    .logo {
        font-size: 20px;
    }

    .main-nav {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px 20px;
    }

    .main-nav a {
        font-size: 13px;
    }

    .hero {
        padding: 65px 0;
    }

    .hero p {
        font-size: 15px;
    }

    .products-section {
        padding: 55px 0;
    }

    .section-heading {
        margin-bottom: 35px;
    }

    .product-card {
        padding: 18px;
        margin-bottom: 25px;
    }

    .product-image {
        padding: 15px;
    }

    .product-image img {
        height: 280px;
    }

    .product-content h2 {
        font-size: 26px;
    }

    .price {
        font-size: 30px;
    }

    .application-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .application-item {
        padding: 15px 8px;
        font-size: 14px;
    }

    .applications-section,
    .contact-section {
        padding: 55px 0;
    }

}


/* SMALL MOBILE */

@media (max-width: 360px) {

    .main-nav {
        gap: 8px 12px;
    }

    .main-nav a {
        font-size: 12px;
    }

    .product-card {
        padding: 14px;
    }

    .product-image img {
        height: 230px;
    }

}
