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

body {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

/* Header and navigation */
header {
  background-color: #03254c;
  color: #fff;
}

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

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
}

/* The logo container now holds an image rather than text. */
nav .logo {
  /* Align the logo image vertically within the nav */
  display: flex;
  align-items: center;
}

/* Size the logo image appropriately. Adjust the height as needed to fit the header. */
nav .logo img {
  height: 50px;
  width: auto;
}

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

/* Greek flag icon */
/* Greek flag icon – reduce size for a more subtle appearance */
.flag-icon {
  width: 18px; /* reduced from 24px to make the flag smaller */
  height: auto;
  vertical-align: middle;
}

/* News ticker styles */
.news-ticker {
  background-color: #03254c;
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  padding: 10px 0;
  font-size: 0.9rem;
}
.news-ticker .ticker-items {
  display: inline-block;
  /* Slow down the ticker to half the original speed by doubling the duration */
  animation: ticker 50s linear infinite;
}
.news-ticker .ticker-item {
  display: inline-block;
  margin-right: 50px;
}
.news-ticker a {
  color: #fff;
  text-decoration: none;
}
.news-ticker a:hover {
  text-decoration: underline;
}
@keyframes ticker {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Instagram slider styles */
.instagram-feed {
  padding: 40px 0;
  background-color: #f5f5f5;
}
.instagram-feed h2 {
  text-align: center;
  color: #03254c;
  margin-bottom: 20px;
  font-size: 2rem;
}
.instagram-slider {
  overflow: hidden;
  width: 100%;
}
.instagram-slider .slider-track {
  display: flex;
  animation: scroll-left 30s linear infinite;
}
.instagram-slider .slide {
  flex-shrink: 0;
  width: 200px;
  margin-right: 20px;
}
.instagram-slider .slide img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Hero section */
.hero {
  background-image: url('../images/hero.png');
  background-size: cover;
  background-position: center;
  color: #fff;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  position: relative;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.35);
}

.hero h1 {
  font-size: 3rem;
  z-index: 1;
}

.hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin-top: 10px;
  z-index: 1;
}

/* Sections */
.section {
  padding: 40px 0;
}

.section h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2rem;
  color: #03254c;
}

/* Card grid */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.card .content {
  padding: 15px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card .category {
  font-size: 0.8rem;
  color: #888;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.card .content h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #03254c;
}

.card .content p {
  font-size: 0.9rem;
  color: #555;
  flex: 1;
}

.card .content a {
  margin-top: 15px;
  display: inline-block;
  color: #e94560;
  text-decoration: none;
  font-weight: bold;
}

/* Content pages */
.page-header {
  background-size: cover;
  background-position: center;
  color: #fff;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
}

.page-header::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.35);
}

.page-header h2 {
  position: relative;
  z-index: 1;
  font-size: 2.5rem;
}

.page-content {
  padding: 40px 0;
  max-width: 800px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.8;
  color: #444;
}

/* Contact form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

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

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

.contact-form button {
  background-color: #e94560;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #03254c;
}

/* Footer */
footer {
  background-color: #03254c;
  color: #fff;
  text-align: center;
  padding: 20px 0;
  margin-top: 40px;
  font-size: 0.9rem;
}

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

footer .footer-links a {
  color: #fff;
  margin: 0 10px;
  text-decoration: none;
  font-weight: 500;
}

footer .footer-links a:hover {
  color: #e94560;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  nav ul {
    gap: 10px;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .page-header h2 {
    font-size: 2rem;
  }
}