main h2 {
  margin-top: 2rem;
}

main p,
main iframe {
  margin-bottom: 1.5rem;
}

/* =======================
   Footer Styling
======================= */

/* Ensure both footer and inner container get background color */
footer.footer,
footer.footer .container {
  background-color: #1b3a2f !important;
  /* dark forest green */
  color: #f1f1f1 !important;
}

/* Links inside footer */
footer.footer a {
  color: #fff !important;
  text-decoration: underline;
}

footer.footer a:hover {
  color: #b85c38 !important;
  /* accent color */
}

/* Contact info & copyright spacing */
.footer-contact p,
.footer-copy p {
  margin: 0.5rem 0;
}

.footer-copy {
  margin-top: 5rem;
}

/* Social links spacing */
.footer-social {
  margin-top: 0.5rem;
}

/* Responsive adjustments */
@media (min-width: 768px) {

  .footer-contact,
  .footer-social {
    margin: 0;
  }
}

/* Optional: bigger padding and font-size for footer */
footer.footer {
  padding: 6rem 5rem;
  font-size: 1.1rem;
  line-height: 1.5;
  width: 100%;
  display: block;
}

/* Footer Logo */
.footer-logo img {
  max-height: 3rem;
  /* adjust size */
  object-fit: contain;
  display: block;
  margin-bottom: 1rem;
}

.footer-logo-img {
  height: 6rem;
  width: auto;
  display: block;
}

@media (min-width: 768px) {
  .footer-logo img {
    max-height: 4rem;
    margin-bottom: 0;
  }
}

/* =======================
   Top Bar - matches linosinn.com
======================= */
.top-bar {
  background-color: #f8f8f8;
  color: #333;
  font-size: 0.875rem;
  width: 100%;
  border-bottom: 1px solid #e0e0e0;
}

.top-bar-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1.5rem;
  gap: 1rem;
}

.top-contact {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  min-width: 0;
}

.top-contact .separator {
  color: #ccc;
}

.top-bar a {
  color: #333;
  text-decoration: none;
  transition: color 0.2s;
}

.top-bar a:hover {
  color: #1b3a2f;
  text-decoration: underline;
}

.top-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.top-menu {
  display: flex;
  align-items: center;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* =======================
   Main Navigation - clean white bar
======================= */
.main-nav {
  background-color: #fff;
  width: 100%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 10;
}

.main-nav-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2rem;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.site-logo-image {
  height: 100px;
  width: auto;
  object-fit: contain;
}

.site-logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1b3a2f;
  transition: color 0.2s;
}

.site-logo:hover .site-logo-text {
  color: #2a5d4a;
}

.main-menu {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-menu li {
  position: relative;
}

.main-menu a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.35rem;
  transition: color 0.2s;
  position: relative;
}

.main-menu a:hover {
  color: #1b3a2f;
}

.main-menu a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #1b3a2f;
  transition: width 0.3s;
}

.main-menu a:hover::after {
  width: 100%;
}

/* Dropdown submenu for Episkopi */
.main-menu li.has-submenu>a::after {
  content: "▾";
  margin-left: 0.25rem;
  font-size: 0.75em;
}

.main-menu li .submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  min-width: 220px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  display: none;
  z-index: 20;
}

.main-menu li .submenu li a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
  color: #333;
}

.main-menu li .submenu li a:hover {
  background-color: #f5f5f5;
}

.main-menu li.has-submenu:hover>.submenu {
  display: block;
}

/* =======================
   Site Header Styling (Ananke theme)
======================= */

/* =======================
   Hero Header Section - matches linosinn.com
======================= */
.site-header {
  position: relative;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Overlay for dimming the background image */
.site-header .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

/* Hero content container */
.site-header .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 2rem 1.5rem;
  width: 100%;
}

/* Large bold hero title - like linosinn.com */
.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 1rem 0;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.02em;
}

/* Hero subtitle */
.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 300;
  color: #fff;
  margin: 0;
  line-height: 1.6;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* =======================
   Responsive Design
======================= */
@media (max-width: 768px) {
  .site-header {
    min-height: 50vh;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .top-bar-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
  }

  .top-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.8rem;
  }

  .top-contact .separator {
    display: none;
  }

  .top-menu {
    display: none;
    /* Hide top menu on mobile, use main nav */
  }

  .main-nav-container {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  .main-menu {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    align-items: flex-start;
  }

  .main-menu a {
    font-size: 0.95rem;
  }

  .site-logo {
    font-size: 1.25rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.15rem;
  }
}

@media (min-width: 1025px) {
  .hero-title {
    font-size: 4rem;
  }

  .hero-subtitle {
    font-size: 1.35rem;
  }
}

/* Gallery theme header compatibility */
.gallery-header {
  background-color: #fff;
  border-bottom: 1px solid #e0e0e0;
  padding: 0.5rem 1.5rem;
}

/* Gallery header positioned in hero section */
.gallery-header-in-hero {
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gallery-header-in-hero .btn {
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.gallery-header-in-hero .btn:hover {
  background-color: rgba(255, 255, 255, 0.3);
}