/* RE Insight - Shared styles for lightweight pages */
:root {
    --primary: #228B22;
    --accent: #32CD32;
    --accent-dark: #1e6b1e;
    --light: #f0f8f0;
    --dark: #006400;
    --gray: #8FBC8F;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', sans-serif; line-height: 1.6; color: var(--dark); background: var(--light); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Nav */
nav {
    position: fixed; top: 0; width: 100%;
    background: rgba(34,139,34,0.95);
    padding: 12px 0; z-index: 1000;
    transition: background 0.3s;
}
nav.scrolled { background: rgba(34,139,34,1); }
nav ul { list-style: none; display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
nav a { color: white; text-decoration: none; font-weight: 500; transition: 0.3s; font-family: 'Orbitron', sans-serif; }
nav a:hover { color: var(--accent); transform: scale(1.05); }

/* Header */
header {
    height: 60vh;
    background: linear-gradient(rgba(34,139,34,0.75), rgba(34,139,34,0.75)), url('https://static.wixstatic.com/media/be9ff7_07914f2c60d248ed894cfb30720abe6e~mv2.png/v1/fill/w_1000,h_562,al_c,q_90,usm_0.66_1.00_0.01/be9ff7_07914f2c60d248ed894cfb30720abe6e~mv2.png') center/cover;
    color: white;
    display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 0 20px;
    animation: fadeIn 1.5s ease-in;
}
header .logo { max-width: 250px; margin-bottom: 10px; }
header h1 { font-family: 'Orbitron', sans-serif; font-size: 3.5rem; }
header h4 { font-size: 1.6rem; }
header .hero-sub { font-size: 1.2rem; margin: 15px 0; }
.header-sm header { height: 50vh; }
.header-sm header h1 { font-size: 3.2rem; }
.header-sm header h4 { font-size: 1.5rem; }

/* Section & typography */
section { padding: 60px 20px; max-width: 1400px; margin: 0 auto; animation: fadeIn 1s ease-in; }
.section-form section { padding: 80px 20px; }
h2 { color: var(--primary); font-size: 2.8rem; margin-bottom: 30px; text-align: center; font-family: 'Orbitron', sans-serif; }
h3 { color: var(--dark); font-size: 1.8rem; margin: 40px 0 20px; }
.txt-center { text-align: center; }
.max-w-900 { max-width: 900px; margin: 0 auto; }
.bg-white { background: white; }

/* Hero button */
.hero-btn {
    background: var(--accent); color: white;
    padding: 14px 35px; border-radius: 50px;
    font-weight: 600; display: inline-block;
    transition: 0.3s; text-decoration: none;
    border: none; cursor: pointer;
}
.hero-btn:hover { background: var(--accent-dark); transform: translateY(-3px); }
.hero-btn-block { width: 100%; padding: 16px 40px; font-size: 1.1rem; text-align: center; margin: 20px 0; }

/* Card & product */
.card { background: white; border-radius: 12px; box-shadow: 0 8px 25px rgba(0,0,0,0.12); }
.product-container, .form-container {
    background: white; border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    padding: 50px 40px; margin: 0 auto;
}
.product-container { max-width: 1100px; }
.form-container { max-width: 720px; }
.product-image { width: 100%; max-width: 800px; border-radius: 16px; box-shadow: 0 10px 40px rgba(0,0,0,0.15); margin: 30px auto; display: block; }
.managed-img { width: 100%; border-radius: 12px; margin: 20px 0; box-shadow: 0 8px 25px rgba(0,0,0,0.15); }

/* Products list */
.products-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.product-item { background: white; border-radius: 12px; box-shadow: 0 8px 25px rgba(0,0,0,0.12); padding: 25px; transition: transform 0.4s; }
.product-item:hover { transform: translateY(-5px); }
.product-item h3 { font-family: 'Orbitron', sans-serif; color: var(--primary); }
.product-link { text-decoration: none; color: inherit; display: block; cursor: pointer; position: relative; }
.product-link .click-hint { opacity: 0; position: absolute; bottom: 15px; left: 50%; transform: translateX(-50%); font-size: 0.9rem; font-weight: 600; color: var(--primary); background: rgba(0,0,0,0.08); padding: 8px 16px; border-radius: 8px; transition: opacity 0.3s; }
.product-link:hover .click-hint { opacity: 1; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
.team-member { background: white; border-radius: 12px; box-shadow: 0 8px 25px rgba(0,0,0,0.12); overflow: hidden; transition: all 0.4s; cursor: pointer; }
.team-member:hover { transform: translateY(-10px); box-shadow: 0 15px 40px rgba(50,205,50,0.3); }
.team-member img { width: 50%; aspect-ratio: 1; object-fit: cover; display: block; margin: 0 auto; }
.team-member .content { padding: 20px; text-align: center; }
.team-member .content h3 { color: var(--primary); margin-bottom: 8px; font-family: 'Orbitron', sans-serif; }
.short-bio { font-size: 0.95rem; color: #444; }
.detailed-bio { display: none; padding: 15px; background: var(--light); text-align: left; font-size: 0.95rem; }
.team-member.active .detailed-bio { display: block; }

/* Contact form (index) */
#contact { background: white; }
.contact-wrap { max-width: 600px; margin: 0 auto; }
.contact-wrap label { display: block; margin: 12px 0 4px; color: var(--dark); font-weight: 500; }
.contact-wrap input, .contact-wrap textarea { width: 100%; padding: 12px; border: 2px solid #ddd; border-radius: 8px; font-family: inherit; font-size: 1rem; }
.contact-wrap input:focus, .contact-wrap textarea:focus { outline: none; border-color: var(--primary); }
.contact-wrap input.error, .contact-wrap textarea.error { border-color: #c00; }
.contact-wrap .form-row { margin: 16px 0; }
.contact-wrap .btn { padding: 14px 30px; margin: 8px 8px 8px 0; border: none; border-radius: 50px; font-weight: 600; cursor: pointer; font-family: inherit; }
.contact-wrap .btn-submit { background: var(--accent); color: white; }
.contact-wrap .btn-submit:hover { background: var(--accent-dark); }
.contact-info { margin-top: 40px; padding-top: 30px; border-top: 1px solid #eee; color: #555; }
.contact-info a { color: var(--primary); }

/* Request demo form */
.form-group { margin-bottom: 24px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--dark); }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 14px 16px; border: 2px solid var(--gray);
    border-radius: 8px; font-size: 1rem; font-family: inherit;
    transition: border 0.3s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(50,205,50,0.15);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.checkbox-group { display: flex; align-items: center; gap: 10px; margin-top: 10px; }

/* Tables */
table { width: 100%; border-collapse: collapse; margin: 30px 0; }
th, td { border: 1px solid var(--gray); padding: 14px; text-align: left; }
th { background: var(--primary); color: white; font-family: 'Orbitron', sans-serif; }
ul, ol { padding-left: 20px; }
.pad-left { padding-left: 20px; }
li { margin-bottom: 12px; }

/* Address & map */
.address-block { text-align: center; margin: 40px 0; font-size: 1.1rem; line-height: 1.8; }
.map-container { margin: 50px auto 0; max-width: 900px; background: white; border-radius: 16px; box-shadow: 0 10px 40px rgba(0,0,0,0.15); overflow: hidden; padding: 20px; }
.map-container h3 { text-align: center; color: var(--primary); font-family: 'Orbitron', sans-serif; margin-bottom: 15px; }

/* Thank you page */
.thank-you header { height: 50vh; }
.thank-you header .logo { margin-bottom: 20px; }
.thank-you header h1 { font-size: 3.5rem; margin-bottom: 20px; }
.thank-you .content { max-width: 800px; margin: 0 auto; padding: 40px 20px; background: white; border-radius: 16px; box-shadow: 0 10px 40px rgba(0,0,0,0.1); }
.thank-you .content h2 { font-size: 2.5rem; margin: 40px 0 20px; }
.thank-you .content p { font-size: 1.2rem; margin-bottom: 30px; }
.thank-you .content p + p { margin: 20px 0; }
.thank-you .content a { color: var(--primary); font-weight: 600; }
.thank-you .hero-btn { padding: 16px 40px; font-size: 1.2rem; margin-top: 30px; }

/* Footer */
footer { background: var(--primary); color: white; text-align: center; padding: 40px 20px; }
.thank-you footer { margin-top: 60px; }

/* Utilities */
.required { color: #c00; }
.mb-20 { margin-bottom: 20px; }
.mt-20 { margin-top: 20px; }
.text-muted { color: #444; }

@media (max-width: 768px) {
    header { height: 50vh; }
    .header-sm header { height: 45vh; }
    nav ul { gap: 15px; }
    .product-container, .form-container { padding: 35px 25px; }
    .map-container { padding: 15px; }
}
