
:root {
    --bg: #fdfdfd;
    --panel: #ffffff;
    --text: #2d3436;
    --muted: #636e72;
    --brand: #a29bfe; /* soft lilac/lavender */
    --accent: #55efc4; /* soft mint */
    --border: #dfe6e9;
    --shadow: rgba(0,0,0,0.05);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; }
body {
    margin: 0;
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; border-radius: 8px; }

.container { width: min(1100px, 92%); margin: 0 auto; }

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 20;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }

.logo {
    display: flex; align-items: center; gap: .8rem; color: var(--text); text-decoration: none;
    font-size: 1.5rem; font-weight: 700; letter-spacing: -0.5px;
}
.logo-icon {
    width: 40px; height: 40px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
}

/* Navigation */
.nav ul { list-style: none; display: flex; gap: 1.5rem; margin: 0; padding: 0; }
.nav a { color: var(--text); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.nav a:hover:not(.btn) { color: var(--brand); }
.nav a.active { color: var(--brand); border-bottom: 2px solid var(--brand); }

/* Forms */
.contact-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    background: var(--panel);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 6px var(--shadow);
}

.form-row {
    margin-bottom: 1.5rem;
}

.form-row label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text);
}

.form-row input, 
.form-row textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.2s;
    background-color: #fff;
}

.form-row input:focus, 
.form-row textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(162, 155, 254, 0.1);
}

.hp-field {
    display: none;
}

.form-actions {
    margin-top: 2rem;
}

.form-actions .btn {
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.contact-info {
    margin-top: 3rem;
    text-align: center;
}

.contact-info a {
    color: var(--brand);
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Hero */
.hero { padding: 6rem 0; text-align: center; background: linear-gradient(to bottom, #f9f9ff, #ffffff); }
.hero-logo { margin-bottom: 2rem; display: flex; justify-content: center; }
.hero-logo-icon { width: 400px; height: 400px; max-width: 90%; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.1; margin-bottom: 1.5rem; color: #1e272e; }
.hero p { max-width: 600px; margin: 0 auto 2rem; color: var(--muted); font-size: 1.1rem; }

/* Sections */
.section { padding: 5rem 0; }
.section-title { text-align: center; margin-bottom: 3rem; }
.section-title h2 { font-size: 2.2rem; margin-bottom: 0.5rem; }
.section-title p { color: var(--muted); }

/* About Us */
.about-inner {
    display: flex;
    align-items: center;
    gap: 4rem;
}
.about-image {
    flex: 1;
    max-width: 400px;
}
.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px var(--shadow);
}
.about-content {
    flex: 1.5;
}
.about-content p {
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
    color: var(--muted);
}
@media (max-width: 768px) {
    .about-inner {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    .about-content .section-title {
        text-align: center !important;
    }
}

/* Product Grid */
.portfolio-group {
    margin-bottom: 4rem;
}
.group-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--brand);
    display: inline-block;
}
.empty-message {
    color: var(--muted);
    font-style: italic;
    grid-column: 1 / -1;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}
@media (max-width: 900px) {
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}
.product-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: zoom-in;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--shadow);
}
.product-image {
    aspect-ratio: 1/1;
    overflow: hidden;
    background: #f1f2f6;
}
.product-image img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.3s ease;
}
.product-card:hover .product-image img {
    transform: scale(1.05);
}
.product-info { padding: 0.8rem; }
.product-info h3 { margin: 0 0 0.3rem; font-size: 1rem; }
.product-info p { margin: 0; color: var(--muted); font-size: 0.8rem; }

/* Image modal */
.modal {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, visibility .2s ease;
    z-index: 1000;
}
.modal.is-open {
    opacity: 1;
    visibility: visible;
}
.modal-backdrop {
    position: absolute;
    inset: 0;
}
.modal-dialog {
    position: relative;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.5rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    width: fit-content;
    max-width: 95vw;
    max-height: 95vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.modal-dialog img {
    max-width: 100%;
    width: auto;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: contain;
    max-height: 80vh;
}
.modal-caption {
    margin: 0.5rem 0.25rem 0;
    color: var(--text);
    font-weight: 500;
    text-align: center;
}
.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: transparent;
    border: none;
    color: white;
    font-size: 2.5rem;
    line-height: 1;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-close:hover {
    color: var(--brand);
}
body.modal-open {
    overflow: hidden;
}

/* Footer */
.site-footer {
    padding: 4rem 0; background: #f1f2f6; border-top: 1px solid var(--border);
    text-align: center;
}
.footer-social { display: flex; justify-content: center; gap: 1.5rem; margin-bottom: 2rem; }
.footer-social a { color: var(--muted); font-size: 1.5rem; text-decoration: none; }
.footer-social a:hover { color: var(--brand); }

.footer-logo { margin-bottom: 1.5rem; display: flex; justify-content: center; }
.footer-logo-icon { width: 60px; height: 60px; }

.btn {
    display: inline-block; padding: 0.6rem 1.4rem; border-radius: 8px;
    font-weight: 600; text-decoration: none; transition: all 0.2s ease;
    border: none; cursor: pointer;
}
.btn-primary { background: var(--brand); color: black; }
.btn-primary:hover { 
    background: #9389f7; /* slightly darker/more saturated lilac */
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(162, 155, 254, 0.3);
}
.btn-primary:active {
    transform: translateY(0);
}

.nav .btn {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .nav { display: none; }
}
