/*
--- 01 TYPOGRAPHY SYSTEM

( 1rem = 16 px -> 500rem )

-Font Size (PX)
10 / 12 / 14 / 16 / 18 / 80 / 24 / 30 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98

- Font weights
2.4rem text
3.8rem title
- Line Heights
Default: 1

- SPACING SYSTEM (PX)
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128

--- 02 COLORS 

-Primary:
#A15818
#e67e22
#FAE5D3
#eee3c6d2
#fae5d3
#555
#160303be

-Tints:
#88C491
#69A085
#589206
-Shades:
#e3ffe8
#f1f7f2
-Accents: 

-Greys:
#555

--- 03 SHADOWS

--- 04 BORDER-RADIUS

--- 05 WHITESPACE

- SPACING SYSTEM (PX)
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128
*/
/*
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
html {
  font-size: 62.5%;

  overflow-x: hidden;
}
body {
  font-family: "Bona Nova", serif;
  line-height: 1;
  font-weight: 400;
  overflow-x: hidden;
}
html,
body {
  overflow-x: hidden;
}
*/

/* ////////// ===>>         Header        <<=== \\\\\\\\\\ */

* {
  font-family: "Montserrat", sans-serif;
  margin: 0;
  padding: 0;
  color: #fff;
}

/* ////////// ===>>         Menu        <<=== \\\\\\\\\\ */

.navbar {
  background-color: transparent;
  position: fixed;
  top: 0;
  padding: 0 105px;
  width: 90%;
  z-index: 10000;
  display: flex;
  justify-content: space-between;
}

.navbar a {
  float: left;
  display: block;
  text-align: center;
  padding: 16px 22px;
  text-decoration: none;
  font-size: 18px;
}
.navbar .logo {
  float: left;
  margin-right: 20px;
  font-weight: bold;
  line-height: 5;
}
.logo {
  color: #ffcc00;
}
.sub-title {
  font-weight: 600;
  font-size: 18px;
}

.navbar a:hover {
  background-color: #fff;
  color: #202020;
  border-radius: 5px;
}

/* ////////// ===>>       Scrolled Navbar        <<=== \\\\\\\\\\ */
.navbar.scrolled {
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  transition: background-color 0.3s ease;
}
/* ////////// ===>>       Scrolled Navbar       <<=== \\\\\\\\\\ */

/* ////////// ===>>          Drop Down            <<=== \\\\\\\\\\ */

.dropdown {
  position: relative;
  display: inline-block;
  z-index: 9999;
}

.dropbtn {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  padding: 16px 22px;
  color: #fff;
  display: flex;
  align-items: center;
}

.dropbtn span {
  margin-right: 10px;
}

.dropbtn img {
  width: 20px;
  height: 15px;
  margin-left: 10px;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 160px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 10000;
  border-radius: 5px;
  top: 100%;
  left: 0;
}

.dropdown-content a {
  color: #202020;
  padding: 12px 30px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 15px;
}

.dropdown-content a img {
  height: 15px;
  margin-left: 10px;
}

.dropdown-content a:hover {
  background-color: #eee;
}

.dropdown-content.show {
  display: block;
}

.dropbtn:hover {
  background-color: #fff;
  color: #202020;
  border-radius: 5px;
}

.dropbtn:hover .dropbtn-main {
  color: #202020;
}

.dropbtn:hover {
  background-color: #fff;
  color: #202020;
  border-radius: 5px;
}

.dropbtn:hover span {
  color: #202020;
}
/* ////////// ===>>        Drop Down       <<=== \\\\\\\\\\ */

/* ////////// ===>>          Menu           <<=== \\\\\\\\\\ */

.header-text {
  background: rgba(0, 0, 0, 0.3);
  text-align: center;
  display: grid;
  place-items: center;
  height: 100vh;
  position: relative;
  z-index: 9998;
}
.text-content h1 {
  font-size: 60px;
  text-transform: uppercase;
}

.text-content p {
  width: 75%;
  margin: auto;
  line-height: 1.9;
}

.text-content a {
  background: #fff;
  display: inline-block;
  text-decoration: none;
  padding: 10px 30px;
  color: #202020;
  margin-top: 30px;
  border-radius: 50px;
  transition: all 0.5s ease;
}

.text-content a:hover {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
}
#header-subtitle {
  padding-bottom: 1rem;
}
.slides {
  list-style: none;
  margin-top: 0;
}

.slides,
.slides::after {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
}

.slides li span {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  color: transparent;
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  opacity: 0;
  z-index: 0;
  animation: animate 25s linear infinite 0s;
}
.slides li:nth-child(1) span {
  background-image: url(top_wiewpoints/wiewpoint.jpg);
}
.slides li:nth-child(2) span {
  background-image: url(top_wiewpoints/wiewpoint_1.jpg);
  animation-delay: 5s;
}
.slides li:nth-child(3) span {
  background-image: url(top_wiewpoints/wiewpoint_2.jpg);
  animation-delay: 10s;
}
.slides li:nth-child(4) span {
  background-image: url(top_wiewpoints/wiewpoint_3.jpg);
  animation-delay: 15s;
}
.slides li:nth-child(5) span {
  background-image: url(top_wiewpoints/wiewpoint_4.jpg);
  animation-delay: 20s;
}
.slides li:nth-child(6) span {
  background-image: url(top_wiewpoints/wiewpoint_5.jpg);
  animation-delay: 25s;
}

@keyframes animate {
  0% {
    opacity: 0;
  }
  8% {
    opacity: 1;
    transform: scale(1.05);
  }
  17% {
    opacity: 1;
    transform: scale(1.1);
  }
  25% {
    opacity: 0;
    transform: scale(1.1);
  }
  100% {
    opacity: 0;
  }
}
@media (max-width: 1300px) {
  .navbar .logo {
    float: none;
    margin-right: 0;
    font-size: 35px;
  }
  .navbar {
    flex-direction: column;
    width: 100%;
    padding: 0;
    align-items: center;
  }
  .navbar a {
    font-size: 18px;
    padding: 5px 25px;
  }
  .dropbtn {
    font-size: 18px;
    padding: 5px 20px;
  }
  .dropdown-content {
    font-size: 18px;
    padding: 2px 0 2px;
  }
  nav {
    margin-top: 20px;
  }
  .text-content h1 {
    font-size: 35px;
  }
  .logo {
    display: none;
  }
}
@media (max-width: 800px) {
  .navbar .logo {
    float: none;
    margin-right: 0;
    font-size: 35px;
  }
  .navbar {
    flex-direction: column;
    width: 100%;
    padding: 0;
    align-items: center;
  }
  .navbar a {
    font-size: 18px;
    padding: 5px 25px;
  }
  .dropbtn {
    font-size: 18px;
    padding: 5px 25px;
  }
  .dropdown-content {
    font-size: 18px;
    padding: 5px 25px;
  }
  nav {
    margin-top: 20px;
  }
  .text-content h1 {
    font-size: 45px;
  }
  .logo {
    display: none;
  }
}
@media (max-width: 640px) {
  .navbar a {
    font-size: 14px;
    padding: 8px 6px;
  }
  .dropbtn {
    font-size: 14px;
    padding: 8px 6px;
  }
  .dropdown-content {
    font-size: 14px;
    padding: 8px 6px;
  }
  .text-content h3 {
    margin-bottom: 10px;
  }
  .text-content h1 {
    font-size: 20px;
  }
}
@media (max-width: 500px) {
  .navbar a {
    font-size: 12px;
    padding: 8px 6px;
  }
  .dropbtn {
    font-size: 12px;
    padding: 8px 6px;
  }
  .dropdown-content {
    font-size: 12px;
    padding: 8px 6px;
  }
  .text-content h3 {
    margin-bottom: 10px;
  }
  .text-content h1 {
    font-size: 20px;
  }
  .text-content p {
    width: 100%;
    margin: 15px auto;
    line-height: 1.5;
    font-size: 12px;
  }
  .text-content a {
    padding: 5px 15px;
    margin-top: 0;
    font-size: 14px;
  }
  .logo {
    display: none;
  }
}
@media (max-width: 360px) {
  .navbar a {
    font-size: 10px;
    padding: 8px 6px;
  }
  .dropbtn {
    font-size: 10px;
    padding: 8px 12px;
  }
  .dropdown-content a {
    font-size: 8px;
    padding: 4px 4px;
  }

  .text-content h3 {
    margin-bottom: 10px;
  }
  .text-content h1 {
    font-size: 20px;
  }
  .text-content p {
    width: 100%;
    margin: 15px auto;
    line-height: 1.5;
    font-size: 12px;
  }
  .text-content a {
    padding: 5px 15px;
    margin-top: 0;
    font-size: 14px;
  }
  .logo {
    display: none;
  }
}

/* ////////// ===>>         Header        <<=== \\\\\\\\\\ */

/* ////////// ===>>          Main          <<=== \\\\\\\\\\ */
.main-container {
  position: relative;
  background: rgba(0, 0, 0, 0.3);
  padding-bottom: 14rem;
}
.beaches-section {
  display: grid;
  gap: 2rem;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.beach-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  border-radius: 1rem;
  background: rgba(0, 0, 0, 0.6);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
  overflow: hidden;
  gap: 1rem;
  padding: 1rem;
  transition: transform 0.3s ease;
}

.beach-row:hover {
  transform: translateY(-4px);
}

.beach-photo,
.beach-info,
.beach-map {
  flex: 1 1 300px;
}

.beach-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.75rem;
}

.beach-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-family: "Montserrat", sans-serif;
  color: #333;
  padding: 0.5rem;
}

.beach-info h2 {
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
  color: #0077cc;
}

.beach-info p {
  font-size: 1rem;
  line-height: 1.6;
}

.beach-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 0.75rem;
}

/* Medium screens: Tablets (768px – 1343px) */
@media (max-width: 84em) and (min-width: 48em) {
  .beach-photo,
  .beach-info,
  .beach-map {
    flex: 1 1 33%;
  }

  .beach-map iframe {
    height: 220px;
  }

  .beach-info h2 {
    font-size: 1.4rem;
  }

  .beach-info p {
    font-size: 1rem;
  }
}

/* Small screens: Mobile (below 768px) */
@media (max-width: 48em) {
  .beach-photo img,
  .beach-map iframe {
    height: auto;
  }

  .beach-info h2 {
    font-size: 1.2rem;
  }

  .beach-info p {
    font-size: 0.95rem;
  }
}
@media (max-width: 36em) {
  .beach-photo img,
  .beach-map iframe {
    height: auto;
    width: 100%;
    display: block;
  }

  .beach-info h2 {
    font-size: 1.2rem;
  }

  .beach-info p {
    font-size: 0.95rem;
  }
}

/* ////////// ===>>                 Main            <<=== \\\\\\\\\\ */

/* ////////// ===>>          Sort-Button-Alphabetically           <<=== \\\\\\\\\\ */
.sort-controls {
  display: flex;
  justify-content: center;
  gap: 2rem;
  z-index: 9998;
}

#sortButton {
  padding: 0.7rem 1.2rem;
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  font-weight: bold;
  background: linear-gradient(to right, #a6dbe2, #34b4f0);
  border: none;
  color: #202020;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

#sortButton:hover {
  background: linear-gradient(to right, #34b4f0, #a6dbe2);
}
/* ////////// ===>>          Sort-Button-Alphabetically           <<=== \\\\\\\\\\ */
#filterDropdownButton {
  padding: 0.7rem 1.2rem;
  min-width: 200px;
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  font-weight: bold;
  background: linear-gradient(to right, #a6dbe2, #34b4f0);
  border: none;
  color: #202020;
  border-radius: 8px;
  cursor: pointer;

  z-index: 1998;
}

#filterDropdownButton:hover {
  background: linear-gradient(to right, #34b4f0, #a6dbe2);
}
.dropdown {
  display: inline-block;
}

.dropdown-content-filter {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 200px;
  background: linear-gradient(to right, #a6dbe2, #34b4f0);
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.dropdown-content-filter a {
  color: black;
  padding: 10px 48px;
  text-decoration: none;
  display: block;
  cursor: pointer;
  z-index: 10000;
}

.dropdown-content-filter a:hover {
  background: linear-gradient(to right, #34b4f0, #a6dbe2);
}

.dropdown:hover .dropdown-content-filter {
  display: block;
}
@media (max-width: 768px) {
  .sort-controls {
    gap: 1rem;
    align-items: center;
  }

  #sortButton {
    font-size: 0.8rem;
  }

  #filterDropdownButton {
    font-size: 0.8rem;
  }
}

/* For very small screens (mobile devices) */
@media (max-width: 480px) {
  .sort-controls {
    gap: 0.5rem;
  }

  #sortButton,
  #filterDropdownButton {
    font-size: 0.7rem;
    padding: 0.6rem 0.6rem 1rem;
  }

  .dropdown-content-filter {
    min-width: 150px;
  }

  .dropdown-content-filter a {
    padding: 8px 40px;
  }
}
@media (max-width: 380px) {
  .sort-controls {
    gap: 0.5rem;
  }

  #sortButton,
  #filterDropdownButton {
    font-size: 0.5rem;
    padding: 0.5rem 0.5rem 1rem;
  }

  .dropdown-content-filter {
    min-width: 150px;
  }

  .dropdown-content-filter a {
    font-size: 0.6rem;
    padding: 8px 60px;
  }
}
/* ////////// ===>>          Footer         <<=== \\\\\\\\\\ */

.site-footer {
  padding: 6rem 0 4rem;
  background: rgba(0, 0, 0, 0.6);
  position: relative;
  color: #fff;
}

.site-footer {
  height: auto;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #ffcc00;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 1rem;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 4rem;
}

.footer-section h2,
.footer-section h3 {
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-section p,
.footer-section ul {
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li a {
  color: #ddd;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.85rem;
  border-top: 1px solid #fff;
  padding-top: 1rem;
}

@media (max-width: 600px) {
  .site-footer {
    text-align: center;
  }

  .footer-logo {
    margin-bottom: 1.5rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
    padding: 2px 2px;
  }
}
@media (max-width: 360px) {
  .site-footer {
    text-align: center;
    font-size: 12px;
  }

  .footer-logo {
    margin-bottom: 1.5rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
    padding: 2px 2px;
  }
}
/* ////////// ===>>          Footer         <<=== \\\\\\\\\\ */

/* ////////// ===>>        ThemeSwitch        <<=== \\\\\\\\\\ */
.alternate-theme {
  --primary-bg: #160303be;
  --secondary-bg: #fff;
  --primary-text: #fa7705;
  --accent: #aed167;
  --text-xl: 1.25rem;
}

.alternate-theme .navbar.scrolled {
  background: rgba(22, 3, 3, 0.9) !important;
}
.alternate-theme,
.alternate-theme .accent {
  color: var(--accent) !important;
  font-weight: bold !important;
}
.alternate-theme .thema:hover {
  background: var(--secondary-bg) !important;
  color: var(--primary-bg) !important;
}
.alternate-theme .thema {
  background: var(--accent) !important;
}

.alternate-theme .card-link {
  background: rgba(22, 3, 3, 0.9) !important;
}
.alternate-theme,
.card-link:hover {
  background: rgba(22, 3, 3, 0.9) !important;
  border: 1px solid var(--accent) !important;
}

.alternate-theme .site-footer {
  background: rgba(22, 3, 3, 0.9) !important;
}

.alternate-theme,
.alternate-theme .footer-section h3 {
  color: var(--accent) !important;
}
.alternate-theme,
.alternate-theme .footer-section h2 {
  color: var(--accent) !important;
}

.alternate-theme,
.alternate-theme .footer-thema {
  color: var(--accent) !important;
}
.alternate-theme .beach-row {
  background: rgba(22, 3, 3, 0.9) !important;
  border-left: 4px solid var(--accent) !important;
}
/* ////////// ===>>        ThemeSwitch        <<=== \\\\\\\\\\ */
