/* ========================================
   KUVARS YAPI & İÇ MİMARLIK
   Hero Page Stylesheet
   Color Palette:
     #111111 — Siyah
     #F7F6F3 — Krem
     #C9C7C2 — Açık Gri
     #8E8A84 — Orta Gri
     #B08A5A — Bronz/Altın
======================================== */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --black:       #111111;
  --cream:       #F7F6F3;
  --light-grey:  #C9C7C2;
  --mid-grey:    #8E8A84;
  --gold:        #B08A5A;
  --white:       #FFFFFF;
  --white-60:    rgba(255,255,255,0.60);
  --white-30:    rgba(255,255,255,0.30);
  --white-10:    rgba(255,255,255,0.10);
}

html {
  scroll-behavior: smooth;
  cursor: none;
}

body {
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  background: var(--black);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  cursor: none;
}

/* =====================
   FONT SYSTEM
   Headings  → Cormorant Garamond (closest to Neue Haas feel for display)
   Body/Nav  → Montserrat (clean, spaced, sans-serif)
===================== */

/* =====================
   HERO SECTION
===================== */
.hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Background image */
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('hero-bg.webp') center center / cover no-repeat;
  z-index: 0;
  transform: scale(1.03);
  animation: bgReveal 2s ease-out forwards;
}

@keyframes bgReveal {
  from { transform: scale(1.08); opacity: 0.6; }
  to   { transform: scale(1.00); opacity: 1; }
}

/* Subtle gradient overlay - lightened to keep background image fully bright and colorful */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(10,10,10,0.22) 0%, transparent 60%),
    linear-gradient(to top, rgba(10,10,10,0.15) 0%, transparent 35%);
  z-index: 1;
}

/* =====================
   NAVBAR
===================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 52px;
  background: linear-gradient(to bottom, rgba(17,17,17,0.92) 0%, transparent 100%);
  backdrop-filter: blur(4px);
  animation: fadeDown 1s 0.3s ease both;
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Left — Menu group */
.nav-left {
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
}

.menu-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px; /* Spaced out lines */
  padding: 4px 0;
  width: 32px;
  height: 32px;
}

.hamburger-line {
  display: block;
  width: 32px;
  height: 1px;
  background: var(--white);
  transition: all 0.3s ease;
}

/* In image, middle line is slightly shorter */
.hamburger-line:nth-child(2) {
  width: 24px;
}

.menu-btn:hover .hamburger-line {
  background: var(--gold);
  width: 32px;
}

.menu-label {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.25em;
  color: var(--white);
}

/* Center links — absolute center of navbar */
.nav-links {
  list-style: none;
  display: flex;
  gap: 48px;
  align-items: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: rgba(255,255,255,0.80);
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 1px;
  background: var(--white);
  transition: width 0.4s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active::after {
  width: 100%;
  background: var(--white);
}

/* Right — Language */
.nav-right {
  display: flex;
  align-items: center;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.2em;
  cursor: pointer;
}

.lang-btn:hover {
  color: var(--gold);
}

.lang-arrow {
  transition: transform 0.3s ease;
}

.lang-btn:hover .lang-arrow {
  transform: translateY(2px);
}

/* =====================
   HERO CONTENT
===================== */
.hero-content {
  position: absolute;
  top: 50%;
  left: 52px;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  width: calc(100% - 104px);
  z-index: 2;
  animation: fadeUp 1.2s 0.6s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(calc(-50% + 20px)); }
  to   { opacity: 1; transform: translateY(-50%); }
}

.hero-left {
  display: flex;
  flex-direction: column;
}

.logo-block {
  margin-bottom: 60px;
}

.logo-img {
  max-width: clamp(280px, 28vw, 420px);
  width: 100%;
  height: auto;
  display: block;
}

.hero-tagline {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.2vw, 1.25rem);
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255,255,255,0.65);
  margin-bottom: 80px;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 24px;
  cursor: pointer;
  width: fit-content;
}

.cta-label {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--white);
}

.cta-line {
  width: 60px;
  height: 1px;
  background: rgba(255,255,255,0.3);
  transition: width 0.4s ease, background 0.4s ease;
}

.cta-arrow-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.4s ease;
}

.hero-cta:hover .cta-line {
  width: 80px;
  background: var(--gold);
}

.hero-cta:hover .cta-arrow-btn {
  border-color: var(--gold);
  transform: translateX(5px);
}

/* RIGHT NUMBER NAV */
.hero-right-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-end;
  animation: fadeRight 1.2s 0.7s ease both;
}

@keyframes fadeRight {
  from { opacity: 0; transform: translateX(28px); }
  to   { opacity: 1; transform: translateX(0); }
}

.right-nav-item {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  cursor: pointer;
  opacity: 0.4;
  transition: opacity 0.3s;
}

.right-nav-item.active {
  opacity: 1;
}

.right-nav-item:hover {
  opacity: 1;
}

.right-nav-item:hover .rn-line {
  width: 48px;
}

.right-nav-item:hover .rn-num,
.right-nav-item:hover .rn-title {
  color: var(--white);
}

.rn-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--white);
}

.rn-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.28em;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
}

.rn-line {
  width: 32px;
  height: 1px;
  background: var(--white);
  margin-top: 4px;
  transition: width 0.3s ease;
}

/* =====================
   BOTTOM BAR
===================== */
.hero-bottom {
  position: absolute;
  bottom: 36px;
  left: 52px;
  right: 52px;
  z-index: 5;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  animation: fadeUp 1s 1s ease both;
}

/* Scroll indicator */
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.scroll-line {
  width: 1px;
  height: 44px;
  background: var(--white-30);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: var(--white-60);
  animation: scrollAnim 2s ease-in-out infinite;
}

@keyframes scrollAnim {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(350%); }
}

.scroll-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.28em;
  color: rgba(255,255,255,0.85);
  writing-mode: horizontal-tb;
}

/* Sound control */
.sound-control {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sound-label,
.sound-sep,
.sound-status {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.85);
}

.sound-status {
  color: var(--white);
}

.sound-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--white-30);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 4px;
  transition: border-color 0.3s, transform 0.3s;
}

.sound-btn:hover {
  border-color: var(--white-60);
  transform: scale(1.08);
}

/* =====================
   CURSOR GLOW EFFECT
===================== */
.cursor-glow {
  position: fixed;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(176,138,90,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
}

/* =====================
   MOBILE RESPONSIVE
===================== */
@media (max-width: 768px) {
  /* Disable custom cursor on touch devices to avoid layout/touch bugs */
  .cursor-follower, 
  .cursor-dot, 
  .cursor-glow {
    display: none !important;
  }
  html, body, a, button, .menu-btn, .sound-btn {
    cursor: auto !important;
  }

  .navbar {
    padding: 20px 24px;
    background: rgba(17, 17, 17, 0.85);
  }
  
  .navbar.mobile-open {
    background: #111111;
  }

  .nav-links { 
    display: flex; 
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #111111;
    z-index: 90;
    justify-content: flex-start;
    align-items: center;
    gap: 40px;
    padding-top: 10vh;
    transform: translateX(0);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
  }

  .navbar.mobile-open .nav-links {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    font-size: 1.4rem;
    letter-spacing: 0.15em;
  }
  .hero-bg {
    background-image: url('hero-bg-mobile.webp');
    background-position: center center;
    background-size: cover;
  }
  .hero-content { 
    left: 24px;
    top: 44%; /* Push content slightly higher to clear the crystal */
    width: calc(100% - 48px);
    padding: 0;
    flex-direction: column; 
    align-items: flex-start; 
    justify-content: center; 
  }
  .logo-block {
    margin-bottom: 20px;
  }
  .logo-img {
    max-width: 230px;
  }
  .hero-tagline {
    margin-bottom: 35px;
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    max-width: 75%; /* Limit width to keep text on the left, clear of the crystal */
  }
  .hero-tagline br {
    display: none; /* Let text wrap naturally on narrow screens */
  }
  .hero-cta {
    gap: 16px;
  }
  .cta-line {
    width: 35px;
  }
  .hero-right-nav { 
    display: none; 
  }
  .hero-bottom { 
    left: 24px;
    right: 24px;
    padding: 0 0 24px; 
  }
}
