/* Basic Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

/* Layout Containers */
.container {
  width: 90%;
  max-width: 1000px;
  margin: auto;
  padding: 0;
}

/* Ny header med bild och meny under */
.custom-header {
  width: 100%;
  text-align: center;
  background-color: #fff; /* bakgrund bakom menyn */
}

.header-image {
  width: 100%;
  max-height: 200px; /* Mindre maxhöjd */
  overflow: hidden;
}

.header-image img {
  width: 100%;
  height: auto;      /* Behåll proportioner */
  display: block;
}


/* Meny under bilden */
.custom-header nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 15px 0;
  background-color: #00797A; /* samma som tidigare header */
}

.custom-header nav ul li {
  margin: 0 5px;
}

.custom-header nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.custom-header nav ul li a:hover {
  color: #000;
}


/* Navigation */
nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 5px;
  padding: 0;
}

nav ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #fff;
}

/* Hero Image */
.hero {
  position: relative;
  width: 100%;
  max-height: 600px;
  overflow: hidden;
}

.hero img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 10px;
  margin: 20px 0;
  display: block;
}

.hero .overlay {
  position: absolute;
  bottom: 30px;
  left: 30px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 1.2em;
}


/* Text block under bild */
.overlay-text {
  text-align: center;
  margin-top: -30px;
  font-size: 1.2em;
  color: #555;
}

/* About & Posts Sections */
.about,
.latest-posts {
  background-color: #fff;
  margin: 30px auto;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

h2 {
  margin-bottom: 20px;
  font-size: 2em;
}

.latest-posts article {
  margin-top: 15px;
}

.latest-posts h3 a {
  color: #007acc;
  text-decoration: none;
}

.latest-posts h3 a:hover {
  text-decoration: underline;
}


/* Instagram widget styling */
.instagram-feed iframe {
  border-radius: 10px;       /* Rundade hörn */
  transition: transform 0.3s ease;
}

.instagram-feed iframe:hover {
  transform: scale(1.02);    /* Liten zoom på hela widgeten */
}

.instagram-feed img {
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.instagram-feed img:hover {
  transform: scale(1.05);    /* Zoomar lite när du hovrar på bilden */
}

html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}


/* ===================== */
/* FOOTER STYLING        */
/* ===================== */

footer {
  background-color: #222;
  color: #aaa;
  text-align: center;
  padding: 40px 20px;
  font-size: 0.9em;
}

/* Rubriken ovanför Instagram */
footer h3 {
  color: #fff;
  font-size: 1.6em;
  margin-bottom: 20px;
}

/* Allmän text i footern */
footer p {
  margin-top: 20px;
  font-size: 0.9em;
}

/* Länkar i footern */
footer a {
  color: #aaa;
  text-decoration: underline;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #fff;
}

/* Särskild styling för kontaktinfo */
.footer-contact {
  margin-top: 30px;
  text-align: center;
}

.footer-contact p {
  margin: 8px 0;
}

/* Gör mejltexten större och tydligare */
.footer-contact .collaboration-text {
  font-size: 1.3em;
  font-weight: 500;
  margin-top: 15px;
}

/* Snyggare mejllänk */
.footer-contact a {
  color: #00c0c0;
  text-decoration: none;
  font-weight: 600;
}

.footer-contact a:hover {
  color: #00ffff;
  text-decoration: underline;
}



