@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Plus+Jakarta+Sans:wght@200..800&display=swap');

/* --- ATELIER HOME DECOR DESIGN SYSTEM --- */
/* 
  ========================================================
  NEXUS DESIGN STYLE GUIDE:
  - Change the root CSS variables below to change colors instantly!
  ========================================================
*/
:root {
  --bg-cream: #faf7f2;
  --bg-card: #f3ece0;
  --bg-card-hover: #ebe2d4;
  --text-charcoal: #232323;
  --text-muted: #737373;
  --accent-terracotta: #c27858;
  --accent-terracotta-hover: #ab6445;
  --border-color: rgba(35, 35, 35, 0.08);
  --border-focus: rgba(194, 120, 88, 0.5);
  
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Plus Jakarta Sans', sans-serif;
  
  --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.25s ease;
  
  --container-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-cream);
  color: var(--text-charcoal);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  position: relative;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

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

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

/* --- UTILITIES --- */
.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.text-serif {
  font-family: var(--font-serif);
}

.text-terracotta {
  color: var(--accent-terracotta);
}

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

@media (max-width: 768px) {
  .section-padding {
    padding: 6rem 0;
  }
}

.section-subtitle {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--accent-terracotta);
  margin-bottom: 1.5rem;
  font-weight: 600;
  display: block;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem 2.8rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
  border-radius: 0;
}

.btn-terracotta {
  background-color: var(--accent-terracotta);
  color: #fff;
}

.btn-terracotta:hover {
  background-color: var(--accent-terracotta-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(194, 120, 88, 0.15);
}

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

.btn-outline:hover {
  background-color: var(--text-charcoal);
  color: var(--bg-cream);
  transform: translateY(-2px);
}

/* --- HEADER & NAVIGATION --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(250, 247, 242, 0.9);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

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

header.scrolled .nav-wrapper {
  height: 70px;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.logo span {
  color: var(--accent-terracotta);
}

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

.nav-link {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;
}

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

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

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background-color: var(--text-charcoal);
  margin: 6px 0;
  transition: var(--transition-smooth);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 380px;
    height: 100vh;
    background-color: var(--bg-card);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    transition: var(--transition-smooth);
    border-left: 1px solid var(--border-color);
    visibility: hidden;
  }
  .nav-menu.active {
    right: 0;
    visibility: visible;
  }
  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

/* --- HERO SECTION --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 130px;
  padding-bottom: 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 6rem;
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
    text-align: center;
  }
  .hero-buttons {
    justify-content: center;
  }
}

.hero-content h1 {
  font-family: var(--font-serif);
  font-size: 4.8rem;
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 3rem;
  }
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 3.5rem;
  max-width: 500px;
}

@media (max-width: 992px) {
  .hero-desc {
    margin: 0 auto 3.5rem auto;
  }
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
}

.hero-img-box {
  width: 100%;
  aspect-ratio: 1.1;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background-color: var(--bg-card);
  padding: 1.5rem;
}

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

.hero-img-box:hover img {
  transform: scale(1.03);
}

/* --- COLLECTIONS GRID --- */
.collections-section {
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.collections-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 4rem;
}

@media (max-width: 992px) {
  .collections-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.collection-item {
  background-color: var(--bg-cream);
  border: 1px solid var(--border-color);
  padding: 3.5rem 2.5rem;
  transition: var(--transition-smooth);
}

.collection-item:hover {
  transform: translateY(-5px);
  border-color: var(--accent-terracotta);
  box-shadow: 0 15px 30px rgba(194, 120, 88, 0.06);
}

.collection-item h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

.collection-price {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--accent-terracotta);
  margin-bottom: 1.5rem;
  font-weight: 500;
  display: block;
}

.collection-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* --- PRODUCT DISPLAY GRID --- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 4rem;
}

@media (max-width: 992px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

.product-card {
  display: flex;
  flex-direction: column;
  background-color: var(--bg-cream);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  transition: var(--transition-smooth);
}

.product-card:hover {
  border-color: var(--accent-terracotta);
  box-shadow: 0 15px 30px rgba(0,0,0,0.02);
}

.product-img-wrapper {
  width: 100%;
  height: 320px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  background-color: var(--bg-card);
}

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

.product-card:hover .product-img-wrapper img {
  transform: scale(1.04);
}

.product-info h4 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.product-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.product-info .price {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--accent-terracotta);
  font-weight: 600;
}

/* --- FORMS --- */
.contact-form-wrapper {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 4rem;
}

@media (max-width: 576px) {
  .contact-form-wrapper {
    padding: 2.5rem 1.5rem;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 576px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  background-color: var(--bg-cream);
  border: 1px solid var(--border-color);
  color: var(--text-charcoal);
  padding: 1.1rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-terracotta);
  background-color: #fff;
}

/* --- FOOTER --- */
footer {
  border-top: 1px solid var(--border-color);
  padding: 8rem 0 4rem 0;
  background-color: #f2ede4;
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.footer-col h3 {
  font-family: var(--font-serif);
  color: var(--text-charcoal);
  font-size: 1.4rem;
  margin-bottom: 2rem;
  font-weight: 400;
}

.footer-col p {
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.8rem;
}

.footer-col ul li a:hover {
  color: var(--accent-terracotta);
  padding-left: 5px;
}

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

/* --- SCROLL ANIMATIONS --- */
.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.5s cubic-bezier(0.16, 1, 0.3, 1), transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-animate.animated {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }


/* --- LUCIDE ICONS STYLE --- */
.lucide {
  stroke-width: 1.8;
  width: 1.25em;
  height: 1.25em;
  vertical-align: middle;
  margin-right: 0.5rem;
  display: inline-block;
  color: var(--accent-terracotta);
}

/* --- IMAGE PLACEHOLDER FOR REBRANDING --- */
.image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 2px dashed rgba(35, 35, 35, 0.15);
  background-color: var(--bg-card);
  color: var(--text-muted);
  gap: 0.8rem;
  padding: 2rem;
  text-align: center;
  border-radius: 4px;
}
.image-placeholder i {
  stroke-width: 1.5;
  width: 2.2rem;
  height: 2.2rem;
  color: var(--accent-terracotta);
  margin-right: 0;
}
.image-placeholder span {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  color: var(--text-charcoal);
}
.image-placeholder p {
  font-size: 0.75rem;
  color: var(--text-muted);
  max-width: 250px;
}


/* --- SOCIAL LINKS --- */
.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}
.social-links a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-color, #e5e5e5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark, #1c1917);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.social-links a svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}
.social-links a:hover {
  border-color: var(--accent, #c27d38);
  color: var(--accent, #c27d38);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
