/* ==========================================
   LYNSIDO FASHION - CUSTOM DESIGN SYSTEM
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400&display=swap');

:root {
  /* Color Palette */
  --bg-pure: #ffffff;
  --bg-soft: #fff9f8;
  --bg-cream: #faf4f2;
  
  --primary-pink: #f7d6cf;
  --primary-pink-hover: #f3c4ba;
  --rose-dark: #b87c70;
  --rose-dust: #9b6c62;
  
  --text-main: #2b2524;
  --text-muted: #736764;
  --text-light: #a69a97;
  
  --border-light: #f5eae7;
  --shadow-soft: rgba(184, 124, 112, 0.06);
  --shadow-hover: rgba(184, 124, 112, 0.12);
  
  /* Fonts */
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Outfit', sans-serif;
  
  /* Transition */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Global */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-pure);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

/* Common Layout Elements */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header span {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--rose-dark);
  font-weight: 500;
  display: block;
  margin-bottom: 12px;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--text-main);
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 40px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary {
  background-color: var(--primary-pink);
  color: var(--text-main);
}

.btn-primary:hover {
  background-color: var(--primary-pink-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--shadow-hover);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--primary-pink);
  color: var(--text-main);
}

.btn-outline:hover {
  background-color: var(--primary-pink);
  transform: translateY(-2px);
}

/* ==========================================
   HEADER / NAVIGATION
   ========================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0);
  border-bottom: 1px solid rgba(255, 255, 255, 0);
  transition: var(--transition-smooth);
}

header.scrolled {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  transition: var(--transition-smooth);
}

header.scrolled .nav-wrapper {
  padding: 8px 0;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--text-main);
}

.logo span {
  color: var(--rose-dark);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 1px;
  color: var(--text-main);
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--rose-dark);
  transition: var(--transition-smooth);
}

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

.nav-links a:hover {
  color: var(--rose-dark);
}

.nav-actions {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-main);
  font-size: 1.2rem;
  transition: var(--transition-smooth);
}

.nav-btn:hover {
  color: var(--rose-dark);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--text-main);
  transition: var(--transition-smooth);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--bg-soft);
  position: relative;
  overflow: hidden;
  padding-top: 100px;
}

/* Decorative background shapes */
.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 50vw;
  height: 50vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 214, 207, 0.4) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: 1;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 40vw;
  height: 40vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 214, 207, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: 1;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 2;
}

.hero-content {
  animation: fadeInUp 1s ease-out;
}

.hero-tag {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--rose-dark);
  font-weight: 600;
  margin-bottom: 24px;
  display: inline-block;
  padding: 6px 16px;
  background-color: rgba(247, 214, 207, 0.3);
  border-radius: 30px;
}

.hero-content h1 {
  font-family: var(--font-serif);
  font-size: 4rem;
  line-height: 1.15;
  font-weight: 400;
  margin-bottom: 24px;
}

.hero-content h1 span {
  font-style: italic;
  color: var(--rose-dark);
}

.hero-content p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.hero-image-wrapper {
  position: relative;
  animation: fadeInRight 1s ease-out;
}

.hero-img-bg {
  position: absolute;
  top: 30px;
  left: 30px;
  right: -30px;
  bottom: -30px;
  border: 1px solid var(--primary-pink);
  border-radius: 20px;
  z-index: 1;
}

.hero-image {
  position: relative;
  z-index: 2;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px var(--shadow-hover);
  aspect-ratio: 4 / 5;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.hero-image:hover img {
  transform: scale(1.05);
}

/* ==========================================
   LOOKBOOK / PRODUCTS SECTION
   ========================================== */
.lookbook {
  background-color: var(--bg-pure);
}

.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  list-style: none;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 10px 24px;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 30px;
  cursor: pointer;
  background-color: var(--bg-soft);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.filter-tab:hover,
.filter-tab.active {
  background-color: var(--primary-pink);
  border-color: var(--primary-pink);
  color: var(--text-main);
  box-shadow: 0 4px 12px var(--shadow-soft);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 40px;
}

.product-card {
  background: var(--bg-pure);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: var(--transition-smooth);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 36px var(--shadow-hover);
  border-color: var(--primary-pink);
}

.product-img-holder {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.product-img-holder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.product-card:hover .product-img-holder img {
  transform: scale(1.08);
}

.product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background-color: var(--bg-pure);
  color: var(--rose-dark);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.product-info {
  padding: 24px;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.product-tag {
  font-size: 0.75rem;
  color: var(--rose-dark);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.product-price {
  font-weight: 600;
  color: var(--text-main);
  font-size: 1.1rem;
}

.product-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 8px;
  color: var(--text-main);
}

.product-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.product-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
}

.btn-details {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--rose-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-details i {
  transition: var(--transition-smooth);
}

.btn-details:hover {
  color: var(--rose-dust);
}

.btn-details:hover i {
  transform: translateX(4px);
}

/* ==========================================
   ARTICLES & STORIES SECTION
   ========================================== */
.articles {
  background-color: var(--bg-soft);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 40px;
}

.article-card {
  background: var(--bg-pure);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: var(--transition-smooth);
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px var(--shadow-hover);
  border-color: var(--primary-pink);
}

.article-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.article-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.article-card:hover .article-img img {
  transform: scale(1.05);
}

.article-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-date {
  font-size: 0.8rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.article-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 12px;
  line-height: 1.35;
}

.article-title a:hover {
  color: var(--rose-dark);
}

.article-excerpt {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex-grow: 1;
}

.article-link {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-main);
  border-bottom: 1px solid var(--primary-pink);
  align-self: flex-start;
  padding-bottom: 2px;
}

.article-link:hover {
  color: var(--rose-dark);
  border-color: var(--rose-dark);
}

/* ==========================================
   NEWSLETTER SECTION
   ========================================== */
.newsletter {
  background-color: var(--bg-cream);
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.newsletter-content h2 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 400;
  margin-bottom: 16px;
}

.newsletter-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 36px;
}

.newsletter-form {
  display: flex;
  background-color: var(--bg-pure);
  padding: 6px;
  border-radius: 50px;
  box-shadow: 0 8px 30px rgba(184, 124, 112, 0.08);
  border: 1px solid var(--border-light);
}

.newsletter-form input {
  flex-grow: 1;
  border: none;
  padding: 0 24px;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  color: var(--text-main);
  background: transparent;
  outline: none;
  border-radius: 50px;
}

.newsletter-form input::placeholder {
  color: var(--text-light);
}

.newsletter-form button {
  padding: 14px 28px;
  border-radius: 50px;
  border: none;
  background-color: var(--text-main);
  color: var(--bg-pure);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.newsletter-form button:hover {
  background-color: var(--rose-dark);
}

/* Toast Message */
.toast-msg {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--text-main);
  color: var(--bg-pure);
  padding: 16px 30px;
  border-radius: 8px;
  font-size: 0.9rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transform: translateY(150px);
  opacity: 0;
  transition: var(--transition-smooth);
  z-index: 10000;
}

.toast-msg.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================
   FOOTER
   ========================================== */
footer {
  background-color: var(--text-main);
  color: var(--bg-soft);
  padding: 80px 0 40px;
  font-size: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.footer-about .footer-logo {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--bg-pure);
  margin-bottom: 20px;
  display: block;
}

.footer-about .footer-logo span {
  color: var(--primary-pink);
}

.footer-about p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 24px;
  max-width: 320px;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-soft);
  transition: var(--transition-smooth);
}

.social-link:hover {
  background-color: var(--primary-pink);
  color: var(--text-main);
  transform: translateY(-3px);
}

.footer-column h3 {
  font-family: var(--font-serif);
  color: var(--bg-pure);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 24px;
  position: relative;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 1px;
  background-color: var(--primary-pink);
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
}

.footer-links a:hover {
  color: var(--primary-pink);
  padding-left: 5px;
}

.footer-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
}

.footer-info-item i {
  color: var(--primary-pink);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
  font-size: 0.85rem;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-links a:hover {
  color: var(--primary-pink);
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ==========================================
   RESPONSIVE DESIGN RULES
   ========================================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-content h1 {
    font-size: 3.2rem;
  }
  
  .hero-image-wrapper {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }
  
  .footer-grid {
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 70px 0;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--bg-pure);
    flex-direction: column;
    padding: 100px 40px;
    box-shadow: -10px 0 30px rgba(0,0,0,0.05);
    transition: var(--transition-smooth);
    z-index: 999;
  }
  
  .nav-links.open {
    right: 0;
  }
  
  .menu-toggle {
    display: flex;
    z-index: 1000;
  }
  
  /* Menu Hamburger Animation */
  .menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  
  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  .newsletter-form {
    flex-direction: column;
    background: transparent;
    box-shadow: none;
    border: none;
    gap: 12px;
    padding: 0;
  }
  
  .newsletter-form input {
    background-color: var(--bg-pure);
    border: 1px solid var(--border-light);
    padding: 16px 24px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
  }
  
  .newsletter-form button {
    width: 100%;
    padding: 16px;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-buttons .btn {
    width: 100%;
    text-align: center;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
