@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px; /* Adjust based on header height */
}

body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background-color: #fefcfb;
  color: #4e4e4f;
}

/* Cookie popup */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 15px;
  border-radius: 5px;
  text-align: center;
  width: 80%;
  max-width: 400px;
  display: none;
}

.cookie-popup button {
  background-color: #f22412;
  color: white;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  font-weight: bold;
  margin-top: 10px;
}

/* Header */
.header {
  background-color: rgba(18, 173, 169, 0.8);
  background-image: url('images/header-background.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 10px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Logo */
.logo {
  font-size: 24px;
  font-weight: bold;
  font-family: 'Ubuntu', sans-serif;
  margin-bottom: 3px; /* Adds space between logo and contact info */
}

.logo span {
  color: #f22412;
  font-size: 24px;
  font-weight: bold;
  font-family: 'Montserrat', sans-serif;
}

/* Container for contact info & menu */
.contact-menu-container {
  display: flex;
  justify-content: space-between; /* Ensures left and right alignment */
  width: 100%;
  align-items: center;
}

/* Contact info stays on the left */
.contact-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact-info span {
  margin: 2px 0;
  font-size: 18px;
}

.burger-menu {
  display: none; /* Hide burger icon by default */
  font-size: 24px;
  cursor: pointer;
}

/* Navigation menu aligned fully to the right */
.nav-menu {
  display: flex;
  justify-content: flex-end; /* Moves menu to the far right */
}

.nav-menu ul {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 20px;
}

.nav-menu li {
  display: inline;
}

.nav-menu a {
  text-decoration: none;
  color: white;
  font-size: 18px;
  padding: 8px 10px;
  transition: 0.3s;
}

.nav-menu a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 5px;
}


.wrapped-image {
  float: left; /* Positions the image to the right */
  margin-right: 18px; /* Adds space between the image and text */
  width: 250px; /* Adjust size as needed */
  border-radius: 5px; /* Optional: adds soft rounded corners */
}

.service-section {
  background-color: #fefcfb;
  border-radius: 10px;
  padding: 20px;
  max-width: 900px;
  margin: 40px auto;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.service-section h1 {
  text-align: center;

}

.service-section p {
  font-size: 16px;
  line-height: 1.5;
  margin: 10px 0;
}

.repair-section {
  background-color: #fefcfb;
  border-radius: 10px;
  padding: 20px;
  max-width: 900px;
  margin: 40px auto;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.repair-section h1 {
  text-align: left;
}

.repair-section .list-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.repair-section .column {
  flex: 1;
  min-width: 250px;
  padding: 0;
  margin: 0;
}

.repair-section ul {
  list-style-type: none;
  padding: 0;
  margin: 10px 0;
}

.repair-section li {
  font-size: 16px;
  line-height: 1.5;
  padding: 5px 0;
}

.why-repair-section {
  background-color: #fefcfb;
  border-radius: 10px;
  padding: 20px;
  max-width: 900px;
  margin: 40px auto;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.why-repair-section h1 {
  text-align: left;
}

.why-repair-section p {
  font-size: 16px;
  line-height: 1.5;
  margin: 10px 0;
}

/* Content */
.content {
  padding: 20px;
  margin: 20px auto;
  max-width: 900px;
  line-height: 1.6;
}

.content h1 {
  font-size: 22px;
  white-space: nowrap;
  line-height: 1.2;
}

.info-container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  max-width: 900px;
  margin: 40px auto;
}

.contact-section, .legal-section {
  flex: 1;
  background-color: #fefcfb;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.contact-details, .legal-section p {
  font-size: 16px;
  line-height: 1.5;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-item i {
  color: #f22412;
  font-size: 20px;
}


.warranty-section {
  background-color: #fefcfb;
  border-radius: 10px;
  padding: 20px;
  max-width: 900px;
  margin: 40px auto;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.warranty-section h1, .warranty-section h2 {
  text-align: left;
 
}

.warranty-section ul {
  list-style-type: none;
  padding: 0;
  margin: 10px 0;
}

.warranty-section li {
  font-size: 16px;
  line-height: 1.5;
  padding: 5px 0;
}

.gdpr-section {
  background-color: #fefcfb;
  border-radius: 10px;
  padding: 20px;
  max-width: 900px;
  margin: 40px auto;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.gdpr-section h1, .gdpr-section h2 {
  text-align: left;
  
}

.gdpr-section p {
  font-size: 16px;
  line-height: 1.5;
  margin: 10px 0;
}


/* Footer */
.footer {
  background-color: #666666;
  color: white;
  text-align: center;
  padding: 6px 0;
  position: fixed;
  width: 100%;
  bottom: 0;
  left:0;
}

media (max-width: 768px) {
  .nav-menu ul {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .service-section, .repair-section, .why-repair-section, .warranty-section, .gdpr-section {
    max-width: 95%;
    padding: 15px;
  }

  .list-container {
    flex-direction: column;
    align-items: center;
  }

  .wrapped-image {
  float: left; /* Positions the image to the right */
  margin-right: 18px; /* Adds space between the image and text */
  width: 150px; /* Adjust size as needed */
  border-radius: 5px; /* Optional: adds soft rounded corners */
}

}





@media (max-width: 480px) {
  .logo {
    font-size: 20px;
  }

  .nav-menu a {
    font-size: 16px;
  }

  .wrapped-image {
  float: left; /* Positions the image to the right */
  margin-right: 18px; /* Adds space between the image and text */
  width: 180px; /* Adjust size as needed */
  border-radius: 5px; /* Optional: adds soft rounded corners */
}

}



/* Media query for tablets and phones */
@media (max-width: 768px) {
  .nav-menu {
    display: none; /* Hide normal menu */
    flex-direction: column;
    position: absolute;
    top: 50px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.8);
    width: 200px;
    padding: 10px;
    border-radius: 5px;
  }

  .nav-menu ul {
    flex-direction: column;
    text-align: center;
  }

  .nav-menu a {
    display: block;
    padding: 10px;
  }

  .burger-menu {
  display: none; /* Hidden by default */
  font-size: 24px;
  cursor: pointer;
  text-align: center; /* Ensures proper centering */
  width: 100%;
  padding: 10px 0;

}

}

/* Media query for small phones */
@media (max-width: 480px) {
  .burger-menu {
    font-size: 20px;
  }

  .nav-menu {
    width: 180px;
  }

  .nav-menu a {
    font-size: 16px;
  }

  /* Show menu when active */
.nav-menu.active {
  display: flex;
}

}

