/* =================================================================
   Modern Responsive CSS for melissani-cave.com
   Greek-inspired design with mobile-first approach
   Inspired by recoleta-ba.com structure, adapted for Melissani Cave
   ================================================================= */

/* ===== CSS VARIABLES - Greek Flag Colors ===== */
:root {
  /* Greek Flag Colors */
  --greek-blue: #0D5EAF;
  --greek-white: #FFFFFF;
  --greek-blue-light: #4A7BC8;
  --greek-blue-dark: #0A4A8F;
  
  /* Extended Palette */
  --primary-blue: var(--greek-blue);
  --accent-blue-light: var(--greek-blue-light);
  --text-dark: #2C3E50;
  --text-light: #6C757D;
  --white: var(--greek-white);
  --background-light: #F8F9FA;
  --border-light: #E9ECEF;
  
  /* Typography */
  --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-secondary: Georgia, 'Times New Roman', serif;
  
  /* Spacing */
  --container-max-width: 1200px;
  --mobile-padding: 1.5rem;
  --section-padding: 2rem 0;
  --border-radius: 8px;
  
  /* Shadows */
  --shadow-light: 0 2px 4px rgba(0,0,0,0.1);
  --shadow-medium: 0 4px 8px rgba(0,0,0,0.15);
  --shadow-strong: 0 8px 16px rgba(0,0,0,0.2);
}

/* ===== RESET & BASE STYLES ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== LAYOUT STRUCTURE ===== */
.site-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.content-wrapper {
  flex: 1;
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--mobile-padding);
}

/* ===== HEADER ===== */
.site-header {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--greek-blue-dark) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero-section {
  background-image: url('images/800px-Waterfront_in_Sami_on_Kefalonia.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 60vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg, 
    rgba(13, 94, 175, 0.2) 0%, 
    rgba(10, 74, 143, 0.3) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: var(--section-padding);
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
  background: rgba(0, 0, 0, 0.5);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  backdrop-filter: blur(3px);
  color: #ffffff;
  display: inline-block;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  font-weight: 300;
  margin-bottom: 2rem;
  opacity: 1;
  background: rgba(0, 0, 0, 0.4);
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  backdrop-filter: blur(3px);
  text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
  color: #ffffff;
  display: inline-block;
}

/* ===== NAVIGATION ===== */
.main-navigation {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-light);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem var(--mobile-padding);
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.site-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  text-decoration: none;
}

.site-logo:hover {
  color: var(--greek-blue-dark);
}

/* Desktop Navigation */
.nav-menu {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  margin: 0 1rem;
}

.nav-menu a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a:focus {
  color: var(--primary-blue);
  border-bottom-color: var(--accent-blue-light);
}

/* Mobile Menu Button */
.mobile-menu-toggle {
  display: block;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-dark);
  cursor: pointer;
  padding: 0.5rem 1rem 0.5rem 0.5rem;
  margin-top: 1rem;
  margin-right: 1rem;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 10001;
}

.mobile-menu-toggle:hover {
  background-color: var(--background-light);
  color: var(--primary-blue);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: -100%;
  width: 280px;
  height: 100vh;
  background: var(--white);
  box-shadow: var(--shadow-strong);
  z-index: 9999;
  transition: left 0.3s ease;
  overflow-y: auto;
}

.mobile-menu-overlay.active {
  left: 0;
}

.mobile-menu-header {
  padding: 1.5rem;
  background: var(--primary-blue);
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-menu-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-nav-menu {
  list-style: none;
  padding: 1rem 0;
}

.mobile-nav-menu li {
  border-bottom: 1px solid var(--border-light);
}

.mobile-nav-menu a {
  display: block;
  padding: 1rem 1.5rem;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.mobile-nav-menu a:hover {
  background-color: var(--background-light);
  color: var(--primary-blue);
  padding-left: 2rem;
}

/* Mobile Menu Backdrop */
.mobile-menu-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* ===== MAIN CONTENT ===== */
.main-content {
  padding: var(--section-padding);
  padding-left: var(--mobile-padding);
  padding-right: var(--mobile-padding);
}

.content-section {
  margin-bottom: 3rem;
}

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

h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  border-bottom: 3px solid var(--accent-blue-light);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 600;
  color: var(--greek-blue-dark);
}

h4 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 600;
}

p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

/* Links */
a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--greek-blue-dark);
  text-decoration: underline;
}

/* Lists */
ul, ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

li {
  margin-bottom: 0.5rem;
}

/* ===== CALLOUT BOXES ===== */
.callout-box {
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  position: relative;
}

.callout-box h3 {
  margin-top: 0;
  margin-bottom: 1rem;
}

/* Info Callouts */
.callout-info {
  background: linear-gradient(135deg, #E3F2FD 0%, #F8F9FA 100%);
  border-left: 4px solid var(--primary-blue);
}

.callout-info h3 {
  color: var(--primary-blue);
}

/* Tips Callouts */
.callout-tips {
  background: linear-gradient(135deg, #E8F5E8 0%, #F8F9FA 100%);
  border-left: 4px solid #4CAF50;
}

.callout-tips h3 {
  color: #2E7D32;
}

/* Warning Callouts */
.callout-warning {
  background: linear-gradient(135deg, #FFF3E0 0%, #F8F9FA 100%);
  border-left: 4px solid #FF9800;
}

.callout-warning h3 {
  color: #E65100;
}

/* Cultural Callouts */
.callout-cultural {
  background: linear-gradient(135deg, #F3E5F5 0%, #F8F9FA 100%);
  border-left: 4px solid #9C27B0;
}

.callout-cultural h3 {
  color: #6A1B9A;
}

/* Practical Callouts */
.callout-practical {
  background: linear-gradient(135deg, #E0F2F1 0%, #F8F9FA 100%);
  border-left: 4px solid #009688;
}

.callout-practical h3 {
  color: #00695C;
}

/* ===== RESPONSIVE BREAKPOINTS ===== */

/* Tablet */
@media (min-width: 768px) {
  :root {
    --mobile-padding: 2rem;
  }
  
  .hero-section {
    min-height: 70vh;
  }
  
  .mobile-menu-toggle {
    display: none;
  }
  
  .nav-menu {
    display: flex;
  }
  
  .content-wrapper {
    padding: 0 2rem;
  }
  
  .callout-box {
    padding: 2rem;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  :root {
    --mobile-padding: 3rem;
  }
  
  .hero-section {
    min-height: 80vh;
  }
  
  .content-wrapper {
    padding: 0 3rem;
  }
}

/* Large Desktop */
@media (min-width: 1200px) {
  .content-wrapper {
    padding: 0;
  }
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--text-dark);
  color: var(--white);
  padding: 2rem var(--mobile-padding);
  margin-top: auto;
}

.footer-content {
  max-width: var(--container-max-width);
  margin: 0 auto;
  text-align: center;
}

.footer-content a {
  color: var(--white);
  margin: 0 1rem;
}

.footer-content a:hover {
  color: var(--accent-blue-light);
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus states */
:focus {
  outline: 2px solid var(--accent-blue-light);
  outline-offset: 2px;
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
    display: flex;
    margin-top: 20px;
}

.sidebar {
    width: 200px;
    margin-right: 20px;
}

.content {
    flex: 1;
}
footer {
    background-color: #f0f0f0;
    text-align: center;
    padding: 20px 0;
    margin-top: 20px;
}
h1, h2, h3, h4, h5, h6 {
    color: #2c3e50;
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
}
.nav-button {
    display: block;
    padding: 5px 10px;
    margin-bottom: 5px;
    background-color: #f0f0f0;
    border-radius: 5px;
}

.nav-button:hover {
    background-color: #e0e0e0;
}

.image-gallery {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.image-gallery img {
    max-width: 30%;
    height: auto;
}
@media (max-width: 768px) {
    main {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }

    .image-gallery {
        flex-direction: column;
    }

    .image-gallery img {
        max-width: 100%;
        margin-bottom: 10px;
    }/* ===== Generic Callout Box Base ===== */
.callout-box {
  padding: 15px;
  margin: 10px 0;
  border-radius: 5px;
  background-color: #f9f9f9;
}

/* ===== Callout Box Modifiers ===== */

/* Tips / Info */
.callout-tips {
  background-color: #f8f9fa;
  border: 2px solid #007bff;
  margin: 20px 0;
}

.callout-info {
  background-color: #f8f9fa;
  border-left: 4px solid #007bff;
  margin: 20px 0;
}

/* Historic / Highlight */
.callout-historic {
  border-left: 4px solid #ff6b6b;
}

.callout-warning {
  border-left: 4px solid #e74c3c;
}

.callout-verified {
  border-left: 4px solid #2c5530;
}

