:root {
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Source Serif Pro', serif;
  --color-black: #1a1a1a;
  --color-white: #ffffff;
  --color-grey: #999;
}

body {
  padding-top: 80px;
}

.premium-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background-color: var(--color-white);
  border-bottom: 1px solid #eee;
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 25px;
}

.nav-container {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-left,
.nav-right {
  flex: 1 1 0;
}

.nav-center {
  flex: 2 1 0;
  text-align: center;
}

.nav-right {
  text-align: right;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.8em;
  font-weight: 700;
  color: var(--color-black);
  text-decoration: none;
  letter-spacing: -1px;
}

.nav-burger-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.burger-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-black);
  margin: 5px 0;
  transition: transform 0.3s ease;
}

.nav-cta-button {
  font-family: var(--font-body);
  color: var(--color-black);
  text-decoration: none;
  font-size: 0.9em;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: 1px solid var(--color-black);
  padding: 10px 18px;
  border-radius: 30px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-cta-button:hover {
  background-color: var(--color-black);
  color: var(--color-white);
}

.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2000;

  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.overlay-menu {
  position: absolute;
  top: 0;
  left: 0;
  width: 350px;
  height: 100%;
  background-color: var(--color-black);
  padding: 100px 40px 40px 40px;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.nav-overlay.active .overlay-menu {
  transform: translateX(0);
}

.nav-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: var(--color-white);
  font-size: 2.5em;
  font-weight: 200;
  line-height: 1;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.overlay-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.overlay-menu li {
  margin: 30px 0;
  border-bottom: 1px solid #333;
  padding-bottom: 20px;
}

.overlay-menu li:last-child {
  border-bottom: none;
}

.overlay-menu a {
  font-family: var(--font-heading);
  font-size: 1 em;
  font-weight: 500;
  color: var(--color-white);
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
  padding: 5px 0;
}

.overlay-menu a:hover {
  color: #ccc;
}

.premium-footer {
  background-color: var(--color-black);
  color: var(--color-white);
  padding: 80px 0 0 0;
  font-family: var(--font-body);
}

.footer-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer-column {
  padding: 0 10px;
}

.footer-column h3 {
  font-family: var(--font-body);
  font-size: 0.9em;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-grey);
  margin-bottom: 25px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-column a,
.footer-contact p {
  font-size: 1.1em;
  color: var(--color-white);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-column a:hover {
  opacity: 0.7;
}

.footer-column p {
  color: var(--color-grey);
  line-height: 1.7;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 2em;
  font-weight: 700;
  color: var(--color-white);
  text-decoration: none;
  letter-spacing: -1px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo-img {
  width: 170px;
  height: 170px;
  object-fit: contain;
}

.footer-brand-quote {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1.1em;
  color: var(--color-grey);
  margin-top: 20px;
  line-height: 1.6;
}

.footer-bottom {
  text-align: center;
  padding: 40px 0;
  margin-top: 60px;
  border-top: 1px solid #333;
}

.footer-bottom p {
  font-size: 0.9em;
  color: var(--color-grey);
  margin: 0;
}

@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

.user-profile-menu {
  position: relative;
  cursor: pointer;
  display: inline-block;
  vertical-align: middle;
  margin-left: 20px;
}

.profile-trigger {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #eee;
}

.profile-trigger img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-dropdown {
  position: absolute;
  top: 120%;
  right: 0;
  width: 200px;
  background: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  border: 1px solid #eee;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  overflow: hidden;
  text-align: left;
}

.user-profile-menu.active .profile-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-header {
  padding: 15px;
  border-bottom: 1px solid #f5f5f5;
  background: #fafafa;
}

.dropdown-user-name {
  font-weight: 600;
  display: block;
  color: #1a1a1a;
  font-family: var(--font-body);
}

.dropdown-user-role {
  font-size: 0.8em;
  color: #888;
  font-family: var(--font-body);
}

.dropdown-item {
  display: block;
  padding: 12px 15px;
  text-decoration: none;
  color: #555;
  transition: background 0.2s;
  font-size: 0.95em;
  font-family: var(--font-body);
}

.dropdown-item:hover {
  background: #f9f9f9;
  color: #1a1a1a;
}

@media (max-width: 768px) {
  .premium-nav {
    height: 70px;
    padding: 0 15px;
  }

  body {
    padding-top: 70px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo {
    justify-content: center;
  }

  .nav-logo {
    font-size: 1.3em;
  }

  .nav-cta-button {
    display: inline-block;
    font-size: 0.7em;
    padding: 6px 12px;
  }

  .nav-close-btn {
    left: 25px;
    top: 20px;
    font-size: 3em;
  }

  .overlay-menu {
    width: 280px;
    padding: 80px 30px 30px 30px;
  }

  .overlay-menu a {
    font-size: 1.2em;
  }

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand-quote {
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
  }
}