
/* Strandfeber - Style Sheet */
/* Sommar, sol och strandtema */

:root {
  --primary-color: #00a8cc; /* Havsblå */
  --secondary-color: #ffb347; /* Solnedgång/orange */
  --accent-color: #ff6b6b; /* Korall/rosa */
  --light-color: #f9f7f7; /* Ljus sand */
  --dark-color: #27496d; /* Mörkblå */
  --text-color: #333333;
  --link-color: #0088a9;
  --hover-color: #00587a;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --border-radius: 8px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Raleway', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-color);
  background-image: linear-gradient(to bottom, #f9f7f7, #e8f4f8);
  min-height: 100vh;
}

/* Header Styles */
.header {
  background-color: var(--primary-color);
  background-image: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
  color: white;
  padding: 1rem 0;
  box-shadow: var(--shadow);
  position: relative;
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../images/wave-pattern.png');
  background-size: contain;
  opacity: 0.1;
  z-index: 0;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}

.logo {
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo span {
  color: var(--secondary-color);
}

.logo-icon {
  margin-right: 10px;
  font-size: 1.8rem;
}

/* Navigation */
.nav ul {
  display: flex;
  list-style: none;
}

.nav li {
  margin-left: 1.5rem;
}

.nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  padding: 0.5rem;
  border-radius: 4px;
}

.nav a:hover {
  color: var(--secondary-color);
}

/* Hero Section */
.hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../images/hero-beach.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 6rem 2rem;
  text-align: center;
  position: relative;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.btn {
  display: inline-block;
  background-color: var(--secondary-color);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s, transform 0.2s;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn:hover {
  background-color: #ffa01e;
  transform: translateY(-2px);
}

.btn-primary {
  background-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--hover-color);
}

/* Main Content */
.main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title h2 {
  font-size: 2rem;
  color: var(--dark-color);
  display: inline-block;
}

.section-title h2::after {
  content: '';
  display: block;
  width: 100px;
  height: 3px;
  background-color: var(--secondary-color);
  margin: 0.5rem auto 0;
}

/* Card Grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.card-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card-content {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--dark-color);
}

.card-text {
  color: var(--text-color);
  margin-bottom: 1rem;
}

.card-link {
  font-weight: 600;
  color: var(--link-color);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: color 0.3s;
}

.card-link:hover {
  color: var(--hover-color);
}

.card-link span {
  margin-left: 5px;
}

/* Country Cards */
.country-card {
  display: flex;
  flex-direction: column;
}

.country-header {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.country-flag {
  width: 30px;
  height: 20px;
  margin-right: 10px;
  object-fit: cover;
  border-radius: 3px;
}

/* Destination Detail */
.destination-header {
  background-size: cover;
  background-position: center;
  color: white;
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
}

.destination-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
}

.destination-title {
  position: relative;
  z-index: 1;
}

.destination-title h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.destination-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-top: -2rem;
  position: relative;
  z-index: 2;
}

.destination-text {
  margin-bottom: 2rem;
}

.destination-text p {
  margin-bottom: 1rem;
}

/* Breadcrumbs */
.breadcrumbs {
  margin-bottom: 2rem;
  display: flex;
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: var(--link-color);
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs span {
  margin: 0 10px;
  color: #999;
}

/* Footer */
.footer {
  background-color: var(--dark-color);
  color: white;
  padding: 3rem 0 2rem;
  margin-top: 4rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-logo {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  display: inline-block;
  color: white;
  text-decoration: none;
}

.footer-logo span {
  color: var(--secondary-color);
}

.footer h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background-color: var(--secondary-color);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: #aaa;
}

/* Responsive styles */
@media screen and (max-width: 768px) {
  .header-container {
    flex-direction: column;
    padding: 1rem;
  }
  
  .logo {
    margin-bottom: 1rem;
  }
  
  .nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .nav li {
    margin: 0.5rem;
  }
  
  .hero {
    padding: 4rem 1rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .destination-header {
    padding: 3rem 1rem;
  }
  
  .destination-title h1 {
    font-size: 2rem;
  }
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeIn {
  animation: fadeIn 0.8s ease forwards;
}
