/* Global Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  font-family: 'Gabarito', sans-serif;
  background-color: #f8f8f8;
  scroll-behavior: smooth;
  color: #222;
}

/* Top Bar Header */
.top-bar {
  background-color: black;
  height: 10vh;
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  padding: 0;
}

.logo-bottom {
  display: flex;
  align-items: flex-end;
  height: 100%;
  padding-left: 9px;
  margin-top: auto;
}

.logo-bottom img {
  width: 200px;
  height: auto;
}

/* Background Section */
.main {
  background-image: url('img/bg-img.webp');
  background-size: cover;
  background-position: center center;
  min-height: 60vh;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1rem 0;
}

/* Logo in Main â€“ Keep aligned with 'Ã¸' in 'sÃ¸rensen' */
.logo-background {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-left: 10px;
  margin-top: -20px;
}

.logo-background img {
  width: 200px;
  height: auto;
  margin-bottom: auto;
}

/* Navigation */
.navigation ul {
  list-style-type: none;
  margin-right: 2rem;
}

.navigation ul li {
  display: inline;
  margin-left: 20px;
}

.navigation ul li a {
  text-decoration: none;
  color: white;
  font-family: 'Gabarito', sans-serif;
  font-weight: 500;
  font-size: 22px;
  transition: color 0.3s ease;
}

.navigation ul li a:hover {
  color: rgb(217, 240, 253);
}

/* Mobile Menu */
.mobile-menu-icon {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 10px;
}

.bar {
  background-color: white;
  height: 3px;
  width: 25px;
  margin: 3px 0;
  transition: 0.4s;
}

.mobile-navigation {
  display: none;
  background-color: black;
  position: absolute;
  top: 10vh;
  right: 0;
  width: 100%;
  z-index: 99;
}

.mobile-navigation ul {
  list-style-type: none;
  padding: 20px;
  margin: 0;
}

.mobile-navigation ul li {
  margin-bottom: 12px;
}

.mobile-navigation ul li a {
  color: white;
  font-size: 20px;
  text-decoration: none;
  display: block;
  transition: color 0.3s ease;
}

.mobile-navigation ul li a:hover {
  color: rgb(217, 240, 253);
}

/* Hero Section */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6vh 2rem 4vh;
  margin: 2rem auto;
  max-width: 1200px;
  background: white;
  color: #111;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  text-align: center;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  max-width: 640px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

/* CTA Button */
.cta-button {
  display: inline-block;
  background-color: #e3b062;
  color: #000;
  padding: 0.9rem 1.8rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
  background-color: #f1c376;
  transform: translateY(-2px);
}

/* General Section Styling */
.section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 2rem auto;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.section p {
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Services Content Wrapper */
.services-content {
  text-align: left;
  max-width: 900px;
  margin: 0 auto;
}

.services-content p {
  text-align: left;
}

/* Contact Section Enhancements */
.contact-details {
  margin-top: 2rem;
  padding: 2rem;
  background-color: #f8f8f8;
  border-radius: 6px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact-details p {
  margin: 1rem 0;
  font-size: 1.1rem;
}

.contact-details a {
  color: #e3b062;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-details a:hover {
  color: #f1c376;
  text-decoration: underline;
}

/* Footer */
footer {
  background: #111;
  color: white;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

/* Responsive Styling */
@media screen and (max-width: 768px) {
  .main {
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    text-align: center;
  }

  .logo-background {
    transform: translateX(-61%);
    margin-top: -24px;
    margin-bottom: 1rem;
    align-items: flex-start;
  }

  .logo-background img {
    width: 180px;
    height: auto;
  }

  .navigation {
    display: none;
  }

  .mobile-menu-icon {
    display: flex;
    position: absolute;
    right: 1rem;
    top: 1rem;
  }

  .mobile-menu-icon.active + .navigation + .mobile-navigation {
    display: block;
  }

  .mobile-menu-icon.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

  .mobile-menu-icon.active .bar:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-icon.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }

  .hero, .section {
    margin: 1rem;
    padding: 2rem 1.2rem;
  }

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

  .hero p {
    font-size: 1.05rem;
  }

  .cta-button {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
  }

  .section p {
    font-size: 1rem;
  }

  .services-content {
    text-align: center;
  }

  .services-content p {
    text-align: center;
  }

  .contact-details {
    padding: 1.5rem 1rem;
  }
}

@media screen and (max-width: 480px) {
  .logo-bottom img {
    width: 160px;
  }

  .logo-background img {
    width: 160px;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .section h2 {
    font-size: 1.75rem;
  }
}
