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

body, html, h1, h2, h3, h4, h5, h6, p, a, li, button, input {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", "Helvetica", "Roboto", "Ubuntu", "Cantarell", "Open Sans", sans-serif;
  font-weight: 300;
}

body, html {
  height: 100%;
  color: #000;
  background: url('../assets/background.png') no-repeat center center/cover;
  position: relative;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.background-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(6px);
  z-index: 0;
  min-height: 100svh;
}

/* Fixed Header */
.fixed-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  max-width: 1100px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  border-radius: 20px;
}

.frosted-header {
  display: flex;
  justify-content: center;
  margin-top: 1.5em;
  align-items: center;
  padding: 1em 2em;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.nav-links {
    display: flex;
    gap: 2em;
    list-style: none;
    margin: 0;
    padding: 0;
  }

.nav-links a {
  text-decoration: none;
  color: #333;
  font-size: 1.25rem;
  font-weight: 300;
  letter-spacing: 0.25px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.phone-number {
  color: #333;
  text-decoration: none;
  font-weight: 300;
  font-size: 1.25rem;
}

/*.phone-number {*/
/*    margin-left: auto;*/
/*    font-weight: 300;*/
/*    font-size: 1.1rem;*/
/*    color: #222;*/
/*    white-space: nowrap;*/
/*  }*/

/* Glass Circle Mobile Menu */
.nav-toggle {
  display: none;
  position: fixed;
  top: 1rem;
  left: 1rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  z-index: 1100;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  flex-direction: row;
  gap: 5px;
}

.nav-toggle span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.nav-toggle.open {
  gap: 0;
}

.nav-toggle.open span {
  width: 24px;
  height: 2px;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.85);
  position: absolute;
}

.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  display: none;
}

.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg);
}

.nav-menu-mobile {
  position: fixed;
  top: calc(60px + 1.5rem);
  left: 1rem;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(8px);
  padding: 1rem;
  border-radius: 15px;
  z-index: 1099;
  width: 200px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);

  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
  visibility: hidden;

  display: flex;
  flex-direction: column;
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
}

.nav-menu-mobile.show {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
}

.nav-menu-mobile a {
  font-size: 1.2rem;
  margin: 0.5rem 0;
  text-decoration: none;
  color: #333;
  font-weight: 300;
  text-align: left;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Sections */
.section {
  padding: 8em 2em 4em;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero {
  padding-top: 12em;
  padding-bottom: 6em;
  min-height: 100svh;
  justify-content: center;
}

@media (orientation: landscape) and (max-height: 500px) {
  .hero {
    padding-top: 6em;
    padding-bottom: 2em;
  }
}

/* Spacer element used only on mobile */
.spacer-mobile {
  display: none;
}

.full-logo {
  width: 700px;
  max-width: 95vw;
  height: auto;
  margin-bottom: 2.5em;
}

@media (max-width: 768px) {
  .full-logo {
    width: 60vw;
  }
}

@media (max-width: 480px) {
  .full-logo {
    width: 70vw;
  }
}

@media (orientation: landscape) and (max-height: 500px) {
  .full-logo {
    width: 50vh;
  }
}

.glass-box {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  border-radius: 20px;
  padding: 2em;
  width: 80%;
  max-width: 100%;
}

.glass-box.wide {
  max-width: 1000px;
}

.glass-box p {
  font-size: 1.4rem;
  font-weight: 400;
  color: #222;
  line-height: 1.5;
  margin-bottom: 1em;
}

.glass-box h2 {
  font-size: 2.2rem;
  margin-bottom: 1em;
  color: #111;
}

.service-list {
  list-style-type: disc;
  padding-left: 2em;
  text-align: left;
  font-size: 1.2rem;
  margin-bottom: 2em;
}

.section-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  margin-top: 1em;
}

iframe {
  border-radius: 15px;
}

/* Responsive Design */
@media (max-width: 768px), (pointer: coarse) and (orientation: landscape) {
  .frosted-header {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  #home {
    margin-bottom: 0;
  }

  .hero {
    min-height: 100svh;
    padding-top: 8em;
    padding-bottom: 2em;
    justify-content: center;
  }

  .spacer-mobile {
    display: block;
    height: 2em;
  }

  .glass-box,
  .glass-box.wide {
    width: 95%;
    padding: 1.5em;
  }

  .glass-box p {
    font-size: 1.1rem;
  }

  .glass-box h2 {
    font-size: 1.7rem;
  }

  .service-list {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .glass-box p {
    font-size: 1rem;
  }

  .glass-box h2 {
    font-size: 1.5rem;
  }

  .nav-menu-mobile a {
    font-size: 1rem;
  }
}

/* Services Carousel */
.services-pane {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto 1.5em;
  border-radius: 25px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
  box-sizing: border-box;
}


.main-service-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 25px;
  transition: opacity 0.5s ease;
}

.service-title {
  position: absolute;
  bottom: 10px;
  left: 15px;
  font-size: 2rem;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
  font-family: 'Inter', sans-serif;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 600; /* or 500 */
  letter-spacing: 0.2px;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.main-service-img.fade-out {
  opacity: 0;
}

.service-title.fade-out {
  opacity: 0;
  transform: translateY(10px);
}

.carousel-btn {
  position: absolute;
  top: 10px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.35);
  backdrop-filter: blur(8px);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.carousel-btn::before {
  content: '';
  display: block;
  width: 12px;
  height: 12px;
  border-left: 2px solid rgba(255,255,255,0.85);
  border-bottom: 2px solid rgba(255,255,255,0.85);
  transform: rotate(45deg);
}

.carousel-btn.next {
  right: 10px;
}

.carousel-btn.next::before {
  transform: rotate(-135deg);
}

.carousel-btn.prev {
  left: 10px;
}

.thumbnail-carousel {
  position: relative;
  width: 100%;
  max-width: 800px;
  height: 90px;
  margin: 0 auto;
  overflow: hidden;
  perspective: 1000px;
}

.thumbnail {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70px;
  height: 40px;
  transform-style: preserve-3d;
  transition: transform 0.6s ease, opacity 0.6s ease;
  opacity: 0.6;
}

.thumbnail img {
  width: 70px;
  height: 40px;
  object-fit: cover;
  border-radius: 10px;
}

/* Highlight selected thumbnail */
.thumbnail.selected {
  opacity: 1;
}

/* Disable transition on initial load */
.thumbnail.initial {
  transition: none;
}

@media (max-width: 768px) {
  .service-title {
    font-size: 1.5rem;
  }

  .services-pane {
    max-width: 100%;
  }

  .carousel-btn {
    width: 32px;
    height: 32px;
  }

  .carousel-btn::before {
    width: 10px;
    height: 10px;
  }
}

@media (max-width: 480px) {
  .service-title {
    font-size: 1.2rem;
  }

  .services-pane {
    max-width: 100%;
  }

  .carousel-btn {
    width: 28px;
    height: 28px;
  }

  .carousel-btn::before {
    width: 8px;
    height: 8px;
  }
}

/* Reviews */
.reviews-container {
  display: flex;
  flex-direction: column;
  gap: 1.25em;
  margin-top: 1em;
}

.review-text {
  font-size: 1.1rem;
  margin-bottom: 0.25em;
}

.review-author {
  font-size: 0.9rem;
  color: #555;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.75em;
  margin: 1em 0;
}


.contact-form input,
.contact-form textarea {
  padding: 0.75em 1em;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.1);
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}

.contact-form button {
  align-self: flex-start;
  padding: 0.75em 1.5em;
  border: none;
  border-radius: 10px;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(8px);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  color: #333;
  -webkit-appearance: none;
  appearance: none;
}

.contact-links {
  display: flex;
  gap: 1em;
  flex-wrap: wrap;
  margin: 1em 0;
}

.contact-phone,
.text-message-link,
.facebook-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  text-decoration: none;
  color: #333;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  font-weight: 300;
  -webkit-appearance: none;
  appearance: none;
  transition: background 0.3s ease;
}

.icon-btn img {
  width: 24px;
  height: 24px;
}

.contact-phone:hover,
.text-message-link:hover,
.facebook-link:hover {
  background: rgba(255,255,255,0.75);
}

.map {
  border-radius: 15px;
  overflow: hidden;
}
