/* =================================================================
   INSTYLE-INSPIRED FASHION MAGAZINE DESIGN
   Clean, Sophisticated, Fashion-Forward Style
   ================================================================= */

/* Reset and Base Styles */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  color: #1a1a1a;
  line-height: 1.6;
}

/* =================================================================
   INSTYLE-INSPIRED HEADER DESIGN
   ================================================================= */

/* Top Bar (Breaking News / Newsletter Bar) */
.header-top-bar {
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
  color: #ffffff;
  padding: 8px 0;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.header-top-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

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

.breaking-news {
  font-weight: 600;
  letter-spacing: 0.5px;
}

.header-newsletter-signup {
  font-size: 12px;
}

.header-newsletter-signup a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.3s ease;
}

.header-newsletter-signup a:hover {
  opacity: 0.8;
}

/* Main Header */
.main-header {
  background: #ffffff;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #f0f0f0;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Logo Section */
.logo-section {
  text-align: center;
  padding: 25px 0 20px;
  border-bottom: 1px solid #f5f5f5;
}

.logo {
  font-size: 42px;
  font-weight: 300;
  letter-spacing: 8px;
  text-transform: uppercase;
  color: #1a1a1a;
  text-decoration: none;
  font-family: 'Playfair Display', Georgia, serif;
  transition: all 0.3s ease;
  position: relative;
}

.logo:hover {
  color: #c8a882;
  transform: scale(1.02);
}

.logo::after {
  content: 'FASHION SCROLLS';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2px;
  color: #999;
  margin-top: 5px;
}

/* Navigation */
.main-navigation {
  background: #ffffff !important;
  padding: 0;
}

.nav-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 18px 0;
}

.main-nav {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 45px;
}

.main-nav li {
  position: relative;
}

.main-navigation a,
.main-nav a {
  color: #1a1a1a !important;
  text-decoration: none !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  padding: 12px 0 !important;
  transition: all 0.3s ease !important;
  position: relative !important;
  background: transparent !important;
  border: none !important;
}

.main-navigation a::before,
.main-nav a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #c8a882, #d4b896);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-navigation a:hover,
.main-nav a:hover {
  color: #c8a882 !important;
  background: transparent !important;
  transform: translateY(-2px) !important;
}

.main-navigation a:hover::before,
.main-nav a:hover::before {
  width: 100%;
}

/* Current/Active Menu Item */
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
  color: #c8a882 !important;
  background: transparent !important;
}

.main-navigation .current-menu-item > a::before,
.main-navigation .current_page_item > a::before {
  width: 100%;
}

/* Social Icons in Header */
.header-social {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 15px;
}

.header-social a {
  color: #666;
  font-size: 18px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.header-social a:hover {
  color: #c8a882;
  transform: translateY(-2px);
}

/* =================================================================
   INSTYLE-INSPIRED FOOTER DESIGN
   ================================================================= */

.instyle-footer {
  background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 50%, #f8f8f8 100%);
  margin-top: 60px;
  border-top: 1px solid #e8e8e8;
  position: relative;
}

.instyle-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #c8a882 0%, #d4b896 50%, #c8a882 100%);
}

/* Newsletter Section */
.footer-newsletter-section {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #ffffff;
  text-align: center;
  padding: 50px 20px;
  position: relative;
  overflow: hidden;
}

.footer-newsletter-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(200, 168, 130, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(212, 184, 150, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.newsletter-content {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.newsletter-title {
  font-size: 32px;
  font-weight: 300;
  letter-spacing: 2px;
  margin-bottom: 15px;
  font-family: 'Playfair Display', Georgia, serif;
  color: #ffffff;
}

.newsletter-subtitle {
  font-size: 16px;
  color: #cccccc;
  margin-bottom: 30px;
  font-weight: 400;
  line-height: 1.7;
}

.newsletter-form {
  display: flex;
  max-width: 450px;
  margin: 0 auto;
  gap: 0;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.newsletter-form input {
  flex: 1;
  padding: 18px 25px;
  border: none;
  background: #ffffff;
  color: #1a1a1a;
  font-size: 15px;
  font-weight: 400;
  outline: none;
}

.newsletter-form input::placeholder {
  color: #999;
  font-style: italic;
}

.newsletter-form button {
  background: linear-gradient(135deg, #c8a882 0%, #d4b896 100%);
  color: #ffffff;
  border: none;
  padding: 18px 30px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.newsletter-form button:hover {
  background: linear-gradient(135deg, #b59971 0%, #c8a882 100%);
  transform: translateX(-2px);
}

/* Main Footer Content */
.footer-main {
  padding: 60px 20px 40px;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
}

.footer-about {
  padding-right: 40px;
}

.footer-logo {
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #1a1a1a;
  text-decoration: none;
  font-family: 'Playfair Display', Georgia, serif;
  margin-bottom: 25px;
  display: inline-block;
  transition: color 0.3s ease;
}

.footer-logo:hover {
  color: #c8a882;
}

.footer-description {
  color: #666;
  line-height: 1.8;
  font-size: 15px;
  margin-bottom: 30px;
}

.footer-social-icons {
  display: flex;
  gap: 20px;
}

.footer-social-icons a {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 50%;
  font-size: 18px;
  transition: all 0.3s ease;
  border: 1px solid #e8e8e8;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.footer-social-icons a:hover {
  background: linear-gradient(135deg, #c8a882 0%, #d4b896 100%);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(200, 168, 130, 0.3);
}

.footer-column h4 {
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #1a1a1a;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 12px;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, #c8a882, #d4b896);
}

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

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

.footer-links a {
  color: #666;
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

.footer-links a:hover {
  color: #c8a882;
  transform: translateX(5px);
}

/* Footer Bottom */
.footer-bottom {
  background: #f8f8f8;
  padding: 25px 20px;
  border-top: 1px solid #e8e8e8;
  text-align: center;
}

.footer-bottom-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.copyright {
  color: #999;
  font-size: 13px;
  font-weight: 400;
}

.footer-bottom-links {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  color: #666;
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: #c8a882;
}

/* =================================================================
   RESPONSIVE DESIGN
   ================================================================= */

@media (max-width: 1200px) {
  .footer-container {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
  }
  
  .footer-about {
    grid-column: 1 / -1;
    padding-right: 0;
    text-align: center;
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .header-top-content {
    flex-direction: column;
    gap: 10px;
  }
  
  .logo {
    font-size: 32px;
    letter-spacing: 4px;
  }
  
  .main-nav {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  
  .nav-container {
    padding: 25px 0;
  }
  
  .header-social {
    position: static;
    transform: none;
    justify-content: center;
    margin-top: 20px;
  }
  
  .newsletter-title {
    font-size: 26px;
  }
  
  .newsletter-form {
    flex-direction: column;
    max-width: 350px;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-bottom-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 24px;
    letter-spacing: 2px;
  }
  
  .main-nav {
    gap: 15px;
  }
  
  .newsletter-section {
    padding: 40px 15px;
  }
  
  .newsletter-title {
    font-size: 22px;
  }
  
  .footer-main {
    padding: 40px 15px 30px;
  }
}

/* =================================================================
   ACCESSIBILITY & FOCUS STATES
   ================================================================= */

.main-navigation a:focus,
.footer-links a:focus,
.footer-social-icons a:focus,
.newsletter-form input:focus,
.newsletter-form button:focus {
  outline: 2px solid #c8a882;
  outline-offset: 2px;
}

/* =================================================================
   ADDITIONAL STYLING FOR INSTYLE LOOK
   ================================================================= */

/* Hide default WordPress elements */
.site-info,
.footer-bar,
.copyright-bar {
  display: none !important;
}

/* Ensure consistent styling across all pages */
body .main-navigation {
  background: #ffffff !important;
}

body .main-navigation a {
  color: #1a1a1a !important;
}

body .main-navigation a:hover {
  color: #c8a882 !important;
}

/* =================================================================
   MOBILE NAVIGATION STYLING
   ================================================================= */

/* Hide toggle by default */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #1a1a1a;
  line-height: 1;
  transition: transform 0.3s ease, color 0.3s ease;
}

/* Hamburger icon styling */
.menu-toggle .hamburger {
  font-size: 28px;
  display: inline-block;
  line-height: 1;
}

/* Active (when menu is open) */
.menu-toggle.active,
.menu-toggle:focus {
  color: #c8a882;
  outline: none;
  transform: scale(1.1);
}

/* Responsive behaviour */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    margin-left: auto;
    padding: 10px 15px;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    gap: 15px;
    text-align: center;
    background: #ffffff;
    border-top: 1px solid #eee;
    padding: 20px;
  }

  .main-nav.mobile-menu-open {
    display: flex;
  }

  .main-nav li {
    margin: 0;
  }

  .main-nav a {
    font-size: 16px !important;
    padding: 10px 0 !important;
  }
}

