/* LUXURY EDITORIAL STYLE SHEET - VISION ENTERPRISES (visionenterprises.online) */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,600&family=Montserrat:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Theme Colors */
  --primary: #222831;
  --secondary: #393E46;
  --accent: #C89B3C;
  --bg-light: #F8F6F2;
  --bg-dark: #111827;
  --text-main: #1F2937;
  --text-muted: #6B7280;
  --white: #FFFFFF;
  --border-color: #E5E7EB;
  --border-gold: rgba(200, 155, 60, 0.35);

  /* Fonts */
  --font-display: 'Playfair Display', serif;
  --font-sans: 'Montserrat', sans-serif;

  /* Layout tokens */
  --radius-none: 0px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --transition: all 0.45s cubic-bezier(0.25, 0.8, 0.25, 1);
  --shadow-lux: 0 15px 35px rgba(34, 40, 49, 0.06);
}

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

body {
  background-color: var(--bg-light);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--primary);
  font-weight: 700;
  line-height: 1.15;
}

/* CONTAINERS */
.container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 3rem;
}

.section-padding {
  padding: 9rem 0;
}

/* STICKY HEADER */
.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(248, 246, 242, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  border-bottom: 1px solid rgba(34, 40, 49, 0.05);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
  transition: var(--transition);
}

/* LOGO */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.logo-badge {
  background: var(--primary);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.4rem;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent);
}

.logo-text-wrapper {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}

.logo-sub {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--text-muted);
  font-weight: 700;
}

/* MENU */
.nav-menu {
  display: flex;
  gap: 2.2rem;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background-color: var(--accent);
  transition: var(--transition);
  transform: translateX(-50%);
}

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

/* AUTH NAV */
.nav-auth {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

#userGreetingNav {
  display: none;
  align-items: center;
  gap: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.btn-logout {
  color: #EF4444;
  cursor: pointer;
  font-size: 0.8rem;
}

.btn-nav-login {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 0.6rem 1.2rem;
}

.btn-nav-register {
  background: var(--primary);
  color: var(--white);
  border: 1px solid var(--accent);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 0.6rem 1.4rem;
}

.btn-nav-register:hover {
  background: var(--accent);
  color: var(--primary);
}

/* HAMBURGER */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.nav-hamburger span {
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem 2.8rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  border-radius: var(--radius-none);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border: 1px solid var(--accent);
}

.btn-primary:hover {
  background: var(--accent);
  color: var(--primary);
}

.btn-accent {
  background: var(--accent);
  color: var(--primary);
  border: 1px solid var(--accent);
}

.btn-accent:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

/* FORM STUFF */
.form-group {
  margin-bottom: 2rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  margin-bottom: 0.6rem;
}

.form-control {
  width: 100%;
  padding: 1.1rem 1.4rem;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  border: 1px solid var(--primary);
  background: var(--white);
  color: var(--primary);
  border-radius: var(--radius-none);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(200, 155, 60, 0.15);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin: 1.8rem 0;
}

.checkbox-group input[type="checkbox"] {
  margin-top: 0.35rem;
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  cursor: pointer;
}

.checkbox-group label {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  cursor: pointer;
}

/* TOAST PANELS */
.toast-container {
  position: fixed;
  bottom: 2.5rem;
  right: 2.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.toast {
  background: var(--primary);
  color: var(--white);
  padding: 1.2rem 2rem;
  border: 1px solid var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  box-shadow: var(--shadow-lux);
  display: flex;
  align-items: center;
  gap: 1rem;
  transform: translateX(50px);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.45s ease;
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast span:first-child {
  color: var(--accent);
  font-size: 1.2rem;
}

/* SITE FOOTER */
.site-footer {
  background: var(--primary);
  color: #9CA3AF;
  padding: 8.5rem 0 4rem 0;
  font-size: 0.9rem;
  border-top: 1px solid var(--accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 5rem;
  margin-bottom: 6rem;
}

.footer-brand p {
  line-height: 1.8;
  margin-top: 1.4rem;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 0.8rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 1px;
  background-color: var(--accent);
}

.footer-links li {
  margin-bottom: 1.1rem;
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 6px;
}

.footer-contact-list li {
  margin-bottom: 1.4rem;
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.footer-contact-list li span:first-child {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 3rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

@media (max-width: 768px) {
  .nav-hamburger {
    display: flex;
  }
  .nav-menu {
    position: fixed;
    top: 100px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 100px);
    background: var(--bg-light);
    flex-direction: column;
    padding: 4rem 3rem;
    gap: 2.2rem;
    transition: var(--transition);
    border-top: 1px solid var(--border-color);
  }
  .nav-menu.mobile-open {
    left: 0;
  }
  .nav-auth {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}
