/* =========================================================
   GIN TATTOOS
   HEADER
   ========================================================= */

:root {
  --gin-red: #d9000a;
  --gin-red-dark: #b80008;

  --gin-black: #111111;
  --gin-grey: #686868;
  --gin-grey-dark: #4d4d4d;
  --gin-light-grey: #eeeeee;

  --gin-white: #ffffff;
}

body {
  margin: 0;
  padding: 0;
}


/* =========================================================
   HEADER — GLASSMORPHISM
   ========================================================= */

.site-header {
  position: fixed;

  top: 14px;
  left: 50%;

  width: min(1280px, calc(100% - 50px));
  height: 76px;

  transform: translateX(-50%);

  z-index: 9999;

  /* Glass effect */
  background: rgba(255, 255, 255, 0.72);

  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);

  /* Curved glass border */
  border: 1px solid rgba(255, 255, 255, 0.75);

  border-radius: 24px;

  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);

  transition:
    background 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    top 0.35s ease,
    width 0.35s ease;
}


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

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.88);

  border-color: rgba(255, 255, 255, 0.9);

  box-shadow:
    0 16px 45px rgba(0, 0, 0, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}


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

.header-container {
  width: calc(100% - 40px);

  height: 100%;

  margin: 0 auto;

  display: flex;

  align-items: center;
  justify-content: space-between;
}


/* =========================================================
   LOGO AREA
   ========================================================= */

.site-logo {
  display: flex;

  align-items: center;

  gap: 12px;

  text-decoration: none;

  color: var(--gin-black);

  flex-shrink: 0;

  animation:
    logoEntrance 0.9s
    cubic-bezier(.16, 1, .3, 1)
    both;
}


/* =========================================================
   LOGO MARK
   ========================================================= */

.logo-mark {
  width: 46px;
  height: 46px;

  display: flex;

  align-items: center;
  justify-content: center;

  position: relative;

  flex-shrink: 0;

  border-radius: 50%;

  /* Base border */
  border: 1px solid rgba(217, 0, 10, 0.12);

  background: rgba(255, 255, 255, 0.45);

  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.7),
    0 4px 15px rgba(217, 0, 10, 0.06);

  overflow: visible;
}


/* =========================================================
   ANIMATED RED BORDER
   ========================================================= */

.logo-mark::before {
  content: "";

  position: absolute;

  inset: -2px;

  border-radius: 50%;

  padding: 2px;

  background:
    conic-gradient(
      from 0deg,
      transparent 0deg,
      transparent 70deg,
      var(--gin-red) 110deg,
      #ff3b3b 150deg,
      transparent 210deg,
      transparent 360deg
    );

  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);

  -webkit-mask-composite: xor;

  mask-composite: exclude;

  animation:
    logoBorderSpin 3s linear infinite;

  pointer-events: none;

  z-index: 1;
}


/* =========================================================
   INNER RED GLOW
   ========================================================= */

.logo-mark::after {
  content: "";

  position: absolute;

  inset: 1px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(217, 0, 10, 0.08),
      transparent 68%
    );

  opacity: 0.7;

  animation:
    logoGlow 2.8s ease-in-out infinite;

  pointer-events: none;

  z-index: 0;
}


/* =========================================================
   LOGO IMAGE
   ========================================================= */

.logo-mark img {
  width: 100%;
  height: 100%;

  object-fit: contain;

  position: relative;

  z-index: 2;

  border-radius: 50%;

  transition:
    transform 0.45s cubic-bezier(.16, 1, .3, 1),
    filter 0.35s ease;
}


/* =========================================================
   LOGO HOVER
   ========================================================= */

.site-logo:hover .logo-mark img {
  transform:
    scale(1.08)
    rotate(-3deg);
}


.site-logo:hover .logo-mark::after {
  opacity: 1;
}


/* =========================================================
   LOGO BORDER ANIMATION
   ========================================================= */

@keyframes logoBorderSpin {

  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }

}


@keyframes logoGlow {

  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.92);
  }

  50% {
    opacity: 0.9;
    transform: scale(1.05);
  }

}


/* =========================================================
   LOGO TEXT
   ========================================================= */

.logo-copy {
  display: flex;

  flex-direction: column;

  justify-content: center;

  line-height: 1;

  min-width: 0;
}


/* =========================================================
   GIN TATTOOS
   ========================================================= */

.logo-name {
  display: block;

  font-family: "Roboto", sans-serif;

  font-size: 1.15rem;

  font-weight: 900;

  letter-spacing: 0.14em;

  color: var(--gin-black);

  white-space: nowrap;

  transform: translateY(5px);

  opacity: 0;

  animation:
    logoTextDown 0.65s 0.18s
    cubic-bezier(.16, 1, .3, 1)
    forwards;
}


/* =========================================================
   TAGLINE
   ========================================================= */

.logo-tagline {
  display: block;

  margin-top: 8px;

  font-family: "Roboto", sans-serif;

  font-size: 0.48rem;

  font-weight: 600;

  letter-spacing: 0.27em;

  color: var(--gin-grey);

  white-space: nowrap;

  transform: translateY(-5px);

  opacity: 0;

  animation:
    logoTextUp 0.65s 0.3s
    cubic-bezier(.16, 1, .3, 1)
    forwards;
}


/* =========================================================
   LOGO ANIMATIONS
   ========================================================= */

@keyframes logoEntrance {

  from {
    opacity: 0;
    transform: translateX(-20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }

}


@keyframes logoTextDown {

  from {
    opacity: 0;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }

}


@keyframes logoTextUp {

  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }

}


/* =========================================================
   DESKTOP NAVIGATION
   ========================================================= */

.desktop-nav {
  display: flex;

  align-items: center;

  gap: 32px;
}


.nav-link {
  position: relative;

  color: var(--gin-grey);

  text-decoration: none;

  font-family: "Roboto", sans-serif;

  font-size: 0.74rem;

  font-weight: 700;

  text-transform: uppercase;

  letter-spacing: 0.16em;

  padding: 8px 0;

  transition:
    color 0.25s ease,
    transform 0.25s ease;
}


/* =========================================================
   NAV UNDERLINE
   ========================================================= */

.nav-link::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: 0;

  width: 0;
  height: 2px;

  border-radius: 10px;

  background: var(--gin-red);

  transition:
    width 0.3s ease;
}


.nav-link:hover {
  color: var(--gin-red);

  transform: translateY(-1px);
}


.nav-link:hover::after {
  width: 100%;
}


.nav-link.active {
  color: var(--gin-red);
}


.nav-link.active::after {
  width: 100%;
}


/* =========================================================
   BOOK NOW
   ========================================================= */

.header-book-btn {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-width: 132px;

  padding: 14px 23px;

  border-radius: 999px;

  background: var(--gin-red);

  color: #ffffff;

  text-decoration: none;

  font-family: "Roboto", sans-serif;

  font-size: 0.71rem;

  font-weight: 800;

  text-transform: uppercase;

  letter-spacing: 0.12em;

  box-shadow:
    0 8px 22px rgba(217, 0, 10, 0.20);

  transition:
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}


.header-book-btn:hover {
  background: var(--gin-red-dark);

  transform: translateY(-2px);

  box-shadow:
    0 12px 30px rgba(217, 0, 10, 0.28);
}


/* =========================================================
   MOBILE HAMBURGER
   ========================================================= */

.mobile-menu-btn {
  display: none;

  width: 48px;
  height: 48px;

  padding: 0;

  border: none;

  border-radius: 50%;

  background: #eeeeee;

  align-items: center;
  justify-content: center;

  flex-direction: column;

  gap: 5px;

  cursor: pointer;

  box-shadow:
    0 5px 16px rgba(0, 0, 0, 0.09);

  transition:
    background 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}


.mobile-menu-btn:hover {
  background: #e3e3e3;

  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.12);
}


.mobile-menu-btn:active {
  transform: scale(0.92);
}


.mobile-menu-btn span {
  display: block;

  width: 18px;
  height: 2px;

  border-radius: 10px;

  background: #666666;

  transition:
    transform 0.3s ease,
    opacity 0.2s ease;
}


/* =========================================================
   HAMBURGER → X
   ========================================================= */

.mobile-menu-btn.open span:nth-child(1) {
  transform:
    translateY(7px)
    rotate(45deg);
}


.mobile-menu-btn.open span:nth-child(2) {
  opacity: 0;
}


.mobile-menu-btn.open span:nth-child(3) {
  transform:
    translateY(-7px)
    rotate(-45deg);
}


/* =========================================================
   MOBILE NAVIGATION
   ========================================================= */

.mobile-nav {
  position: fixed;

  top: 0;
  right: 0;

  width: min(390px, 88vw);

  height: 100dvh;

  z-index: 10001;

  background: rgba(255, 255, 255, 0.94);

  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);

  transform: translateX(100%);

  visibility: hidden;

  transition:
    transform 0.45s cubic-bezier(.77, 0, .18, 1),
    visibility 0.45s ease;

  box-shadow:
    -20px 0 70px rgba(0, 0, 0, 0.15);
}


.mobile-nav.open {
  transform: translateX(0);

  visibility: visible;
}


/* =========================================================
   MOBILE NAV INNER
   ========================================================= */

.mobile-nav-inner {
  height: 100%;

  padding:
    28px
    28px
    25px;

  display: flex;

  flex-direction: column;
}


/* =========================================================
   MOBILE NAV TOP
   ========================================================= */

.mobile-nav-top {
  display: flex;

  align-items: center;
  justify-content: space-between;

  padding-bottom: 25px;

  border-bottom: 1px solid var(--gin-light-grey);
}


.mobile-nav-top span {
  color: var(--gin-grey);

  font-family: "Roboto", sans-serif;

  font-size: 0.64rem;

  font-weight: 700;

  letter-spacing: 0.18em;
}


.mobile-close-btn {
  width: 42px;
  height: 42px;

  display: grid;

  place-items: center;

  border: none;

  border-radius: 50%;

  background: #eeeeee;

  color: #555555;

  font-family: "Roboto", sans-serif;

  font-size: 1.8rem;

  line-height: 1;

  cursor: pointer;

  transition:
    background 0.25s ease,
    transform 0.25s ease;
}


.mobile-close-btn:hover {
  background: #e1e1e1;

  transform: rotate(90deg);
}


/* =========================================================
   MOBILE LINKS
   ========================================================= */

.mobile-links {
  display: flex;

  flex-direction: column;

  margin-top: 35px;
}


.mobile-links a {
  display: flex;

  align-items: center;

  gap: 18px;

  padding: 17px 0;

  border-bottom: 1px solid var(--gin-light-grey);

  color: var(--gin-grey);

  text-decoration: none;

  font-family: "Roboto", sans-serif;

  font-size: 1.5rem;

  font-weight: 700;

  letter-spacing: -0.02em;

  transition:
    color 0.25s ease,
    padding-left 0.25s ease;
}


.mobile-links a span {
  width: 25px;

  color: var(--gin-red);

  font-family: "Roboto", sans-serif;

  font-size: 0.58rem;

  font-weight: 700;

  letter-spacing: 0.05em;
}


.mobile-links a:hover {
  color: var(--gin-red);

  padding-left: 8px;
}


/* =========================================================
   MOBILE BOOK BUTTON
   ========================================================= */

.mobile-book-btn {
  display: flex;

  align-items: center;

  justify-content: space-between;

  margin-top: auto;

  padding: 18px 21px;

  border-radius: 14px;

  background: var(--gin-red);

  color: #ffffff;

  text-decoration: none;

  font-family: "Roboto", sans-serif;

  font-size: 0.72rem;

  font-weight: 800;

  text-transform: uppercase;

  letter-spacing: 0.12em;

  box-shadow:
    0 12px 30px rgba(217, 0, 10, 0.22);

  transition:
    background 0.25s ease,
    transform 0.25s ease;
}


.mobile-book-btn:hover {
  background: var(--gin-red-dark);

  transform: translateY(-2px);
}


.mobile-book-btn span {
  font-size: 1.2rem;
}


/* =========================================================
   MOBILE NAV FOOTER
   ========================================================= */

.mobile-nav-footer {
  display: flex;

  justify-content: space-between;

  gap: 15px;

  margin-top: 20px;

  color: var(--gin-grey);

  font-family: "Roboto", sans-serif;

  font-size: 0.56rem;

  font-weight: 700;

  letter-spacing: 0.1em;
}


/* =========================================================
   OVERLAY
   ========================================================= */

.mobile-nav-overlay {
  position: fixed;

  inset: 0;

  z-index: 10000;

  background: rgba(0, 0, 0, 0.42);

  opacity: 0;

  visibility: hidden;

  backdrop-filter: blur(3px);

  -webkit-backdrop-filter: blur(3px);

  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
}


.mobile-nav-overlay.open {
  opacity: 1;

  visibility: visible;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1050px) {

  .site-header {
    width: calc(100% - 40px);
  }

  .header-container {
    width: calc(100% - 34px);
  }

  .desktop-nav {
    gap: 20px;
  }

  .nav-link {
    font-size: 0.68rem;
  }

  .logo-mark {
    width: 42px;
    height: 42px;
  }

  .logo-name {
    font-size: 1rem;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 850px) {

  .site-header {
    top: 10px;

    width: calc(100% - 28px);

    height: 72px;

    border-radius: 20px;
  }

  .header-container {
    width: calc(100% - 28px);
  }

  .desktop-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .logo-mark {
    width: 40px;
    height: 40px;
  }

  .logo-name {
    font-size: 0.95rem;
  }

  .logo-tagline {
    font-size: 0.42rem;

    letter-spacing: 0.22em;
  }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

  .site-header {
    top: 8px;

    width: calc(100% - 20px);

    height: 68px;

    border-radius: 18px;
  }

  .header-container {
    width: calc(100% - 22px);
  }

  .logo-mark {
    width: 37px;
    height: 37px;
  }

  .logo-name {
    font-size: 0.88rem;

    letter-spacing: 0.12em;
  }

  .logo-tagline {
    margin-top: 6px;

    font-size: 0.37rem;

    letter-spacing: 0.19em;
  }

  .mobile-menu-btn {
    width: 44px;
    height: 44px;
  }

  .mobile-nav {
    width: 92vw;
  }

  .mobile-nav-inner {
    padding: 22px;
  }

  .mobile-links a {
    font-size: 1.35rem;

    padding: 15px 0;
  }

}


/* =========================================================
   VERY SMALL DEVICES
   ========================================================= */

@media (max-width: 360px) {

  .site-header {
    width: calc(100% - 14px);

    border-radius: 16px;
  }

  .header-container {
    width: calc(100% - 18px);
  }

  .site-logo {
    gap: 8px;
  }

  .logo-mark {
    width: 34px;
    height: 34px;
  }

  .logo-name {
    font-size: 0.78rem;
  }

  .logo-tagline {
    font-size: 0.32rem;
  }

  .mobile-menu-btn {
    width: 40px;
    height: 40px;
  }

}