/* ========================= VARIABLES ========================= */
  :root {
    /* TODO: άλλαξε με τα χρώματα */
    --primary: #023c2a;
    --secondary: #b0693d;
    --dark: #212529;
    --light: #F8F9FA;
    --max-width: 1200px;
  }
  
  /* ========================= RESET ========================= */
  * {margin: 0; padding: 0; box-sizing: border-box;}
  body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background: var(--light);
  }  
  a {text-decoration: none; color: inherit;}
  body.no-scroll{overflow:hidden}

  body.loading {
    background: #fff !important;
    opacity: 0 !important;
    pointer-events: none !important; /* προαιρετικό για να μην μπορεί να κλικάρει τίποτα */
  }
  body.loaded {
    opacity: 1 !important;
    pointer-events: auto !important;
    transition: opacity 0.18s;
  }



  .background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/img/cardboard-texture.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -10;
  }


  /* ========================= HEADER / NAV ========================= */
  header {
    position: fixed; top: 0; left: 0; width: 100%;
    background: rgba(255,255,255,0.92); backdrop-filter: blur(10px);
    z-index: 1000; transition: box-shadow 0.3s;
  }
  
  header.scrolled {box-shadow: 0 2px 8px rgba(0,0,0,0.08);}    
  .nav-wrapper {
    position: relative;   /* Den jerw to ebala meta TODO.isws to sbisw */
    max-width: var(--max-width); margin: auto; 
    display: flex; align-items: center; justify-content: space-between; 
    padding: 1rem;
  }
  .brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--primary);
    text-decoration: none;
  }

  .brand img.logo {
    height: 32px;
    width: auto;
    display: block;
  }
  .nav-links {display: flex; gap: 1.25rem;}
  .nav-links a {
    font-weight: 600; position: relative;
  }
  .nav-links a::after {
    content: ""; position: absolute; left: 0; bottom: -4px; width: 100%; height: 2px;
    background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform .25s;}
  .nav-links a:hover::after, .nav-links a.active::after {transform: scaleX(1);}

  /* Hamburger */
  .burger {
    display: none; background: none; border: none; cursor: pointer; 
    font-size: 1.75rem; color: var(--dark);
  }    

  /* Mobile nav */
  @media(max-width: 768px) {
    .burger {display: block;}
    .nav-links {
      position: absolute; top: 100%; left: 0; width: 100%; 
      flex-direction: column; gap:0;
      background: rgba(255,255,255,.97);
      max-height: 0; overflow: hidden; transition: max-height .35s ease;
    }
    /* 5 links × ~52 px = 260 => 265 px 
                      max-height: 265px*/
    .nav-links.open {max-height: 100vh; box-shadow: 0 8px 16px rgba(0,0,0,.08);}      
    .nav-links a{padding:.75rem 1.25rem;font-size:1.05rem}
  }

  .nikos {
    font-size: 0.5em;
    text-transform: uppercase;
    position: relative;
    top: 0.3em; /* Χαμήλωσέ το οπτικά */
  }
  /*το κουμπί γλώσσας EN/GR*/
  .lang-switch {
    font-weight: 600;
    position: relative;
  }

  /* Container για EN και ☰ */
  .nav-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem; /* απόσταση μεταξύ EN και ☰ */
  }


  /* ========================= SEPARATOR ========================= */
  .separator {
    width: 80%;
    height: 1px;
    background-color: var(--primary);
    margin: 2rem auto;
    border-radius: 1px;
  }

  /* ========================= SECTIONS ========================= */

  section {
    scroll-margin-top: 4.5rem;
  }

  section {padding: 4rem 1rem;}
  .container {max-width: var(--max-width); margin: auto;}

  /* ---------- Hero ---------- */
  #hero {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    /* height: 100vh;  /* fallback */
    height: calc(var(--vh) * 100);
 
    display: block;
    text-align: center;
    color: #fff;
    background: url('assets/img/hero-desktop.jpg') center/cover no-repeat;
    z-index: 0;
    overflow: hidden;
  }

  /* TODO CHANGE IF NEED THE SAME PICTURE*/
  @media (max-width: 768px) {
    #hero {
      background-image: url("assets/img/hero-mobile.jpg");
    }
  }
  /* TODO rgba change to all 0*/
  #hero::before {
    content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.1), rgba(0,0,0,.1));
  }
  #hero .hero-inner {
    position: absolute;
    top: 78%; /* Πιο κάτω από το κέντρο */
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
  }
  #hero h1 {font-size: clamp(2rem, 6vw, 3rem); text-shadow: 0 4px 12px rgba(0,0,0,0.6);}

  /* Προσβάσιμο κρυφό κείμενο (όχι display:none/visibility:hidden) */
  .visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    margin: -1px; border: 0; padding: 0;
    white-space: nowrap; overflow: hidden;
    clip: rect(0 0 0 0); clip-path: inset(50%);
  }



  /* ---------- Space after hero ---------- */

  .spacer-hero-fix {
    /* height: 10vh */
    height: calc(var(--vh) * 10);
  }

  /* ---------- Main Content ---------- */
  .main-content {
    position: relative;
    z-index: 2;

    /* margin-top: 100vh; /* Σπρώχνει το περιεχόμενο κάτω από το fixed hero */
    margin-top: calc(var(--vh) * 100);
  }


  /* ---------- Buttons ----------*/
  .btn {
    display: inline-block; margin-top: 2rem; padding: 0.75rem 2rem;
    border-radius: 4px; font-weight: 600;
    background: var(--primary); color: #fff; transition: background .25s;
  }
  .btn:hover {background: var(--secondary);}

  /*  ---- About Section ----  */

  #about {
    /* Full-bleed πλάτος, χωρίς “κούνημα” */
    width: 100%; 
    margin: 0;
    position: relative;
    padding: 0;
  }

  /* --- Καρέ background που ψηλώνει όσο το κείμενο + λίγος “αέρας” --- */
  .about-images {
    position: relative;
    display: grid;                 /* το κείμενο ορίζει το ύψος */
    width: 100%;
    padding-block: clamp(16px, 4vmin, 40px); /* +λίγο πάνω-κάτω */
    overflow: hidden;              /* κρατά την εικόνα μέσα */
  }

  /* Η εικόνα γεμίζει ΟΛΟ το καρέ, κόβει από ΠΑΝΩ (object-position: bottom) */
  .about-images picture,
  .about-images img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom;       /* ό,τι κόβεται -> από πάνω */
    z-index: 1;
  }

  /* --- Overlay κείμενο (στο flow, χωρίς internal scroll) --- */
  .about-text {
    align-self: center;
    justify-self: end;             /* δεξιά σε desktop */
    position: relative;            /* ΟΧΙ absolute */
    z-index: 2;

    width:90%; 
    max-width: 600px;
    min-width: 0;

    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 1.75rem;
    border-radius: 12px;
    text-align: center;

    /* ποτέ εσωτερικό scroll */
    max-block-size: none;
    overflow: visible;

    /* να ΜΗΝ “σπρώχνει” οριζόντια και να σπάνε οι τεράστιες λέξεις/URLs */
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    box-sizing: border-box
  }

  /* --- Responsiveness --- */
  @media (max-width: 999px) {
    .about-text { justify-self: center; } /* κέντρο σε tablet */
  }

  @media (max-width: 768px) {
    .about-text { width: 92.5%; padding: 1.5rem; font-size: 0.95rem; }
    /* Κρατάμε bottom και σε mobile για σταθερό “κόψιμο από πάνω” */
    .about-images img { object-position: bottom; }
  }


  /* ---------- Gallery ---------- */
  #gallery {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
  }

  #gallery h2 {
    text-align: center;
    margin-bottom: 1.5rem;
  }

  .swiper {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .swiper-slide {
    background-position: center;
    background-size: cover;
    width: 80vw;          /* responsive πλάτος */
    max-width: 320px;     /* όριο για desktop */
    
    /* height: 40vh ; */
    height: calc(var(--vh) * 40);         /* fallback */
    
    max-height: 400px;
    
    min-height: 250px;    /* όριο για μικρές οθόνες */
    border-radius: 0px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  }
  /* @supports (height: 40svh) {
    .swiper-slide {
      height: 40svh !important;
    }
  } */

  .swiper-button-next,
  .swiper-button-prev {
    color: var(--primary);                                       /* ή οποιοδήποτε άλλο χρώμα θες */
    filter: drop-shadow(1px 1px 1px rgba(0,0,0,0.3));          /* σκιά για να φαίνονται καλύτερα */
  }

  .swiper-pagination-bullet {
    background-color: var(--primary);  /* Χρώμα μη ενεργού bullet */
    opacity: 0.5;
  }

  .swiper-pagination-bullet-active {
    background-color: var(--secondary);  /* Χρώμα ενεργού bullet */
    opacity: 1;
  }
  
  /* ---------- Menu ---------- */
  #menu {text-align: center;}
  .menu-card {
    display: inline-block; padding: 2rem; border: 2px dashed var(--primary);
    border-radius: 8px; max-width: 320px; background: #fff;
  }
  .menu-logo {
    width: 100%;
    max-width: 320px; /* TODO isos allo */
    height: auto;
    margin-bottom: 1rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  /* ---------- Location ---------- */
  #location .grid {display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); align-items: center;}
  .map {width: 100%; min-height: 300px; border: 0; border-radius: 8px;}

  /* ---------- Contact ---------- */
  #contact {text-align: center;}
  .socials a {margin: 0 0.5rem; font-size: 1.5rem; color: var(--dark);}    
  .socials a:hover {color: var(--primary);}
  .socials svg {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    transition: transform 0.2s ease;
  }

  .socials a:hover svg {
    transform: scale(1.1);
    color: var(--primary);
  }
  .sticky-call{
    position:fixed;bottom:1.5rem;right:1.5rem;
    width:56px;height:56px;
    display:flex;align-items:center;justify-content:center;
    font-size:1.4rem;border-radius:50%;
    z-index: 9999;  /*Stick above all*/
    background:var(--primary);color:#fff;box-shadow:0 4px 12px rgba(0,0,0,.3)
  }

  /* ---------- Footer ---------- */
  footer {background: var(--dark); color: var(--light); padding: 2rem 1rem; text-align: center;}
  footer p {font-size: 0.875rem;}
