/* ========================================
   VARIABLES & RESET
   ======================================== */

:root {
  --primary-color: #c9d6d6;
  --secondary-color: #ff675d;
  --text-color: #000000;
  --font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Helvetica, Arial, sans-serif;
  --font-title: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-size-base: 16px;
  --line-height-base: 1.5;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--text-color);
  background-color: var(--primary-color);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ========================================
   LAYOUT
   ======================================== */

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 1024px) {
  .container {
    padding: 0 3rem;
  }
}

/* ========================================
   HEADER
   ======================================== */

.header {
  padding: 2rem 0 1rem;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  background-color: var(--primary-color);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 1rem 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 4, 8, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

.logo .logo__content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo .cta-link {
  display: flex;
  position: relative;
  top: auto;
  right: auto;
}

.logo .cta-link--mobile {
  text-transform: uppercase;
  text-align: right;
  line-height: 1.1;
  gap: 16px;
}

.logo-mobile {
  display: block;
  width: 32px;
  height: 32px;
}

.logo-desktop {
  display: none;
}

.separator {
  display: none;
  width: 1px;
  height: 40px;
  background-color: rgba(0, 0, 0, 0.2);
  margin: 0 0.5rem;
}

.logo__description {
  font-size: 0.75rem;
  line-height: 1.3;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  display: none;
}

.cta-link {
  position: fixed;
  top: 2rem;
  right: 1.5rem;
  background-color: transparent;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 100;
}

.cta-link--desktop {
  display: none;
}

.cta-arrow {
  width: 32px;
  height: 32px;
}

@media (min-width: 1024px) {
  .header {
    padding: 3rem 0 2rem;
  }

  .logo {
    background-color: transparent;
    backdrop-filter: none;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
    width: fit-content;
  }

  .logo .cta-link {
    display: none;
  }

  .cta-link--desktop {
    display: flex;
  }

  .logo-mobile {
    display: none;
  }

  .logo-desktop {
    display: block;
    width: auto;
    height: 40px;
  }

  .logo .logo__content {
    gap: 0.25rem;
  }

  .separator {
    display: none;
  }

  .logo__description {
    display: block;
    font-size: 0.875rem;
    line-height: 1.4;
  }

  .cta-link {
    gap: 20px;
    position: static;
    background-color: transparent;
  }

  .cta-link span {
    font-size: 0.875rem;
    line-height: 1.3;
    text-align: right;
    text-transform: uppercase;
    letter-spacing: 0.02em;
  }

  .cta-arrow {
    width: 28px;
    height: 28px;
  }
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
  padding: 3rem 0 4rem;
  min-height: calc(100vh - 120px);
}

/* Tagline with underline */
.hero-tagline {
  text-align: center;
  margin-bottom: 30px;
}

.tagline-text {
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.tagline-text::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: -5px;
  right: 0;
  height: 6px;
  background-color: var(--secondary-color);
  border-radius: 3px;
  width: calc(100% + 10px);
}

/* Hero Title */
.hero-title {
  font-family: var(--font-title);
  font-size: clamp(2.75rem, 1.45rem + 5.3333vw, 6.25rem);
  font-weight: 300;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 80px;
  letter-spacing: -0.01em;
}

/* Hero Layout (description + image) */
.hero-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 0;
}

.hero-description {
  max-width: 100%;
  padding-top: 14px;
  padding-bottom: 14px;
  border-top: 1px solid var(--text-color);
  border-bottom: 1px solid var(--text-color);
}

.hero-description p {
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(0, 0, 0, 0.85);
  text-align: center;
}

/* Image Container with Overlay */
.hero-image-container {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
}

.hero-image-box {
  position: relative;
  display: none;
}

.hero-image {
  width: 100%;
  height: auto;
}

.image-overlay {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}

.contact-info {
  color: #000000;
  font-size: 0.75rem;
  line-height: 1.5;
  letter-spacing: 0.03em;
  margin: 0;
  margin-block-end: 16px;
}

.contact-info p,
.contact-info a {
  margin: 0;
  text-transform: uppercase;
  font-weight: 500;
}

.contact-info strong {
  font-weight: 700;
  display: block;
  margin-bottom: 0.25rem;
}

.overlay-arrow {
  display: none;
  width: 32px;
  height: 32px;
  align-self: flex-end;
}

/* CTA Button */
.hero-cta {
  text-align: center;
}

.cta-button {
  background-color: var(--secondary-color);
  color: white;
  padding: 1.25rem 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 12px rgba(255, 103, 93, 0.3);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 103, 93, 0.4);
}

.cta-button:active {
  transform: translateY(0);
}

.button-arrow {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

/* Desktop Styles */
@media (min-width: 1024px) {
  .hero {
    padding: 4rem 0 6rem;
  }

  .hero-tagline {
    margin-bottom: 4rem;
  }

  .tagline-text {
    font-size: 1rem;
  }

  .hero-title {
    margin-bottom: 140px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-layout {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
  }

  .hero-image-box {
    display: block;
  }

  .hero-image-arrow {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 24px;
    height: 24px;
  }

  .hero-image {
    max-width: 262px;
  }

  .hero-image-container {
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-end;
    gap: 24px;
  }

  .hero-description {
    padding-top: 2rem;
  }

  .hero-description p {
    font-size: 1.125rem;
    line-height: 1.7;
    text-align: left;
  }

  /* .image-overlay {
    padding: 2rem;
    min-width: 280px;
  } */

  .contact-info {
    font-size: 0.875rem;
    text-align: right;
    margin-block-end: 0;
  }

  .contact-info .phone {
    font-size: 1rem;
  }

  .overlay-arrow {
    width: 40px;
    height: 40px;
  }

  .hero-cta {
    display: none;
  }

  .cta-button {
    padding: 1.5rem 3rem;
    font-size: 1rem;
  }

  .button-arrow {
    width: 24px;
    height: 24px;
  }
}
