
/* =======================================
   RESET & GLOBAL SETTINGS
======================================= */
:root {
  --aeronic-blue: #1f3b73;
  --aeronic-red: #e30613;
  --aeronic-yellow: #ffd700;
  --aeronic-light: #f7f9fc;
  --aeronic-text: #333333;
}
* {
  margin: 0;
  padding: 0;
  max-width: 100%;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Titillium Web', Tahoma, Geneva, Verdana, sans-serif;
  /*font-family: 'Poppins', sans-serif;
  font-family: 'Rajdhani', sans-serif;*/
  font-size: 1.05rem; /* sau 1.1rem, default e 1rem = 16px */
  line-height: 1.6;
  background-color: var(--aeronic-light);
  color: #333;
}

/* ============================================
modifica titlul la paginile about si contact
===============================================*/
.page-title {
  font-size: 2.5rem;
  color: var(--aeronic-blue);
  text-align: center;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  margin-top: 100px; /* Sau cât are headerul, de obicei 60–100px */
  margin-bottom: 1.5rem;
}

/* =======================================
   HEADER & NAVIGATION
======================================= */
/* ================== HEADER GENERAL ================== */

.site-header {
  position: fixed !important; /* sau sticky dacă vrei doar să se lipească sus când ajungi la el */
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background-color: rgba(31, 59, 115, 0.85) !important;/*var(--aeronic-blue);*/
  z-index: 9999 !important;
  padding: 0.5rem 1rem;
  backdrop-filter: blur(10px); /* opțional, pentru efect futurist */
}

.header-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center; /*center Centrare completă */
  gap: 2rem;
  position: relative;
  padding: 0.5rem;
}

#header-container {
  /*position: fixed;*/
  top: 0;
  backdrop-filter: blur(10px);
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
}


/* ================== LOGO ================== */

.logo-img {
  height: 50px;
}

/* ================== NAV MENU (DESKTOP) ================== */

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-menu ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
}

/* === OPTIONAL: animă burgerul când e activ === */
.burger.open span:nth-child(1) {
  transform: rotate(45deg) translate(25px, 5px);
}
.burger.open span:nth-child(2) {
  opacity: 1;
  /*transform: translateX(5px);*/
}
.burger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(25px, -5px);
}


/* ================== DROPDOWN ================== */

.dropdown {
  position: relative;
}

.dropdown > ul.submenu {
  display: none;
}

.submenu {
  /*display: none;*/
  position: absolute;
  background-color: var(--aeronic-blue);
  color: white;
  list-style: none;
  padding: 0.5rem 0;
  margin: 0;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  z-index: 1000;
  min-width: 310px;
  top: 100%;
  left: 0;
  flex-direction: column;
}

.submenu li a {
  display: block;
  padding: 0.5rem 1.2rem;
  color: white;
  text-decoration: none;
  white-space: nowrap;
}

.submenu li a:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.dropdown.open > ul.submenu {
  display: block !important;
  flex-direction: column;
}

.dropbtn::after {
  content: " ▼";
  display: inline-block;
  transition: transform 0.3s ease;
}

.dropdown.open .dropbtn::after {
  transform: rotate(180deg);
}

/* ================== BURGER MENU (VIZIBIL PE TOATE VIEWPORTURILE) ================== */

.burger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10000;
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
}

.burger span {
  display: block;
  width: 100%;
  height: 3px;
  background: white;
  border-radius: 2px;
}

/* === OVERLAY MENU === */
.overlay-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(31, 59, 115, 0.85); /* 👈 era var(--aeronic-blue), acum e 95% opacitate */
  color: white;
  z-index: 9999;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  padding-top: 100px; /* Adaptează dacă headerul sticky are înălțime */
}

.overlay-menu.active {
  display: flex;
}

.overlay-menu nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.overlay-menu nav ul li {
  margin: 1.5rem 0;
}

.overlay-menu nav ul li a {
  color: white;
  font-size: 2rem;
  text-decoration: none;
  font-weight: bold;
}

.overlay-dropdown {
  position: relative;
}

.overlay-submenu {
  display: none;
  flex-direction: column;
  margin-top: 0.5rem;
  gap: 1rem;
}

.overlay-submenu li a {
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.overlay-submenu li a:hover {
  opacity: 1;
}

.overlay-dropdown.open .overlay-submenu {
  display: flex;
}

.overlay-dropdown .dropbtn {
  font-size: 2rem;
  cursor: pointer;
}

.overlay-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.overlay-menu nav ul {
  align-items: center;
}

.overlay-socials {
  margin-top: 2rem;
  display: flex;
  gap: 1.5rem;
  font-size: 1.8rem;
  justify-content: center;
}

.close-overlay {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2rem;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
}



/* ================== LANG SWITCH ================== */

.lang-switch {
  background: none;
  border: none;
  color: #fff;
  font-weight: 500;
  cursor: pointer;
  /*padding: 0;
  margin-left: 1rem;*/
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.5rem;
  font-size: 1rem;
}

.lang-switch:hover {
  color: var(--aeronic-yellow);
}

/* Doar pentru .nav-menu din header (desktop) */
@media (min-width: 769px) {
  .nav-menu .lang-switch {
    margin-left: 1rem;
  }
}

/* Iconița de steag */
.lang-switch img,
.flag-icon {
  width: 22px;
  height: auto;
  vertical-align: middle;
}


/* ================== RESPONSIVE: MOBILE ================== */

@media (max-width: 768px) {
  .header-wrapper {
    justify-content: space-between;
  }

  .nav-menu {
    display: none;
	flex-direction: column;
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    background-color: var(--aeronic-blue);
    padding: 4rem 1rem 1rem;
    transition: top 0.3s ease-in-out;
    z-index: 999;
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 1.5rem;
  }

  .submenu {
    position: static;
    box-shadow: none;
    background-color: transparent;
    padding-left: 1rem;
  }

  .submenu li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }
  
  .lang-desktop {
    display: none;
  }

  .lang-mobile {
    display: block;
  }

  .lang-mobile .lang-switch {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    color: white;
    font-size: 1rem;
    padding: 0.75rem 1rem;
    width: 100%;
    text-align: left;
    cursor: pointer;
  }

  .lang-mobile .lang-switch img {
    width: 22px;
    height: auto;
  }

  .lang-mobile .lang-switch span {
    color: white;
  }

}


/*============================
 Main Index Page
 =============================*/

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
}

main.home-page {
  flex: 1;
  display: flex;
  flex-direction: column;
}

main.home-page h1,
main.home-page p {
  text-align: center;
  margin-bottom: 1rem;
  margin: 0 auto;
  max-width: 800px;
}

.hero-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;  /*scade înălțimea headerului */
  justify-content: center; /* modificat din center în flex-start */
  align-items: center;
  text-align: center;
  padding: 8rem 2rem 2rem; /* mai mult spațiu sus, mai puțin jos */
  color: white;
  overflow: hidden;
}

.hero-wrapper::after {
  content: "";
  position: absolute;
  inset: 0; /* înlocuiește top/left/right/bottom */
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3); /* sau rgba(255,255,255,0.2) dacă vrei un efect de alb translucid */
  z-index: 0;
  pointer-events: none;
}

.hero-wrapper > * {
  position: relative;
  z-index: 1;
}

html, body {
  height: 100%;
}

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.8;
}

video.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-wrapper .page-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--aeronic-blue);
  margin-bottom: 0.5rem;
}

.aeronic {
  font-weight: inherit;
  font-size: inherit;
  /*white-space: nowrap;*/
}

.aero {
  color: var(--aeronic-blue); /* Albastru ca în logo */
  font-weight: 700; /* Albastru + bold DOAR pentru Aero */
}

.nic {
  color: var(--aeronic-red) !important; /* roșu ca în logo */
  font-weight: 700; /* Roșu + bold DOAR pentru Nic */
}

.hero-wrapper .hero-subtitle {
  font-size: 1.3rem;
  color: white; /*var(--aeronic-blue); modifica culoarea la subtitlul Scenic Flights & Aerial Adventures*/
  margin-bottom: 1.5rem;
  max-width: 800px;
}

.hero-wrapper .hero-subtitle:first-of-type {
  margin-bottom: 12rem; /* se ajusteaza distanta intre Welcome to AeroNic Scenic Flights & Aerial Adventures si Discover some of my Flight Routes Plan your custom journey with AeroNic – safe, fast, and unforgettable.*/
}

.hero-wrapper p[data-i18n="plan"] {
  color: white;
}

.hero-wrapper .btn {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border: 2px solid #fff;
  border-radius: 8px;
  transition: all 0.3s ease;
  background-color: transparent;
  margin-bottom: 1.5rem;
}

.hero-wrapper .btn:hover {
  background-color: #fff;
  color: var(--aeronic-blue);
}
/*
.back-to-top {
  display: inline-block;
  margin: 2rem auto;
  text-align: center;
  font-size: 1.2rem;
  text-decoration: none;
  color: #FF0000;
  transition: color 0.3s;
  display: block;
}*/

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: rgba(255,255,255,0.1);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-size: 1rem;
  color: var(--aeronic-blue);
  text-decoration: none;
  z-index: 10000;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: opacity 0.3s ease;
}

.back-to-top:hover {
  background: rgba(255,255,255,0.3);
  color: #FF0000;
}


/*=====================================
divider inter pagini &
fundaluri alternate pentru sectiuni
=====================================*/

.section-divider {
  text-align: center;
  margin: 2.5rem auto 0.5rem;
}
.section-divider i {
  font-size: 2rem;
  color: #d00; /* sau culoarea ta de accent */
  margin-bottom: 0.5rem;
}
.section-divider hr {
  width: 100px;
  height: 2px;
  background-color: #ccc;
  border: none;
  margin: 0 auto;
}

#routes {
  background-color: #f9f9f9;
  padding: 2rem 1rem;
}

#about {
  background-color: #ffffff;
  padding: 2rem 1rem;
}

#contact {
  background-color: #f1f1f1;
  padding: 1rem 1rem;
}

.wave-divider {
  overflow: hidden;
  line-height: 0;
}
.wave-divider svg {
  display: block;
  width: 100%;
  height: 100px;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.glass-box {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}


/*==================================
Paginile Departure routes
===================================*/ 
.hero {
	margin-top: 100px;
	max-width: 800px;
	margin: 0 auto;
	padding: 2rem;
	text-align: center;
}

.hero p {
	max-width: 800px;
	margin: 0 auto;
	text-align: center;
}

.departure h2,
.sightseeing h2,
.arrival h2,
.flight-plan h2 {
	text-align: center;
	font-size: 1.5rem;
	margin: 0 auto 0.5rem auto; /* jos 0.5rem între titlu și conținut */
	color: var(--aeronic-blue);
	max-width: 800px;
	margin: 0 auto;
    padding: 0;
}

.departure ul,
.sightseeing ul,
.arrival ul {
  max-width: 600px;
  list-style: disc;
  padding-left: 1.5rem;
  text-align: left; /* pentru ca textul să nu fie centrat */
  margin: 0 auto;
  margin-top: 0;
  margin-bottom: 0.1rem; /* sau mai mic, după gust */
}

.map-wrapper {
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
}

/*============================
        Main Page Routes
==============================*/

.clickable-title {
  cursor: pointer;
  max-width: 800px;
  margin: 0 auto;
  gap: 1.5rem;
  text-align: center;
  margin-bottom: 0.25rem;
  line-height: 1.2;
  color: var(--aeronic-blue);
  text-decoration: none;
}

.clickable-title:hover,
.clickable-title:focus {
  color: #FFD700;
  text-decoration: none;
}

.route-img {
  cursor: pointer;
  /*max-width: 800px;*/
  margin: 0 auto;
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}  

.route-card {
  text-align: center;
  margin-bottom: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.route-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.mainroutes-text {
  max-width: 800px;
  margin: 0 auto;
  gap: 1.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.routes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  overflow-x: hidden;
  gap: 2rem;
  width: 100%;
  max-width: 1200px;
  padding: 1rem;
  box-sizing: border-box;
  margin: 0 auto;
  text-align: center;
}

.routes-grid a,
.routes-grid a:visited,
.routes-grid a:hover,
.routes-grid a:active {
  color: #003366;
  text-decoration: none;
}

.route-card a {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  text-decoration: none;
  color: inherit;
  display: inline-block;
}

.slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 640px; /* opțional, limită lățime */
  height: 410px; /* înălțimea totală a panoului */
  margin: 0 auto;
  border-radius: 1;
  background: rgba(0,0,0,0.05);
  /*display: flex;
  justify-content: center; /* centrează conținutul pe orizontală */
  aspect-ratio: 16 / 9; /* păstrează proporția clasică video */
  border: 1px solid rgba(0,0,0,0.1);
}

.slides {
  display: flex;
  width: 100%;
  transition: transform 0.5s ease-in-out;
}

.slides a{
  flex: 0 0 100%;
  max-width: 100%;
  overflow: hidden; /* fiecare slide taie ce iese din el */
}  

.slides img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  margin: 0;
  background: rgba(31, 59, 115, 0.5);
  border-radius: 1;
  cursor: pointer;
  border-radius: 12px; /* colțuri rotunjite dacă vrei look modern */
  object-fit: cover; /* umple fără distorsionare */
  transition: transform 0.5s ease-in-out;
}

.slides img:hover {
  transform: scale(1.05);
}

.dots {
  text-align: center;
  margin-top: 6px;
  position: absolute;
  bottom: 10px;
  width: 100%;
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 4px;
  background: rgba(31, 59, 115, 0.5); /* mai vizibil */
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.dot.active {
  background: var(--aeronic-blue); /*rgba(31, 59, 115, 1);*/
}

.slide-item {
  position: relative;
  display: inline-block;
}

.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 0.85rem;
  text-align: center;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.3s ease;
}

.slide-item:hover .slide-caption {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .slider {
    height: auto; /* adaptiv pe mobil */
    aspect-ratio: auto; /* lăsăm imaginea să dea înălțimea */
  }

  .slides img {
    border-radius: 8px;
  }

  .dots {
    bottom: spx; /* apropie punctele de imagine */
    position: relative; /* dacă vrei să fie sub imagine */
    margin-top: 4px;
  }
  
  .slide-caption {
    opacity: 1;
    transform: translateY(0);
  }
}


/*==============================
Pagini Routes detaliate
================================*/

/* slide item + caption */
.slide-item {
  position: relative;
  display: inline-block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.slide-item img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
}

/* caption overlay */
.slide-caption {
  position: absolute;
  left: 0;
  right: 12px;
  bottom: 0;            /* lasăm loc pentru dots (dots vor avea bottom:10px) */
  width: 100%;
  padding: 8px 10px;
  background: rgba(0,0,0,0.56);
  color: #fff;
  font-size: 0.95rem;
  text-align: center;
  border-radius: 0 0 12px 12px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
  z-index: 5;
}

/* hover desktop */
.slide-item:hover .slide-caption,
.slide-item:focus-within .slide-caption {
  opacity: 1;
  transform: translateY(0);
}

/* dots positioning */
.dots {
  text-align: center;
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 100%;
  z-index: 6;
  padding: 0 6px;
}

/* ensure slider container is positioned */
.slider {
  position: relative; /* important so absolute children position relative to slider */
}

/* Mobile: make caption always visible and bring dots closer */
@media (max-width: 768px) {
  .slide-caption {
    opacity: 1;
    transform: translateY(0);
    bottom: 0;      /* slightly closer on mobile */
    font-size: 0.92rem;
    padding: 8px;
  }

  .dots {
    bottom: 4px;      /* dots closer to image bottom */
  }

  /* make slider height auto (no big empty space) */
  .slider {
    height: auto;
    aspect-ratio: auto;
  }

  .slides a { /* ensure anchors are block-level on mobile */
    display: block;
  }
}

.dots {
  text-align: center;
  padding: 10px;
}

.dot {
  cursor: pointer;
  height: 12px;
  width: 12px;
  margin: 0 4px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background 0.3s;
}

.dot.active, .dot:hover {
  background-color: #717171;
}


/* ============================= 
   General Contact page layout 
   ============================= */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.contact-wrapper {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem;
}

.contact-wrapper h1 {
  text-align: center;
}

.contact-form {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-form input,
.contact-form textarea {
  text-align: left;	
  font-size: 1rem;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  width: 100%;
  margin-bottom: 1rem;
}

.contact-form label {
  font-weight: bold;
  margin-bottom: 1rem;
}

.contact-form button {
  background-color: var(--aeronic-blue);
  color: white;
  padding: 0.6rem 1.5rem;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
  width: fit-content;
  margin-bottom: 1rem;
}

.form-message {
  margin-top: 1rem;
  font-weight: bold;
  font-size: 1rem;
  background-color: #f1f1f1;
  padding: 1rem;
  border-radius: 8px;
  width: 100%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  text-align: left;
}

.contact-wrapper h2 {
  text-align: left;
  font-size: 1.5rem;
  margin: 0 auto 0.5rem auto; /* jos 0.5rem între titlu și conținut */
  color: var(--aeronic-blue);
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

.map-contact {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.map-contact iframe {
  width: 100%;
  height: 400px;
  border: 0;
  border-radius: 8px;
  display: block;
}

/* ============================= 
   About Page 
   ============================= */

.about-content {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column; /* default: mobil */
  gap: 2rem;
  padding: 2rem;
  text-align: left;
  align-items: center; /*flex-start; */
}

@media (min-width: 768px) {
  .about-content {
    flex-direction: row;         /* pe ecrane mari: poză + text în rând */
    align-items: flex-start;
    justify-content: center;
  }
}

.about-text {
  max-width: 500px;
  text-align: justify;
  line-height: 1.6;
}

.about-boxes {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.about-boxes h2 {
  font-size: 1.5rem;
  color: var(--aeronic-blue);
  padding: 0.75rem;
}

.about-boxes label {
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.about-photo img {
  border-radius: 5%;       /* rotundă (cerc) */
  max-width: 100%;
  height: auto;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  display: block;
  margin: 1em auto;         /* centrată */
}

.flight-hours-table {
  width: 100%;
  max-width: 600px;
  margin: 1rem auto;
  border-collapse: collapse;
  text-align: center;
  background-color: #fff;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  overflow: hidden;
}

.flight-hours-table th,
.flight-hours-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #ddd;
}

.flight-hours-table th {
  background-color: var(--aeronic-blue);
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
}

.flight-hours-table tr:last-child td {
  border-bottom: none;
}


/* =========================
            Footer 
============================*/
footer {
  background-color: var(--aeronic-blue);
  color: white;
  text-align: center;
  padding: 1rem 0;
  margin-top: 0; /*2rem;*/
}

footer ul.footer-menu {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 0; /*modifica distanta intre meiu din footer si iconite social media*/
  margin: 0;
}

footer ul.footer-menu li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

footer ul.footer-menu li a:hover {
  color: var(--aeronic-yellow);
}

footer .social-media a {
  color: white;
  margin: 0 10px;
  transition: color 0.3s;
}

footer .social-media a:hover {
  color: var(--aeronic-yellow);
}

.footer-menu a,
.legal-links a {
  color: white;
  text-decoration: none;
}

.footer-menu a:hover,
.legal-links a:hover {
  color: var(--aeronic-yellow);
  text-decoration: underline;
}

.legal-links a:visited {
  color: white; /* Evită movul implicit */
}

footer a,
footer a:visited,
footer a:hover,
footer a:active {
  color: #ffffff; /* sau orice altă culoare potrivită pe fundalul tău */
  text-decoration: none;
}

#footer-container {
  margin: 0;
  padding: 0;
  background: transparent;
}

/* =======================================
   Legal Page
======================================= */
.legal-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 5rem 2rem 2rem;
  color: #222;
  background-color: transparent;
  font-size: 1.05rem;
  line-height: 1.6;
}

.container.legal-page h1 {
  margin: 0 auto;
  max-width: 800px;
  align-items: center;
  color: var(--aeronic-blue);
  text-align: center;
  margin-bottom: 1rem;
}

.legal-page h2 {
  color: #222;
  text-align: center;
  margin-bottom: 1rem;
}

.legal-links a {
  color: white;
  text-decoration: none;
  border-bottom: 1px dotted white;
}

.legal-links a:hover {
  color: var(--aeronic-yellow);
  border-bottom: 1px solid var(--aeronic-yellow);
}

/* ===================================
 COOKIE CONSENT 
 ===================================== */
.cookie-consent {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  background-color: #fff;
  color: #333;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 1rem 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  z-index: 2000;
  max-width: 320px;
  font-size: 0.9rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.cookie-consent button {
  margin-top: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: var(--aeronic-blue);
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.85rem;
}

.cookie-consent button:hover {
  background-color: #163060;
}

.cookie-consent label {
  font-size: 0.85rem;
}

#cookieSettings label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: #333;
  font-size: 0.9rem;
}

#cookieSettings input[type="checkbox"] {
  transform: scale(1.2);
  margin-right: 0.5rem;
}


/* =======================================
   AeroNic Shop Page
======================================= */
.shop-page {
  background: var(--aeronic-light);
  color: #333;
}

.shop-hero {
  min-height: 62vh;
  padding: 8rem 2rem 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    radial-gradient(circle at 15% 20%, rgba(227,6,19,0.10), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(31,59,115,0.12), transparent 30%),
    linear-gradient(135deg, #ffffff, var(--aeronic-light));
  color: var(--aeronic-text);
}

.shop-hero .page-title {
  color: var(--aeronic-blue);
  margin-top: 0;
  margin-bottom: 1rem;
}

.shop-hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.shop-kicker {
  color: var(--aeronic-red);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 0.75rem;
}

.shop-hero .shop-kicker {
  color: var(--aeronic-red);
}

.shop-lead {
  max-width: 760px;
  margin: 0 auto 2rem;
  font-size: 1.3rem;
  line-height: 1.5;
}
.shop-benefits {
  max-width: 1000px;
  margin: -2rem auto 1rem;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  position: relative;
  z-index: 2;
}

.shop-benefit {
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(31,59,115,0.10);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-weight: 700;
  color: var(--aeronic-blue);
  text-align: center;
}

.shop-benefit i {
  color: var(--aeronic-red);
  font-size: 1.25rem;
}


.shop-hero-button,
.shop-preview-btn,
.product-button {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.75rem 1.4rem;
  transition: all 0.25s ease;
}

.shop-hero-button {
  color: #fff;
  background: var(--aeronic-blue);
  border: 2px solid var(--aeronic-blue);
  box-shadow: 0 10px 24px rgba(31,59,115,0.18);
}

.shop-hero-button:hover {
  color: #fff;
  background: var(--aeronic-red);
  border-color: var(--aeronic-red);
  transform: translateY(-2px);
}

.shop-intro,
.coming-soon,
.shop-contact-strip {
  max-width: 1000px;
  margin: 0 auto;
  padding: 4rem 2rem 2rem;
  text-align: center;
}

.shop-intro h2,
.coming-soon h2,
.shop-contact-strip h2 {
  color: var(--aeronic-blue);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.shop-intro p,
.coming-soon p,
.shop-contact-strip p {
  max-width: 760px;
  margin: 0 auto 1.5rem;
}

.shop-products {
  max-width: 1150px;
  margin: 0 auto;
  padding: 2rem;
  display: grid;
  gap: 2rem;
}

.product-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.10);
  display: grid;
  grid-template-columns: minmax(230px, 340px) 1fr;
  gap: 2rem;
  padding: 2rem;
  align-items: center;
  overflow: hidden;
}

.featured-product {
  border: 1px solid rgba(31,59,115,0.16);
}

.product-visual {
  min-height: 340px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  color: #fff;
  box-shadow: inset 10px 0 0 rgba(255,255,255,0.18), 0 10px 25px rgba(0,0,0,0.18);
}

.book-visual {
  position: relative;
  transform: rotate(-2deg);
}

.book-visual::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 18px;
  bottom: 18px;
  width: 5px;
  border-radius: 10px;
  background: rgba(255,255,255,0.28);
}

.adult-logbook {
  background: linear-gradient(160deg, var(--aeronic-blue), #0e1e3f);
}

.junior-logbook {
  background: linear-gradient(160deg, var(--aeronic-red), var(--aeronic-blue));
}

.book-label {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.9;
}

.product-visual strong {
  font-size: 2rem;
  line-height: 1.15;
}

.product-tag {
  color: var(--aeronic-red);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.product-content h2 {
  color: var(--aeronic-blue);
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.product-content p {
  margin-bottom: 1rem;
}

.product-features {
  padding-left: 1.2rem;
  margin-bottom: 1.5rem;
}

.product-features li {
  margin-bottom: 0.4rem;
}

.product-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.product-button.primary {
  background: var(--aeronic-blue);
  color: #fff;
  border: 2px solid var(--aeronic-blue);
}

.product-button.primary:hover {
  background: var(--aeronic-red);
  border-color: var(--aeronic-red);
}

.product-button.secondary {
  background: transparent;
  color: var(--aeronic-blue);
  border: 2px solid var(--aeronic-blue);
}

.product-button.secondary:hover {
  background: var(--aeronic-blue);
  color: #fff;
}

.future-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.future-card,
.shop-mini-product {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  text-align: center;
}

.future-card i,
.shop-mini-product i {
  font-size: 2rem;
  color: var(--aeronic-red);
  margin-bottom: 1rem;
}

.future-card h3,
.shop-mini-product h3 {
  color: var(--aeronic-blue);
  margin-bottom: 0.5rem;
}

.shop-mini-product p {
  font-size: 0.95rem;
  line-height: 1.4;
  margin: 0.5rem auto 1rem;
  color: #4a4a4a;
}

.shop-mini-product a {
  display: inline-block;
  color: #fff;
  background: var(--aeronic-blue);
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.55rem 1rem;
  border: 2px solid var(--aeronic-blue);
  transition: all 0.25s ease;
}

.shop-mini-product a:hover {
  background: var(--aeronic-red);
  border-color: var(--aeronic-red);
  transform: translateY(-2px);
}

.shop-mini-product-muted a {
  background: transparent;
  color: var(--aeronic-blue);
}


.shop-contact-strip {
  margin-bottom: 3rem;
}

.shop-preview-section {
  padding: 3rem 1rem;
  background: #ffffff;
}

.shop-preview-card {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(255,255,255,1), rgba(247,249,252,1));
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.shop-preview-card .page-title {
  margin-top: 0;
}

.shop-preview-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

.shop-preview-btn {
  background-color: var(--aeronic-blue);
  color: #fff;
  border: 2px solid var(--aeronic-blue);
}

.shop-preview-btn:hover {
  background-color: var(--aeronic-red);
  border-color: var(--aeronic-red);
  color: #fff;
}

@media (max-width: 900px) {
  .product-card {
    grid-template-columns: 1fr;
  }

  .product-visual {
    min-height: 260px;
  }

  .future-grid,
  .shop-preview-products,
  .shop-benefits {
    grid-template-columns: 1fr;
  }

  .shop-hero {
    min-height: 60vh;
    padding-top: 7rem;
  }
}

@media (max-width: 600px) {
  .shop-products,
  .shop-intro,
  .coming-soon,
  .shop-contact-strip,
  .shop-benefits {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .product-card {
    padding: 1.25rem;
    border-radius: 14px;
  }

  .product-visual strong {
    font-size: 1.6rem;
  }

  .shop-lead {
    font-size: 1.1rem;
  }
}


/* =======================================
   AeroNic v4 refinements
======================================= */
.hero-actions,
.shop-hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.hero-wrapper .btn-secondary {
  background: rgba(255,255,255,0.92);
  color: var(--aeronic-blue);
  border-color: rgba(255,255,255,0.95);
}

.hero-wrapper .btn-secondary:hover {
  background: var(--aeronic-red);
  color: #fff;
  border-color: var(--aeronic-red);
}

.hero-wrapper .hero-subtitle:first-of-type {
  margin-bottom: 2.5rem;
}

.shop-hero {
  min-height: auto;
  padding: 8rem 2rem 5rem;
}

.shop-hero-button.secondary {
  background: transparent;
  color: var(--aeronic-blue);
  border-color: var(--aeronic-blue);
  box-shadow: none;
}

.shop-hero-button.secondary:hover {
  background: var(--aeronic-blue);
  color: #fff;
  border-color: var(--aeronic-blue);
}

.shop-benefits {
  margin: -1.8rem auto 2rem;
}

.shop-benefit span {
  display: inline-block;
}

.cover-visual {
  min-height: auto;
  padding: 0;
  background: transparent;
  box-shadow: none;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.cover-visual img {
  width: min(100%, 300px);
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 18px 36px rgba(0,0,0,0.22);
  transform: rotate(-2deg);
  background: #fff;
}

.product-card:nth-child(even) .cover-visual img {
  transform: rotate(2deg);
}

.shop-mini-cover {
  width: min(170px, 80%);
  height: auto;
  display: block;
  margin: 0 auto 1rem;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.18);
  background: #fff;
}

.shop-mini-product-muted {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 768px) {
  .hero-actions,
  .shop-hero-actions {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero-wrapper .btn,
  .shop-hero-button {
    width: min(100%, 320px);
    text-align: center;
  }

  .shop-hero {
    padding: 7rem 1rem 4rem;
  }

  .cover-visual img {
    width: min(100%, 250px);
  }
}


/* =======================================
   AeroNic v5 fixes: shop text rendering, layout & CTA colors
======================================= */
:root {
  --aeronic-blue: #1f3b73;
  --aeronic-red: #e30613;
  --aeronic-light: #f7f9fc;
  --aeronic-text: #1f2937;
}

.aero { color: var(--aeronic-blue) !important; font-weight: 700; }
.nic { color: var(--aeronic-red) !important; font-weight: 700; }

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1.5rem 0;
}

.hero-wrapper .hero-actions .btn {
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  border: 2px solid transparent;
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}

.hero-wrapper .btn-primary-blue {
  background: var(--aeronic-blue);
  color: #fff;
  border-color: var(--aeronic-blue);
}

.hero-wrapper .btn-primary-blue:hover {
  background: #fff;
  color: var(--aeronic-blue);
  border-color: #fff;
}

.hero-wrapper .btn-shop-red {
  background: var(--aeronic-red);
  color: #fff;
  border-color: var(--aeronic-red);
}

.hero-wrapper .btn-shop-red:hover {
  background: #fff;
  color: var(--aeronic-red);
  border-color: #fff;
}

.hero-wrapper .hero-subtitle:first-of-type {
  margin-bottom: 2rem;
}

.shop-page {
  background: var(--aeronic-light);
}

.shop-hero {
  min-height: auto !important;
  padding: 8rem 2rem 4rem !important;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    radial-gradient(circle at 15% 20%, rgba(227,6,19,0.08), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(31,59,115,0.12), transparent 30%),
    linear-gradient(135deg, #ffffff, var(--aeronic-light));
}

.shop-hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.shop-hero .page-title {
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--aeronic-blue);
}

.shop-kicker {
  color: var(--aeronic-red);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 0.75rem;
}

.shop-lead {
  max-width: 760px;
  margin: 0 auto 2rem;
  font-size: 1.25rem;
  line-height: 1.5;
}

.shop-hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.shop-hero-button,
.product-button,
.shop-preview-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.75rem 1.35rem;
  transition: all 0.25s ease;
  line-height: 1.2;
}

.shop-hero-button,
.product-button.primary,
.shop-preview-btn {
  color: #fff;
  background: var(--aeronic-blue);
  border: 2px solid var(--aeronic-blue);
  box-shadow: 0 10px 24px rgba(31,59,115,0.18);
}

.shop-hero-button:hover,
.product-button.primary:hover,
.shop-preview-btn:hover {
  color: #fff;
  background: var(--aeronic-red);
  border-color: var(--aeronic-red);
  transform: translateY(-2px);
}

.shop-hero-button.secondary,
.product-button.secondary {
  background: transparent;
  color: var(--aeronic-blue);
  border: 2px solid var(--aeronic-blue);
  box-shadow: none;
}

.shop-hero-button.secondary:hover,
.product-button.secondary:hover {
  background: var(--aeronic-blue);
  color: #fff;
  border-color: var(--aeronic-blue);
}

.shop-benefits {
  max-width: 1000px;
  margin: -1.75rem auto 2rem;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  position: relative;
  z-index: 2;
}

.shop-benefit {
  min-height: 64px;
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(31,59,115,0.10);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-weight: 700;
  color: var(--aeronic-blue);
  text-align: center;
}

.shop-benefit i {
  color: var(--aeronic-red);
  font-size: 1.35rem;
  flex: 0 0 auto;
}

.shop-intro,
.coming-soon,
.shop-contact-strip {
  max-width: 1000px;
  margin: 0 auto;
  padding: 3rem 2rem 2rem;
  text-align: center;
}

.shop-intro h2,
.coming-soon h2,
.shop-contact-strip h2 {
  color: var(--aeronic-blue);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.shop-intro p,
.coming-soon p,
.shop-contact-strip p {
  max-width: 760px;
  margin: 0 auto 1.5rem;
  line-height: 1.55;
}

.shop-products {
  max-width: 1150px;
  margin: 0 auto;
  padding: 2rem;
  display: grid;
  gap: 2rem;
}

.product-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(0,0,0,0.10);
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
  gap: 2.25rem;
  padding: 2.25rem;
  align-items: center;
  overflow: hidden;
}

.product-card.featured-product {
  border: 1px solid rgba(31,59,115,0.14);
}

.cover-visual {
  min-height: auto !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: visible !important;
}

.cover-visual img {
  width: min(100%, 310px);
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 18px 36px rgba(0,0,0,0.22);
  background: #fff;
  transform: rotate(-2deg);
}

.product-card:nth-child(even) .cover-visual img {
  transform: rotate(2deg);
}

.product-content {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.product-tag {
  color: var(--aeronic-red);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.product-content h2 {
  color: var(--aeronic-blue);
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  margin-bottom: 0.75rem;
  line-height: 1.18;
}

.product-content p {
  margin-bottom: 1rem;
  line-height: 1.55;
}

.product-features {
  padding-left: 1.2rem;
  margin: 0 0 1.5rem;
}

.product-features li {
  margin-bottom: 0.4rem;
}

.product-actions {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.future-grid,
.shop-preview-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
  margin-top: 2rem;
}

.future-card,
.shop-mini-product {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.future-card i,
.shop-mini-product i {
  font-size: 2rem;
  color: var(--aeronic-red);
  margin-bottom: 1rem;
}

.future-card h3,
.shop-mini-product h3 {
  color: var(--aeronic-blue);
  margin-bottom: 0.5rem;
}

.future-card p,
.shop-mini-product p {
  line-height: 1.45;
  margin-bottom: 1rem;
}

.shop-mini-product a {
  margin-top: auto;
}

.shop-mini-cover {
  width: min(170px, 80%);
  height: auto;
  display: block;
  margin: 0 auto 1rem;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.18);
  background: #fff;
}

.shop-mini-product-muted {
  justify-content: center;
}

.shop-contact-strip {
  margin-bottom: 3rem;
}

@media (max-width: 900px) {
  .shop-benefits,
  .future-grid,
  .shop-preview-products {
    grid-template-columns: 1fr;
  }

  .product-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .product-content {
    align-items: center;
    text-align: center;
  }

  .product-actions {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero-actions,
  .shop-hero-actions {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero-wrapper .hero-actions .btn,
  .shop-hero-button {
    width: min(100%, 320px);
    text-align: center;
  }

  .shop-hero {
    padding: 7rem 1rem 3rem !important;
  }

  .shop-products,
  .shop-intro,
  .coming-soon,
  .shop-contact-strip,
  .shop-benefits {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .product-card {
    padding: 1.25rem;
    border-radius: 16px;
  }

  .cover-visual img {
    width: min(100%, 250px);
  }
}

/* =======================================
   AeroNic v7 refinements
======================================= */

/* Bigger, clearer homepage CTAs */
.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1.4rem 0 1.2rem;
}

.hero-wrapper .hero-actions .btn {
  min-width: 220px;
  padding: 0.85rem 1.8rem;
  font-size: 1.08rem;
  border-radius: 999px;
  border: 2px solid transparent;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.hero-wrapper .btn-primary-blue,
.hero-wrapper .btn-primary-blue:visited {
  background: #1f3b73;
  color: #fff;
  border-color: #1f3b73;
}

.hero-wrapper .btn-primary-blue:hover {
  background: #fff;
  color: #1f3b73;
  border-color: #fff;
}

.hero-wrapper .btn-shop-red,
.hero-wrapper .btn-shop-red:visited {
  background: #e30613;
  color: #fff;
  border-color: #e30613;
}

.hero-wrapper .btn-shop-red:hover {
  background: #fff;
  color: #e30613;
  border-color: #fff;
}

/* Compact homepage shop teaser */
.shop-preview-compact {
  padding: 2.5rem 1rem;
}

.shop-preview-card-compact {
  display: grid;
  grid-template-columns: minmax(260px, 1.15fr) minmax(260px, 0.85fr);
  align-items: center;
  gap: 2rem;
  max-width: 1100px;
  text-align: left;
}

.shop-preview-card-compact .page-title,
.shop-preview-card-compact .mainroutes-text {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.shop-preview-covers {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.shop-preview-covers a {
  display: block;
  text-decoration: none;
}

.shop-preview-covers .shop-mini-cover {
  width: 150px;
  max-height: 205px;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 18px 38px rgba(31, 59, 115, 0.22);
  transform: rotate(-2deg);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.shop-preview-covers a:nth-child(2) .shop-mini-cover {
  transform: rotate(2deg);
}

.shop-preview-covers a:hover .shop-mini-cover {
  transform: translateY(-6px) rotate(0deg);
  box-shadow: 0 22px 48px rgba(31, 59, 115, 0.3);
}

/* Trust/social proof */
.trust-strip {
  max-width: 1150px;
  margin: 2rem auto 0;
  padding: 1rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 1rem;
}

.trust-item {
  background: #fff;
  border: 1px solid rgba(31, 59, 115, 0.1);
  border-radius: 18px;
  padding: 1.2rem 1rem;
  text-align: center;
  box-shadow: 0 14px 34px rgba(31, 59, 115, 0.08);
}

.trust-item i {
  color: #e30613;
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
}

.trust-item strong {
  display: block;
  color: #1f3b73;
  line-height: 1.25;
  margin-bottom: 0.35rem;
}

.trust-item span {
  display: block;
  font-size: 0.92rem;
  color: #444;
  line-height: 1.35;
}

.trust-item a {
  color: #1f3b73;
  font-weight: 700;
}

/* Shop trust points should not look like broken buttons */
.shop-trust-points {
  max-width: 920px;
  margin: 1.5rem auto 2rem;
  padding: 0 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
}

.shop-trust-points .shop-benefit {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  min-height: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #1f3b73;
  font-weight: 700;
  cursor: default;
}

.shop-trust-points .shop-benefit i {
  color: #e30613;
  font-size: 0.95rem;
}

.shop-trust-points .shop-benefit:hover {
  transform: none;
  box-shadow: none;
}

/* Why logbooks */
.why-logbooks {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 2.2rem 1.5rem;
  text-align: center;
}

.why-logbooks h2 {
  color: #1f3b73;
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.why-grid article {
  background: #fff;
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 16px 38px rgba(31, 59, 115, 0.08);
  border: 1px solid rgba(31, 59, 115, 0.08);
}

.why-grid i {
  color: #e30613;
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
}

.why-grid h3 {
  color: #1f3b73;
  margin-bottom: 0.5rem;
}

.product-card h2 a,
.product-card h2 a:visited {
  color: #1f3b73;
  text-decoration: none;
}

.product-card h2 a:hover {
  color: #e30613;
}

.product-visual.cover-visual {
  text-decoration: none;
}

.product-actions {
  flex-wrap: wrap;
}

/* Product detail pages */
.product-detail-page {
  padding-top: 120px;
}

.product-detail-hero {
  max-width: 1120px;
  margin: 0 auto 2rem;
  padding: 2rem;
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(300px, 1.15fr);
  gap: 2.5rem;
  align-items: center;
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 18px 48px rgba(31, 59, 115, 0.09);
}

.product-detail-visual {
  text-align: center;
}

.product-detail-visual img {
  max-width: 320px;
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 20px 46px rgba(31, 59, 115, 0.24);
  transform: rotate(-2deg);
}

.product-detail-content h1 {
  color: #1f3b73;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  margin: 0.4rem 0 1rem;
}

.product-detail-lead {
  font-size: 1.15rem;
  line-height: 1.55;
  margin-bottom: 1rem;
}

.detail-features {
  margin: 1rem 0 1.4rem;
}

.detail-section {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(31, 59, 115, 0.08);
}

/* Contact placeholders and legal notes */
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(31, 59, 115, 0.55);
}

.legal-warning {
  border-left: 4px solid #e30613;
  background: rgba(227, 6, 19, 0.05);
}

.legal-placeholder {
  display: inline-block;
  color: #e30613;
  font-weight: 700;
  margin: 0.2rem 0;
}

/* Mobile refinements */
@media (max-width: 900px) {
  .shop-preview-card-compact,
  .product-detail-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .shop-preview-card-compact .page-title,
  .shop-preview-card-compact .mainroutes-text {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .trust-strip,
  .why-grid {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }
}

@media (max-width: 620px) {
  .hero-wrapper .hero-actions .btn {
    width: 100%;
    min-width: 0;
    max-width: 310px;
    font-size: 1rem;
  }

  .shop-preview-covers .shop-mini-cover {
    width: 122px;
    max-height: 170px;
  }

  .trust-strip,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .shop-trust-points {
    align-items: flex-start;
    flex-direction: column;
    max-width: 320px;
  }

  .shop-trust-points .shop-benefit {
    justify-content: flex-start;
    text-align: left;
  }

  .why-logbooks {
    padding: 1.6rem 1rem;
  }

  .why-logbooks h2 {
    font-size: 1.55rem;
  }

  .product-detail-hero {
    padding: 1.25rem;
    border-radius: 20px;
  }
}


/* AeroNic v8 refinements: cleaner product titles, mobile bullet lists, less repetition */
@media (max-width: 620px) {
  .product-content {
    text-align: center;
  }

  .product-features,
  .detail-features {
    display: inline-block;
    max-width: 92%;
    margin: 0.9rem auto 1.25rem;
    padding-left: 1.15rem;
    text-align: left;
    list-style-position: outside;
  }

  .product-features li,
  .detail-features li {
    text-align: left;
    padding-left: 0.2rem;
  }

  .product-actions {
    justify-content: center;
  }
}


/* === v11 footer/social icon polish === */
footer .social-media {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: 0.3rem 0;
}

footer .social-media a,
.overlay-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  color: #ffffff !important;
  text-decoration: none;
}

footer .social-media a i,
.overlay-socials a i {
  font-size: 1.15rem;
  line-height: 1;
}

footer .social-media a:hover,
footer ul.footer-menu li a:hover,
footer .legal-links a:hover,
.overlay-socials a:hover {
  color: var(--aeronic-yellow) !important;
  text-decoration: none;
}

/* === v12: SVG social icons; no Font Awesome dependency === */
footer .social-media,
.overlay-socials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

footer .social-media {
  margin: 0.3rem 0;
}

.social-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  color: #ffffff !important;
  text-decoration: none !important;
  transition: color 0.2s ease, transform 0.2s ease;
}

.social-icon svg {
  width: 1.6rem;
  height: 1.6rem;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.05;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}

.overlay-socials .social-icon {
  width: 2.35rem;
  height: 2.35rem;
}

.overlay-socials .social-icon svg {
  width: 1.75rem;
  height: 1.75rem;
}

.social-icon:hover,
.social-icon:focus-visible {
  color: var(--aeronic-yellow) !important;
  transform: translateY(-1px);
  outline: none;
}
