/* Base Styles */
:root {
  --primary-color: #3498db;
  --secondary-color: #2c3e50;
  --accent-color: #e74c3c;
  --light-color: #ecf0f1;
  --dark-color: #2c3e50;
  --text-color: #333;
  --border-radius: 5px;
  --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

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

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
}

/* Buttons */
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 10px 20px;
  border-radius: var(--border-radius);
  text-align: center;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: #2980b9;
  color: white;
}

.btn-secondary {
  background-color: var(--light-color);
  color: var(--dark-color);
  border: 1px solid #ddd;
}

.btn-secondary:hover {
  background-color: #ddd;
}

/* Header */
header {
  background-color: white;
  box-shadow: var(--box-shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
}

.logo img {
  max-height: 60px;
}

nav ul {
  display: flex;
  list-style: none;
}

nav li {
  margin-left: 30px;
}

nav a {
  color: var(--dark-color);
  font-weight: 600;
  position: relative;
}

nav a.active,
nav a:hover {
  color: var(--primary-color);
}

nav a.active::after,
nav a:hover::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
}

/* Hero Section */
.hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/1.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 120px 0;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: white;
}

.hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 30px;
}

/* Featured Destinations */
.featured-destinations {
  padding: 80px 0;
}

.featured-destinations h2,
.latest-posts h2 {
  text-align: center;
  margin-bottom: 40px;
}

.destinations-grid,
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.destination-card,
.post-card {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.destination-card:hover,
.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.destination-card img,
.post-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.destination-card h3,
.post-card h3 {
  padding: 20px 20px 10px;
}

.destination-card p,
.post-card p {
  padding: 0 20px;
  color: #666;
}

.destination-card a,
.post-card a {
  display: block;
  margin: 10px 20px 20px;
}

/* Latest Posts */
.latest-posts {
  padding: 80px 0;
  background-color: #f5f5f5;
}

.view-all {
  text-align: center;
  margin-top: 40px;
}

/* Post Date and Category */
.post-info {
  padding: 10px 20px 0;
  display: flex;
  font-size: 0.9rem;
  color: #777;
}

.post-date,
.post-category {
  margin-right: 15px;
}

.post-category {
  color: var(--primary-color);
  font-weight: 600;
}

/* Next Post Timer */
.next-post-timer {
  padding: 60px 0;
  text-align: center;
  background-color: var(--light-color);
}

.next-post-timer h2 {
  margin-bottom: 30px;
}

#countdown {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.countdown-item {
  margin: 0 15px;
  background-color: white;
  padding: 15px;
  border-radius: var(--border-radius);
  min-width: 80px;
  box-shadow: var(--box-shadow);
}

.countdown-item span {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  display: block;
}

.countdown-item p {
  margin: 5px 0 0;
  font-size: 0.9rem;
  color: #777;
}

.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  font-size: 1rem;
}

.newsletter-form button {
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.footer-logo img {
  max-height: 60px;
  margin-bottom: 15px;
}

.footer-logo p {
  font-size: 0.9rem;
  color: #ccc;
}

.footer-links h3,
.footer-contact h3 {
  color: white;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #ccc;
}

.footer-links a:hover {
  color: white;
}

.footer-contact address {
  font-style: normal;
  color: #ccc;
}

.footer-contact p {
  margin-bottom: 10px;
}

.footer-contact a {
  color: #ccc;
}

.footer-contact a:hover {
  color: white;
}

.social-links {
  display: flex;
  margin-top: 20px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  margin-right: 10px;
  color: white;
}

.social-links a:hover {
  background-color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: #ccc;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 15px;
  z-index: 9999;
  display: none;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cookie-content p {
  margin-bottom: 15px;
  text-align: center;
}

.cookie-content a {
  color: var(--primary-color);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

/* Tooltip */
.tooltip-box {
  position: absolute;
  background-color: #333;
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.9rem;
  z-index: 1000;
  pointer-events: none;
}

.tooltip-box::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px 5px 0;
  border-style: solid;
  border-color: #333 transparent transparent;
}

/* Page Header */
.page-header {
  background-color: var(--secondary-color);
  color: white;
  text-align: center;
  padding: 60px 0;
}

.page-header h1 {
  color: white;
  margin-bottom: 10px;
}

/* Blog Content */
.blog-content {
  padding: 60px 0;
}

.blog-content .posts-grid.full-width {
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
}

.blog-content .post-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-content .post-card a {
  margin-top: auto;
}

/* Destinations Content */
.destinations-content {
  padding: 60px 0;
}

.destination-filters {
  margin-bottom: 40px;
  text-align: center;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.filter-btn {
  padding: 8px 16px;
  background-color: var(--light-color);
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
  background-color: var(--primary-color);
  color: white;
}

.destinations-grid .destination-card {
  display: flex;
  flex-direction: column;
}

.destination-info {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.region-tag {
  display: inline-block;
  background-color: var(--light-color);
  color: var(--dark-color);
  padding: 3px 8px;
  border-radius: 3px;
  font-size: 0.8rem;
  margin-bottom: 15px;
}

.destination-highlights {
  list-style-position: inside;
  margin-bottom: 20px;
}

.destination-highlights li {
  margin-bottom: 5px;
  color: #666;
}

.destination-info a {
  margin-top: auto;
  align-self: flex-start;
}

/* About Content */
.about-content {
  padding: 60px 0;
}

.about-mission,
.about-values,
.team-section,
.testimonials {
  margin-bottom: 60px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.value-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
  text-align: center;
}

.value-icon {
  margin-bottom: 20px;
  color: var(--primary-color);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.team-member {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  text-align: center;
}

.team-member img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.team-member h3 {
  margin-top: 20px;
  margin-bottom: 5px;
}

.team-member p {
  padding: 0 20px 20px;
  color: #666;
}

.testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonial {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
  margin: 30px 0;
  display: none;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  text-align: right;
  font-weight: 600;
}

/* Contact Content */
.contact-content {
  padding: 60px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.contact-info {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
}

.info-item {
  display: flex;
  margin-bottom: 25px;
}

.info-icon {
  margin-right: 15px;
  color: var(--primary-color);
  flex-shrink: 0;
}

.info-text h3 {
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.info-text p {
  margin-bottom: 0;
  color: #666;
}

.social-links-contact h3 {
  margin-bottom: 15px;
}

.social-icons {
  display: flex;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--light-color);
  border-radius: 50%;
  margin-right: 10px;
  color: var(--dark-color);
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--primary-color);
  color: white;
}

.contact-form-container {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
}

.contact-form {
  display: grid;
  gap: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-size: 1rem;
}

.checkbox-container {
  display: flex;
  align-items: center;
}

.checkbox-container input {
  width: auto;
  margin-right: 10px;
}

.map-container {
  margin-top: 40px;
}

.map {
  height: 400px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

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

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-content {
  background-color: white;
  border-radius: var(--border-radius);
  width: 90%;
  max-width: 500px;
  position: relative;
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-body {
  padding: 30px;
  text-align: center;
}

.check-icon {
  color: #2ecc71;
  margin-bottom: 20px;
}

/* Blog Post */
.blog-post {
  padding: 60px 0;
}

.post-header {
  text-align: center;
  margin-bottom: 30px;
}

.post-meta {
  color: #777;
  margin-bottom: 20px;
}

.post-meta span {
  margin: 0 10px;
}

.post-featured-image {
  margin-bottom: 30px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.post-featured-image img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
}

.post-content {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 40px;
  box-shadow: var(--box-shadow);
  margin-bottom: 40px;
}

.post-content h2 {
  margin-top: 40px;
}

.post-content h3 {
  margin-top: 30px;
}

.post-navigation {
  margin-bottom: 40px;
}

.post-nav-links {
  display: flex;
  justify-content: space-between;
}

.related-posts h3 {
  margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
  header .container {
    flex-direction: column;
  }
  
  .logo {
    margin-bottom: 15px;
  }
  
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  nav li {
    margin: 5px 10px;
  }
  
  .hero {
    padding: 80px 0;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input {
    border-radius: var(--border-radius);
    margin-bottom: 10px;
  }
  
  .newsletter-form button {
    border-radius: var(--border-radius);
  }
  
  .post-nav-links {
    flex-direction: column;
    gap: 15px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  #countdown {
    flex-wrap: wrap;
  }
  
  .countdown-item {
    margin: 5px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .destinations-grid,
  .posts-grid,
  .values-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .post-content {
    padding: 20px;
  }
}
