/* === GLOBAL STYLES === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent; /* removes link highlight on mobile */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  padding-top: 100px; /* space for fixed header */
  background-color: #f5f7fa;
}

img {
  max-width: 100%;
  height: auto;
}

/* === HEADER === */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #2c3e50;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  z-index: 1000;
  flex-wrap: wrap;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}
.logo-container:hover {
  opacity: 0.9;
}

.logo-container img {
  height: 60px;
}

.logo-container .brand-name {
  font-size: 1.5rem;
  font-weight: bold;
}

/* === NAVIGATION === */
nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 10px;
  transition: background-color 0.3s ease;
}

nav a:hover {
  background-color: #1abc9c;
  border-radius: 5px;
}

/* === HERO SECTION === */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 10px;
  max-width: 90%;
}

.hero-content h1 {
  font-size: 3rem;
}

/* === SECTIONS === */
section {
  padding: 40px 20px 0px;;
  max-width: 1100px;
  margin: auto;
}
#about {
  background-color:#C4CACF  ;
  padding: 40px 20px;
  border-radius: 10px;
  margin: 20px auto;
  max-width: 1000px;
  box-shadow: 0 0 10px #C4CACF  ;
  text-align: center;
}

#about h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

#about p {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
}
.read-more-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background-color: #2c3e50;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.read-more-btn:hover {
  background-color: #16a085;
  transform: translateY(-2px);
}

/* === SERVICES GRID === */
.services {
  background-color: #f5f7fa;
  text-align: center;
  padding: 40px 20px;
  max-width: 1100px;
  margin: 40px auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

.service-card {
  background: #f5f7fa;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.service-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  flex-shrink: 0;
}

.service-card h3 {
  margin: 15px 15px 10px;
  color: #2c3e50;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.service-card p {
  padding: 0 15px 20px;
  color: #555;
  flex-grow: 1;
  font-size: 1rem;
}

/* Responsive text scaling */
@media (max-width: 768px) {
  .service-card img {
    height: 140px;
  }
  .service-card h3 {
    font-size: 1.1rem;
  }
  .service-card p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .services {
    padding: 30px 10px;
  }
  .service-card img {
    height: 120px;
  }
  .service-card h3 {
    font-size: 1rem;
  }
  .service-card p {
    font-size: 0.85rem;
  }
}

.services,
.galleryy,
.testimonials,
.contact {
  background: #f0f2f5;
  margin: 20px 0;
  border-radius: 10px;
  padding: 40px 20px;
}
.services,
.galleryy,
.testimonials,
.contact {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.section-narrow {
  max-width: 1000px; 
  margin: 0 auto;
  /*padding: 0;*/
 } 

.contact {
  background-color: rgba(255, 255, 255, 0.7); /* fully transparent */
   padding: 120px 20px 80px;
  max-width: 1000px;
  margin: auto;
  text-align: center;
  color: #2c3e50; /* white text for better contrast */
}
.contact-page {
  background-image: url("pictures/services3.jpeg"); /* Change to your actual image path */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
  background-color: rgba(255, 255, 255, 0.95); /* make lighter or darker as needed */
}

.contact h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #2c3e50;
}

.contact p {
  margin-bottom: 30px;
  color: #2c3e50;
}

.contact-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.contact-item {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 8px;
  width: 280px;
  text-align: left;
  display: flex;
  gap: 15px;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-5px);
  background-color: #f0fdfb;
}

.icon {
  font-size: 24px;
  color: #1abc9c;
}

.contact-item h4 {
  margin-bottom: 5px;
  color: #2c3e50;
}

.contact-item p,
.contact-item a {
  color: #34495e;
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 600px) {
  .contact-box {
    flex-direction: column;
    align-items: center;
  }

  .contact-item {
    width: 90%;
  }
}


@media (max-width: 768px) {
  .services,
  .gallery,
  .testimonials,
  .contact {
    padding: 30px 15px;
    margin: 15px 0;
  }
}

@media (max-width: 480px) {
  .services,
  .gallery,
  .testimonials,
  .contact {
    padding: 20px 10px;
    margin: 10px 0;
  }
}

/* === GALLERY === */
.gallery div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.gallery img {
  width: 100%;
  border-radius: 10px;
}
.gallery h2,
.gallery p {
  text-align: center;
}

.gallery h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #2c3e50;
}

.gallery p {
  margin-bottom: 30px;
  color: #555;
  font-size: 1rem;
}

/* Gallery Slideshow */
.mySlides {
  display: none;
}

.slideshow-container {
  position: relative;
  /*width: 100%;*/
   width: calc(100% + 10px);
  height: auto;
  padding: 5px;
  /*max-width: 1000px; 
  margin: 40px auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  background-color: #fff; /* optional, to give it a panel look */
}

.mySlides img {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: cover;
}

/* Navigation arrows container below images */
.nav-arrows {
  max-width: 1000px;
  margin: 10px auto 20px;
  display: flex;
  justify-content: center;
  gap: 30px;
}

.nav-arrows a {
  cursor: pointer;
  padding: 10px 20px;
  background-color:#2c3e50;
  color: white;
  border-radius: 5px;
  font-weight: bold;
  user-select: none;
  transition: background-color 0.3s ease;
  text-decoration: none;
  font-size: 16px;
}

.nav-arrows a:hover {
  background-color: #16a085;
}

/* Dots */
.dots {
  text-align: center;
  margin-bottom: 40px;
}

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

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

/* Fade animation */
.fade {
  animation-name: fade;
  animation-duration: 1s;
}

@keyframes fade {
  from { opacity: .4 }
  to { opacity: 1 }
}

/* Responsive */
@media (max-width: 600px) {
  .mySlides img {
    height: 250px;
  }
  .nav-arrows {
    gap: 15px;
  }
  .nav-arrows a {
    padding: 8px 14px;
    font-size: 14px;
  }
}

/* === FOOTER === */
footer {
  margin-top: auto; /* Pushes footer to bottom */
  background: #2c3e50;
  color: white;
  text-align: center;
  padding: 15px 0;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .logo-container img {
    height: 50px;
  }
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  nav {
    width: 100%;
    flex-direction: column;
    gap: 10px;
    padding-left: 10px;
  }

  .logo-container {
    flex-direction: row;
  align-items: center;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  section {
    padding: 60px 15px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.5rem;
  }

  .logo-container .brand-name {
    font-size: 1.2rem;
  }

  nav a {
    padding: 8px 0;
  }
}
/* === MOBILE MENU === */
.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  color: white;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #2c3e50;
    padding: 10px 20px;
  }

  .nav-links a {
    padding: 10px 0;
  }

  .nav-open .nav-links {
    display: flex;
  }
}
.floating-buttons {
  position: fixed;
  right: 20px;
  bottom: 80px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 9999;
}

.float-btn {
  background-color: #34495e; /* industrial steel */
  color: #f1f1f1;
  text-decoration: none;
  font-size: 20px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.float-btn.email {
  background-color: #e67e22; /* orange like power tools */
}

.float-btn.phone {
  background-color: #2c3e50; /* darker steel */
}

.float-btn:hover {
  transform: scale(1.1);
  background-color: #1abc9c; /* hover with bright accent */
}

.float-btn i {
  font-size: 22px;
}

@media (max-width: 480px) {
  .float-btn {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }

  .floating-buttons {
    right: 15px;
    bottom: 70px;
  }
}
.about-page {
  background-image: url("pictures/kombe1.jpeg"); /* Make sure this path is correct */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
}
/* Style for the main about content */
.about-page main {
  background-color: rgba(255, 255, 255, 0.80) ;
  
  max-width: 1000px;
  margin: 140px auto 40px;
  padding: 80px 30px;
  border-radius: 12px;
  backdrop-filter: blur(4px);
  animation: fadeIn 1s ease-in;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Headings */
.about-page h1 {
  text-align: center;
  color:#2c3e50;
  margin-bottom: 30px;
}

.about-page h2 {
  margin-top: 50px;
  color: #2c3e50;
  text-align: center;
}

/* Special card-like list */
.about-page ul {
  list-style: none;
  padding-left: 0;
  display: grid;
  gap: 20px;
  margin-top: 20px;
}

.about-page ul li {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 15px 20px;
  border-left: 5px solid #1abc9c;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.about-page ul li:hover {
  transform: translateX(8px);
  background-color: rgba(255, 255, 255, 0.15);
}

/* Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive Design */
@media (max-width: 768px) {
  .about-page main {
    padding: 50px 20px;
  }

  .about-page ul {
    gap: 15px;
  }
}

.doppelboden-page {
  background-color: #f4f4f4;
}



.doppelboden-content {
  max-width: 1000px;
  /*margin: 60px auto;*/
  padding: 20px;
  text-align: center;
  color: #2c3e50;
}

.doppelboden-content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #1abc9c;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.benefit {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.benefit:hover {
  transform: translateY(-5px);
}

.benefit i {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 15px;
}

.benefit h3 {
  color: #1abc9c;
  margin-bottom: 10px;
}

    .cta-banner {
      background: #2c3e50;
      color: white;
      padding: 40px;
      text-align: center;
      border-radius: 10px;
      margin-top: 40px;
    }
    .cta-button {
      margin-top: 20px;
      display: inline-block;
      background: #1abc9c;
      color: white;
      padding: 15px 30px;
      text-decoration: none;
      border-radius: 30px;
      font-weight: bold;
      transition: background 0.3s;
    }
    .cta-button:hover {
      background: #16a085;
    }
.doppelboden-info {
  max-width: 1000px;
  margin: 20px auto;
  padding: 0 20px 60px;
  color: #2c3e50;
  line-height: 1.6;
}

.doppelboden-section h2,
.doppelboden-section h3 {
  color: #2c3e50;
  margin-bottom: 15px;
  text-align: left;
  margin-left: 20px;
}
#beispiele{
  text-align: center;
}
#warum{
  text-align: center;
}
.doppelboden-section ul {
  padding-left: 20px;
  text-align: justify;
}

.benefits-check li {
  list-style: none;
  padding-left: 1.2em;
  position: relative;
}

.benefits-check li::before {
  content: "✅";
  position: absolute;
  left: -10px;
}
.doppelboden-gallery {
  margin: 40px 0;
  text-align: center;
}

.doppelboden-gallery h3 {
  color: #2c3e50;
  margin-bottom: 20px;
  text-align: left;
}

.image-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.image-row img {
  width: 100%;
  max-width: 200px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.image-row img:hover {
  transform: scale(1.05);
}
.par{
  text-align: justify;
  margin-left: 20px;
  margin-right: 20px;
}



.bodenbelage-container {
  padding: 60px 20px;
  max-width: 1100px;
  margin: auto;
}
.bodenbelage-intro {
  background-color: #f7f7f7;
  padding: 60px 20px;
}

.bodenbelage-intro .content-container {
  max-width: 1000px;
  margin: auto;
  text-align: justify;
}

.bodenbelage-intro h2 {
  font-size: 2.2rem;
  color: #2c3e50;
  margin-bottom: 20px;
  text-align: left;
}

.bodenbelage-intro p {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.7;
  margin-bottom: 15px;
}

.boden-type {
  margin-bottom: 50px;
  background-color: #f9f9f9;
  border-left: 5px solid #1abc9c;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}

.boden-type:hover {
  transform: scale(1.01);
  background-color: #f0f0f0;
}

.boden-type img {
  width: 100%;
  max-width: 700px;
  border-radius: 8px;
  margin-top: 15px;
}


.tabs {
  text-align: center;
  margin: 50px auto;
  
}

.tab-btn {
  background: #2c3e50;
  color: white;
  border: none;
  padding: 12px 20px;
  margin: 5px;
  border-radius: 5px;
  cursor: pointer;
}

.tab-btn.active {
  background: #1abc9c;
}

/*.tab-content {
  display: none;
  text-align: center;
  margin-top: 30px;
  color: white;
}

.tab-content.active {
  display: block;
}

.tab-content img {
  max-width: 700px;
  width: 100%;
  border-radius: 10px;
  margin-top: 15px;
}*/
.tab-content {
  display: none;
  margin: 30px auto;
  max-width: 1000px;
  text-align: justify;
  padding: 20px;
  background-color: #2c3e50;
  color: white;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.tab-content.active {
  display: block;
}

.tab-content img {
  width: 100%;
  max-width: 100%;
  border-radius: 10px;
  margin-top: 15px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 40px auto 0;
  padding: 0 20px;
}

.gallery-grid img {
  width: 100%;
  border-radius: 10px;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  visibility: visible;
}

.gallery-grid img:hover {
  transform: scale(1.03);
}
