/* ==========================================================================
   SHAYAN PERVEZ - COMPONENT STYLES (<app-header> & <app-footer>)
   ========================================================================== */

/* Top Info Announcement Bar */
.top-announcement-bar {
  background-color: #221817;
  color: #F5EBD5;
  font-size: 1.25rem;
  letter-spacing: 0.04rem;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  font-weight: 500;
  border-bottom: 1px solid rgba(232, 202, 134, 0.15);
}

.top-announcement-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-announcement-divider {
  opacity: 0.35;
  font-size: 1.1rem;
}

/* Main Navigation Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background-color: rgba(255, 253, 248, 0.98);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(34, 24, 23, 0.08);
  box-shadow: 0 4px 20px rgba(34, 24, 23, 0.03);
  transition: all 0.3s ease;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 8px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Brand Logo */
.brand-logo-wrap {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 76px;
  max-width: 330px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.brand-logo-wrap:hover .brand-logo-img {
  transform: scale(1.02);
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-family: 'Archivo', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #221817;
  text-decoration: none;
  padding: 12px 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #C59B3F;
}

/* Badge 'NEW' */
.badge-new {
  background-color: #221817;
  color: #E8CA86;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 12px;
  letter-spacing: 0.06rem;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  border: 1px solid rgba(232, 202, 134, 0.4);
}

.badge-new::before {
  content: '●';
  color: #E8CA86;
  font-size: 0.75rem;
}

.dropdown-chevron {
  transition: transform 0.2s ease;
  font-size: 1rem;
}

.nav-item:hover .dropdown-chevron {
  transform: rotate(180deg);
}

/* ==========================================================================
   MEGA MENU - EXACT MATCH WITH SCREENSHOT 5
   ========================================================================== */
.mega-menu {
  position: absolute;
  top: 100%;
  left: -200px;
  width: 960px;
  background-color: #FFFDF8;
  border: 1px solid rgba(34, 24, 23, 0.1);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(34, 24, 23, 0.12);
  padding: 32px;
  display: grid;
  grid-template-columns: 200px 1fr 1fr 240px;
  gap: 24px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 1000;
}

.mega-menu::before {
  content: '';
  position: absolute;
  top: -18px;
  left: 0;
  width: 100%;
  height: 18px;
  background: transparent;
}

.nav-item:hover > .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-col-explore {
  display: flex;
  flex-direction: column;
}

.mega-explore-label {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.15rem;
  color: rgba(34, 24, 23, 0.5);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.mega-explore-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mega-explore-link {
  font-size: 1.45rem;
  font-weight: 600;
  color: #221817;
  text-decoration: none;
  transition: color 0.2s ease;
}

.mega-explore-link:hover {
  color: #C59B3F;
}

.mega-card-item {
  background: #FFFFFF;
  border: 1px solid rgba(34, 24, 23, 0.08);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.mega-card-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(34, 24, 23, 0.08);
  border-color: rgba(197, 155, 63, 0.4);
}

.mega-card-img-wrap {
  position: relative;
  height: 130px;
  overflow: hidden;
  background: #FAF6EC;
}

.mega-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mega-card-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #221817;
  color: #E8CA86;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06rem;
  padding: 3px 8px;
  border-radius: 4px;
}

.mega-card-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.mega-card-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: #221817;
  margin-bottom: 6px;
  line-height: 1.3;
}

.mega-card-price {
  font-size: 1.25rem;
  color: rgba(34, 24, 23, 0.65);
  margin-bottom: 12px;
}

.mega-card-btn {
  margin-top: auto;
  background: #E8CA86;
  color: #221817;
  font-size: 1.25rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s ease;
}

.mega-card-btn:hover {
  background: #C59B3F;
}

.mega-promo-box {
  background-color: #221817;
  color: #F5EBD5;
  border-radius: 12px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mega-promo-title {
  font-family: 'Archivo', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #E8CA86;
  margin-bottom: 12px;
  line-height: 1.3;
}

.mega-promo-desc {
  font-size: 1.25rem;
  color: rgba(245, 235, 213, 0.75);
  line-height: 1.5;
  margin-bottom: 20px;
}

.mega-promo-btn {
  background: #E8CA86;
  color: #221817;
  font-size: 1.3rem;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s ease;
  align-self: flex-start;
}

.mega-promo-btn:hover {
  background: #C59B3F;
}

/* Header Right Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.header-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.header-search-input {
  background-color: #FFFFFF;
  border: 1px solid rgba(34, 24, 23, 0.16);
  border-radius: 40px;
  padding: 10px 38px 10px 18px;
  font-size: 1.35rem;
  color: #221817;
  width: 260px;
  font-family: inherit;
  transition: all 0.25s ease;
}

.header-search-input:focus {
  outline: none;
  border-color: #C59B3F;
  box-shadow: 0 0 0 3px rgba(197, 155, 63, 0.15);
}

.header-search-icon {
  position: absolute;
  right: 14px;
  color: rgba(34, 24, 23, 0.5);
  pointer-events: none;
  font-size: 1.4rem;
}

.btn-buy-amazon {
  background-color: #221817;
  color: #F5EBD5;
  border: 1px solid rgba(232, 202, 134, 0.4);
  padding: 11px 24px;
  border-radius: 40px;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.08rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-buy-amazon:hover {
  background-color: #C59B3F;
  color: #221817;
  border-color: #C59B3F;
  box-shadow: 0 4px 14px rgba(197, 155, 63, 0.3);
  transform: translateY(-1px);
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #221817;
  cursor: pointer;
}

/* ==========================================================================
   GLOBAL FOOTER - EXACT MATCH WITH SCREENSHOT 4
   ========================================================================== */
.site-footer {
  background-color: #221817;
  color: #F5EBD5;
  padding: 60px 24px 28px;
  border-top: 1px solid rgba(232, 202, 134, 0.2);
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr 1.2fr 2fr;
  gap: 36px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(245, 235, 213, 0.12);
}

.footer-brand-logo-wrap {
  display: inline-block;
  margin-bottom: 14px;
  text-decoration: none;
}

.footer-logo-img {
  height: 94px;
  max-width: 360px;
  width: auto;
  display: block;
  object-fit: contain;
  margin-left: -58px;
  filter: brightness(0) invert(1);
  opacity: 0.95;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.footer-brand-logo-wrap:hover .footer-logo-img {
  opacity: 1;
  transform: scale(1.02);
}

.footer-brand-title {
  font-family: 'Archivo', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: #F5EBD5;
  margin-bottom: 4px;
}

.footer-brand-subtitle {
  font-size: 1.2rem;
  letter-spacing: 0.2rem;
  color: #E8CA86;
  text-transform: lowercase;
  margin-bottom: 16px;
}

.footer-brand-desc {
  font-size: 1.35rem;
  color: rgba(245, 235, 213, 0.7);
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 1.55rem;
  font-weight: 700;
  color: #F5EBD5;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  color: rgba(245, 235, 213, 0.7);
  text-decoration: none;
  font-size: 1.35rem;
  transition: all 0.2s ease;
}

.footer-link:hover {
  color: #E8CA86;
}

.footer-newsletter-wrap p {
  font-size: 1.35rem;
  color: rgba(245, 235, 213, 0.7);
  margin-bottom: 14px;
}

.newsletter-form {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(232, 202, 134, 0.25);
  border-radius: 40px;
  padding: 4px 6px 4px 16px;
}

.newsletter-input {
  background: transparent;
  border: none;
  color: #FFFDF8;
  font-size: 1.35rem;
  font-family: inherit;
  flex-grow: 1;
}

.newsletter-input:focus {
  outline: none;
}

.newsletter-btn {
  background: #E8CA86;
  color: #221817;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.newsletter-btn:hover {
  background: #C59B3F;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 1.25rem;
  color: rgba(245, 235, 213, 0.55);
  flex-wrap: wrap;
  gap: 16px;
}

@media screen and (max-width: 1024px) {
  .mega-menu {
    width: 720px;
    left: -120px;
    grid-template-columns: 1fr 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 768px) {
  .brand-logo-img {
    height: 56px;
    max-width: 240px;
  }
  .footer-logo-img {
    height: 76px;
    max-width: 300px;
    margin-left: -48px;
  }
  .top-announcement-bar {
    font-size: 1.15rem;
    gap: 10px;
  }
  .mobile-nav-toggle {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background-color: #FFFDF8;
    flex-direction: column;
    padding: 24px;
    align-items: flex-start;
    gap: 16px;
    border-bottom: 1px solid rgba(34, 24, 23, 0.1);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    display: none;
  }
  .nav-menu.active {
    display: flex;
  }
  .mega-menu {
    position: static;
    width: 100%;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: #F7F1E3;
    grid-template-columns: 1fr;
    padding: 16px;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
