/* =============================================
   NETACH WEBSITE - CSS
   Colors extracted from netach.nl:
   Orange accent  : #FF5722  (rgb 255,87,34)
   Dark orange bar: #D54E21  (rgb 213,78,33)
   Dark bg        : #38342F  (rgb 56,52,47)
   Medium bg      : #514945  (rgb 81,73,69)
   Light text     : #F4F3F2  (rgb 244,243,242)
   Font: Arsenal + Lato
   ============================================= */

:root {
    --orange:       #DD8500;  /* exact Netach orange: rgb(221,133,0) */
    --orange-dark:  #C47800;  /* slightly darker for hover */
    --bg-dark:      #38342F;
    --bg-medium:    #514945;
    --bg-content:   #4A4540;
    --text-light:   #F4F3F2;
    --text-muted:   #C8C4C0;
    --border-color: #6A6560;
    --white:        #FFFFFF;
    --body-bg:      #EDEDED;  /* exact: rgb(237,237,237) */
}

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; }

html {
    margin: 0;
    padding: 0;
    background: var(--body-bg);
}

body {
    margin: 0;
    padding: 0;
    background: var(--body-bg);
    font-family: 'Arsenal', 'Lato', Helvetica, Arial, sans-serif;
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

/* ---- Site wrapper: matches original 1050px centered box ---- */
.site-wrapper {
    max-width: 1050px;
    margin: 0 auto;
    background: var(--bg-dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    background: var(--bg-dark);
    display: flex;
    flex-direction: column;
}

a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--orange-dark); text-decoration: underline; }

.netach-orange { color: var(--orange); }
.netach-link   { color: var(--orange); }
.netach-link:hover { color: var(--orange-dark); }

/* ---- Top bar ---- */
.netach-topbar {
    background: var(--orange);
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 20px;
}

.topbar-yt {
    color: #000;      /* icon is black on amber bg, matching original */
    font-size: 1.2rem;
    line-height: 1;
}
.topbar-yt:hover { color: #333; text-decoration: none; }

/* ---- Navbar ---- */
.netach-navbar {
    background: var(--white);
    border-bottom: 1px solid #ddd;
    padding: 0;
}

.netach-navbar-inner {
    max-width: 100%;
    margin: 0 auto;
    padding: 6px 20px;
}

.netach-logo {
    height: 48px;
    width: auto;
}

.netach-navbar .nav-link {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #38342F !important;
    padding: 8px 12px;
    transition: color 0.15s;
}

.netach-navbar .nav-link:hover,
.netach-navbar .nav-link.active {
    color: var(--orange) !important;
    text-decoration: none;
}

.netach-navbar .nav-link.active {
    border-bottom: 2px solid var(--orange);
}

.netach-navbar .dropdown-menu {
    border-radius: 0;
    border: 1px solid #ddd;
    padding: 0;
    min-width: 160px;
}

.netach-navbar .dropdown-item {
    font-family: 'Lato', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #38342F;
    padding: 8px 16px;
}

.netach-navbar .dropdown-item:hover { background: var(--orange); color: var(--white); }

/* Language toggle button */
.btn-lang {
    background: none;
    border: none;
    cursor: pointer;
    color: #38342F;
    font-family: 'Lato', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
}
.btn-lang:hover { color: var(--orange); }
.btn-lang img { height: 16px; }

/* ---- Hero ---- */
.hero-section {
    background-image: url('/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-color: var(--bg-dark);
    min-height: 210px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}

.hero-overlay {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 100%;
    padding: 40px 20px;
}

.hero-title {
    font-family: 'Arsenal', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.05em;
    margin: 0 0 12px;
}

.hero-line {
    width: 200px;
    height: 1px;
    background: var(--white);
    margin: 0 auto;
    opacity: 0.6;
}

/* ---- Page header (inner pages) ---- */
.page-header {
    background: var(--bg-content);
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.page-header-inner {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.page-header h1 {
    font-family: 'Arsenal', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--orange);
    margin: 0;
    text-transform: none;
}

.netach-breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
    font-size: 0.75rem;
}

.netach-breadcrumb .breadcrumb-item a { color: var(--text-muted); }
.netach-breadcrumb .breadcrumb-item.active { color: var(--text-muted); }
.netach-breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: var(--text-muted); }

/* ---- Content section ---- */
.netach-content-section {
    background: var(--bg-dark);
    padding: 130px 20px;
}

.netach-content-inner {
    max-width: 760px;
    margin: 0 auto;
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.7;
}

.netach-content-inner p { margin-bottom: 1rem; }

.netach-highlight {
    color: var(--orange);
    font-weight: 700;
}

/* ---- Separator ---- */
.netach-separator {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 16px 0;
}

.netach-separator-section {
    background: var(--bg-dark);
    padding: 0 20px;
}
.netach-separator-section .netach-separator { max-width: 760px; margin: 0 auto; }

/* ---- SOLIDWORKS badge section ---- */
.netach-solidworks-section {
    background: var(--bg-dark);
    text-align: center;
    padding: 75px 20px 110px;
}

.sw-badge {
    width: 100px;
    height: auto;
    display: block;
    margin: 0 auto 8px;
}

.sw-link-text {
    font-size: 0.8rem;
    color: var(--orange);
    margin: 0;
}

/* ---- Accordion (Over Ons) ---- */
.netach-accordion {
    margin: 0;
}

.netach-accordion-item {
    border-top: 1px solid var(--border-color);
}
.netach-accordion-item:last-child { border-bottom: 1px solid var(--border-color); }

.netach-accordion-btn {
    width: 100%;
    background: var(--bg-content);
    color: var(--orange);
    border: none;
    text-align: left;
    padding: 12px 16px;
    font-family: 'Arsenal', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.netach-accordion-btn:hover { background: #55504A; }
.netach-accordion-btn[aria-expanded="true"] { background: var(--bg-content); }

.acc-icon {
    font-size: 1rem;
    line-height: 1;
    color: var(--orange);
    min-width: 16px;
}

.netach-accordion-body {
    background: var(--bg-dark);
    padding: 16px;
    font-size: 0.88rem;
    line-height: 1.7;
    color: var(--text-light);
}

.netach-accordion-body p { margin-bottom: 0.8rem; }
.netach-accordion-body p:last-child { margin-bottom: 0; }

.eula-text h5 { color: var(--orange); font-size: 0.95rem; margin-top: 1rem; }
.eula-text h6 { color: var(--text-muted); font-size: 0.85rem; margin-top: 0.8rem; }
.eula-text p  { font-size: 0.82rem; }
.eula-text hr { border-color: var(--border-color); margin: 16px 0; }

/* ---- Expertise ---- */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    padding-top: 8px;
}

.expertise-category { }

.expertise-icon {
    font-size: 2rem;
    color: var(--orange);
    margin-bottom: 8px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-content);
    display: flex;
    align-items: center;
    justify-content: center;
}

.expertise-title {
    font-family: 'Arsenal', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.expertise-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-light);
}

.expertise-list li {
    padding: 3px 0;
    padding-left: 12px;
    position: relative;
    color: var(--orange);
}

.expertise-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--orange);
}

/* ---- Portfolio ---- */
.portfolio-section {
    background: var(--bg-dark);
    padding: 16px;
}

.portfolio-grid {
    max-width: 780px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    background: var(--bg-content);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.portfolio-item:hover img { transform: scale(1.05); }

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(213, 78, 33, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s;
    padding: 8px;
}

.portfolio-item:hover .portfolio-overlay { opacity: 1; }

.portfolio-overlay span {
    color: var(--white);
    font-family: 'Arsenal', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
}

/* Modal */
.netach-modal { background: var(--bg-dark); border: 1px solid var(--border-color); }
.netach-modal-header {
    background: var(--bg-content);
    border-bottom: 1px solid var(--border-color);
    color: var(--orange);
}

/* ---- Netach Viewer ---- */
.viewer-screenshot-wrap {
    text-align: center;
    margin: 20px 0;
}

.viewer-screenshot {
    max-width: 100%;
    height: auto;
    border: 1px solid var(--border-color);
}

.viewer-pricing-section {
    background: var(--bg-dark);
    padding: 32px 20px 40px;
}

.viewer-pricing-grid {
    max-width: 760px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.pricing-card {
    text-align: center;
    padding: 0;
    color: var(--text-light);
}

.pricing-icon { font-size: 1.5rem; margin-bottom: 8px; }
.pricing-tier {
    font-family: 'Lato', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--orange);
    margin-bottom: 8px;
}
.pricing-separator {
    border-top: 1px solid var(--border-color);
    margin: 10px auto;
    max-width: 200px;
}
.pricing-price {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 8px 0 2px;
}
.pricing-period {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}
.pricing-desc {
    font-size: 0.83rem;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 16px;
}

.btn-netach-download {
    display: inline-block;
    background: var(--orange);
    color: var(--white) !important;
    font-family: 'Lato', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 8px 20px;
    text-decoration: none;
    transition: background 0.15s;
}
.btn-netach-download:hover { background: var(--orange-dark); color: var(--white) !important; }

/* ---- Footer ---- */
.netach-footer {
    background: var(--bg-dark);
    padding: 0 20px;
    text-align: center;
}

.footer-separator {
    border-top: 1px solid var(--border-color);
    margin: 0 auto;
    max-width: 760px;
}

.footer-content {
    max-width: 760px;
    margin: 0 auto;
    padding: 52px 0 55px;
}

.footer-follow-text {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.footer-social a {
    color: var(--orange);
    font-size: 1.3rem;
    transition: color 0.15s;
}

.footer-social a:hover { color: var(--orange-dark); }

/* ---- Contact page ---- */
.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 24px 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-icon {
    font-size: 1.4rem;
    color: var(--orange);
    width: 36px;
    text-align: center;
    flex-shrink: 0;
}

.contact-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 2px;
}

.contact-value {
    font-size: 0.9rem;
    color: var(--text-light);
}
.contact-value:hover { color: var(--orange); }

/* ---- Help PDF embed ---- */
.help-pdf-wrap {
    width: 100%;
    border: 1px solid var(--border-color);
}

.help-pdf-frame {
    width: 100%;
    height: 600px;
    border: none;
    display: block;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .hero-title { font-size: 1.4rem; }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .viewer-pricing-grid { grid-template-columns: 1fr; }
    .page-header-inner { flex-direction: column; align-items: flex-start; }
    .expertise-grid { grid-template-columns: 1fr; }
}

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