/* Base styles */

:root {
    --color-bg: #0c1117;
    --color-bg-alt: #141b23;
    --color-card: #192230;
    --color-primary: #26a69a;
    --color-primary-soft: rgba(38, 166, 154, 0.15);
    --color-accent: #f5a623;
    --color-text: #f5f7fa;
    --color-text-muted: #9ba7b4;
    --color-border: #273341;
    --shadow-soft: 0 14px 30px rgba(0, 0, 0, 0.45);
    --radius-lg: 18px;
    --radius-pill: 999px;
    --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: var(--font-sans);
    background-color: var(--color-bg);
    color: var(--color-text);
}

/* Layout helpers */

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.section {
    padding: 4rem 0;
}

.section-alt {
    background-color: var(--color-bg-alt);
}

h1, h2, h3 {
    margin-top: 0;
    font-weight: 600;
}

p {
    margin-top: 0;
    line-height: 1.6;
    color: var(--color-text-muted);
}

/* Header / Nav */

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(12, 17, 23, 0.96);
    border-bottom: 1px solid var(--color-border);
    backdrop-filter: blur(12px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    gap: 1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo {
    width: 150px;
    height: auto;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1rem;
    font-weight: 600;
}

.brand-tagline {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    padding: 0.35rem 0.6rem;
    color: var(--color-text);
    font-size: 1.1rem;
    cursor: pointer;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.25rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    padding-bottom: 0.2rem;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-links a:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
}

/* Hero */

.hero {
    padding: 2.5rem 0 3.0rem;
    background: radial-gradient(circle at top left, #1e2936, #05070b 60%);
    border-bottom: 1px solid var(--color-border);
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr);
    gap: 2.5rem;
    align-items: center;
}

.hero-content h1 {
    font-size: clamp(1.8rem, 2.4vw + 1.2rem, 2.4rem);
    margin-bottom: 1rem;
}

.hero-content p {
    max-width: 32rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.hero-highlight {
    background: linear-gradient(145deg, var(--color-card), var(--color-bg-alt));
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
}

.hero-highlight h2 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.4rem;
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.1s ease;
    white-space: nowrap;
}

.btn.primary {
    background-color: var(--color-primary);
    color: #041014;
    box-shadow: 0 10px 20px rgba(38, 166, 154, 0.35);
}

.btn.primary:hover {
    background-color: #1f8f85;
    transform: translateY(-1px);
}

.btn.secondary {
    background-color: transparent;
    border-color: var(--color-border);
    color: var(--color-text-muted);
}

.btn.secondary:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* Cards & Grid */

.grid {
    display: grid;
    gap: 1.5rem;
}

.two-column {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.three-column {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
    background-color: var(--color-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
}

.card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
}

.card ul {
    padding-left: 1.1rem;
    margin: 0;
}

.card li {
    color: var(--color-text-muted);
    margin-bottom: 0.4rem;
}

.card li.indent {
    list-style: none;
    margin-left: 0.8rem;
}

/* Section headings */

.section h2 {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

/* Products */

.product-card p {
    margin-bottom: 0.75rem;
}

/* Contact */

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr);
    gap: 2rem;
    align-items: flex-start;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.contact-list li {
    margin-bottom: 0.4rem;
    color: var(--color-text-muted);
}

.contact-list a {
    color: var(--color-primary);
    text-decoration: none;
}

.contact-list a:hover {
    text-decoration: underline;
}

.contact-form-card {
    background-color: var(--color-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
}

/* Form */

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 0.9rem;
}

.form-group label {
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
    color: var(--color-text-muted);
}

.form-group input,
.form-group textarea {
    background-color: #0b1118;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    padding: 0.55rem 0.7rem;
    font-size: 0.9rem;
    color: var(--color-text);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-primary);
}

/* Footer */

.site-footer {
    border-top: 1px solid var(--color-border);
    padding: 1.5rem 0 2rem;
    background-color: #05070b;
}

.footer-inner {
    text-align: center;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.footer-inner p {
    margin: 0.3rem 0;
}

/* Responsive */

@media (max-width: 800px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .header-inner {
        align-items: center;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav-links {
        position: absolute;
        top: 56px;
        right: 0;
        flex-direction: column;
        background-color: #05070b;
        border-left: 1px solid var(--color-border);
        border-bottom: 1px solid var(--color-border);
        padding: 0.5rem 1rem 0.75rem;
        display: none;
        min-width: 170px;
    }

    .nav-links.nav-open {
        display: flex;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 3.5rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .brand-name {
        font-size: 0.95rem;
    }

    .brand-tagline {
        display: none;
    }
}

/* Product Showcase (image under Products heading) */
.product-showcase {
    margin: 1.25rem 0 2rem;
    padding: 0;
    background: linear-gradient(145deg, var(--color-card), var(--color-bg-alt));
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    overflow: hidden;              /* clips rounded corners */
}

/* IMPORTANT: remove default figure margin behavior in some browsers */
figure.product-showcase {
    margin: 1.25rem 0 2rem;        /* explicit figure margin */
}

/* Make sure picture behaves like a block wrapper */
.product-showcase picture {
    display: block;
}

.product-showcase img {
    width: 100%;
    height: auto;                  /* prevents stretching */
    display: block;
    border-bottom: 1px solid var(--color-border);
}

.product-showcase figcaption {
    display: block;
    margin: 0;                     /* IMPORTANT: keep caption inside */
    padding: 0.9rem 1.1rem 1.1rem;
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}


















