/* ============================================
   THEME COLORS - EASY TO CUSTOMIZE
   ============================================ */
:root {
  --primary-color: #0066cc;
  --secondary-color: #00a8e8;
  --accent-color: #ff6b35;
  --success-color: #06a77d;

  --bg-light: #f8f9fa;
  --bg-dark: #1a1a1a;
  --bg-light-primary: rgba(0, 102, 204, 0.04);
  --text-dark: #333333;
  --text-light: #666666;
  --border-color: #e0e0e0;

  /* Typography */
  --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-size-base: 16px;
  --line-height: 1.6;

  --font-size-h1: clamp(2rem, 5vw, 3rem);
  --font-size-h2: clamp(1.75rem, 4vw, 2.25rem);
  --font-size-h3: 1.5rem;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;

  /* Transitions */
  --transition-smooth: all 0.3s ease;
}

/* ============================================
   RESET & GLOBALS
   ============================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  line-height: var(--line-height);
  color: var(--text-dark);
  background-color: #ffffff;
}

/* ============================================
   TYPOGRAPHY STYLES
   ============================================ */
h1 {
  font-size: var(--font-size-h1);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  /* color: var(--text-dark); */
}

h2 {
  font-size: var(--font-size-h2);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: var(--spacing-md);
  /* color: var(--text-dark); */
}

h3 {
  font-size: var(--font-size-h3);
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
  /* color: var(--text-dark); */
}

p {
  font-size: var(--font-size-base);
  font-weight: 400;
  /* color: var(--text-light); */
  margin-bottom: var(--spacing-md);
}

a {
  text-decoration: none;
}

img {
  width: 100%;
}

/* a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition-smooth);
}

a:hover {
  color: var(--secondary-color);
} */

strong,
b {
  font-weight: 700;
}

em,
i {
  font-style: italic;
}

small {
  font-size: 0.875rem;
}

ul {
  list-style: none;
}

button,
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

button {
  cursor: pointer;
}

/* ============================================
   HELPER STYLES
   ============================================ */
.text-align-center {
  text-align: center;
}

/* ============================================
   BUTTON STYLES
   ============================================ */
.cta-button {
  position: relative;
  padding: var(--spacing-sm) var(--spacing-lg);
  font-size: var(--font-size-base);
  font-weight: 700;
  color: #ffffff;
  background-color: var(--bg-dark);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  overflow: hidden;
  transition: 0.3s ease-in-out;
}

.cta-button:hover {
  text-shadow: 0 5px 10px rgba(0, 0, 0, 0.562);
  transform: scale(1.01);
  box-shadow: inset 0 0 10px rgb(59, 59, 59);
}

.cta-button::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  transform: rotate(80deg);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.467),
    transparent
  );
  filter: blur(10px);
  transition: 0.6s ease-in-out;
}

.cta-button:hover::after {
  left: 100%;
}

.cta-button:focus-visible {
  outline: 2px solid var(--secondary-color);
  outline-offset: 2px;
}

.cta-button:active {
  transform: scale(0.99);
}

/* ============================================
   LINK STYLES
   ============================================ */
.link {
  cursor: pointer;
  font-size: 18px;
  position: relative;
  white-space: nowrap;
  color: var(--text-dark);
}

.link::before,
.link::after {
  position: absolute;
  width: 100%;
  height: 1px;
  background: currentColor;
  top: 100%;
  left: 0;
  pointer-events: none;
}

.link::before {
  content: '';
  /* show by default */
}

.link--metis {
  /* font-family: bely-display, sans-serif; */
  /* text-transform: lowercase; */
}

.link--metis::before {
  transform-origin: 100% 50%;
  transform: scale3d(0, 1, 1);
  transition: transform 0.3s;
}

.link--metis:hover::before {
  transform-origin: 0% 50%;
  transform: scale3d(1, 1, 1);
}

.link--leda {
  overflow: hidden;
  line-height: 2;
  font-weight: 300;
}

.link--leda::before {
  height: 2px;
  top: calc(100% - 5px);
  transform-origin: 100% 50%;
  transform: scale3d(0, 1, 1);
  transition: transform 0.3s cubic-bezier(0.5, 0.5, 0.3, 1);
}

.link--leda:hover::before {
  transform-origin: 0% 50%;
  transform: scale3d(1, 1, 1);
}

.link--leda::after {
  content: attr(data-text);
  height: 100%;
  top: 0;
  background: none;
  transform-origin: 100% 50%;
  transform: translate3d(150%, 0, 0);
  transition: transform 0.3s cubic-bezier(0.5, 0.5, 0.3, 1);
}

.link--leda:hover::after {
  transform: translate3d(0, 0, 0);
}

.link--leda span {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.5, 0.5, 0.3, 1);
}

.link--leda:hover span {
  transform: translate3d(-150%, 0, 0);
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--spacing-md);
}

#contact,
#services,
#gallery,
#about,
#hero {
  scroll-margin-top: 56px; /* Adjust this value based on your navbar height */
}

/* Responsive Media Queries */
@media (min-width: 768px) {
  #contact,
  #services,
  #gallery,
  #about,
  #hero {
    scroll-margin-top: 68px; /* Adjust this value based on your navbar height */
  }
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: var(--spacing-md);
}

.logo {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: clamp(var(--spacing-md), 3vw, var(--spacing-lg));
}

.section-title {
  text-align: center;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

/* ============================================
   NAV SECTION
   ============================================ */
.nav {
  position: fixed;
  width: 100%;
  padding: 1rem 10%;
  z-index: 1000;
}

.burger-menu {
  background: #fff;
}

.nav .logo-dark {
  display: none;
}

.nav.nav-dark {
  background: rgba(255, 255, 255, 0.9);
}

.nav.nav-dark a {
  color: var(--text-dark) !important;
}

.nav.nav-dark .logo-dark {
  display: block;
}

.nav.nav-dark .logo-light {
  display: none;
}

.nav.nav-dark .burger-menu {
  align-self: center;
}

.nav.nav-dark .burger-menu span {
  background: var(--text-dark) !important;
}

.nav.nav-dark .menu-responsive {
  background: var(--bg-light);
}

.nav.nav-dark .menu-responsive .menu-responsive-links {
  text-align: center;
}

.nav.nav-dark .menu-responsive-link a {
  color: var(--text-dark) !important;
}

/* Nav Wrapper */
.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.nav-wrapper .nav-logo {
  font-size: 1.5rem;
  font-weight: 600;
}

.nav-wrapper .nav-links {
  display: none;
  align-self: center;
}

.nav-wrapper .nav-link-item {
  display: flex;
  margin: 0 1rem;
}

.nav-wrapper .nav-link-item a {
  color: var(--bg-light);
}

/* Burger Menu */
.burger-menu {
  cursor: pointer;
  outline: 0;
  border: none;
  background: none;
  z-index: 99;
}

.burger-menu span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--text-dark);
  margin: 5px 0;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.burger-menu.active span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.burger-menu.active span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.burger-menu.active span {
  background: var(--text-dark);
}

/* Menu Responsive */
.menu-responsive {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  height: 100vh;
  width: 100vw;
  top: 0;
  left: 0;
  background: var(--bg-light);
  transition: transform 1s cubic-bezier(0.9, 0.12, 0.2, 1);
  transform: translateY(-100%);
  z-index: -1;
}

.menu-responsive .menu-responsive-links {
  text-align: center;
}

.menu-responsive .menu-responsive-link {
  margin-bottom: 1rem;
  font-size: 4rem;
}

.menu-responsive .menu-responsive-link a {
  color: var(--text-dark) !important;
}

.menu-responsive .menu-responsive-link.link-sm {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
}

.menu-responsive .menu-responsive-link.link-sm .link {
  margin: 1rem 1rem;
}

.menu-responsive.active {
  transform: translateY(0);
}

/* Responsive Media Queries */
@media (min-width: 768px) {
  .nav-wrapper .nav-links {
    display: flex;
  }

  .menu-responsive {
    display: none;
  }

  .burger-menu {
    display: none;
  }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  width: 100%;
  position: relative;
  background: url('./images/hero/hero-bg.jpg');
  background-size: cover;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: var(--spacing-xl);
  gap: var(--spacing-md);
  color: #ffffff;
  z-index: 1;
}

.hero-content h1 {
  /* color: #ffffff; */
  font-size: clamp(2rem, 7vw, 3.5rem);
}

.hero-content p {
  /* color: rgba(255, 255, 255, 0.9); */
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  max-width: 50ch;
}

.card {
  display: flex;
  text-align: center;
  flex-direction: column;
  align-items: center;
  padding: var(--spacing-md);
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: var(--transition-smooth);

  img {
    width: 50%;
    margin-bottom: var(--spacing-sm);
  }

  &.card-bg {
    background-color: var(--bg-light);
  }

  &.card-small-image {
    img {
      width: 30%;
    }
  }

  &.card-bottom-image {
    img {
      margin-top: auto;
      margin-bottom: 0;
    }
  }
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
  padding: var(--spacing-xl) 0;
  background-color: var(--bg-light);
}

.services-grid {
  display: grid;
  gap: var(--spacing-lg);
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* ============================================
   OFFERS SECTION
   ============================================ */
.offers {
  padding: var(--spacing-xl) 0;
}

.offers-grid {
  display: grid;
  gap: var(--spacing-lg);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: var(--spacing-lg);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
  padding: var(--spacing-xl) 0;
  background-color: var(--bg-light);
}

.about-wrapper {
  display: grid;
  gap: var(--spacing-xl);
  align-items: center;
}

.about-text {
  .about-intro {
    font-size: 1.1rem;
    font-weight: 600;
  }
}

.about-features {
  display: grid;
  gap: var(--spacing-md);
}

/* Responsive */
@media (min-width: 600px) {
}

@media (min-width: 768px) {
  .about-wrapper {
    grid-template-columns: 1fr 1fr;
  }

  .about-features {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================
   GALLERY SECTION
   ============================================ */

.gallery-section {
  padding: var(--spacing-xl) 0;

  .container {
    .gallery-wrapper {
      padding-top: 0;
      line-height: 0;
      column-count: 3;
      column-gap: 1rem;

      figure {
        margin-bottom: 1rem;
      }
    }
  }
}

/* Responsive Media Queries */
@media (min-width: 768px) {
  .gallery-section {
    .container {
      .gallery-wrapper {
        column-count: 4;
      }
    }
  }
}

@media (min-width: 992px) {
  .gallery-section {
    .container {
      .gallery-wrapper {
        column-count: 5;
      }
    }
  }
}

@media (min-width: 768px) {
  .gallery-wrapper {
    column-count: 4;
  }
}

@media (min-width: 992px) {
  .gallery-wrapper {
    column-count: 5;
  }
}

/* ============================================
   FOOTER SECTION
   ============================================ */
.footer-section {
  background: var(--bg-dark);
  padding: 5rem 0;
  margin: 0;
}

.footer-wrapper {
  color: #ffffff;

  img {
    width: 120px;
    display: block;
    margin-bottom: 3rem;
  }

  .links-wrapper {
    margin-bottom: 3rem;

    .contact-wrapper {
      display: flex;
      flex-direction: column;
      margin-bottom: 2rem;

      .link {
        color: #ffffff;
        margin-right: auto;
        margin-bottom: 1rem;
      }
    }

    .navigation-links {
      display: flex;
      flex-direction: column;

      .link {
        color: #ffffff;
        margin-right: auto;
        margin-bottom: 1rem;
      }
    }
  }

  .rights {
    margin-bottom: 1rem;
  }

  .signature {
    a {
      color: #ffffff;

      &:hover {
        color: var(--primary);
      }
    }
  }
}

/* Responsive Media Queries */
@media (min-width: 768px) {
  /* .footer-section {
    .container {
      .footer-wrapper {
        .links-wrapper {
          display: flex;
          justify-content: space-between;

          .contact-wrapper {
            margin-bottom: 0;
          }

          .navigation-links {
            flex-direction: row;

            .link {
              margin-top: auto;
              margin-left: 1rem;
            }
          }
        }
      }
    }
  } */
  .footer-wrapper {
    .links-wrapper {
      display: flex;
      justify-content: space-between;

      .contact-wrapper {
        margin-bottom: 0;
      }

      .navigation-links {
        flex-direction: row;

        .link {
          margin-top: auto;
          margin-left: 1rem;
        }
      }
    }
  }
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
  padding: var(--spacing-xl) 0 0 0;
  background-color: var(--bg-light);

  .contact-wrapper {
    .contact-info {
      .contact-info-card {
        display: flex;
        flex-direction: column;
        margin-bottom: var(--spacing-md);

        .label {
          margin-bottom: var(--spacing-xs);
        }

        .link {
          display: flex;
          align-items: center;
          margin-right: auto;
          margin-bottom: var(--spacing-xs);

          img {
            width: 20px;
            margin-right: var(--spacing-xs);
          }
        }
      }
    }
  }
}

/* Responsive Media Queries */
@media (min-width: 768px) {
  .contact-section {
    .contact-wrapper {
      display: grid;
      grid-template-columns: 2fr 3fr;
    }
  }
}

.nav-logo {
  /* font-size: clamp(1.25rem, 3vw, 1.75rem); */
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
}
