/* Alphatrix — static site styles
   Theme from alphatrix.vn: Roboto headings (#0A74DA), Open Sans body (#333) */

:root {
  --brand: #0A74DA;
  --text: #333;
  --muted: #575757;
  --bg: #fff;
  --footer-bg: #f5f7fa;
  --max-width: 1140px;
}

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

body {
  margin: 0;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
}

h1, h2 {
  font-family: "Roboto", sans-serif;
  color: var(--brand);
  line-height: 1.2;
  margin: 0 0 1rem;
}

h1 { font-size: 2.9333rem; font-weight: 700; }
h2 { font-size: 2rem; font-weight: 700; }

a { color: var(--brand); text-decoration: none; transition: color .3s ease-in-out; }
a:hover { color: var(--muted); text-decoration: underline; }

img { max-width: 100%; height: auto; vertical-align: middle; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand);
  color: #fff;
  padding: .5rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid #eee;
  z-index: 10;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: .75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo { max-height: 64px; width: auto; }

.site-nav a {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  color: var(--text);
  margin-left: 1.75rem;
  text-transform: uppercase;
  font-size: .9rem;
  letter-spacing: .04em;
}
.site-nav a:hover { color: var(--brand); text-decoration: none; }

/* Hero */
.hero { padding: 4.5rem 1.25rem; }

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-copy p { font-size: 1.05rem; line-height: 1.7; margin: 0; }

.hero-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .12);
}

/* Footer */
.site-footer { background: var(--footer-bg); border-top: 1px solid #e5e9ef; }

.footer-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) 1.4fr;
  align-items: stretch;
}

.contact-panel { padding: 3rem 2.5rem; }

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  margin-bottom: 1.1rem;
}

.contact-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: .2rem;
  fill: var(--brand);
}

.map-panel {
  display: block;
  min-height: 250px;
  overflow: hidden;
}

.map-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.map-panel:hover img { transform: scale(1.02); }

.footer-bottom {
  text-align: center;
  padding: 1rem;
  font-size: .85rem;
  color: var(--muted);
  border-top: 1px solid #e5e9ef;
}
.footer-bottom p { margin: 0; }

/* Responsive */
@media screen and (max-width: 975px) {
  h1 { font-size: 2.2rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-image { order: -1; }
  .hero-image img { height: 320px; }
  .footer-grid { grid-template-columns: 1fr; }
  .map-panel { min-height: 300px; }
}

@media screen and (max-width: 575px) {
  .hero { padding: 2.5rem 1.25rem; }
  .logo { max-height: 48px; }
  .contact-panel { padding: 2rem 1.25rem; }
}
