/* ===== CSS Reset & Variables ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #3b5be6;
    --color-accent: #d4896a;
    --color-accent-light: #e8a889;
    --color-text: #2c2c2c;
    --color-text-light: #666;
    --color-bg: #ffffff;
    --color-bg-alt: #eef1f7;
    --color-footer: #1a1a1a;
    --font-heading: 'Bodoni Moda', Georgia, serif;
    --font-body: 'Kumbh Sans', 'Open Sans', Arial, sans-serif;
    --container-max: 1280px;
    --section-padding: 100px 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

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

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 40px;
}

.icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* ===== Top Bar ===== */
.top-bar {
    background: var(--color-bg);
    border-bottom: 1px solid #eee;
    padding: 10px 0;
    font-size: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 24px;
    align-items: center;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text);
    font-weight: 400;
    transition: color 0.3s ease;
}

.top-bar-item:hover {
    color: var(--color-primary);
}

.top-bar-right {
    display: flex;
    gap: 16px;
    align-items: center;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: var(--color-text);
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icon svg {
    width: 18px;
    height: 18px;
}

.social-icon:hover {
    color: var(--color-primary);
    transform: translateY(-2px);
}

/* ===== Header ===== */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: box-shadow 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 6px;
    color: var(--color-text);
    text-transform: uppercase;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

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

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0.92) 0%,
        rgba(255, 255, 255, 0.75) 40%,
        rgba(255, 255, 255, 0.3) 70%,
        rgba(255, 255, 255, 0.1) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 80px 40px;
}

.hero-text {
    max-width: 550px;
}

.hero-title {
    font-family: var(--font-heading);
    line-height: 1.05;
    margin-bottom: 24px;
}

.hero-title-line {
    display: block;
    font-size: clamp(56px, 8vw, 100px);
    font-weight: 400;
    color: var(--color-accent);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.hero-title-line:nth-child(2) {
    animation-delay: 0.15s;
}

.hero-title-line:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 16px;
    color: var(--color-text-light);
    margin-bottom: 36px;
    max-width: 420px;
    line-height: 1.7;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.45s forwards;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.6s forwards;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 160px;
}

.btn-primary {
    background: var(--color-primary);
    color: #fff;
}

.btn-primary:hover {
    background: #2d4bcc;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 91, 230, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--color-accent);
    border: 2px solid var(--color-accent);
}

.btn-secondary:hover {
    background: var(--color-accent);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 137, 106, 0.4);
}

.btn-accent {
    background: var(--color-accent);
    color: #fff;
    border-radius: 30px;
    padding: 14px 40px;
}

.btn-accent:hover {
    background: var(--color-accent-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 137, 106, 0.4);
}

/* ===== Products Section ===== */
.products {
    padding: var(--section-padding);
    background: var(--color-bg-alt);
    text-align: center;
}

.section-title {
    font-family: var(--font-body);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 400;
    color: var(--color-text);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--color-text-light);
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

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

.product-image {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-link {
    display: block;
    padding: 18px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-text);
    background: #f8f8f8;
    transition: background 0.3s ease, color 0.3s ease;
}

.product-link:hover {
    background: var(--color-primary);
    color: #fff;
}

/* ===== Certifications Section ===== */
.certifications {
    padding: var(--section-padding);
    background: var(--color-bg-alt);
    text-align: center;
}

.certs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.cert-card {
    padding: 20px;
}

.cert-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.cert-icon svg {
    width: 44px;
    height: 44px;
    stroke: #fff;
}

.cert-card:hover .cert-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(59, 91, 230, 0.35);
}

.cert-title {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.cert-desc {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ===== Sustainability Section ===== */
.sustainability {
    padding: var(--section-padding);
    background: var(--color-bg);
}

.sustainability-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.sustainability-tag {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-accent);
    display: block;
    margin-bottom: 16px;
}

.sustainability-title {
    font-family: var(--font-body);
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 400;
    color: var(--color-text);
    margin-bottom: 20px;
    line-height: 1.15;
}

.sustainability-desc {
    font-size: 16px;
    font-style: italic;
    color: var(--color-text-light);
    margin-bottom: 36px;
    line-height: 1.7;
}

.sustainability-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.sustainability-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.sustainability-image:hover img {
    transform: scale(1.05);
}

/* ===== Contact Section ===== */
.contact {
    padding: var(--section-padding);
    background: var(--color-bg-alt);
}

.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-title {
    font-family: var(--font-body);
    font-size: clamp(36px, 4vw, 48px);
    font-weight: 400;
    color: var(--color-text);
    margin-bottom: 12px;
}

.contact-subtitle {
    font-size: 16px;
    color: var(--color-text-light);
}

.contact-center {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 15px;
    color: var(--color-text);
}

.contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.contact-right {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-social {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 15px;
    color: var(--color-text);
    transition: color 0.3s ease;
}

.contact-social:hover {
    color: var(--color-primary);
}

.contact-social-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

/* ===== Footer ===== */
.footer {
    background: var(--color-footer);
    padding: 24px 0;
    text-align: center;
}

.footer p {
    font-size: 14px;
    color: #aaa;
}

/* ===== Scroll Reveal Animations ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .sustainability-inner {
        grid-template-columns: 1fr;
    }

    .sustainability-image img {
        height: 350px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }

    .container {
        padding: 0 20px;
    }

    .top-bar-left {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .top-bar-inner {
        flex-direction: column;
        gap: 12px;
    }

    .hero {
        min-height: 70vh;
    }

    .hero-content {
        padding: 40px 20px;
    }

    .hero-buttons {
        flex-direction: column;
    }

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

    .certs-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-center {
        gap: 20px;
    }

    .contact-right {
        flex-direction: row;
        justify-content: center;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .hero-title-line {
        font-size: 48px;
    }
}
