* {
  margin: 0; padding: 0; box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background-color: #fff;
  color: #111;
  scroll-behavior: smooth;
}


/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 3rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  z-index: 1000;
}

.logo img {
  display: block;
  height: auto;
}

/* Default navigation links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  transition: all 0.3s ease;
}

.nav-links a {
  text-decoration: none;
  color: #111;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #0a4ef0;
}

/* Menu icon (hidden by default) */
.menu-icon {
  display: none;
  font-size: 1.7rem;
  color: #0078ff;
  cursor: pointer;
}

/* === MOBILE MENU (κάτω από 420px) === */
@media (max-width: 420px) {
  .navbar {
    padding: 0.8rem 1.5rem;
  }

  /* Εμφανίζουμε το icon, κρύβουμε τα links */
  .menu-icon {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100px; /* κάτω από το navbar */
    right: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    text-align: center;
    gap: 1.2rem;
    padding: 1.2rem 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }

  /* Όταν ανοίγει το μενού */
  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    font-size: 1.1rem;
    color: #111;
  }

  .nav-links a:hover {
    color: #0078ff;
  }
}

/* === HERO SECTION === */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  background: 
    linear-gradient(135deg, rgba(217,217,217,0.7) 0%, rgba(242,242,242,0.7) 100%),
    url('images/car-windows-scaled.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  gap: 3rem;
  height:850px
}


/* Αριστερό μέρος */
.hero-left {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image {
  width: 100%;

  height: auto;
  border-radius: 1.5rem;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Δεξί μέρος */
.hero-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.hero-content {
  max-width: 520px;
}

.hero-content h1 {
  font-size: 2.8rem;
  color: #111;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.hero-content .brands {
  font-size: 1rem;
  color: #555;
  margin-bottom: 2rem;
}

.hero-content .brands strong {
  color: #0078ff;
}

/* CTA Button */
.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn.blue {
  background-color: #0078ff;
  color: white;
}

.btn.blue:hover {
  background-color: #005fcc;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 3rem 5%;
  }

  .hero-left, .hero-right {
    flex: unset;
    width: 100%;
  }

  .hero-image {
    max-width: 100%;
    margin-bottom: 2rem;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }
}



/* Services */

.services {
  text-align: center;
  padding: 3rem 1rem;
  background: #f8f9fa;
}

.services h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #222;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  color: #fff;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card.blue { background: linear-gradient(135deg, #1e90ff, #0072ff); }
.card.green { background: linear-gradient(135deg, #28a745, #20c997); }
.card.white { background: linear-gradient(135deg, #f1f1f1, #e2e6ea); color: #333; }

.card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.card p {
  font-size: 0.95rem;
  line-height: 1.4;
}


/* GALLERY */
.gallery {
  padding: 4rem 2rem;
  text-align: center;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.gallery-grid img {
  width: 100%;
  border-radius: 10px;
  transition: transform 0.3s ease;
}
.gallery-grid img:hover {
  transform: scale(1.05);
}

/* CONTACT */
.contact {
  background: #f9f9f9;
  padding: 4rem 2rem;
  text-align: center;
}
.contact form {
  display: flex; flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
}
.contact input, .contact textarea {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}
.contact textarea { resize: none; height: 120px; }

/* === FOOTER === */
footer {
  background: #0a4ef0;
  color: white;
  text-align: left;
  padding: 2rem 1.5rem;
  font-size: 0.95rem;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-container h4 {
  color: #fff;
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
}

.footer-container ul {
  list-style: none;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

.footer-container a {
  color: #dbe8ff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-container a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-map iframe {
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.2);
  margin-top: 2rem;
  padding-top: 1rem;
  font-size: 0.9rem;
  color: #f0f0f0;
}

/* Responsive layout */
@media (max-width: 600px) {
  footer {
    text-align: center;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .footer-map iframe {
    height: 220px;
  }
}


/* RESPONSIVE */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 1rem;
  }
  .hero {
    flex-direction: column;
  }
  .hero-content h1 { font-size: 2rem; }
}


/* ACCORDION ADD ON*/

.accordion-section {
  padding: 5rem 2rem;
  background: #f9fdfc;
  text-align: center;
}

.accordion-section h2 {
  color: #222;
  margin-bottom: 1rem;
  font-size: 2rem;
}

.accordion-section .intro {
  max-width: 800px;
  margin: 0 auto 2rem;
  color: #333;
}

.accordion {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.accordion-item {
  border: 1px solid #0073ff49;
  border-radius: 10px;
  margin-bottom: 1rem;
  overflow: hidden;
  background: white;
  transition: box-shadow 0.3s ease;
}
.accordion-item:hover {
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.accordion-header {
  width: 100%;
  background: #e6f0ff;
  color: #0072ff;
  border: none;
  padding: 1rem 1.2rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background 0.3s ease;
}
.accordion-header:hover {
  background:#0072ff;
;
  color: white;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  background: #fff;
  padding: 0 1.2rem;
  transition: all 0.4s ease;
}

.accordion-content.open {
  padding: 1.2rem;
  max-height: 1200px;
}

.accordion-content ul {
  margin: 0.5rem 0 1rem 1.2rem;
}
.accordion-content h4 {
  margin-top: 0.8rem;
  color: #0072ff;
}

.accordion-content table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}
.accordion-content table th, 
.accordion-content table td {
  border: 1px solid #ddd;
  padding: 0.6rem;
  text-align: center;
}
.accordion-content table th {
  background: #0072ff;
  color: #fff;
}

/* Insurance Partners */


.partners {
  text-align: center;
  padding: 3rem 1rem;
  background: #f9f9f9;
}
.partners h2 { font-size: 1.8rem; margin-bottom: 2rem; color: #222; }

.slider {
  overflow: hidden;
  position: relative;
  touch-action: pan-y; /* επιτρέπει κάθετο scroll, αλλά αφήνει οριζόντιο pan στο JS */
}

.slide-track {
  display: flex;
  align-items: center;
  will-change: transform;
  /* ΜΗΝ βάζεις εδώ animation: ... */
}


.slide {
  width: 200px;                   /* σταθερό “κουτί” για κάθε logo */
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 10px;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: all 0.3s ease;
}
.slide img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

/* Παύση στο hover (προαιρετικό) */
.slider:hover .slide-track { animation-play-state: paused; }

/* Η απόσταση κύλισης ορίζεται δυναμικά από JS: --loop-width */
@keyframes scroll {
  to {
    transform: translateX(calc(-1 * var(--loop-width)));
  }
}

/* Responsive tweaks (προαιρετικά) */
@media (max-width: 600px) {
  .slide { width: 150px; height: 80px; }
}




/* GALLERY */

/* LIGHTBOX GALLERY */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.3s ease;
}
.lightbox.hidden { display: none; }

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 80%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

/* Close button */
.lightbox .close {
  position: absolute;
  top: -40px;
  right: 0;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

/* Ακριβής στοίχιση arrows στο lightbox */
.lightbox-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 90%;
  max-height: 80%;
}

/* === Lightbox Arrows (Desktop) === */
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.2rem;
  color: white;
  background: rgba(0,0,0,0.4);
  border: none;
  border-radius: 50%;
  padding: 0.6rem 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.prev { left: 2%; }
.next { right: 2%; }

.prev:hover, .next:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-50%) scale(1.1);
}

/* === Responsive (Tablets & Smaller) === */
@media (max-width: 768px) {
  .prev, .next {
    font-size: 1.8rem;
    padding: 0.5rem 0.7rem;
  }
}

/* === Mobile Layout (arrows κάτω από την εικόνα) === */
@media (max-width: 600px) {
  .lightbox-content {
    flex-direction: column;
    justify-content: center;
  }

  .prev, .next {
    position: static;
    transform: none;
    background: rgba(0,0,0,0.6);
    margin: 0.8rem;
    font-size: 1.6rem;
    padding: 0.6rem 0.9rem;
  }

  /* Τοποθέτηση τους δίπλα-δίπλα */
  .lightbox-content .nav-buttons {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 280px;
  }
}




.gallery {
  padding: 60px 20px;
  background: #f7f7f7;
}

.gallery h2 {
  text-align: center;
  margin-bottom: 40px;
}

/* === LAYOUT για όλα τα carousels === */
.gallery-carousels {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px; /* απόσταση ανάμεσα */
}

/* Κάθε "όχημα" */
.gallery-carousel {
  flex: 1 1 250px; /* βάση 400px, μεγαλώνει ή μικραίνει */
  max-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gallery-carousel h3 {
  text-align: center;
  margin-bottom: 15px;
}

/* === Κοινό carousel style === */
.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  width: 100%;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.carousel .slides {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel img {
  width: 100%;
  flex-shrink: 0;
  object-fit: contain;
  height: auto;
}

/* Βελάκια */
.carousel button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  color: white;
  border: none;
  padding: 12px;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.3s;
}

.carousel button:hover {
  background: rgba(0, 0, 0, 0.6);
}

.prev-slide { left: 10px; }
.next-slide { right: 10px; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .gallery-carousels {
    flex-direction: column;
    align-items: center;
  }

  .gallery-carousel {
    max-width: 90%;
  }
}

@media (max-width: 600px) {
  .carousel button {
    padding: 8px;
  }
}








/* === TABVIEW SECTION === */
.tab-section {
  padding: 5rem 2rem;
  background: #f8f9fa;
  text-align: center;
}

.tab-section h2 {
  font-size: 2rem;
  color: #222;
  margin-bottom: 2rem;
}

/* Buttons row */
.tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.tab-button {
  background: #e6f0ff;
  border: 2px solid #0078ff;
  color: #0078ff;
  padding: 0.7rem 1.5rem;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.tab-button:hover {
  background: #0078ff;
  color: white;
}

.tab-button.active {
  background: #0078ff;
  color: white;
  box-shadow: 0 3px 10px rgba(0, 120, 255, 0.3);
}

/* Content area */
.tab-content {
  display: none;
  animation: fadeIn 0.5s ease;
}

.tab-content.active {
  display: block;
}

/* 2-column layout */
.tab-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  text-align: left;
  max-width: 1000px;
  margin: 0 auto;
}

.tab-images {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tab-images img {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  object-fit: cover;
  transition: transform 0.3s ease;
}

.tab-images img:hover {
  transform: scale(1.03);
}

.tab-text h3 {
  color: #0078ff;
  margin-bottom: 1rem;
}

.tab-text p {
  color: #444;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 900px) {
  .tab-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .tab-images {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .tab-images img {
    width: 45%;
  }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}


/* === CAROUSEL === */
.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.carousel .slides {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel img {
  width: 100%;
  flex-shrink: 0;
  border-radius: 1rem;
}

.carousel button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(110, 110, 111, 0.7);
  border: none;
  color: white;
  font-size: 1.8rem;
  border-radius: 50%;
  padding: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
  z-index: 10;
}

.carousel button:hover {
  background: rgba(0, 120, 255, 0.9);
}

.prev-slide { left: 10px; }
.next-slide { right: 10px; }

/* Responsive carousel for smaller screens */
@media (max-width: 900px) {
  .carousel button {
    font-size: 1.2rem;
  }
}




/* === PARALLAX BANNER === */
.parallax-banner {
  position: relative;
  background-image: url('images/globalusa/tint-tiers.png');
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
  background-attachment: fixed;
  height: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 3rem;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

/* Σκοτεινό overlay για να φαίνεται καθαρά το κείμενο */
.parallax-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
}

.parallax-overlay h3 {
  position: relative;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
  z-index: 2;
  max-width: 1000px;
}

/* Responsive */
@media (max-width: 768px) {
  .parallax-banner {
    height: 220px;
    background-attachment: scroll; /* για καλύτερη απόδοση σε κινητά */
  }

  .parallax-overlay h3 {
    font-size: 1.4rem;
    padding: 0 1rem;
  }
}
/* === PARALLAX INFO === */
.parallax-info {
  text-align: center;
  padding: 4rem 2rem 2rem;
  background: #f8f9fa; /* απαλή αντίθεση πριν το parallax */
}

.parallax-info img {
  width: 220px;
  height: auto;
  margin-bottom: 1.5rem;
}

.parallax-info h3 {
  color: #333;
  font-size: 1.05rem;
  line-height: 1.7;
  font-weight: 400;
  max-width: 1000px;
  margin: 0 auto;
  text-align: justify;
}

/* === PARALLAX BANNER === */
.parallax-banner {
  position: relative;
  background-image: url('images/globalusa/tint-tiers.png');
  background-size: 100%; /* "zoom out" */
  background-position: top center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  height: 800px;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  margin: 2rem auto 4rem;
}

/* Responsive */
@media (max-width: 900px) {
  .parallax-info h3 {
    font-size: 0.95rem;
    padding: 0 1rem;
  }

  .parallax-banner {
    height: 200px;
    background-size: cover; /* καλύτερη προσαρμογή σε κινητά */
    background-attachment: scroll;
  }
}
/* === 3D MODEL VIEWER RESPONSIVE FIX === */
.hero-left {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.hero-left model-viewer {
  min-height: 450px;
  width: 100%;
  background: transparent;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  transition: opacity 0.4s ease;
}

model-viewer[reveal='interaction'][poster]::part(default-poster) {
  background-size: contain;
  background-color: transparent;
}


/* Tablet */
@media (max-width: 900px) {
  
  .hero{
    height:1200px;
  }
  .hero-left model-viewer {
    height: 400px !important; /* το !important εξασφαλίζει προτεραιότητα */
  }
  .hero-right{
    justify-content: center;
  }
 
}

/* Mobile */
@media (max-width: 600px) {
  .hero{margin-top:2rem;}
  .hero-left model-viewer {
    padding-top:4rem;
    height: 320px !important;
  }
}









/* === TOP BAR === */
.topbar {
  width: 100%;
  background-color: #0078ff;
  color: white;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  padding: 0.4rem 2rem;
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.topbar-icon {
  height: 28px;
  width: auto;
}


/* Εξαφάνιση κάτω από 840px */
@media (max-width: 840px) {
  .topbar {
    display: none !important;
  }

  .navbar {
    top: 0 !important;
  }
}












/* === TOP BAR === */
.topbar {
  width: 100%;
  background-color: #0078ff;
  color: white;
  font-size: 1.2rem;
  font-weight: 500;
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  z-index: 1000;
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.topbar-content span {
  font-weight: 600;
  letter-spacing: 0.3px;
}

.contact-info {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.contact-info li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.contact-info i {
  color: #fff;
  font-size: 1rem;
}

/* Responsive για κινητά */
@media (max-width: 900px) {
  .topbar-content {
    flex-direction: column;
    text-align: center;
    gap: 0.3rem;
  }

  .contact-info {
    flex-direction: column;
    gap: 0.4rem;
  }
}

/* Navbar offset ώστε να μην καλύπτεται */
.navbar {
  top: 36px; /* Ύψος του top bar */
}

/* === LEGAL DIALOGS === */
.legal-dialog {
  border: none;
  border-radius: 10px;
  padding: 0;
  width: 90%;
  box-shadow: 0 5px 40px rgba(0, 0, 0, 0.4);
  background: #fff;
  color: #222;
  margin:2rem;
}

.legal-dialog::backdrop {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
}

.dialog-content {
  padding: 2rem;
  position: relative;
  max-height: 80vh;
  overflow-y: auto;
}

.dialog-content h2 {
  color: #0078ff;
  margin-bottom: 1rem;
  text-align: center;
}

.dialog-content h3 {
  color: #0078ff;
  margin-top: 1.5rem;
}

.dialog-content p, .dialog-content li {
  line-height: 1.6;
  font-size: 1rem;
  margin-bottom: 0.6rem;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  color: #0078ff;
  font-size: 1.4rem;
  cursor: pointer;
}

.close-btn:hover {
  color: #005fcc;
}
@media (max-width: 600px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-content model-viewer {
    width: 100%;
    height: 320px;
    margin: 1rem 0;
    border-radius: 1rem;
  }

  .hero-content p {
    text-align: center;
  }
}
.contact-btn {
  background-color: #00b894;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 0.9rem 2rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.contact-btn:hover {
  background-color: #019874;
  transform: translateY(-2px);
}
#toast {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #00b894;
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 9999;
}

#toast.show {
  opacity: 1;
  transform: translateY(0);
}
/* ===== FINAL FIX: ensure gallery + contact button always load ===== */

/* -- Gallery fix -- */
.gallery-carousel {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  max-width: 500px !important;
  width: 100% !important;
}
.carousel .slides {
  display: flex !important;
  width: 100% !important;
  transition: transform 0.5s ease !important;
}
.carousel img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
}

/* -- Contact button independent style -- */
form#contactForm .contact-btn {
  all: unset !important;
  display: inline-block !important;
  background-color: #00b894 !important;
  color: #fff !important;
  border-radius: 6px !important;
  padding: 0.9rem 2rem !important;
  font-size: 1rem !important;
  text-align: center !important;
  cursor: pointer !important;
  transition: background 0.3s ease, transform 0.2s ease !important;
}
form#contactForm .contact-btn:hover {
  background-color: #019874 !important;
  transform: translateY(-2px) !important;
}
.model-placeholder {
  position: relative;
  width: 100%;
  min-height: 450px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #f5f5f5, #eaeaea);
  border-radius: 1.5rem;
  overflow: hidden;
}

.model-placeholder img {
  width: 70%;
  max-width: 600px;
  opacity: 0.85;
}

.spinner {
  position: absolute;
  bottom: 25px;
  width: 36px;
  height: 36px;
  border: 3px solid #0078ff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
/* === MODEL LOADER === */
.model-loader {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 450px;
  width: 100%;
  color: #0078ff;
  font-weight: 500;
}

.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(0, 120, 255, 0.3);
  border-top-color: #0078ff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.model-loader p {
  font-size: 1rem;
  color: #0078ff;
}

/* Disabled κουμπί */
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  filter: grayscale(30%);
  transform: none !important;
}

.topbar-item{
  margin-right:1rem;
}

.footer-info p{
  padding:0.5rem;
}
