/*
Theme Name: Aero Concept Theme
Author: Alexander Kusmin
Description: Dieses Theme wurde für Aero Concept erstellt
Version: 1.0
*/

/*
 * Fonts
 */

 @font-face {
  font-family: 'Poppins-Bold';
  src: url('fonts/Poppins-Bold.woff') format('woff'),
  url('fonts/Poppins-Bold.ttf') format('truetype');
  font-weight: 600;
}

@font-face {
  font-family: 'Poppins';
  src: url('fonts/Poppins-Medium.woff') format('woff'),
  url('fonts/Poppins-Medium.ttf') format('truetype');
  font-weight: 500;
}

@font-face {
  font-family: 'Poppins';
  src: url('fonts/Poppins-Regular.woff') format('woff'),
  url('fonts/Poppins-Regular.ttf') format('truetype');
  font-weight: 400;
}

@font-face {
  font-family: 'Poppins';
  src: url('fonts/Poppins-Light.woff') format('woff'),
  url('fonts/Poppins-Light.ttf') format('truetype');
  font-weight: 300;
}

body, html {
  overflow-x: hidden;
}

html, body {
  height: 100%;
}

/* Global smooth scrolling with offset for fixed header */
html {
  scroll-behavior: smooth;
  /* Adjust to match the fixed header height + a small cushion */
  scroll-padding-top: 90px;
}

/* Ensure in-page anchors align below sticky header without JS */
[id] {
  scroll-margin-top: 80px;
}
body.admin-bar [id] {
  /* Extra space for WP admin bar when logged in */
  scroll-margin-top: 112px;
}

/* Visible, subtle scrollbar styling */
html { scrollbar-width: thin; scrollbar-color: #9aa4ad transparent; }
body::-webkit-scrollbar { width: 10px; height: 10px; }
body::-webkit-scrollbar-track { background: transparent; }
body::-webkit-scrollbar-thumb { background-color: rgba(0,0,0,0.25); border-radius: 8px; border: 2px solid transparent; background-clip: content-box; }
body::-webkit-scrollbar-thumb:hover { background-color: rgba(0,0,0,0.35); }
body::-webkit-scrollbar-corner { background: transparent; }

/* Override Bootstrap bg-light to brand color */
.gray-bg {
  --bs-bg-opacity: 1;
  background-color: #f5f8fa;
}

.intro-title {
  text-align: left;
}

.intro-lead { 
  color: #5f6b76; 
  font-size: 1.05rem; 
  text-align: justify;
  line-height: 1.6;
}
.intro-subtitle { font-size: 1.35rem; font-weight: 800; margin-top: 8px; }

@media (max-width: 768px) {
  .intro-title  {
    text-align: center;
  }
}

.intro-features { margin: 0; padding: 0; display: grid; gap: 18px; }
.feature-item { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: start; }
.feature-icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: rgba(0,128,142,0.12);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,128,142,0.16);
}
.feature-icon.orange { background: linear-gradient(180deg, #ffa246, #ff7f2e); color: #fff; box-shadow: 0 8px 20px rgba(255,127,46,0.35); }
.feature-icon.teal { background: linear-gradient(180deg, #45d0c6, #00a3a7); color: #fff; box-shadow: 0 8px 20px rgba(0,163,167,0.35); }
.feature-icon i { font-size: 28px; color: #0f2a32; }
.feature-icon.orange i, .feature-icon.teal i { color: #fff; }
.feature-title { font-weight: 800; color: #0f2a32; margin-bottom: 2px; }
.feature-desc { color: #5f6b76; }

.intro-visual { position: relative; }
.intro-image { 
  border-radius: 18px;
  height: 550px;
  width: 100%;
  object-fit: cover;
  display: block;
 }
.intro-stat-card {
  position: absolute;
  left: 5%;
  bottom: 5%;
  z-index: 3;
  border: 1px solid rgba(2, 122, 137, 0.08);
  border-radius: 14px;
  background: #ffffffcc;
  backdrop-filter: blur(6px);
}
.intro-stat .card-body { padding: 14px 16px; }
.stat-icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(0,128,142,0.12); display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0,128,142,0.22); }
.stat-icon i { color: #0f2a32; font-size: 26px; }
.stat-value { font-weight: 800; font-size: 1.25rem; color: #0f2a32; line-height: 1; }
.stat-label { color: #5f6b76; font-size: 0.95rem; }

@media (max-width: 991.98px) {
  .intro-image { 
    height: 450px;
  }
}

#services, #why {
  background-color: #eff2f4;
}

#gallery img {
  border-radius: 20px;
}

 

/* Remove focus outline/blue border highlight on all form controls */
input:focus,
textarea:focus,
select:focus,
.form-control:focus,
.form-select:focus,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: none !important;
  box-shadow: none !important;
  border-color: inherit !important;
}

body {
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: #555;
  font-size: 14px;
  padding-top: 80px; /* Account for fixed header (ensure not cropped) */
  display: flex;
  flex-direction: column;
  position: relative; /* Positioning context for absolute elements */
  background-color: #f5f8fa;
}

/* TYPOGRAPHY - Montserrat Font */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: "Montserrat", sans-serif !important;
  line-height: 1.2;
  margin-bottom: 0.5em;
}

h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #0f2a32;
}

h3 {
  font-size: 1.9rem;
  font-weight: 700;
  color: #0f2a32;
}

@media (max-width: 768px) {
  h1 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.5rem;
  }
}

p {
  font-family: "Montserrat", sans-serif;
  line-height: 1.6;
  margin-bottom: 1em;
}

a {
  color: #0073aa;
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
}

a:hover {
  color: #005177;
  text-decoration: underline;
}

li::marker {
  color: #0073aa;
  font-size: 1.2rem;
}

ul {
  list-style: none;
  padding: 0;
}

section {
  padding: 1.5rem;
  margin: 1.5rem 0 1.5rem 0;
}

.about-us-li {
  line-height: 1.5;
  list-style: none;
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.about-us-li::before {
  content: "•";
  color: #0073aa;
  font-size: 4rem;
  line-height: 1;
  position: absolute;
  left: 0;
  top: -1.65rem;
}

/* CUSTOM HEADER STYLES - Higher specificity to override Bootstrap */
#nav {
  z-index: 1050;
}

#nav .navbar-brand {
  color: white !important;
  font-weight: 600 !important;
  font-size: 1.5rem !important;
  font-family: "Montserrat", sans-serif !important;
  text-decoration: none !important;
}

/* Center only the brand text on mobile, keep container flexible */
@media (max-width: 991.98px) {
  #nav .navbar-brand .brand-text {
    margin-left: auto;
    margin-right: auto;
  }
}

#nav .nav-link {
  color: white !important;
  font-weight: 500 !important;
  transition: color 0.3s ease !important;
  padding: 0.5rem 0.5rem !important;
  font-size: 0.95rem !important;
}

#nav .nav-link:hover {
  color: #cccccc !important;
}

/* Header menu next to language dropdown */
#nav .header-menu {
  font-size: 0.95rem;
}

#nav .header-menu > li > a {
  color: white !important;
  text-decoration: none !important;
}

/* LANGUAGE SWITCHER STYLES */
.language-switcher-container {
  position: relative;
  margin-right: calc(-1 * var(--bs-gutter-x, 0.75rem));
  padding-right: 15px; /* Small padding from the edge */
}

.abouts-us-img {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 100%;
  height: auto;
}

.gallery-text, .contact-text {
  font-family: "Montserrat", sans-serif;
}

#languageDropdown {
  border-color: rgba(255, 255, 255, 0.3);
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.375rem 0.75rem;
}

#languageDropdown:hover {
  color: #fff !important;
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Language dropdown */
.dropdown-menu {
  border: none;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  border-radius: 0.375rem;
  right: 0 !important;
  left: auto !important;
  transform: none !important;
}

.dropdown-item {
  font-family: "Montserrat", sans-serif;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
}

.dropdown-item:hover {
  background-color: #f8f9fa;
}

/* HEADER IMAGE STYLES */
.head-img {
  position: relative;
  overflow: hidden;
  height: 900px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center 65%;
  width: 100%;
  min-height: 420px; /* Minimum height for very small screens (500px - 80px) */
}

.head-img::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.head-img .container {
  position: relative;
  z-index: 2;
}

/* Responsive adjustments for different devices */
@media (max-width: 1200px) {
  .head-img {
    height: calc(90vh - 80px); /* Slightly smaller on large tablets/small desktops minus header */
  }
}

@media (max-width: 768px) {
  .head-img {
    height: calc(85vh - 70px); /* Smaller on tablets minus smaller header */
    min-height: 330px;
  }
  
  .head-img .col-12 {
    text-align: center !important;
  }
}

@media (max-width: 480px) {
  .head-img {
    height: 60vh;
    min-height: 290px;
  }
}

/* For very short screens (landscape mobile) */
@media (max-height: 500px) {
  .head-img {
    height: calc(100vh - 70px); /* Full height minus compact header */
    min-height: 240px;
  }
}

.custom-header-content {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.custom-header-title {
  font-weight: 550;
  font-size: 4.5rem;
  color: #ffffff !important;
  line-height: 1.2;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

.custom-header-description {
  font-weight: 400;
  font-size: 1.5rem;
  color: #f3f4f6 !important;
  line-height: 1.5;
  margin-bottom: 2rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.btn-primary-custom,
.btn-secondary-custom {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.75rem 2rem;
  border-radius: 0.375rem;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  min-width: 180px;
  text-align: center;
  cursor: pointer;
}

.btn-primary-custom {
  background-color: #00808e;
  color: white !important;
  border: 2px solid #00808e;
}

.btn-primary-custom:hover {
  background-color: #00808e;
  border-color: #00808e;
  color: white !important;
  text-decoration: none;
  transform: none;
  box-shadow: none;
}

.btn-secondary-custom {
  background-color: transparent;
  color: white !important;
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.btn-secondary-custom:hover {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.8);
  color: white !important;
  text-decoration: none;
  transform: none;
  box-shadow: none;
}

/* Responsive typography for custom header */
@media (max-width: 1200px) {
  .custom-header-title {
    font-size: 2.5rem;
  }
  
  .custom-header-description {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .custom-header-title {
    font-size: 2rem;
  }
  
  .custom-header-description {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .custom-header-title {
    font-size: 1.75rem;
    margin-bottom: 0.8rem;
  }
  
  .custom-header-description {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
  }
  
  
  
  .btn-primary-custom,
  .btn-secondary-custom {
    min-width: 200px;
    font-size: 0.9rem;
    padding: 0.7rem 1.5rem;
  }
}

/* For landscape mobile (short screens) */
@media (max-height: 500px) {
  .custom-header-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }
  
  .custom-header-description {
    font-size: 0.8rem;
    margin-bottom: 1rem;
  }
  
  
  
  .btn-primary-custom,
  .btn-secondary-custom {
    font-size: 0.8rem;
    padding: 0.6rem 1.2rem;
    min-width: 140px;
  }
}

/* DARK FOOTER STYLES */
#main-footer {
  background-color: #212529 !important;
  margin-top: auto;
}

/* Left split container aligns with contact card spacing */
.left-split {
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(2, 122, 137, 0.06);
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.06), 0 2px 6px rgba(16,24,40,0.04);
}

@media (max-width: 767.98px) {
  .left-split { padding: 16px; }
}

/* Why list redesigned */
/* Why grid - two-column features with icons */
.why-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 991.98px) {
  .why-grid { grid-template-columns: 1fr; }
}

.why-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(2, 122, 137, 0.08);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 8px 24px rgba(16,24,40,0.08), 0 2px 4px rgba(16,24,40,0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.why-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 128, 142, 0.12);
  box-shadow: 0 4px 14px rgba(0,128,142,0.22);
}
.why-icon i { color: #0f2a32; font-size: 24px; }

/* Accent variants to match cycling classes c1..c4 */
.why-icon.c1 { background: linear-gradient(180deg, #ffa246, #ff7f2e); box-shadow: 0 8px 20px rgba(255,127,46,0.35); }
.why-icon.c2 { background: linear-gradient(180deg, #45d0c6, #00a3a7); box-shadow: 0 8px 20px rgba(0,163,167,0.35); }
.why-icon.c3 { background: linear-gradient(180deg, #8bb6ff, #4b86ff); box-shadow: 0 8px 20px rgba(75,134,255,0.35); }
.why-icon.c4 { background: linear-gradient(180deg, #b17cff, #7a4cff); box-shadow: 0 8px 20px rgba(122,76,255,0.35); }
.why-icon.c1 i,
.why-icon.c2 i,
.why-icon.c3 i,
.why-icon.c4 i { color: #ffffff; }

.why-item-title {
  font-weight: 700;
  color: #0f2a32;
  margin-bottom: 2px;
  font-size: 1rem;
}
.why-item-desc {
  color: #5f6b76;
  font-size: 1rem;
  line-height: 1.55;
}

/* Services section cards */
.services-section { margin-bottom: 2rem; }
.services-section .gallery-title { margin-bottom: 1.25rem; }
.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center; /* center last row when item count is uneven */
}

.service-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 22px 22px 18px;
  text-align: center;
  border: 1px solid rgba(2, 122, 137, 0.08);
  box-shadow: 0 8px 24px rgba(16,24,40,0.08), 0 2px 4px rgba(16,24,40,0.06);
  width: 280px; /* fixed card width so rows center nicely */
}

.service-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.service-icon i { font-size: 28px; color: #0f2a32; }
/* Use theme teal palette */
.service-icon { background: rgba(0, 128, 142, 0.12); }
.service-icon.c1 { background: rgba(0, 128, 142, 0.12); }
.service-icon.c2 { background: rgba(0, 128, 142, 0.12); }
.service-icon.c3 { background: rgba(0, 128, 142, 0.12); }
.service-icon.c4 { background: rgba(0, 128, 142, 0.12); }

.service-title {
  font-weight: 700;
  color: #0f2a32;
  margin-bottom: 6px;
}

.service-desc {
  color: #5f6b76;
  font-size: 0.95rem;
  line-height: 1.45;
}

/* Contact card redesign */
.contact-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.08), 0 2px 6px rgba(16,24,40,0.06);
  border: 1px solid rgba(2, 122, 137, 0.08);
}

/* Ensure process card matches contact card height */
.process-card { display: flex; flex-direction: column; }
.process-card > *:last-child { margin-top: auto; }

.contact-card .card-title {
  font-size: 1.9rem;
  font-weight: 700;
  color: #0f2a32;
}

.section-separator {
  height: 40px; /* Höhe des Gradients */
  background: linear-gradient(to bottom, rgba(0,0,0,0.05), rgba(0,0,0,0));
}

/* Shared title style for process and contact */
.card-title { 
  text-align: center;
  min-height: 5rem;
 }

.contact-card .card-subtitle {
  color: #6c757d;
  margin-bottom: 1rem;
}

/* Consent note under button */
.consent-note a { color: #00808e; text-decoration: none; }
.consent-note a:hover { text-decoration: underline; }

/* Process numbered steps */
.process-section { margin-bottom: 1.5rem; }
.process-steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.process-step {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(2, 122, 137, 0.08);
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: 0 8px 22px rgba(16,24,40,0.06), 0 2px 4px rgba(16,24,40,0.05);
}

.process-index {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #00808e;
  color: #ffffff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 12px rgba(0,128,142,0.25);
}

.process-label {
  color: #0f2a32;
  font-weight: 600;
}

/* Process card layout tweaks to fill available height and start at top */
.process-card .process-section { margin: 0; display: flex; flex-direction: column; height: 100%; }
.process-card .gallery-title { margin-top: 0; }

/* Distribute steps to fill card height on desktop */
@media (min-width: 768px) {
  .process-card .process-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: space-between;
  }
}

/* THEME CONTACT FORM (moved from plugin) */
#aeroconceptContactForm input,
#aeroconceptContactForm textarea {
  border-radius: 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid black;
  padding: 10px 0 10px 5px;
  margin-bottom: 10px;
  color: black;
}

#aeroconceptContactForm input:focus,
#aeroconceptContactForm textarea:focus {
  outline: none;
}

/* Keep hover identical (no white effect) */
#aeroconceptContactForm #submitButton:hover {
  background-color: #00808e !important;
  border-color: #00808e !important;
  color: #fff !important;
  box-shadow: none !important;
}

#aeroconceptContactForm label {
  color: black;
  padding-left: 5px;
}

/* Contact form submit button inherits .btn-primary-custom styles */
#aeroconceptContactForm #submitButton {
  border: 0;
  width: 100%;
  display: block;
}

#aeroconceptContactForm #submitSuccessMessage,
#aeroconceptContactForm #submitErrorMessage {
  background-color: #00808e;
  font-size: 15px;
  color: white;
}

#aeroconceptContactForm #emailValidation p,
#aeroconceptContactForm #messageValidation p,
#aeroconceptContactForm #nameValidation p,
#aeroconceptContactForm #fnameValidation p,
#aeroconceptContactForm #tosValidation p {
  color: red;
}

#aeroconceptContactForm #message {
  height: 10rem;
}

#aeroconceptContactForm input[type=checkbox],
#aeroconceptContactForm input[type=radio] {
  width: 1.15em;
  height: 1.15em;
}

#aeroconceptContactForm input[type=checkbox] {
  background: transparent;
  border: 1px solid #fff;
  padding: 0;
}

@media only screen and (max-width: 800px) {
  #aeroconceptContactForm .fname-mobile-margin {
    margin-bottom: 1rem !important;
  }
}

#main-footer h5 {
  color: white !important;
  font-weight: 600;
  font-size: 1.1rem;
  font-family: "Montserrat", sans-serif !important;
}

#main-footer a {
  color: #adb5bd !important;
  text-decoration: none !important;
  transition: color 0.3s ease;
}

#main-footer a:hover {
  color: white !important;
}

#main-footer .text-light {
  color: #adb5bd !important;
}

#main-footer .border-secondary {
  border-color: #495057 !important;
}

/* Ensure main content takes available space */
main {
  flex: 1;
}

/* Center the section heading on mobile for the About/Expertise section */
@media (max-width: 576px) {
  #about .page-content > h1,
  #about .page-content > h2,
  #about .page-content > h3 {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Privacy Policy styles */
.privacy-policy-section {
  background: transparent;
}

.pp-header .pp-title {
  font-size: 2.1rem;
  color: #0f2a32;
}

@media (max-width: 768px) {
  .pp-header .pp-title {
    font-size: 1.75rem;
    text-align: center;
  }
  .pp-header .pp-subtitle { text-align: center; }
}

.pp-card {
  background: #ffffff;
  border-radius: 14px;
}

.pp-content h2,
.pp-content h3,
.pp-content h4 {
  color: #0f2a32;
  margin-top: 1.25rem;
}

.pp-content p {
  color: #5f6b76;
  line-height: 1.7;
}

.pp-content ul,
.pp-content ol {
  padding-left: 1.25rem;
}

.pp-content ul li {
  position: relative;
  margin-bottom: 0.5rem;
}

.pp-content a {
  color: #00808e;
  text-decoration: underline;
}

.pp-content a:hover {
  text-decoration: none;
}