/* ============================================
   Custom Properties
   ============================================ */
:root {
  --color-bg: #f8f6f3;
  --color-bg-footer: #f0ece7;
  --color-text: #2f2f41;
  --color-text-secondary: #5C5A5A;
  --color-accent-blue: #4B7BE5;
  --color-accent-pink: #f24088;
  --color-white: #ffffff;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, sans-serif;

  --section-padding: 100px 80px;
  --container-max: 1140px;

  --transition-smooth: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--color-accent-blue);
  text-decoration: none;
  transition: color var(--transition-smooth);
}

a:hover {
  color: var(--color-accent-pink);
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-text);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }

p {
  margin-bottom: 1em;
}

strong {
  font-weight: 700;
}

/* ============================================
   Logo Font
   ============================================ */
@font-face {
  font-family: 'Aveutan';
  src: url('../fonts/aveutan.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ============================================
   Navigation
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background-color var(--transition-smooth), box-shadow var(--transition-smooth), padding var(--transition-smooth);
}

.nav--scrolled {
  background-color: rgba(248, 246, 243, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.05);
  padding: 12px 0;
}

.nav__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  font-family: 'Aveutan', cursive;
  font-size: 1.6rem;
  color: var(--color-text);
  text-decoration: none;
  letter-spacing: 0.5px;
}

.nav__logo:hover {
  color: var(--color-accent-blue);
}

.nav__links {
  display: flex;
  gap: 36px;
}

.nav__link {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color var(--transition-smooth);
}

.nav__link:hover {
  color: var(--color-accent-blue);
}

.nav__hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-text);
  transition: transform var(--transition-smooth), opacity var(--transition-smooth);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 40px 80px;
  text-align: center;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero__title {
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: var(--color-text-secondary);
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero__cta {
  display: inline-block;
  padding: 14px 36px;
  border: 1.5px solid var(--color-accent-blue);
  color: var(--color-accent-blue);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color var(--transition-smooth), color var(--transition-smooth);
}

.hero__cta:hover {
  background-color: var(--color-accent-blue);
  color: var(--color-white);
}

.hero__watermark {
  position: absolute;
  right: -5%;
  bottom: -5%;
  width: 45%;
  max-width: 500px;
  opacity: 0.12;
  pointer-events: none;
  z-index: 1;
}

/* ============================================
   About Section
   ============================================ */
.about {
  padding: var(--section-padding);
}

.about__container {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.about__image-wrapper {
  position: relative;
}

.about__image {
  width: 100%;
  border-radius: 4px;
  box-shadow: 12px 12px 0 rgba(75, 123, 229, 0.1);
}

.about__title {
  margin-bottom: 24px;
}

.about__text p {
  color: var(--color-text-secondary);
}

.about__badge {
  display: block;
  margin: 24px auto 0;
  max-width: 100px;
  opacity: 0.8;
}

.about__register {
  text-align: center;
  margin-top: 8px;
  font-size: 0.85em;
  color: var(--color-text-secondary);
  opacity: 0.8;
}

/* ============================================
   Services Section
   ============================================ */
.services {
  padding: var(--section-padding);
}

.services__container {
  max-width: var(--container-max);
  margin: 0 auto;
}

.services__title {
  text-align: center;
  margin-bottom: 16px;
}

.services__intro {
  text-align: center;
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto 48px;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.services__grid > :last-child:nth-child(odd) {
  grid-column: 1 / -1;
  max-width: calc(50% - 12px);
  margin: 0 auto;
}

.services__card {
  padding: 32px;
  background: var(--color-white);
  border-radius: 4px;
  border-top: 3px solid transparent;
  transition: box-shadow var(--transition-smooth), transform var(--transition-smooth);
}

.services__card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.services__card--blue {
  border-top-color: var(--color-accent-blue);
}

.services__card--pink {
  border-top-color: var(--color-accent-pink);
}

.services__card h3 {
  margin-bottom: 8px;
}

.services__card p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.services__pricing {
  text-align: center;
  padding: 40px;
  background: var(--color-white);
  border-radius: 4px;
  border-left: 4px solid var(--color-accent-blue);
}

.services__price {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.services__price strong {
  font-size: 2rem;
  color: var(--color-accent-blue);
}

.services__offer {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.services__note {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  margin-bottom: 0;
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
  padding: var(--section-padding);
  text-align: center;
}

.contact__container {
  max-width: 600px;
  margin: 0 auto;
}

.contact__title {
  margin-bottom: 16px;
}

.contact__text {
  color: var(--color-text-secondary);
  margin-bottom: 32px;
}

.contact__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.contact__email {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-accent-blue);
  text-decoration: none;
}

.contact__email:hover {
  color: var(--color-accent-pink);
}

.contact__instagram {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color var(--transition-smooth);
}

.contact__instagram:hover {
  color: var(--color-accent-pink);
}

.contact__icon {
  width: 20px;
  height: 20px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background-color: var(--color-bg-footer);
  padding: 32px 40px;
  text-align: center;
}

.footer__container {
  max-width: var(--container-max);
  margin: 0 auto;
}

.footer__logo {
  font-family: 'Aveutan', cursive;
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  display: block;
  margin-bottom: 8px;
  opacity: 0.6;
}

.footer__copyright {
  font-size: 0.8rem;
  color: var(--color-text-secondary);
  margin-bottom: 0;
}

/* ============================================
   Scroll Offset for Sticky Nav
   ============================================ */
section[id] {
  scroll-margin-top: 80px;
}

/* ============================================
   Selection
   ============================================ */
::selection {
  background-color: rgba(75, 123, 229, 0.15);
  color: var(--color-text);
}

/* ============================================
   Responsive -- Tablet (768-992px)
   ============================================ */
@media (max-width: 992px) {
  :root {
    --section-padding: 80px 40px;
  }

  .about__container {
    gap: 40px;
  }

  .hero__watermark {
    width: 55%;
    opacity: 0.08;
  }
}

/* ============================================
   Responsive -- Mobile (<768px)
   ============================================ */
@media (max-width: 767px) {
  :root {
    --section-padding: 60px 24px;
  }

  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--color-bg);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    transition: right var(--transition-smooth);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.08);
  }

  .nav__links--open {
    right: 0;
  }

  .nav__link {
    font-size: 1rem;
  }

  .nav__hamburger {
    display: flex;
  }

  .nav__hamburger--active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav__hamburger--active span:nth-child(2) {
    opacity: 0;
  }
  .nav__hamburger--active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .nav__overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 90;
  }

  .nav__overlay--visible {
    display: block;
  }

  .hero {
    padding: 100px 24px 60px;
    min-height: 85vh;
  }

  .hero__watermark {
    width: 70%;
    opacity: 0.06;
    right: -10%;
    bottom: -10%;
  }

  .about__container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about__image {
    max-width: 320px;
    margin: 0 auto;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .services__grid > :last-child:nth-child(odd) {
    max-width: 100%;
  }

  .services__pricing {
    padding: 28px 24px;
  }
}
