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

    body {
      font-family: 'Fredoka', sans-serif; /* Fallback to sans-serif if Fredoka is not available */
      font-size: 1.1rem;
      color: #333;
      background-color: #ffffff;
    }





    h1 {
           
     font-family: 'Fredoka', sans-serif; /* Fallback to sans-serif if Fredoka is not available */
      font-size: 50px;
      color: #002a30;
      text-align: center;
      padding: 15px;
      
    }

  .content-container {
    width: 60%;  /* Content takes up 60% of the screen width */
    margin: 0 20%; /* 20% margin on left and right */
    padding: 20px; /* Optional: Add padding inside the content container */
    background-color: #fff; /* Optional: Add a background color */
}

section {
    margin-bottom: 20px;
}
/* style.css */
h2 {
 font-family: 'Fredoka', sans-serif; /* Fallback to sans-serif if Fredoka is not available */
      font-size: 1.6rem;
      color: #002a30;
      text-align: center;
      padding: 15px;
}
h3 {
    font-family: 'Fredoka', sans-serif; /* Fallback to sans-serif if Fredoka is not available */
  color: #002a30;       /* Text color */
  font-size: 20px;      /* Font size */
  font-weight: bold;    /* Make text bold */
  text-align: center;   /* Center align */
  margin-top: 20px;     /* Add space above */
}

h4 {
    font-family: 'Fredoka', sans-serif; /* Fallback to sans-serif if Fredoka is not available */
  color: #002a30;       /* Text color */
  font-size: 20px;      /* Font size */
  font-weight: bold;    /* Make text bold */
  text-align: left;   /* Center align */
  margin-top: 20px;     /* Add space above */
}
      h5 {
           
     font-family:'Martian Mono'; /* Fallback to sans-serif if Fredoka is not available */
      font-size: 50px;
      color: #000000;
      text-align: center;
      padding: 15px;
      
    } 
    
  .top-nav {
    background-color: #002a30;
    overflow: hidden;
    display: flex;
    justify-content: center;
    padding: 0.625rem 0;
  }

  .top-nav a {
    color: white;
    font-family: Arial, sans-serif;
    text-align: center;
    padding: 0.875rem 1.81rem;
    text-decoration: none;
    font-size: 1.6rem;
    transition: background 0.3s;
  }

  .top-nav a:hover {
    background-color: #3c6615;
  }

.navbar-compact {
  background-color: #f2f2f2;   /* soft grey */
  padding: 12px 14px;
  font-family: sans-serif;
}

.navbar-compact p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

.navbar-compact a {
  color: #5f0015;
  text-decoration: none;
  white-space: nowrap;
  font-weight: 600;   /* or bold */
}


.navbar-compact a:hover {
  text-decoration: underline;
}


    p {
      
      
    }
.main-text {
    margin: 20px auto;       /* 20px top/bottom, auto left/right for centering */
    padding: 15px;           /* Inner spacing */    
    max-width: 980px;        /* Optional: limits text width for readability */
    font-size: 1rem;         /* Standard text size */
    line-height: 1.6;        /* Improves readability */
    color: #253a2f;             /* Text color */
    background-color: #dcdcdc;  /* Background color */
    box-sizing: border-box;  /* Ensures padding and border are included in total width */
}

.greek-text {
    margin: 20px auto;       /* 20px top/bottom, auto left/right for centering */
    padding: 15px;           /* Inner spacing */    
    max-width: 980px;        /* Optional: limits text width for readability */
    font-size: 0.875rem;         /* Standard text size */
    line-height: 1.6;        /* Improves readability */
    color: #052247;             /* Text color */
    background-color: #dcdcdc;  /* Background color */
    box-sizing: border-box;  /* Ensures padding and border are included in total width */
}

/* style.css */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

.video-wrapper {
  position: relative;
  padding-top: 56.25%; /* 16:9 */
  margin: 40px auto;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


/* General image styling */
img {
    display: block;            /* Removes inline spacing and makes image a block element */
    max-width: 80%;          /* Ensures image does not overflow its container */
    height: auto;             /* Maintains aspect ratio */
    margin: 0 auto;           /* Centers the image horizontally */
    border-radius: 8px;       /* Adds slightly rounded corners */
    object-fit: cover;        /* Handles cropping nicely if width/height set */
}
figcaption {
    font-size: 1 em;          /* Font size for the caption */
    font-family: Arial, Helvetica, sans-serif;
    color: #018445;               /* Text color */
    margin-top: 10px;          /* Space above the caption */
    font-style: italic;        /* Italicize the caption text */

    text-align: right;        /* Center align the caption */
}

/* Optional: Add consistent spacing around images */
figure img {
    margin: 1rem auto;
}

/* Optional: Add a subtle shadow for aesthetics */
img {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

/* Optional: Hover effect */
img:hover {
    transform: scale(1.02);   /* Slight zoom on hover */


}/* Default = desktop/laptop */
.container { width: 1000px; margin: auto; }

/* Override for tablets and smaller */
@media (max-width: 1024px) {
  .container { width: 90%; }
}

/* Override for phones */
@media (max-width: 600px) {
  .container { width: 100%; padding: 1rem; }
  nav ul { display: block; } /* stack menu items */
}
/* Basic Table Styling */
table {
    width: 100%;             /* Table takes up 100% of its container width */
    border-collapse: collapse; /* Collapses borders into a single border */
    margin-bottom: 20px;     /* Adds space below the table */
}

th, td {
    border: 1px solid #afafaf;  /* Adds a 1px solid border to cells */
    padding: 8px;            /* Adds padding inside cells */
    text-align: left;        /* Aligns text to the left (default) */
}

th {
    background-color: #dcdcdc; /* Light gray background for header cells */
    font-weight: bold;       /* Makes header text bold */
}

/* Optional:  Styling for even/odd rows */
tr:nth-child(even) {
    background-color: #dcdcdc; /* Light gray background for even rows */
}
/* CSS Grid */
.grid-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr)); /* responsive columns */
  gap: 14px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px;
}

.grid-gallery figure {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #dcdcdc;
  box-shadow: 0 3px 10px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
}

.grid-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;   /* modern browsers: keeps consistent ratio */
  object-fit: cover;
  display: block;
  transition: transform .28s cubic-bezier(.2,.8,.2,1);
}

.grid-gallery img:hover {
  transform: scale(1.06);
}

.grid-gallery figcaption {
  padding: 10px;
  font-size: 0.92rem;
  color: #333;
  text-align: center;
  background: linear-gradient(180deg, #dcdcdcba, rg#dcdcdcba);
}

footer {
  background-color: #002a30;
  color: #fff;
  text-align: center;
  padding: 20px;
  position: relative;
  bottom: 0;
  width: 100%;
}

footer img {
  width: 150px;
  height: auto;
  margin-bottom: 10px;
}

footer a {
  color: #fefefe;
  text-decoration: none;
  font-weight: bold;
}

footer a:hover {
  text-decoration: underline;
}
/* Additions to make it smartphone friendly */

@media (max-width: 600px) {
  .content-container {
    width: 100%;
    margin: 0;
    padding: 15px;
  }
}

   
@media (max-width: 600px) {
  h1 {
    font-size: 2rem;   /* ~32px */
    padding: 10px;
  }

  h2 {
    font-size: 1.3rem;
    padding: 10px;
  }

  h3, h4 {
    font-size: 1.1rem;
  }

  h5 {
    font-size: 2rem;
  }

  body {
    font-size: 1rem;
  }
}


@media (max-width: 600px) {
  img {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .grid-gallery {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 6px;
  }

  .grid-gallery img {
    aspect-ratio: auto; /* prevents forced cropping on phones */
  }
}

@media (max-width: 600px) {
  .main-text,
  .greek-text {
    font-size: 0.95rem;
    padding: 12px;
    margin: 15px auto;
  }
}
html, body {
  overflow-x: hidden;
}

@media (max-width: 600px) { ... }

@media (max-width: 600px) {
  .top-nav {
    flex-direction: column;
    align-items: center;
  }

  .top-nav a {
    font-size: 1.1rem;
    padding: 0.6rem 0;
    width: 100%;
  }
}



