:root {
  --primary: #6b4c3b;
  --text: #ffffff;
  --bg-overlay: rgba(0, 0, 0, 0.6);
  --bg-footer: rgba(0, 0, 0, 0.4);
  --radius: 12px;
  --transition: 0.3s ease;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100vh;
  height: 100%;
  margin: 0;
  font-family: "Montserrat", sans-serif;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("assets/background.svg") center/cover no-repeat fixed;
  color: var(--text);
  display: flex;
  flex-direction: column;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

/* HEADER */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--bg-overlay);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  z-index: 1000;
}

.header-spacer {
  height: 80px;
  width: 100%;
  flex-shrink: 0;
}

.logo img {
  height: 50px;
  filter: brightness(0) invert(1);
  transition: transform var(--transition), filter var(--transition);
}

.logo img:hover {
  transform: scale(1.1);
  filter: brightness(1) invert(0);
}

nav.desktop {
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav.desktop a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition);
}

nav.desktop a:hover {
  color: var(--primary);
}

.lang-switch {
  display: flex;
  gap: 0.75rem;
}

.lang-switch a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  opacity: 0.7;
  transition: opacity var(--transition);
}

.lang-switch a.active {
  opacity: 1;
}

/* HAMBURGER MENU */
.hamburger {
  display: none;
  width: 30px;
  height: 24px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  height: 3px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* MOBİL NAV */
nav.mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--bg-overlay);
  backdrop-filter: blur(5px);
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  z-index: 1000;
}

.mobile.open {
  display: flex;
}

.lang-switch-mobile {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.lang-switch-mobile a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  opacity: 0.7;
  transition: opacity var(--transition);
}

.lang-switch-mobile a.active {
  opacity: 1;
}

nav.mobile a {
  color: var(--text);
  text-decoration: none;
  font-size: 1.2rem;
  margin: 0.5rem 0;
}

.close-menu {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--text);
  align-self: flex-end;
  cursor: pointer;
}

/* FOOTER */
.bottom-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: var(--bg-footer);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1rem 2rem;
  gap: 1rem;
  margin-top: auto;
}

.social-modern {
  display: flex;
  gap: 1rem;
  justify-self: start;
}

.social-modern a {
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: transform var(--transition), background var(--transition);
}

.social-modern a img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
  transition: filter var(--transition);
}

.social-modern a:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.9);
}

.social-modern a:hover img {
  filter: brightness(0) invert(0);
}

.footer-text {
  justify-self: center;
  font-size: 0.8rem;
  opacity: 0.6;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.contact-group {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 0.75rem;
  flex-wrap: wrap;
  text-align: right;
  max-width: 100%;
}

.contact-group .address {
  font-size: 0.85rem;
  opacity: 0.85;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 280px;
}

.directions-btn {
  padding: 0.5rem 1rem;
  background: transparent;
  border: 1px solid var(--text);
  border-radius: var(--radius);
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--text);
  transition: background var(--transition), color var(--transition), transform var(--transition);
  white-space: nowrap;
}

.directions-btn:hover {
  background: var(--text);
  color: var(--primary);
  transform: translateY(-2px);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  nav.desktop {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .bottom-bar {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 1rem;
  }

  .social-modern,
  .footer-text,
  .contact-group {
    justify-self: center;
  }

  .contact-group {
    flex-direction: column;
    gap: 0.5rem;
  }
}