/* ========================================
   Trade Chemicals Europe BV - EU Hub Landing Page
   gbl-europe.eu
   ======================================== */

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

:root {
    --primary: #0d5c63;
    --primary-dark: #094249;
    --primary-light: #e8f4f5;
    --accent: #1a8a93;
    --accent-hover: #15747c;
    --gold: #c8a951;
    --gold-light: #f5ecd4;
    --text: #2c3e50;
    --text-light: #5a6c7d;
    --white: #ffffff;
    --bg-light: #f7f9fb;
    --bg-alt: #eef3f7;
    --border: #dce3ea;
    --shadow: 0 2px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 12px 48px rgba(0,0,0,0.15);
    --radius: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: 0.3s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text);
    line-height: 1.7;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid transparent;
    line-height: 1.4;
}
.btn-primary {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}
.btn-primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}
.btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
}
.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}
.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}
.btn-large { padding: 18px 40px; font-size: 1.1rem; }
.btn-nav {
    background: var(--accent);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: var(--radius);
    font-size: 0.95rem;
}
.btn-nav:hover {
    background: var(--accent-hover);
    color: var(--white) !important;
}

/* --- Header --- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    padding-bottom: 12px;
}
.logo-link { display: flex; align-items: center; }
.logo { height: 52px; width: auto; }
.header-nav ul {
    display: flex;
    align-items: center;
    gap: 24px;
}
.header-nav a {
    color: var(--text);
    font-weight: 500;
    font-size: 0.93rem;
}
.header-nav a:hover { color: var(--accent); }
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 32px;
    height: 24px;
    position: relative;
    z-index: 1001;
}
.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--text);
    border-radius: 2px;
    position: absolute;
    left: 0;
    transition: all var(--transition);
}
.mobile-menu-toggle span:nth-child(1) { top: 0; }
.mobile-menu-toggle span:nth-child(2) { top: 10px; }
.mobile-menu-toggle span:nth-child(3) { top: 20px; }
.mobile-menu-toggle.active span:nth-child(1) { top: 10px; transform: rotate(45deg); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { top: 10px; transform: rotate(-45deg); }

/* --- Hero (Enhanced for Hub) --- */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, #0a4a50 40%, var(--accent) 100%);
    color: var(--white);
    padding: 90px 0 100px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -40%;
    right: -15%;
    width: 700px;
    height: 700px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
}
.hero-inner {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}
.hero-text { flex: 1; }
.hero-text h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 22px;
}
.highlight { color: var(--gold); }
.hero-subtitle {
    font-size: 1.18rem;
    line-height: 1.75;
    margin-bottom: 32px;
    opacity: 0.93;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-badges { display: flex; gap: 14px; flex-wrap: wrap; }
.badge {
    background: rgba(255,255,255,0.13);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 500;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.1);
}
.hero-image {
    flex: 0 0 300px;
    text-align: center;
}
.hero-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    background: var(--white);
    padding: 20px;
    max-height: 380px;
    width: auto;
    margin: 0 auto;
}

/* --- Trust Bar --- */
.trust-bar {
    background: var(--primary-dark);
    color: var(--white);
    padding: 40px 0;
}
.trust-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}
.trust-item { text-align: center; }
.trust-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--gold);
}
.trust-label {
    font-size: 0.9rem;
    opacity: 0.85;
    margin-top: 4px;
    display: block;
}

/* --- Sections --- */
.section { padding: 90px 0; }
.section:nth-child(even) { background: var(--bg-light); }
.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: var(--primary);
}
.section-intro {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 52px;
    color: var(--text-light);
    font-size: 1.08rem;
    line-height: 1.75;
}
.section-intro a { color: var(--accent); text-decoration: underline; }

/* --- About Us Grid --- */
.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.about-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}
.about-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.about-icon { font-size: 2.4rem; margin-bottom: 16px; }
.about-card h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 14px;
}
.about-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 12px;
    line-height: 1.7;
}
.values-list { list-style: none; padding: 0; }
.values-list li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.93rem;
    color: var(--text-light);
    line-height: 1.6;
}
.values-list li:last-child { border-bottom: none; }

/* --- Product Card --- */
.product-card {
    display: flex;
    gap: 48px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 44px;
    align-items: center;
    margin-bottom: 48px;
}
.product-image-wrap {
    flex: 0 0 240px;
    text-align: center;
}
.product-image-wrap img {
    border-radius: var(--radius);
    max-height: 320px;
    width: auto;
    margin: 0 auto;
}
.product-info { flex: 1; }
.product-info h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 18px;
}
.product-specs {
    margin-bottom: 22px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.product-specs li {
    font-size: 0.95rem;
    padding: 7px 0;
    border-bottom: 1px solid var(--border);
}
.product-info p {
    margin-bottom: 24px;
    color: var(--text-light);
}

/* --- Product Uses Grid --- */
.product-uses {
    margin-top: 16px;
}
.product-uses h3 {
    font-size: 1.4rem;
    color: var(--primary);
    text-align: center;
    margin-bottom: 32px;
}
.uses-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.use-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform var(--transition);
}
.use-item:hover { transform: translateY(-3px); }
.use-icon { font-size: 2rem; margin-bottom: 12px; display: block; }
.use-item h4 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 8px;
}
.use-item p { font-size: 0.88rem; color: var(--text-light); line-height: 1.6; }

/* --- Country Selector --- */
.country-section { background: var(--bg-light) !important; }

.region-group {
    margin-bottom: 40px;
}
.region-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border);
}
.country-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 20px;
}
.country-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    text-decoration: none;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}
.country-card::after {
    content: '→';
    position: absolute;
    top: 12px;
    right: 14px;
    font-size: 1.1rem;
    color: var(--accent);
    opacity: 0;
    transition: opacity var(--transition), transform var(--transition);
    transform: translateX(-4px);
}
.country-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}
.country-card:hover::after {
    opacity: 1;
    transform: translateX(0);
}
.country-flag {
    font-size: 3rem;
    margin-bottom: 12px;
    line-height: 1;
}
.country-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
    text-align: center;
}
.country-lang {
    font-size: 0.82rem;
    color: var(--text-light);
    margin-bottom: 6px;
}
.country-url {
    font-size: 0.78rem;
    color: var(--accent);
    font-weight: 500;
    background: var(--primary-light);
    padding: 3px 10px;
    border-radius: 20px;
}
.country-card-intl {
    border: 2px dashed var(--accent);
    background: var(--primary-light);
}
.country-card-intl:hover {
    border-color: var(--primary);
    background: var(--white);
}

.country-note {
    text-align: center;
    margin-top: 32px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.country-note p {
    font-size: 0.98rem;
    color: var(--text-light);
}
.country-note a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: underline;
}

/* --- Features Grid --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.feature-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.feature-icon { font-size: 2.4rem; margin-bottom: 16px; }
.feature-card h3 {
    font-size: 1.12rem;
    color: var(--primary);
    margin-bottom: 12px;
}
.feature-card p { font-size: 0.93rem; color: var(--text-light); line-height: 1.7; }

/* --- Applications --- */
.applications-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.app-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--accent);
    transition: transform var(--transition);
}
.app-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.app-card h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 10px;
}
.app-card p { color: var(--text-light); font-size: 0.95rem; line-height: 1.7; }

/* --- Certifications --- */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.cert-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform var(--transition);
    border-top: 4px solid var(--gold);
}
.cert-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cert-icon { font-size: 2.4rem; margin-bottom: 14px; }
.cert-card h3 {
    font-size: 1.05rem;
    color: var(--primary);
    margin-bottom: 10px;
}
.cert-card p { font-size: 0.88rem; color: var(--text-light); line-height: 1.65; }

/* --- Testimonials --- */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    box-shadow: var(--shadow);
    position: relative;
    transition: transform var(--transition);
}
.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 16px;
    right: 24px;
    font-size: 4rem;
    color: var(--primary-light);
    font-family: Georgia, serif;
    line-height: 1;
}
.testimonial-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.testimonial-stars {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 14px;
    letter-spacing: 2px;
}
.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.75;
    margin-bottom: 20px;
    font-style: italic;
}
.testimonial-author strong {
    display: block;
    color: var(--primary);
    font-size: 0.93rem;
}
.testimonial-author span {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* --- FAQ --- */
.faq-list {
    max-width: 820px;
    margin: 0 auto;
}
.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    margin-bottom: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: box-shadow var(--transition);
}
.faq-item:hover { box-shadow: var(--shadow-lg); }
.faq-question {
    padding: 20px 28px;
    font-weight: 600;
    font-size: 1.02rem;
    cursor: pointer;
    color: var(--primary);
    list-style: none;
    position: relative;
    padding-right: 48px;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
    content: '+';
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    color: var(--accent);
    font-weight: 300;
    transition: transform var(--transition);
}
details[open] .faq-question::after {
    content: '−';
}
.faq-answer {
    padding: 0 28px 22px;
}
.faq-answer p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.75;
}
.faq-answer a { color: var(--accent); text-decoration: underline; }

/* --- CTA Section --- */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%) !important;
    color: var(--white);
    text-align: center;
}
.cta-inner h2 {
    font-size: 2.2rem;
    margin-bottom: 16px;
    color: var(--white);
}
.cta-inner p {
    font-size: 1.12rem;
    max-width: 640px;
    margin: 0 auto 36px;
    opacity: 0.93;
}
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* --- Footer (Enhanced for Hub) --- */
.site-footer {
    background: var(--primary-dark);
    color: var(--white);
    padding-top: 56px;
}
.footer-main {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-logo { height: 42px; width: auto; margin-bottom: 12px; filter: brightness(1.5); }
.footer-brand p { opacity: 0.7; font-size: 0.88rem; line-height: 1.7; }
.footer-col {}
.site-footer h4 {
    font-size: 0.95rem;
    margin-bottom: 16px;
    color: var(--gold);
}
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,0.75); font-size: 0.88rem; }
.footer-links a:hover { color: var(--white); }
.footer-links li:not(:has(a)) { color: rgba(255,255,255,0.6); font-size: 0.88rem; }
.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 0.82rem;
    opacity: 0.55;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
    .hero-text h1 { font-size: 2.4rem; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .cert-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-main { grid-template-columns: 1fr 1fr 1fr; }
    .uses-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .mobile-menu-toggle { display: block; }
    .header-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: var(--shadow-lg);
        padding: 24px;
    }
    .header-nav.open { display: block; }
    .header-nav ul {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
        text-align: center;
    }
    .hero { padding: 56px 0 64px; }
    .hero-inner { flex-direction: column; gap: 36px; text-align: center; }
    .hero-text h1 { font-size: 2rem; }
    .hero-cta { justify-content: center; }
    .hero-badges { justify-content: center; }
    .hero-image { flex: 0 0 auto; }
    .product-card { flex-direction: column; padding: 28px; gap: 28px; }
    .product-specs { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .applications-grid { grid-template-columns: 1fr; }
    .cert-grid { grid-template-columns: 1fr; }
    .testimonial-grid { grid-template-columns: 1fr; }
    .uses-grid { grid-template-columns: 1fr 1fr; }
    .country-grid { grid-template-columns: repeat(2, 1fr); }
    .section { padding: 56px 0; }
    .section-title { font-size: 1.65rem; }
    .footer-main { grid-template-columns: 1fr 1fr; text-align: left; }
    .trust-inner { gap: 16px; }
    .trust-number { font-size: 1.5rem; }
}

@media (max-width: 480px) {
    .hero-text h1 { font-size: 1.65rem; }
    .btn { padding: 12px 24px; font-size: 0.93rem; }
    .btn-large { padding: 14px 28px; font-size: 1rem; }
    .container { padding: 0 16px; }
    .country-grid { grid-template-columns: 1fr; }
    .uses-grid { grid-template-columns: 1fr; }
    .footer-main { grid-template-columns: 1fr; text-align: center; }
    .cta-inner h2 { font-size: 1.6rem; }
}
