/* =====================================
   GLOBAL RESET
===================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --orange: #ff9d1f;
    --orange-dark: #f78c00;
    --dark: #060d18;
    --nav-bg: #565b65;
    --light-bg: #f5f3ee;
    --white: #ffffff;
    --text-dark: #111111;
    --text-muted: #5f6772;
    --border: #d8dde3;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--dark);
    color: var(--white);
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

.container {
    width: min(90%, 1320px);
    margin: 0 auto;
}

section {
    padding: clamp(70px, 10vw, 130px) 0;
}

/* =====================================
   TYPOGRAPHY
===================================== */

.section-label {
    display: block;
    margin-bottom: 20px;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #7b8490;
    font-weight: 600;
}

h1 {
    font-size: clamp(2.6rem, 7vw, 4.5rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 6vw, 4.25rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    font-weight: 500;
}

h3 {
    font-size: clamp(1.6rem, 4vw, 3rem);
    line-height: 1.1;
    font-weight: 500;
}

p {
    font-size: clamp(1rem, 1.5vw, 1.1rem);
}

/* =====================================
   NAVBAR
===================================== */

nav {
    background: var(--nav-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-wrapper {
    min-height: 86px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.nav-left img {
    width: clamp(44px, 6vw, 52px);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links a {
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    opacity: 1;
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--orange), #ffb347);
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 12px 30px rgba(255, 157, 31, 0.35);
    white-space: nowrap;
}

/* =====================================
   HERO
===================================== */

.hero {
    background: var(--light-bg);
    color: var(--text-dark);
    min-height: auto;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: clamp(40px, 8vw, 120px);
    align-items: center;
}

.hero-label {
    display: block;
    margin-bottom: 24px;
    font-size: 13px;
    letter-spacing: 3px;
    color: #6b7280;
    font-weight: 600;
}

.hero-content p {
    margin-top: 28px;
    max-width: 560px;
    color: var(--text-muted);
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 36px;
}

.hero-actions a {
    color: var(--text-dark);
    font-weight: 600;
    position: relative;
}

.hero-actions a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 1px;
    background: var(--text-dark);
}

.hero-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.detail-block {
    padding-bottom: 24px;
    border-bottom: 1px solid #d6d9dd;
}

.detail-block span {
    display: block;
    margin-bottom: 10px;
    font-size: 12px;
    letter-spacing: 2px;
    color: #7b8490;
    text-transform: uppercase;
}

.detail-block h4 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    line-height: 1.3;
    font-weight: 500;
}

/* =====================================
   GENERIC LIGHT SECTIONS
===================================== */

.about,
.materials,
.products {
    background: #ffffff;
    color: var(--text-dark);
}

.about-layout,
.materials-layout,
.contact-wrapper {
    display: grid;
    gap: clamp(40px, 8vw, 120px);
}

.about-layout {
    grid-template-columns: 0.75fr 1.5fr 0.75fr;
}

.materials-layout {
    grid-template-columns: 1fr 1.1fr;
}

.info-item,
.material-item {
    padding: 30px 0;
    border-bottom: 1px solid var(--border);
}

.info-item span,
.material-top span,
.product-number,
.meta-item span {
    display: block;
    margin-bottom: 10px;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #8b94a0;
}

.info-item p,
.material-item p,
.product-info p {
    color: var(--text-muted);
    line-height: 1.9;
}

.material-top {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 12px;
}

/* =====================================
   FEATURES
===================================== */

.features {
    background: #111315;
    color: #ffffff;
}

.features-heading {
    display: grid;
    grid-template-columns: 1fr 0.55fr;
    gap: clamp(30px, 6vw, 90px);
    margin-bottom: 70px;
}

.features-heading-right p {
    color: #a2b1c6;
    line-height: 1.9;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.feature-card {
    background: #17191c;
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: clamp(24px, 4vw, 36px);
}

.feature-top {
    display: flex;
    align-items: center;
    gap: 16px;
}

.feature-top span {
    font-size: 11px;
    letter-spacing: 2px;
    color: #8b94a0;
}

.feature-line {
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
}

.feature-card h3 {
    margin: 24px 0 14px;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

/* =====================================
   PRODUCTS
===================================== */

.products-heading {
    margin-bottom: 80px;
}

.product-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 8vw, 120px);
    align-items: center;
    padding: 70px 0;
    border-top: 1px solid var(--border);
}

.product-row:last-child {
    border-bottom: 1px solid var(--border);
}

.product-row.reverse .product-image {
    order: 2;
}

.product-row.reverse .product-info {
    order: 1;
}

.product-image img {
    width: 100%;
    object-fit: contain;
}

.product-info p {
    margin: 20px 0 28px;
}

.product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.product-specs div {
    padding: 12px 18px;
    border: 1px solid var(--border);
    font-size: 14px;
    color: #4b5563;
}

/* =====================================
   CONTACT
===================================== */

.contact {
    background: #0f1113;
    color: #ffffff;
}

.contact-wrapper {
    grid-template-columns: 1fr 0.9fr;
    align-items: start;
}

.contact-left p {
    margin: 28px 0 50px;
    max-width: 520px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.9;
}

.contact-meta {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.meta-item {
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.meta-item a,
.meta-item p {
    color: #ffffff;
}

.contact-right {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: clamp(24px, 5vw, 60px);
}

.input-group {
    margin-bottom: 28px;
}

.input-group label {
    display: block;
    margin-bottom: 10px;
    font-size: 11px;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.45);
}

.input-group input,
.input-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 12px 0;
    color: #ffffff;
    outline: none;
}

.input-group textarea {
    resize: vertical;
}

.contact-form button {
    width: 100%; 
    border: none;
    padding: 16px 24px;
    background: var(--light-bg);
    color: var(--text-dark);
    font-weight: 600;
    cursor: pointer;
}

/* =====================================
   FOOTER
===================================== */

footer {
    background: #040912;
    color: #b4c0cf;
    text-align: center;
    padding: 24px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* =====================================
   TABLET (<= 1024px)
===================================== */

@media (max-width: 1024px) {

    .hero-layout,
    .about-layout,
    .materials-layout,
    .features-heading,
    .product-row,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .product-row.reverse .product-image,
    .product-row.reverse .product-info {
        order: unset;
    }

    .features-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-details {
        margin-top: 10px;
    }
}

/* =====================================
   MOBILE (<= 768px)
===================================== */

@media (max-width: 768px) {

    .container {
        width: 92%;
    }

    section {
        padding: 70px 0;
    }

    .nav-wrapper {
        min-height: 72px;
    }

    .nav-links {
        display: none;
    }

    .nav-btn {
        padding: 10px 18px;
        font-size: 14px;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .hero-details {
        width: 100%;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .product-row {
        padding: 50px 0;
    }

    .product-specs div {
        font-size: 13px;
        padding: 10px 14px;
    }

    .contact-right {
        padding: 28px;
    }
}

/* =====================================
   SMALL MOBILE (<= 480px)
===================================== */

@media (max-width: 480px) {

    .nav-wrapper {
        gap: 12px;
    }

    .nav-left img {
        width: 42px;
    }

    .nav-btn {
        padding: 10px 16px;
        font-size: 13px;
    }

    .hero-content p,
    .contact-left p {
        line-height: 1.8;
    }

    .detail-block h4 {
        font-size: 1.35rem;
    }

    .feature-card,
    .contact-right {
        padding: 22px;
    }

    footer {
        font-size: 14px;
    }
}
