/* =====================
   GLOBAL VARIABLES
===================== */
:root{
  --bg:#000;
  --fg:#fff;
  --muted:#bfbfbf;
  --card:#111;
  --border:#222;
 --accent:#FDFF55;
--accent-glow: rgba(253,255,85,0.6);

}

/* =====================
   RESET / BASE
===================== */
*{
  box-sizing:border-box;
  margin:0;
  padding:0;
}

body{
  background:
    radial-gradient(circle at 20% 20%, rgba(253,255,85,0.10) 0%, #050505 35%, #000 70%),
    radial-gradient(circle at 80% 10%, rgba(253,255,85,0.08) 0%, #050505 40%, #000 75%),
    linear-gradient(180deg, #050505 0%, #000 100%);
  color:var(--fg);
  font-family:system-ui,-apple-system,Segoe UI,Roboto;
  line-height:1.5;
  position: relative;
  overflow-x: hidden;
}

/* =====================
   GLOW ORBS BACKGROUND
===================== */
.background-glow{
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.background-glow span{
  position: absolute;
  width: 380px;
  height: 380px;
  background: rgba(253,255,85,0.18);
  filter: blur(140px);
  border-radius: 50%;
}

.background-glow span:nth-child(1){ top:10%; left:10%; }
.background-glow span:nth-child(2){ top:60%; left:70%; }
.background-glow span:nth-child(3){ top:30%; left:50%; }


@keyframes floatGlow{
  0%   { transform: translateY(0px) translateX(0px); }
  50%  { transform: translateY(-80px) translateX(40px); }
  100% { transform: translateY(0px) translateX(0px); }
}


a{
  color:#fff;
  text-decoration:none;
}
a:hover{ color:var(--accent); }

img{
  max-width:100%;
  display:block;
}

/* =====================
   HEADER / NAV
===================== */
header{
  position: sticky;
  top: 0;
  background: #050505; /* ΣΤΑΘΕΡΟ */
  border-bottom: 2px solid #FDFF55;
  box-shadow: 0 4px 25px rgba(253,255,85,0.35);
  z-index: 1000;
  transform: translateZ(0);
  will-change: transform;
}




.nav{
  max-width:1100px;
  margin:auto;
  padding:14px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

/* =====================
   LOGO – FIXED SIZE
===================== */
.logo{
  display: flex;
  align-items: center;
}

.logo img{
  width: 100px;          /* 🔒 ΣΤΑΘΕΡΟ */
  height: 100px;         /* 🔒 ΣΤΑΘΕΡΟ */
  min-width: 100px;
  min-height: 100px;

  object-fit: contain;
  aspect-ratio: 1 / 1;

  image-rendering: auto;
}


/* =====================
   MENU
===================== */
.menu ul,
.submenu,
.submenu ul{
  list-style:none;
}

.menu > ul{ display:flex; }

.menu li{ position:relative; }

.menu a{
  padding:10px 14px;
  display:block;
}

/* dropdown */
.submenu,
.submenu ul{
  display:none;
  position:absolute;
  background:#111;
  border:1px solid var(--border);
  border-radius:12px;
  min-width:220px;
  padding:6px 0;
  z-index:2000;
}

.submenu ul{
  top:0;
  left:100%;
}

.has-sub:hover > .submenu,
.submenu li.has-sub:hover > ul{
  display:block;
}

/* =====================
   SECTIONS
===================== */
section{
  max-width:1100px;
  margin:auto;
  padding:60px 20px;
}

.hero{ text-align:center; }
.hero p{ color:var(--muted); }

/* =====================
   CONTACT PAGE LAYOUT
===================== */
.contact-grid{
  display: grid;
  grid-template-columns: 1fr 1fr; /* στοιχεία | form */
  gap: 40px;
  align-items: start;
}

.contact-grid .panel{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}
/* =====================
   CONTACT FORM SIDE
===================== */
.contact-form-wrapper h3{
  margin-bottom: 6px;
}

.form-intro{
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 16px;
}

/* form spacing */
.contact-form-wrapper form{
  display: grid;
  gap: 12px;
}

/* =====================
   MAP CENTERED
===================== */
.map-wrapper{
  margin-top: 24px;
  display: flex;
  justify-content: center;
}

.map-wrapper iframe{
  width: 100%;
  max-width: 520px;
  height: 360px;
  border: 0;
  border-radius: 14px;
}

/* =====================
   COVER
===================== */
#cover img{
  width:100%;
  max-height:420px;
  object-fit:cover;
}

/* =====================
   GRIDS (ONE SOURCE OF TRUTH)
===================== */
.repairs-grid,
.services-grid,
.offers{
  display:grid;
  gap:20px;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
}

/* =====================
   CARDS
===================== */
.repair-card,
.offer,
.service-card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:16px;
  padding:20px;
  text-align:center;
}

.repair-card:hover{
  transform:translateY(-3px);
  border-color:var(--accent);
}

/* =====================
   MODEL CARDS
===================== */
.repair-card img{
  width:100%;
  height:150px;
  object-fit:contain;
  margin-bottom:12px;
}

/* =====================
   SERVICES
===================== */
.services-grid h3{
  grid-column:1 / -1;
  margin-bottom:10px;
}

.service-card{
  display:flex;
  flex-direction:column;
  align-items:center;
}

.service-card img{
  width:100%;
  height:140px;
  object-fit:contain;
  margin-bottom:10px;
}

.service-card .title{
  font-weight:600;
}

.service-card .price{
  color:var(--muted);
  font-size:14px;
}

/* =====================
   GALLERY – FIXED RATIO
===================== */
.gallery{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.gallery img{
  width: 100%;
  aspect-ratio: 4 / 3;        /* 🔒 ΚΛΕΙΔΩΜΑ ΑΝΑΛΟΓΙΑΣ */
  object-fit: cover;          /* κόβει σωστά χωρίς παραμόρφωση */
  border-radius: 14px;
  cursor: pointer;
  transition: transform .3s;
}

.gallery img:hover{
  transform: scale(1.05);
}

/* =====================
   LIGHTBOX – FIXED SIZE
===================== */
#lightbox{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 5000;
}

/* ΣΤΑΘΕΡΟ ΠΛΑΙΣΙΟ */
#lightbox .lightbox-content{
  width: min(90vw, 900px);
  aspect-ratio: 4 / 3;
  background: #000;
  border-radius: 16px;

  display: flex;
  flex-direction: column;
}


/* ΠΕΡΙΟΧΗ ΕΙΚΟΝΑΣ */
#lightbox img{
  width: 100%;
  height: 100%;
  object-fit: contain;        /* ❗ δεν παραμορφώνει */
  flex: 1;
}

/* ΛΕΖΑΝΤΑ */
#lightbox .caption{
  text-align: center;
  color: #fff;
  padding: 8px 12px;
  font-size: 14px;
}

/* ΚΟΥΜΠΙΑ – ΣΤΑΘΕΡΗ ΘΕΣΗ */
.lightbox-nav{
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 12px;
  background: #000;
}

.lightbox-nav button{
  background: none;
  border: 1px solid #fff;
  color: #fff;
  padding: 8px 16px;
  border-radius: 10px;
  cursor: pointer;
}

.lightbox-nav button:hover{
  background: var(--accent);
  color: #111;
}


/* =====================
   FORMS
===================== */
input, textarea{
  width:100%;
  padding:12px;
  border-radius:12px;
  border:1px solid var(--border);
  background:#0b0b0b;
  color:#fff;
}
/* =====================
   CONTACT GRID FIX
===================== */
.contact-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: flex-start;
}

/* αριστερό panel */
.contact-info p{
  margin-bottom: 14px;
}

/* δεξί */
.contact-form-wrapper h3{
  margin-bottom: 6px;
}

.form-intro{
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 16px;
}

/* φόρμα */
.contact-form-wrapper form{
  display: grid;
  gap: 12px;
}

/* χάρτης */
.map-wrapper{
  margin-top: 24px;
  display: flex;
  justify-content: center;
}

.map-wrapper iframe{
  width: 100%;
  max-width: 520px;
  height: 360px;
  border: 0;
  border-radius: 14px;
}

button{
  background:var(--accent);
  border:0;
  padding:12px;
  border-radius:12px;
  font-weight:600;
  cursor:pointer;
}

/* =====================
   FOOTER
===================== */
footer{
  text-align:center;
  color:#888;
  padding:30px;
}

/* =====================
   MOBILE ONLY
===================== */
@media (max-width:768px){

  .logo img{
    width: 56px;
    height: 56px;
  }

  .repairs-grid,
  .services-grid,
  .offers{
    grid-template-columns:repeat(2,1fr);
    gap:14px;
  }

  .repair-card,
  .service-card,
  .offer{
    padding:14px;
  }
  .contact-grid{
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .repair-card img,
  .service-card img{
    height:110px;
  }

  .gallery img{
    aspect-ratio: 1 / 1;
  }
}
/* =====================
   MOBILE DROPDOWN FIX
===================== */
@media (max-width: 768px){

  /* όλα τα submenus να ανοίγουν ΠΡΟΣ ΤΑ ΚΑΤΩ */
  .submenu,
  .submenu ul{
    position: static;
    width: 100%;
    border-radius: 10px;
    margin-left: 0;
  }

  /* ακύρωση του left:100% */
  .submenu ul{
    left: 0 !important;
  }

  /* μικρό indent για εμφάνιση hierarchy */
  .submenu li a{
    padding-left: 26px;
  }

  .submenu ul li a{
    padding-left: 42px;
  }

  /* full width dropdown */
  .menu > ul{
    flex-direction: column;
  }
}/* =====================
   MOBILE DROPDOWN ANIMATION
===================== */
@media (max-width: 768px){

 .submenu,
.submenu ul{
  position:absolute;
  background:#111;
  border:1px solid var(--border);
  border-radius:12px;
  min-width:220px;
  padding:6px 0;
  z-index:2000;

  /* NEW */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .25s ease, transform .25s ease;
}


  .has-sub:hover > .submenu,
.submenu li.has-sub:hover > ul{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}


  .submenu li a{
    padding-left: 26px;
  }

  .submenu ul li a{
    padding-left: 42px;
  }

  .menu > ul{
    flex-direction: column;
  }
}
@media (max-width:768px){

  .submenu,
  .submenu ul{
    position: static;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: max-height .35s ease, opacity .25s ease, transform .25s ease;
  }

  .has-sub:hover > .submenu,
  .submenu li.has-sub:hover > ul{
    max-height: 600px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .menu > ul{
    flex-direction: column;
  }

  .submenu li a{ padding-left: 26px; }
  .submenu ul li a{ padding-left: 42px; }
}
/* ABOUT CSS STYLE */
.about-section{
  max-width:1100px;
  margin:auto;
  padding:60px 20px;
  color:var(--fg);
}

.about-section h2{
  font-size:2.1rem;
  margin-bottom:14px;
  color:var(--fg);
}

.about-section h3{
  font-size:1.3rem;
  margin-top:42px;
  margin-bottom:14px;
  color:var(--accent);
  position:relative;
}

.about-section h3::before{
  content:"";
  position:absolute;
  left:-14px;
  top:50%;
  width:6px;
  height:6px;
  background:var(--accent);
  border-radius:50%;
  transform:translateY(-50%);
}

.about-section p{
  color:var(--muted);
  line-height:1.7;
  margin-bottom:14px;
  max-width:900px;
}

.about-section ul{
  margin-top:14px;
  padding:0;
  list-style:none;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:14px;
}

.about-section li{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:14px;
  padding:12px 14px;
  font-size:0.95rem;
}

.about-section li strong{
  color:var(--fg);
}

.about-badge{
  display:inline-block;
  background:var(--accent);
  color:#000;
  padding:6px 14px;
  border-radius:999px;
  font-size:0.85rem;
  font-weight:700;
  margin-bottom:18px;
}
@media (max-width: 768px){
  body{
    background-attachment: scroll !important;
  }

  header{
    background: #050505 !important;
  }
}
body::before,
body::after{
  content:none !important;
}
.service-time{
  margin-top: 8px;
  font-size: 13px;
  color: #fdff55;
  background: rgba(253,255,85,0.08);
  padding: 4px 10px;
  border-radius: 999px;
  display: inline-block;
}
.repair-note{
  grid-column: 1 / -1;
  background: rgba(253,255,85,0.08);
  border: 1px solid rgba(253,255,85,0.25);
  color: #eee;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
  margin: 10px 0 24px;
}

.repair-note strong{
  color: #fdff55;
}


/* ΑΠΟ ΕΔΩ ΞΕΚΙΝΑΝΕ ΟΙ ΡΥΘΜΙΣΕΙΣ ΤΟΥ POPUP */
.popup-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.popup-box{
  background: #111;
  color: #fff;
  max-width: 520px;
  width: 90%;
  padding: 24px 26px 28px;
  border-radius: 16px;
  position: relative;
  text-align: center;
  border: 1px solid #333;
  animation: popupFade .35s ease;
}

.popup-box h2{
  color: #ffbb00;
  margin-bottom: 12px;
}

.popup-box p{
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.5;
}

.popup-info{
  margin-top: 10px;
  font-size: 14px;
}

.popup-btn{
  margin-top: 10px;
  background: #ffbb00;
  color: #000;
  border: none;
  padding: 10px 22px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
}

.popup-close{
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: none;
  color: #aaa;
  font-size: 22px;
  cursor: pointer;
}

.popup-close:hover{
  color: #fff;
}

@keyframes popupFade{
  from{ transform: scale(.9); opacity:0;}
  to{ transform: scale(1); opacity:1;}
}
.promo-discount{
  margin: 16px 0 20px;
  padding: 12px 16px;
  background: linear-gradient(135deg, #ffbb00, #ff8c00);
  color: #111;
  font-weight: 800;
  font-size: 20px;
  text-align: center;
  border-radius: 12px;
  letter-spacing: 0.5px;
  box-shadow: 0 6px 18px rgba(255,187,0,0.35);
  animation: pulseDiscount 1.6s infinite;
}

/* ελαφρύ animation για προσοχή */
@keyframes pulseDiscount {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.05); }
  100% { transform: scale(1); }
}
/* =====================
  ΜΕΧΡΙ ΚΑΙ ΕΔΩ ΕΙΝΑΙ ΤΟ PROMO - ΑΠΟ ΕΔΩ ΚΑΙ ΚΑΤΩ ΕΙΝΑΙ ΡΥΘΜΙΣΕΙΣ ΣΤΥΛ ΓΙΑ MOBILE
  MOBILE – SOFTER YELLOW BACKGROUND
===================== */
@media (max-width: 768px){

  /* Γενικό background πιο ήπιο */
  body{
    background:
      radial-gradient(circle at 20% 20%, rgba(253,255,85,0.04) 0%, #050505 40%, #000 75%),
      radial-gradient(circle at 80% 10%, rgba(253,255,85,0.03) 0%, #050505 45%, #000 80%),
      linear-gradient(180deg, #050505 0%, #000 100%);
  }

  /* Glow orbs πιο διακριτικά */
  .background-glow span{
    width: 260px;
    height: 260px;
    background: rgba(253,255,85,0.08);
    filter: blur(160px);
  }

  /* service time badge πιο soft */
  .service-time{
    color: #e6e65a;
    background: rgba(253,255,85,0.05);
  }

  /* repair note πιο ήπιο */
  .repair-note{
    background: rgba(253,255,85,0.04);
    border-color: rgba(253,255,85,0.18);
  }

  .repair-note strong{
    color: #f3f36a;
  }
}
/* =====================
   MOBILE – SOFTER CARD IMAGES
===================== */
@media (max-width: 768px){

  /* εικόνες μοντέλων */
  .repair-card img,
  .service-card img{
    filter: brightness(0.85) contrast(0.95) saturate(0.9);
    opacity: 1;
    transition: filter .3s ease, opacity .3s ease;
  }

  /* λίγο πιο έντονες όταν τις ακουμπάει */
  .repair-card:hover img,
  .service-card:hover img{
    filter: brightness(1) contrast(1) saturate(1);
    opacity: 1;
  }
}