* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #f4efe9;
  color: #333;
}

/* ====================================================== 
   HERO 
   ====================================================== */
.hero {
  position: relative;
  height: 60vh; /* För bättre anpassning på olika skärmar */
  min-height: 300px;
  text-align: center;
  padding-top: 50px; /* Mer utrymme för texten på mobiler */
  background-image: url('/images/heropozo.png'); /* Ange rätt sökväg till din bild */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  margin: 0;
  color: #fff;
  text-shadow: 0 3px 8px rgba(0, 0, 0, .4), 0 0 28px rgba(255,255,255,.35);
}

.hero p {
  font-size: 1.2rem;
  color: rgba(255,255,255,.95);
  margin-top: 6px;
  text-shadow: 0 2px 6px rgba(0,0,0,.3);
}

/* ====================================================== 
   LANGUAGE SWITCH 
   ====================================================== */
.lang {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  background: rgba(255, 255, 255, .9);
  padding: 6px 12px;
  border-radius: 18px;
  font-size: 13px;
}

.lang a {
  color: #333;
  text-decoration: none;
  margin: 0 4px;
}

/* ====================================================== 
   FULL-WIDTH NAVBAR 
   ====================================================== */
.menu {
  width: 100%;
  display: flex;
  justify-content: space-between;
  background: linear-gradient(to bottom, #2d5fa4, #20477c);
  border-radius: 0;
  box-shadow: none;
  position: sticky;
  top: 0;
  z-index: 10;
}

.menu a {
  flex: 1;
  padding: 14px 0;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: white;
  background: none;
  border-radius: 0;
  box-shadow: none;
}

.menu a:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.menu a:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
  transition: transform 0.3s ease;
}

/* ====================================================== 
   MAIN CONTENT STYLES 
   ====================================================== */
.section {
  max-width: 1120px;
  margin: auto;
  padding: 36px 20px;
}

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

.card {
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .1);
}

.h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.9em;
  text-align: center;
  margin: 42px 0 22px;
}

/* ====================================================== 
   PHOTO GRID
   ====================================================== */
.photoGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.photoCard {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .1);
  position: relative;
}

.photoCard img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.photoBody {
  padding: 12px 14px 14px;
}

/* ====================================================== 
   QUICK GUIDES 
   ====================================================== */
.quickGuides {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.pill {
  background: #fff;
  border-radius: 20px;
  padding: 14px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .1);
  font-weight: 600;
  text-align: center;
}

/* ====================================================== 
   FAQ + MAP 
   ====================================================== */
.twoCol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.faq {
  background: #fff;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .1);
}

details {
  background: #f8f6f3;
  border-radius: 14px;
  padding: 12px 16px;
  margin-bottom: 10px;
}

details[open] {
  background: #fff;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .12);
}

summary {
  cursor: pointer;
  font-weight: 600;
}

details p {
  margin-top: 6px;
  font-size: 13px;
  color: #555;
}

.map {
  background: #fff;
  border-radius: 18px;
  padding: 12px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .1);
}

.map iframe {
  width: 100%;
  min-height: 340px;
  border: 0;
  border-radius: 12px;
}

/* ====================================================== 
   BADGES + FOOTER
   ====================================================== */
.badges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.badge {
  background: #fff;
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .1);
  font-weight: 600;
  color: #356f8c;
}

footer {
  background: #356f8c;
  color: #fff;
  text-align: center;
  padding: 18px;
}

@media (max-width: 768px) {
  .hero {
    height: 60vh;
    padding-top: 50px;
  }

  .menu {
    flex-direction: column;
    gap: 10px;
  }

  .menu a {
    padding: 10px;
    font-size: 16px;
  }

  .photoGrid {
    grid-template-columns: 1fr;
  }
}

/* ==================== SMIDIGA ANPASSNINGAR FÖR MOBILE ================== */
@media(max-width: 600px) {
  .hero {
    height: 50vh;
    padding-top: 40px;
  }

  .menu a {
    font-size: 14px;
    padding: 12px;
  }
}

/* HERO SECTION - Förbättra responsivitet och bildanpassning */
.hero {
  position: relative !important;
  height: 60vh !important; /* För bättre anpassning på olika skärmar */
  min-height: 380px !important; /* Försäkra dig om att headern har tillräcklig höjd */
  text-align: center !important;
  padding-top: 50px !important;
  background-image: url('/images/heropozo.png') !important; /* Ange rätt sökväg till din bild */
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  z-index: 0 !important;
}

/* För responsiv design och mobilanpassning */
@media (max-width: 768px) {
  .hero {
    height: 50vh !important; /* Gör headern kortare på små skärmar */
    padding-top: 40px !important;
  }

  .hero h1 {
    font-size: 2.5rem !important; /* Justera rubrikens storlek på mobiler */
  }

  .hero p {
    font-size: 1.2rem !important; /* Minska textstorleken på mobil */
  }
}

/* NAVBAR - Justera för att passa olika enheter */
.menu {
  width: 100% !important;
  display: flex !important;
  justify-content: space-between !important;
  background: linear-gradient(to bottom, #2d5fa4, #20477c) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 10 !important;
  padding: 0 10px !important;
}

.menu a {
  flex: 1 !important;
  padding: 14px 0 !important;
  text-align: center !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  color: white !important;
  background: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.menu a:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.25) !important;
}

.menu a:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  transform: translateY(-2px) !important;
  transition: transform 0.3s ease !important;
}

/* Anpassa för mobil */
@media (max-width: 768px) {
  .menu {
    flex-direction: column !important; /* Gör navbar vertikal på mobiler */
    gap: 10px !important;
  }

  .menu a {
    font-size: 16px !important;
    padding: 12px !important;
  }
}

/* MAIN CONTENT - Justera innehållet så att det är bra på alla enheter */
.section {
  max-width: 1120px !important;
  margin: auto !important;
  padding: 36px 20px !important;
}

/* SNABB GUIDE */
.quickGuides {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
  gap: 14px !important;
}

.pill {
  background: #fff !important;
  border-radius: 20px !important;
  padding: 14px !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .1) !important;
  font-weight: 600 !important;
  text-align: center !important;
}

/* FAQ + MAP (För bättre placering av FAQ och kartan) */
.twoCol {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 20px !important;
}

.faq {
  background: #fff !important;
  border-radius: 18px !important;
  padding: 20px !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .1) !important;
}

.map {
  background: #fff !important;
  border-radius: 18px !important;
  padding: 12px !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .1) !important;
}

.map iframe {
  width: 100% !important;
  min-height: 340px !important;
  border: 0 !important;
  border-radius: 12px !important;
}

/* FOOTER */
footer {
  background: #356f8c !important;
  color: #fff !important;
  text-align: center !important;
  padding: 18px !important;
}




/* Grundläggande stil för beach-listan */
#beach-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-around;
    margin-top: 20px;
}

.beach {
    background-color: #f4f4f4;
    padding: 20px;
    border-radius: 8px;
    width: 250px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.beach h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.beach img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.beach p {
    font-size: 1em;
    margin-bottom: 10px;
}

.beach .btn {
    display: inline-block;
    background-color: #007BFF;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
}

.beach .btn:hover {
    background-color: #0056b3;
}