/* =========================
   VertonaHub – Header & Footer Styles
   Clean, editorial, future-proof
   ========================= */

:root {
  --bg-main: #1a1a2e;        /* dark navy */
  --bg-soft: #060715;        /* near-black navy */
  --bg-accent: #2a2a3e;      /* soft accent */
  --text-main: #f0f0f5;      /* off-white */
  --text-muted: #b0b0c3;     /* muted gray */
  --accent: #ff6f61;         /* coral accent */
  --border-soft: rgba(255,255,255,0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg-soft);
  color: var(--text-main);
}

a {
  cursor: pointer;
}

ul,
li {
  list-style: none;   
  padding-left: 0;   
  margin: 0;          
}


/* ==========================
   Header base
========================== */
#site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e6e6e6;
  font-family: 'Inter', 'Roboto', sans-serif;
  color: #222;
}

#site-header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

/* ==========================
   Logo section
========================== */
.logo-section {
  display: flex;
  flex-direction: column;
}

.logo-section a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-section img {
  height: 42px;
  width: auto;
}

.brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  font-weight: 600;
  color: #111;
}

.tagline {
  margin-top: 4px;
  font-size: 0.85rem;
  color: #666;
  max-width: 260px;
  line-height: 1.3;
}

/* ==========================
   Navigation (simple)
========================== */
#main-navigation {
  flex-grow: 1;
}

.nav-list {
  display: flex;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  justify-content: center;
}

.nav-link {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: #333;
  position: relative;
  padding: 4px 0;
}

/* subtle underline hover */
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background-color: #333;
  transition: width 0.25s ease;
}

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

/* CTA without red */
.nav-link.cta {
  font-weight: 600;
  color: #111;
}

/* ==========================
   Disable submenu completely
========================== */
.submenu {
  display: none !important;
}

/* ==========================
   Header info (contacts)
========================== */
.header-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.78rem;
  color: #555;
  text-align: right;
  white-space: nowrap;
}

.header-info span {
  line-height: 1.2;
}

/* ==========================
   Responsive
========================== */
@media (max-width: 1024px) {
  #site-header .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .nav-list {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 16px;
  }

  .header-info {
    text-align: left;
  }
}

/* ==========================
   Footer base
========================== */
#site-footer {
  background-color: #0f0f11;
  color: #d1d1d1;
  font-family: 'Inter', 'Roboto', sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

#site-footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
}

/* ==========================
   Footer columns
========================== */
.footer-column h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 14px;
  letter-spacing: 0.4px;
}

.footer-column p,
.footer-column li,
.footer-column address {
  font-size: 0.85rem;
  color: #cfcfcf;
}

.footer-column p {
  margin-bottom: 10px;
}

.footer-small {
  font-size: 0.75rem;
  color: #9a9a9a;
}

/* ==========================
   Lists & links
========================== */
.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column a {
  color: #cfcfcf;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: #ffffff;
}

/* ==========================
   About column tweaks
========================== */
.footer-about p {
  max-width: 280px;
}

/* ==========================
   Contact column
========================== */
.footer-contact address {
  font-style: normal;
  margin-bottom: 10px;
}

.footer-contact p {
  margin-bottom: 6px;
}

/* ==========================
   Bottom bar
========================== */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  background-color: #0c0c0e;
}

.footer-bottom .container {
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: #9a9a9a;
}

.footer-bottom p {
  margin: 0;
}

/* ==========================
   Responsive
========================== */
@media (max-width: 1024px) {
  #site-footer .container {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .footer-about {
    grid-column: span 2;
  }
}

@media (max-width: 600px) {
  #site-footer .container {
    grid-template-columns: 1fr;
    padding: 40px 20px;
  }

  .footer-bottom .container {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* ==========================
   Cookie banner base
========================== */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 520px;
  width: calc(100% - 32px);
  background-color: #0f0f11;
  color: #e0e0e0;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 9999;
  font-family: 'Inter', 'Roboto', sans-serif;
}

/* visible state */
.cookie-banner.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ==========================
   Content
========================== */
.cookie-content {
  padding: 20px 22px;
}

.cookie-content p {
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0 0 14px 0;
  color: #d6d6d6;
}

.cookie-content a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-content a:hover {
  opacity: 0.85;
}

/* ==========================
   Buttons
========================== */
.cookie-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.btn-cta {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.2);
  background-color: transparent;
  color: #ffffff;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.btn-cta:hover {
  background-color: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.35);
}

/* Reject button — менш акцентна */
.btn-cta.reject {
  color: #b5b5b5;
  border-color: rgba(255,255,255,0.15);
}

.btn-cta.reject:hover {
  color: #ffffff;
}

/* ==========================
   Responsive
========================== */
@media (max-width: 480px) {
  .cookie-content {
    padding: 18px;
  }

  .cookie-buttons {
    flex-direction: column-reverse;
    gap: 8px;
  }

  .btn-cta {
    width: 100%;
    text-align: center;
  }
}
