/* ==================================================
   IANNE ATELIER – Global Style Sheet
   Single Source of Truth for Visual System
   ================================================== */

/* ---------- CSS Variables ---------- */
:root {
  --bg-main: #f6f4f1;
  --bg-header: #3a2e26;
  --bg-card: #ffffff;
  --text-main: #2b2b2b;
  --text-muted: #8a8a8a;
  --accent: #b7a58c;
  --border-soft: #e5e2dd;
  --text-light: #f2efe9;
}

/* ---------- Reset ---------- */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ==================================================
   Header
   ================================================== */

header {
  background: var(--bg-header);
  color: var(--text-light);
  position: sticky;
  top:0;
  z-index: 1000;
}

.header-inner {
  font-family: 'Cormorant', serif;
  max-width: 1100px;
  margin: 0 auto;
  padding: 25px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-cta {
   width: 50px;
   height: 32px;
   border: 1px solid var(--accent);
   padding: 6px 14px;
   font-size: 12px;
   letter-spacing: 0.5px;
   color: var(--text-light);
   transition: background 0.2s ease, color 0.2s ease;
   display: inline-flex;
   align-items: center;
   justify-content: center;
}

.header-cta:hover {
  background: var(--accent);
  color: #fff;
}

.brand {
  font-size: 30px;
  letter-spacing: 1.5px;
}

.lang-switch button {
   width: 50px;
  height: 32px;
   background: none;
   border: 1px solid rgba(255,255,255,0.4);
   color: var(--text-light);
   font-size: 12px;
   padding: 4px 10px;
   margin-left: 6px;
   cursor: pointer;
}

.lang-switch button.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.header-actions a,
.header-actions button {
  height: 32px;
  line-height: 32px;
  font-size: 12px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
/* ==================================================
   Layout Containers
   ================================================== */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 20px 80px;
}

/* case.html uses narrower container */
.container.case {
  max-width: 980px;
}

/* ==================================================
   Page Title / Hero
   ================================================== */

.page-title {
  text-align: center;
  margin-bottom: 56px;
}

.page-title h1 {
  font-family: 'Cormorant', serif;
  font-size: 34px;
  font-weight: 500;
  margin: 0 0 14px;
}

.page-title p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* ==================================================
   Narrative / Sections
   ================================================== */

.section {
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
}

.section h2 {
  font-family: 'Cormorant', serif;
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 16px;
}

.section p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
}

/* ==================================================
   Cases Grid (cases.html)
   ================================================== */

.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.case-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 13px;
  padding: 14px;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.case-card:hover {
  transform: translateY(-2px);
}

.case-card img {
  width: 100%;
  display: block;
}

.case-info {
  margin-top: 12px;
  font-size: 13px;
}

.case-info .brand {
  letter-spacing: 0.5px;
}

.case-info .service {
  color: var(--text-muted);
  font-size: 12px;
  margin-top: 4px;
}

/* ==================================================
   Case Page (case.html)
   ================================================== */

.case-header {
  text-align: center;
  margin-bottom: 40px;
}

.case-header h1 {
  font-size: 26px;
  font-weight: 500;
  margin: 0 0 10px;
}

.case-header p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

/* ---------- Image Card ---------- */

.image-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 13px;
  padding: 18px;
}

.image-card img {
  width: 100%;
  display: block;
}

/* spacing for multiple images */
.image-card img + img {
  margin-top: 16px;
}

/* ---------- Case Description ---------- */

.case-desc {
  max-width: 640px;
  margin: 40px auto 0;
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
}

/* ==================================================
   CTA
   ================================================== */

.cta {
  text-align: center;
  margin-top: 80px;
}

.cta a {
  display: inline-block;
  border: 1px solid var(--accent);
  padding: 12px 28px;
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--accent);
  transition: all 0.2s ease;
}

.cta a:hover {
  background: var(--accent);
  color: #fff;
}



