/*
Theme Name: HMC Clone
Theme URI: https://example.com/hmc-clone
Author: Lovable
Author URI: https://lovable.dev
Description: A clone of the Haaglanden Medisch Centrum website. Clean, accessible hospital theme with blue/yellow palette, hero help-form, quick links, locations, news and events sections.
Version: 1.0.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hmc-clone
Tags: healthcare, blue, custom-colors, custom-menu, featured-images, full-width-template, translation-ready
*/

:root{
  --hmc-blue:#1a3a8a;
  --hmc-blue-dark:#142d6c;
  --hmc-yellow:#f5c518;
  --hmc-light:#f3f6fb;
  --hmc-text:#1f2a44;
  --hmc-muted:#6b7280;
  --hmc-border:#e5e7eb;
  --hmc-bg:#ffffff;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:'Source Sans 3','Segoe UI',system-ui,-apple-system,sans-serif;
  color:var(--hmc-text);
  background:var(--hmc-bg);
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto;display:block}
a{color:var(--hmc-blue);text-decoration:none}
a:hover{text-decoration:underline}
button{font:inherit;cursor:pointer;border:none;background:none}
.container{max-width:1200px;margin:0 auto;padding:0 24px}

/* Header */
.site-header{border-bottom:1px solid var(--hmc-border);background:#fff}
.header-top{display:flex;align-items:center;gap:24px;padding:18px 0}
.logo{display:flex;align-items:baseline;font-weight:800;color:var(--hmc-blue);font-size:0;line-height:1}
.logo .h,.logo .mc{font-size:46px}
.logo .plus{font-size:28px;color:var(--hmc-yellow);margin:0 2px}
.search-wrap{flex:1;display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.search{position:relative;flex:1;max-width:560px;min-width:200px}
.search input{width:100%;padding:11px 38px 11px 16px;border:1px solid var(--hmc-border);border-radius:8px;font-size:14px}
.search .icon{position:absolute;right:12px;top:50%;transform:translateY(-50%);color:var(--hmc-blue)}
.action-btns{display:flex;gap:8px;flex-wrap:wrap}
.action-btn{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--hmc-border);background:#fff;border-radius:8px;padding:8px 12px;font-weight:600;color:var(--hmc-blue);font-size:14px}
.action-btn:hover{background:var(--hmc-light);text-decoration:none}
.action-btn .dot{width:18px;height:18px;background:var(--hmc-yellow);border-radius:4px;display:inline-block}
.main-nav{display:flex;justify-content:space-between;flex-wrap:wrap;gap:16px;padding-bottom:14px}
.main-nav ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:24px}
.main-nav .primary a{color:var(--hmc-blue);font-weight:700}
.main-nav .top a{color:var(--hmc-blue);font-size:14px}

/* Hero */
.hero{position:relative}
.hero-img{position:relative;width:100%;height:560px;overflow:hidden}
.hero-img img{width:100%;height:100%;object-fit:cover}
.hero-overlay{position:absolute;inset:0}
.hero-overlay .container{height:100%;display:flex;align-items:center;justify-content:flex-end}
.hero-card{background:var(--hmc-blue);color:#fff;padding:32px;width:100%;max-width:420px;box-shadow:0 20px 40px rgba(0,0,0,.25)}
.hero-card h1{font-size:28px;margin:0 0 20px;line-height:1.25}
.hero-card label{font-size:14px;display:block;margin-bottom:6px}
.hero-card select{width:100%;padding:12px 14px;border-radius:6px;border:0;font-size:14px;color:var(--hmc-text);background:#fff;-webkit-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231a3a8a' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;padding-right:38px}
.hero-card .field{margin-bottom:16px}
.btn-primary{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;background:var(--hmc-yellow);color:var(--hmc-blue);font-weight:800;padding:14px;border-radius:6px}
.btn-primary:hover{filter:brightness(1.05);text-decoration:none}

/* Info columns */
.info-cols{padding:64px 0;display:grid;grid-template-columns:repeat(4,1fr);gap:40px}
.info-cols h2{color:var(--hmc-blue);font-size:24px;margin:0 0 16px}
.info-cols ul{list-style:none;margin:0;padding:0}
.info-cols li{display:flex;gap:8px;align-items:flex-start;margin-bottom:8px}
.info-cols li .arrow{color:var(--hmc-yellow);font-weight:900;margin-top:1px}
.muted{color:var(--hmc-muted);font-size:14px}
.location-item{margin-bottom:14px}
.location-item a{font-weight:700;display:block}

/* Why HMC */
.why{background:var(--hmc-light);padding:64px 0}
.why h2{color:var(--hmc-blue);font-size:30px;margin:0 0 28px}
.why-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.why-card{background:#fff;border:1px solid var(--hmc-border);border-radius:12px;padding:22px;color:var(--hmc-blue);font-weight:700;display:flex;align-items:center;justify-content:space-between;transition:box-shadow .2s}
.why-card:hover{box-shadow:0 10px 24px rgba(0,0,0,.08);text-decoration:none}
.why-card .arrow{color:var(--hmc-yellow);font-size:20px}

/* Story */
.story{padding:64px 0;display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.story h2{color:var(--hmc-blue);font-size:36px;line-height:1.2;margin:0 0 20px}
.story p{font-size:16px}
.story .img{aspect-ratio:4/3;background:var(--hmc-light);border-radius:12px;overflow:hidden}
.story .img img{width:100%;height:100%;object-fit:cover}
.btn-blue{display:inline-flex;align-items:center;gap:8px;background:var(--hmc-blue);color:#fff;padding:12px 22px;border-radius:6px;font-weight:700;margin-right:12px}
.btn-blue:hover{background:var(--hmc-blue-dark);text-decoration:none}
.link-arrow{color:var(--hmc-blue);font-weight:700;display:inline-flex;align-items:center;gap:6px}
.link-arrow .arrow{color:var(--hmc-yellow)}

/* News & events */
.news-events{background:var(--hmc-light);padding:64px 0}
.news-events .grid{display:grid;grid-template-columns:1fr 1fr;gap:48px}
.news-events h2{color:var(--hmc-blue);font-size:30px;margin:0 0 24px}
.news-list,.events-list{list-style:none;margin:0;padding:0}
.news-list li,.events-list li{border-bottom:1px solid var(--hmc-border);padding:16px 0}
.news-list .date,.events-list .meta{color:var(--hmc-muted);font-size:14px}
.news-list a,.events-list a{display:block;color:var(--hmc-blue);font-size:18px;font-weight:700;margin-top:4px}

/* Trauma */
.trauma{background:var(--hmc-blue);color:#fff;padding:64px 0}
.trauma .container{display:grid;grid-template-columns:auto 1fr;gap:32px;align-items:center}
.trauma .badge{width:96px;height:96px;border-radius:50%;background:var(--hmc-yellow);color:var(--hmc-blue);display:flex;align-items:center;justify-content:center;font-size:48px;font-weight:900}
.trauma h2{font-size:30px;margin:0 0 8px}
.trauma p{font-size:20px;font-style:italic;margin:0 0 16px}
.trauma .btn-primary{display:inline-flex;width:auto;padding:12px 22px}

/* Footer */
.site-footer{background:var(--hmc-blue-dark);color:#fff}
.site-footer .grid{display:grid;grid-template-columns:repeat(4,1fr);gap:32px;padding:48px 0;font-size:14px}
.site-footer h3{margin:0 0 12px;font-size:16px}
.site-footer ul{list-style:none;margin:0;padding:0;opacity:.9}
.site-footer li{margin-bottom:4px}
.site-footer .copy{border-top:1px solid rgba(255,255,255,.1);padding:18px 0;text-align:center;font-size:12px;opacity:.7}

/* Responsive */
@media(max-width:900px){
  .info-cols{grid-template-columns:repeat(2,1fr)}
  .why-grid{grid-template-columns:repeat(2,1fr)}
  .story,.news-events .grid,.site-footer .grid{grid-template-columns:1fr}
  .hero-overlay .container{justify-content:center}
  .hero-img{height:auto;min-height:380px}
}
@media(max-width:600px){
  .header-top{flex-direction:column;align-items:stretch}
  .info-cols{grid-template-columns:1fr;padding:40px 0;gap:32px}
  .why-grid,.site-footer .grid{grid-template-columns:1fr}
  .trauma .container{grid-template-columns:1fr;text-align:center}
  .trauma .badge{margin:0 auto}
}
