/* ===================================================================
   Marina Continental Light And Shade, Inc.
   Stylesheet
   =================================================================== */

/* --- Reset / Base --------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: #1a1a1a;
  background: #fafafa;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #2a4d6e;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.25;
  color: #0f1419;
  margin: 0 0 0.75em;
}

h1 { font-size: 2.5rem; letter-spacing: -0.01em; }
h2 { font-size: 1.85rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: #555; }

p {
  margin: 0 0 1em;
}

/* --- Layout --------------------------------------------------------- */

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

main {
  padding: 48px 0 72px;
}

/* --- Header --------------------------------------------------------- */

.site-header {
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  padding: 24px 0;
}

.site-header .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.site-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: #0f1419;
  margin: 0;
  text-align: center;
  letter-spacing: 0.02em;
}

.site-title a {
  color: inherit;
  text-decoration: none;
}

/* --- Navigation ----------------------------------------------------- */

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 24px;
}

.site-nav a {
  display: block;
  padding: 4px 0;
  color: #333;
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s;
}

.site-nav a:hover,
.site-nav a.active {
  border-bottom-color: #2a4d6e;
  text-decoration: none;
}

/* --- Hero (home page) ---------------------------------------------- */

.hero {
  padding: 72px 0 56px;
  text-align: center;
}

.hero h1 {
  max-width: 780px;
  margin: 0 auto 0.5em;
}

.hero .tagline {
  font-size: 1.2rem;
  color: #555;
  max-width: 640px;
  margin: 0 auto;
}

.hero-image {
  width: 100%;
  margin: 0 0 48px;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: cover;
  display: block;
}

/* --- Content pages -------------------------------------------------- */

.page-heading {
  margin-bottom: 32px;
}

.page-body p {
  max-width: 720px;
}

/* --- Galleries ------------------------------------------------------ */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.gallery figure {
  margin: 0;
}

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
  background: #e5e5e5;
}

.gallery figcaption {
  margin-top: 8px;
  font-size: 0.9rem;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* --- Services page list -------------------------------------------- */

.services-list {
  list-style: none;
  padding: 0;
  margin: 32px 0;
  display: grid;
  gap: 14px;
}

.services-list li {
  padding: 16px 20px;
  background: #fff;
  border-left: 3px solid #2a4d6e;
  border-radius: 0 4px 4px 0;
}

/* --- Contact -------------------------------------------------------- */

.contact-block {
  background: #fff;
  padding: 32px;
  border-radius: 6px;
  border: 1px solid #e5e5e5;
  max-width: 560px;
}

.contact-block .label {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: #888;
  margin-top: 20px;
  margin-bottom: 4px;
}

.contact-block .label:first-child {
  margin-top: 0;
}

.contact-block a.phone {
  font-size: 1.3rem;
  font-weight: 600;
  color: #0f1419;
}

/* --- Footer --------------------------------------------------------- */

.site-footer {
  background: #1a1a1a;
  color: #a8a8a8;
  padding: 32px 0;
  font-size: 0.9rem;
  text-align: center;
}

.site-footer a {
  color: #d0d0d0;
}

/* --- Responsive ---------------------------------------------------- */

@media (min-width: 720px) {
  .site-header .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .site-nav ul {
    justify-content: flex-end;
  }

  h1 { font-size: 3rem; }
  h2 { font-size: 2.1rem; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .hero { padding: 48px 0 32px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
}
