/* css/mains.css - Shared Header & Footer Styles (FULLY UPDATED) */

:root {
  --bg: #05120f;
  --header: #04100d;
  --accent: #d4af77;     /* Gold */
  --emerald: #10b981;    /* Emerald green */
  --text: #f4f4f4;
  --card: #0a1f1b;
}

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(4, 16, 13, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 175, 119, 0.2);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

/* Big Star Logo Styling */
.star-logo {
  position: relative;
  width: 110px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
}

.star {
  position: absolute;
  color: #d4af77;
  font-size: 2.8rem;
  text-shadow: 0 0 18px rgba(212, 175, 119, 0.8);
  transition: all 0.4s ease;
}

.top    { top: -18px; }
.bottom { bottom: -18px; }
.left   { left: -22px; transform: rotate(-25deg); }
.right  { right: -22px; transform: rotate(25deg); }

.sego-text {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.95rem;
  font-weight: 700;
  color: #10b981;
  letter-spacing: 3px;
  z-index: 2;
  text-shadow: 0 0 12px rgba(16, 185, 129, 0.6);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.8rem;
  list-style: none;
}

.nav-links li a {
  font-weight: 500;
  font-size: 1.05rem;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links li a:hover {
  color: var(--accent);
}

.nav-links li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--accent);
  transition: width 0.3s ease;
}

.nav-links li a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  z-index: 1001;
}

.hamburger span {
  width: 32px;
  height: 3px;
  background: var(--accent);
  transition: all 0.4s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu - Centered */
.nav-menu {
  display: none;
}

.nav-menu.active {
  display: block;
  position: fixed;
  top: 90px;
  left: 0;
  width: 100%;
  height: calc(100vh - 90px);
  background: var(--header);
  padding: 40px 5%;
}

.nav-links-mobile {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;        /* CENTERED left-to-right */
  gap: 2.5rem;
  font-size: 1.5rem;
  text-align: center;
}

.btn {
  padding: 14px 34px;
  background: var(--accent);
  color: #05120f;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:hover {
  background: var(--emerald);
  color: white;
  transform: translateY(-3px);
}

/* Footer - Logo and Social Icons Centered */
footer {
  background-color: #04100d;
  padding: 70px 5% 40px;
  margin-top: 80px;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.footer-logo-center {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.footer-col h3 {
  color: var(--accent);
  margin-bottom: 22px;
  font-size: 1.35rem;
}

.footer-col a {
  display: block;
  margin-bottom: 10px;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--accent);
}

/* Centered Social Icons */
.social-center {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.social-icons {
  display: flex;
  gap: 20px;
  font-size: 1.85rem;
  margin-top: 15px;
  justify-content: center;
}

.social-icons a {
  transition: all 0.3s ease;
}

.social-icons a:hover {
  color: var(--accent);
  transform: translateY(-4px);
}

.footer-bottom {
  text-align: center;
  margin-top: 60px;
  padding-top: 25px;
  border-top: 1px solid rgba(212, 175, 119, 0.15);
  opacity: 0.7;
  font-size: 0.95rem;
}

/* Video support for product cards */
.video-wrapper {
  position: relative;
}

.video-wrapper video {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
}

.speaker-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0,0,0,0.6);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s;
}

.speaker-btn:hover {
  background: rgba(0,0,0,0.8);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  animation: fadeInUp 0.9s forwards;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

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

  .footer-logo-center {
    margin-bottom: 20px;
  }

  .star-logo {
    width: 90px;
    height: 90px;
  }

  .star {
    font-size: 2.3rem;
  }

  .nav-links-mobile {
    gap: 2.8rem;
  }
}