/* Baldys Fresh Fish, Oysters, Seafood N Bait - Ceduna and Thevenard */

:root {
  --teal: #2cccc4;
  --teal-dark: #28b8b0;
  --charcoal: #292d33;
  --charcoal-dark: #25292e;
  --black: #000000;
  --white: #ffffff;
  --ink: #111111;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
}

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

a { color: inherit; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header / nav */

.site-header {
  background: var(--charcoal);
  color: var(--white);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 14px 20px;
  max-width: 1100px;
  margin: 0 auto;
  gap: 10px;
}

.site-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
}

.site-title a {
  text-decoration: none;
  color: var(--white);
}

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--white);
  border-radius: 4px;
  color: var(--white);
  font-size: 1.1rem;
  padding: 6px 12px;
  cursor: pointer;
}

.main-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  display: inline-block;
  padding: 10px 16px;
  text-decoration: none;
  color: var(--white);
  border-radius: 4px;
  transition: background-color 0.15s ease;
}

.main-nav a:hover,
.main-nav a:focus,
.main-nav a[aria-current="page"] {
  background: var(--teal);
  color: var(--charcoal);
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }
  .main-nav {
    display: none;
    width: 100%;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; }
}

/* Sections */

section {
  padding: 48px 0;
}

.section-teal {
  background: var(--teal);
  color: var(--charcoal);
}

.section-teal-dark {
  background: var(--teal-dark);
  color: var(--charcoal);
}

.section-black {
  background: var(--black);
  color: var(--white);
}

.section-white {
  background: var(--white);
  color: var(--ink);
}

h1, h2, h3 {
  font-family: var(--font);
  line-height: 1.2;
  margin-top: 0;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.2rem; }

.center { text-align: center; }

.lede {
  max-width: 780px;
  margin: 0 auto 24px;
}

/* Buttons */

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 4px;
  background: var(--charcoal);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  border: 2px solid transparent;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.btn:hover, .btn:focus {
  background: var(--white);
  color: var(--charcoal);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--charcoal);
  color: var(--charcoal);
}

.btn-outline:hover, .btn-outline:focus {
  background: var(--charcoal);
  color: var(--white);
}

/* Two-column layout */

.cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

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

.cols-3070 {
  display: grid;
  grid-template-columns: 3fr 3fr;
  gap: 32px;
  align-items: start;
}

@media (max-width: 760px) {
  .cols-3070 { grid-template-columns: 1fr; }
}

.photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.card-img {
  border-radius: 6px;
  overflow: hidden;
}

.card-img img {
  width: 100%;
  object-fit: cover;
}

/* Home hero */

.hero {
  text-align: center;
}

.hero img {
  margin: 0 auto 20px;
  border-radius: 6px;
}

/* Contact */

.contact-details p {
  margin: 6px 0;
}

.contact-details a.tel-link,
.contact-details a.email-link {
  text-decoration: none;
  color: var(--charcoal);
  font-weight: 600;
}

.contact-details a.tel-link:hover,
.contact-details a.email-link:hover {
  text-decoration: underline;
}

.map-embed {
  position: relative;
  width: 100%;
  padding-bottom: 75%;
  background: var(--charcoal-dark);
  border-radius: 6px;
  overflow: hidden;
}

.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Gallery */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.gallery figure {
  margin: 0;
  border-radius: 6px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.15);
}

.gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.gallery figcaption {
  padding: 12px 14px;
  font-size: 0.95rem;
  font-weight: 600;
}

/* Weather page */

.weather-widget {
  max-width: 340px;
  margin: 24px auto;
}

.weather-widget iframe {
  width: 100%;
  border: 0;
  display: block;
}

.weather-source-link {
  display: block;
  text-align: center;
  font-size: 0.8rem;
  color: var(--charcoal);
  text-decoration: none;
}

/* Footer */

.site-footer {
  background: var(--black);
  color: var(--white);
  padding: 24px 0;
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 0.9rem;
}

/* Accessibility */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--white);
  color: var(--charcoal);
  padding: 10px 16px;
  z-index: 100;
}

.skip-link:focus {
  left: 10px;
  top: 10px;
}
