@font-face {
  font-family: 'MyFont';
  src: url('../fonts/Greek-Freak.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

:root {
  --blue: #1565c0;
  --light-blue: #2196f3;
  --border-blue: #42a5f5;
  --text-dark: #111;
  --text-muted: #555;
  --bg: #fff;
  --caption: #888;
  --font-display: 'MyFont', serif;
  --font-body: 'Josefin Sans', sans-serif;
}

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-dark);
  min-height: 100vh;
}

.page-wrapper {
  width: 100%;
}

img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}


.hero-img {
  height: 100%;
  object-fit: cover;
}


.locations-grid img,
.beaches-grid img,
.furry-grid img {
  height: 100%;
  object-fit: cover;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
  border: 3px solid transparent;
  border-radius: 8px;
}

.locations-grid img:hover,
.beaches-grid img:hover,
.furry-grid img:hover {
  border: 3px solid #0AC0E6;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(10, 192, 230, 0.5), 0 0 22px rgba(10, 192, 230, 0.25);
}


.navbar {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  padding: 12px 16px;
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #e3eaf5;
}

.nav-menu {
  background: none;
  border: none;
  font-size: 22px;
  color: var(--text-dark);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: color 0.2s;
  line-height: 1;
}

.nav-menu:hover {
  color: #0AC0E6;
}

.nav-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--blue);
  text-align: center;
  letter-spacing: 0.03em;
}

.nav-flag {
  text-align: right;
}

.nav-flag-img {
  width: 32px;
  height: 22px;
  object-fit: cover;
  border-radius: 3px;
  display: inline-block;
  vertical-align: middle;
}


.hero {
  width: 100%;
  height: 260px;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  transition: opacity 0.8s ease;
}


@media (min-width: 768px) {
  .hero { height: 420px; }

  .about {
    grid-template-columns: 1fr 2fr;
    max-width: 900px;
    margin: 0 auto;
  }

  .locations { max-width: 900px; margin: 0 auto; }

  .locations-grid {
    grid-template-rows: 160px 220px 160px 220px;
  }

  .beaches { max-width: 900px; margin: 0 auto; }

  .beaches-grid {
    grid-template-rows: 280px 280px;
  }

  .furry { max-width: 900px; margin: 0 auto; }

  .furry-grid {
    grid-template-rows: 260px;
  }

  .section { padding: 32px 40px; }
  .section-title { font-size: 28px; }
  .section-explanation { font-size: 15px; }
  .nav-title { font-size: 20px; }
}


.section {
  padding: 20px 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: normal;
  color: var(--blue);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
  display: block;
  width: fit-content;
}

.section-explanation {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
}


.about {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  grid-template-rows: auto;
  column-gap: 14px;
  align-items: start;
  padding-bottom: 0;
}

.about-text {
  grid-column: 1;
  grid-row: 1;
  padding-top: 4px;
}


.about-image {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  overflow: hidden;
}

.about-img-default,
.about-img-hover {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.6s ease;
}

.about-img-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.about-image:hover .about-img-hover {
  opacity: 1;
  transform: translateY(0);
}

.about-image:hover .about-img-default {
  opacity: 0;
}


.img-caption {
  position: absolute;
  bottom: 6px;
  right: 8px;
  font-size: 10px;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.7);
  background: rgba(0,0,0,0.25);
  padding: 2px 5px;
  border-radius: 3px;
  z-index: 1;
}


.locations {
  padding-top: 18px;
}

.locations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 160px 220px 160px 220px;
  gap: 5px;
}

.locations-grid img:nth-child(1) { grid-column: 1 / 2; grid-row: 1 / 2; }
.locations-grid img:nth-child(2) { grid-column: 2 / 3; grid-row: 1 / 2; }
.locations-grid img:nth-child(3) { grid-column: 3 / 4; grid-row: 1 / 2; }
.locations-grid img:nth-child(4) { grid-column: 1 / 2; grid-row: 2 / 3; }
.locations-grid img:nth-child(5) { grid-column: 2 / 4; grid-row: 2 / 4; }
.locations-grid img:nth-child(6) { grid-column: 1 / 2; grid-row: 3 / 4; }
.locations-grid img:nth-child(7) { grid-column: 1 / 2; grid-row: 4 / 5; }
.locations-grid img:nth-child(8) { grid-column: 2 / 4; grid-row: 4 / 5; }


.beaches {
  padding-top: 18px;
}

.beaches-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 220px 220px;
  gap: 4px;
  margin-top: 10px;
}

.beaches-grid img:nth-child(1) { grid-column: 1; grid-row: 1; }
.beaches-grid img:nth-child(2) { grid-column: 2; grid-row: 1; }
.beaches-grid img:nth-child(3) { grid-column: 1; grid-row: 2; }
.beaches-grid img:nth-child(4) { grid-column: 2; grid-row: 2; }


.furry {
  padding-top: 18px;
}

.furry-slider-wrapper {
  display: grid;
  grid-template-columns: 32px 1fr 32px;
  align-items: center;
  gap: 4px;
  margin-bottom: 12px;
}

.furry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 200px;
  gap: 4px;
  overflow: hidden;
}

.furry-grid img:nth-child(1) { grid-column: 1; grid-row: 1; }
.furry-grid img:nth-child(2) { grid-column: 2; grid-row: 1; }
.furry-grid img:nth-child(3) { display: none; }

.slider-btn {
  background: var(--light-blue);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  font-size: 20px;
  cursor: pointer;
  display: grid;
  place-items: center;
  line-height: 1;
  transition: background 0.2s;
}

.slider-btn:hover {
  background: var(--blue);
}

.furry-caption {
  margin-bottom: 0;
}


.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
}

.modal.active {
  display: block;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
  border: 3px solid var(--border-blue);
  border-radius: 8px;
  overflow: hidden;
}

.modal-content img {
  display: block;
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 20px;
  cursor: pointer;
  z-index: 2;
  line-height: 1;
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 240px;
  height: 100%;
  background: #0D5EAF;
  z-index: 200;
  padding: 60px 24px 24px;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.sidebar.open {
  transform: translateX(0);
}

.sidebar-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.sidebar-close:hover {
  color: #0AC0E6;
}

.sidebar-nav a {
  display: block;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 18px;
  padding: 10px 12px;
  border-radius: 6px;
  margin-bottom: 8px;
  transition: background 0.2s, color 0.2s;
}

.sidebar-nav a:hover {
  background: rgba(10, 192, 230, 0.2);
  color: #0AC0E6;
}

.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 199;
}

.sidebar-overlay.active {
  display: block;
}


