/*
Theme Name: Gorleau Art Theme
Author: Gorleau Art
Version: 1.8
*/

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

html, body {
  width: 100%;
  min-height: 100vh;
  background-color: #000000;
  color: #ffffff;
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
}

/* ==========================================
   HEADER & LOGO
   ========================================== */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 40px;
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  z-index: 200;
}

.header-logo {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: fit-content; /*  контейнер точно по ширине NATALIA GORLEAU */
}

.brand-title {
  font-size: 16px;
  letter-spacing: 2px;
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-subtitle {
    display: block !important;
    font-size: 9.8px !important;
    letter-spacing: 0.89em; /* Равномерный межбуквенный интервал без гигантского пробела */
    color: #888888;
    text-transform: uppercase;
    text-align: justify;      
    text-align-last: justify;  
}

/* ==========================================
   BUTTONS
   ========================================== */
.header-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.mobile-nav-btn {
  display: none !important;
}

.nav-btn {
  background: transparent;
  border: 1px solid transparent;
  color: #cccccc;
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-decoration: none;
  padding: 8px 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
}

.nav-btn:hover {
  color: #d4af37;
  border-color: rgba(212, 175, 55, 0.4);
}

/* ==========================================
   DESKTOP DROPDOWN (Справа от [ WORKS ])
   ========================================== */
.works-dropdown-container {
  position: relative;
}

.works-dropdown {
  position: absolute;
  top: calc(100% + 20px);
  right: 0;
  width: 260px;
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  gap: 22px;
  pointer-events: none;
  z-index: 110;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.works-dropdown.active {
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0);
}

.dropdown-item {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  transition: color 0.3s ease;
}

.work-num {
  font-size: 20px;
  font-weight: 200;
  color: #ffffff;
  letter-spacing: 2px;
  line-height: 1;
  opacity: 0.95;
  transition: opacity 0.3s ease;
}

.work-title {
  font-size: 9px;
  font-weight: 500;
  color: #888888;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  line-height: 1.3;
  text-align: left;
  padding-left: 2px;
  max-width: 250px;
  word-break: break-word;
  transition: color 0.3s ease;
}

.dropdown-item:hover .work-title {
  color: #d4af37;
}

.dropdown-item:hover .work-num {
  opacity: 1;
  color: #ffffff;
}

/* Оверлей скрыт на десктопе */
.mobile-overlay {
  display: none;
}

/* ==========================================
   MAIN CONTENT & CENTRAL MONOGRAM
   ========================================== */
.main-content {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 120px 20px 80px;
  gap: 50px;
}

.logo-container {
  opacity: 0;
  transform: scale(0.95) translateY(20px);
  transition: opacity 1.8s ease-out, transform 1.8s ease-out;
  will-change: opacity, transform;
}

.logo-container.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.logo-container img {
  width: 320px;
  max-width: 80vw;
  height: auto;
  display: block;

}

.info-card {
  width: 100%;
  max-width: 460px;
  background: rgba(18, 18, 18, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 40px 30px;
  backdrop-filter: blur(10px);
  z-index: 10;
}

.info-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.info-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  margin-bottom: 30px;
}

.diamond-icon {
  display: inline-block;
  margin: 0 14px;
  vertical-align: middle;
}

.diamond-icon::before {
  content: "\2014";
  color: #888888;
  font-size: 11px;
}

.info-title {
  font-size: 11px;
  letter-spacing: 0.45em;
  margin-bottom: 25px;
  color: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-indent: 0.45em;
}

.info-label {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: #888888;
  margin-bottom: 8px;
}

.info-email {
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 30px;
}

.info-email a {
  color: #ffffff;
  text-decoration: none;
  border-bottom: 0.5px solid transparent;
  padding-bottom: 2px;
  transition: all 0.3s ease;
}

.info-email a:hover {
  color: #d4af37;
  border-bottom-color: rgba(212, 175, 55, 0.4);
}

.info-button {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: #cccccc;
  text-decoration: none;
  border: 1px solid transparent;
  padding: 8px 12px;
  margin-bottom: 35px;
  transition: all 0.3s ease;
}

.info-button:hover {
  color: #d4af37;
  border-color: rgba(212, 175, 55, 0.4);
}

.info-copyright {
  font-size: 8px;
  letter-spacing: 1.5px;
  color: #555555;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-copyright .diamond-icon {
  margin: 0 8px;
}

/* Значок копирайта  в футере */
.info-copyright .diamond-icon::before {
  content: "\00A9";
  color: #555555;
  font-size: 10px;
}

/* ===================================================
   MOBILE ADAPTIVE (@media max-width: 768px)
   =================================================== */
@media (max-width: 768px) {
  .site-header {
    padding: 24px 20px;
  }

/* Исправление подзаголовка на мобильных */
  .brand-subtitle {
    display: block !important;
    font-size: 8.1px !important;
    letter-spacing: 0.85em; /* Равномерный межбуквенный интервал без гигантского пробела */
    color: #888888;
    text-transform: uppercase;
    text-align: justify;      
    text-align-last: justify;  
   
    
  }

  .brand-title {
    font-size: 13px;
    letter-spacing: 2px;
  }

  /* Переключение кнопок */
  .desktop-nav {
    display: none !important;
  }

  .mobile-nav-btn {
    display: inline-block !important;
  }

  /* Мобильный полноэкранный оверлей */
  .mobile-overlay {
    display: flex !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000000;
    z-index: 150;
    justify-content: center;
    align-items: center;
    padding: 40px 25px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
  }

  .mobile-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .overlay-inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    max-width: 320px;
    align-items: flex-start; /* Выравнивание всего содержимого по левому краю */
  }

  /* Заголовок [ WORKS ] над списком работ */
  .overlay-inner::before {
    content: "[ WORKS ]";
    font-size: 10px;
    letter-spacing: 1.5px;
    color: #ffffff;
    opacity: 0.5;
    margin-bottom: 4px;
    align-self: flex-start;
  }

  /* Элементы списка работ в оверлее */
  .overlay-item {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity 0.4s ease, transform 0.4s ease;
  }

  .mobile-overlay.active .overlay-item {
    opacity: 1;
    transform: translateY(0);
    transition-delay: calc(var(--item-index) * 0.07s);
  }

  .overlay-item .work-num {
    font-size: 22px;
    transition: color 0.3s ease, opacity 0.3s ease;
  }

  .overlay-item .work-title {
    font-size: 10px;
    max-width: 100%;
    transition: color 0.3s ease;
  }

  /* Подсветка золотом при наведении и нажатии на работы */
  .overlay-item:hover .work-title,
  .overlay-item:active .work-title,
  .overlay-item:focus .work-title,
  .overlay-item:hover .work-num,
  .overlay-item:active .work-num,
  .overlay-item:focus .work-num {
    color: #d4af37;
    opacity: 1;
  }

  /* Кнопка [ ABOUT ] в оверлее */
  .overlay-about {
    font-size: 10px;
    letter-spacing: 1.5px;
    color: #ffffff;
    opacity: 0.5;
    margin-top: 6px;
    margin-left: -12px;
    padding: 8px 12px;
    border: 1px solid transparent;
    background: transparent;
    align-self: flex-start;
    transition: all 0.3s ease;
  }

  /* Золото и золотая рамка при ховере и клике */
  .overlay-about:hover,
  .overlay-about:active,
  .overlay-about:focus {
    opacity: 1;
    color: #d4af37;
    border-color: rgba(212, 175, 55, 0.4);
  }

  /* Оптимизация отступов */
  .main-content {
    padding-top: 100px;
    padding-bottom: 50px;
    gap: 25px;
  }

  .logo-container img {
    width: 200px;
  }

  .info-card {
    padding: 28px 16px;
  }

  .info-title {
    font-size: 9px;
    letter-spacing: 0.3em;
  }
}