/* Celtic Cold Stores - static rebuild of the original Divi WordPress theme */
:root {
  --blue: #1d71b8;
  --blue-dark: #155a94;
  --teal: #7ebec5;
  --text: #666;
  --heading: #333;
  --grey-bg: #f5f5f5;
  --header-h: 108px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4, h5, h6 {
  color: var(--heading);
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 .6em;
}
h1 { font-size: 30px; }
h2 { font-size: 26px; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }
p { margin: 0 0 1em; }

.container { width: 80%; max-width: 1080px; margin: 0 auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .1);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.site-header .logo img { height: calc(var(--header-h) * .8); width: auto; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; }
.main-nav a {
  font-size: 20px;
  letter-spacing: 2px;
  font-weight: 600;
  color: rgba(0, 0, 0, .6);
  transition: opacity .3s;
}
.main-nav a:hover { opacity: .7; text-decoration: none; }
.main-nav a.active { color: var(--blue); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  color: var(--blue);
}
.nav-toggle svg { width: 32px; height: 32px; }

@media (max-width: 1180px) {
  .main-nav a { font-size: 16px; letter-spacing: 1px; }
  .main-nav ul { gap: 16px; }
}

@media (max-width: 980px) {
  :root { --header-h: 80px; }
  .container { width: 90%; }
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 3px solid var(--blue);
    box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 5% 5%; }
  .main-nav li a { display: block; padding: 10px 5%; font-size: 16px; }
  .main-nav li + li a { border-top: 1px solid rgba(0, 0, 0, .03); }
}

/* ---------- Layout ---------- */
main { padding: 0 0 40px; }
.section { padding: 50px 0; }
.row { display: flex; gap: 5.5%; margin: 0 0 30px; }
.row > .col { flex: 1; min-width: 0; }
.row.align-center { align-items: center; }

@media (max-width: 980px) {
  .row { flex-direction: column; gap: 30px; }
  .section { padding: 30px 0; }
}

.divider { border: 0; border-top: 2px ridge var(--blue); margin: 30px 0; }
.divider.teal { border-top-color: var(--teal); }

.shadow { box-shadow: 0 12px 18px -6px rgba(0, 0, 0, .3); }
.shadow-soft { box-shadow: 6px 6px 18px 0 rgba(0, 0, 0, .3); }

/* ---------- Hero slider (home) ---------- */
.hero-wrap { width: 70%; max-width: 1076px; margin: 0 auto; padding-top: 50px; }
.hero {
  position: relative;
  min-height: 544px;
  display: flex;
  align-items: center;
  background: #333 url("../images/mountain.jpg") center / cover no-repeat;
  background-attachment: fixed;
  overflow: hidden;
}
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .15); }
.hero-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 5%;
  width: 80%;
  margin: 0 auto;
  padding: 60px 0;
}
.hero-image { flex: 0 0 47%; }
.hero-image img { border-radius: 15px; background: #fff; }
.hero-text { flex: 1; text-shadow: 0 1px 3px rgba(0, 0, 0, .4); }
.hero-text h2 { font-size: 46px; font-weight: 700; color: #fff; margin-bottom: .4em; }
.hero-text h2 a { color: #fff; }
.hero-text h3 { color: #fff; font-size: 22px; font-weight: 500; margin-bottom: 1.4em; }

.btn {
  display: inline-block;
  padding: .35em 1em;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.7;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 3px;
  background: transparent;
  transition: background .3s, border-color .3s;
  text-shadow: none;
}
.btn:hover { background: rgba(255, 255, 255, .2); border-color: transparent; text-decoration: none; }
.btn.blue { color: var(--blue); border-color: var(--blue); }
.btn.blue:hover { background: rgba(29, 113, 184, .08); }

@media (max-width: 980px) {
  .hero-wrap { width: 90%; padding-top: 30px; }
  .hero { min-height: 0; background-attachment: scroll; }
  .hero-inner { flex-direction: column; text-align: center; padding: 40px 0; }
  .hero-image { flex: none; width: 70%; margin-bottom: 20px; }
  .hero-text h2 { font-size: 30px; }
}

/* ---------- Blurbs ---------- */
.blurb .icon { display: block; text-align: center; margin-bottom: 20px; color: var(--blue); }
.blurb .icon svg { width: 96px; height: 96px; }
.blurb h4 a { color: var(--heading); }
.blurb h4 a:hover { color: var(--blue); text-decoration: none; }

/* ---------- Blue title bar ---------- */
.title-bar {
  display: inline-block;
  min-width: 47%;
  background: var(--blue);
  box-shadow: 0 2px 18px 0 rgba(0, 0, 0, .3);
  padding: 4px 24px;
  margin: 10px 0 30px;
}
.title-bar h1, .title-bar h2 { color: #fff; font-weight: 700; margin: 0; line-height: 1.9; }

/* ---------- Testimonials ---------- */
.testimonial {
  background: var(--grey-bg);
  padding: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.testimonial .company-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
  margin: 0 0 20px;
  background: #fff;
  border-radius: 4px;
  font-size: 20px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 1px;
  text-align: center;
  padding: 10px;
}
.testimonial .quote { flex: 1; }
.testimonial .author { display: block; font-weight: 700; color: var(--heading); }
.testimonial .meta { margin: 0; font-size: 14px; }

/* ---------- Accreditation ---------- */
.badge-card {
  background: var(--grey-bg);
  border-left: 5px solid var(--blue);
  padding: 24px 30px;
}
.badge-card h3 { color: var(--blue); }

/* ---------- Content pages ---------- */
.page-content { padding-top: 50px; }
.page-content h2 { color: var(--heading); margin-top: 1.2em; }
.page-content ul { padding-left: 1.3em; }
.objectives li { font-weight: 700; color: var(--heading); margin-top: 1em; }

.service {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  padding: 30px 0;
  border-top: 2px ridge var(--teal);
}
.service .icon { flex: 0 0 120px; text-align: center; color: var(--blue); }
.service .icon svg { width: 96px; height: 96px; }
.service h2 { margin-top: 0; }
@media (max-width: 767px) {
  .service { flex-direction: column; gap: 10px; }
  .service .icon { flex: none; width: 100%; }
}

.countries { width: 100%; border-collapse: collapse; margin: 10px 0 30px; }
.countries td { border: 1px solid #ddd; padding: 16px 20px; vertical-align: top; width: 50%; }
.countries strong { color: var(--heading); }

.legal table { width: 100%; border-collapse: collapse; margin: 0 0 1.5em; }
.legal td, .legal th { border: 1px solid #ddd; padding: 10px 14px; vertical-align: top; }
.legal td p { margin: 0; }

.caption { font-weight: 700; color: var(--heading); margin-top: 12px; }

/* ---------- News ---------- */
.post-meta { font-size: 14px; color: #888; margin-bottom: 1.2em; }
.post-summary { padding-bottom: 30px; border-bottom: 1px solid #eee; margin-bottom: 30px; }
.read-more { font-weight: 600; }

/* ---------- Contact ---------- */
.map iframe { display: block; width: 100%; height: 450px; border: 0; }
.contact-details p strong { color: var(--heading); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--blue);
  color: #fff;
  box-shadow: 6px 6px 18px 0 rgba(0, 0, 0, .3);
  padding: 40px 0 30px;
  font-weight: 700;
}
.site-footer .container { display: flex; gap: 5.5%; }
.site-footer .footer-main { flex: 2; }
.site-footer .footer-legal { flex: 1; }
.site-footer a { color: #fff; }
.footer-nav ul { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-nav a { font-weight: 700; }
@media (max-width: 980px) {
  .site-footer .container { flex-direction: column; gap: 20px; }
}
