/* 2K3D Interior Design Studio - Design System */
/* Warm Minimalism Aesthetic */

/* ========================================
   DESIGN TOKENS
   ======================================== */

:root {
  /* Colors */
  --color-bg: #F5F5F3;
  --color-surface: #FFFFFF;
  --color-dark: #1A1A1A;
  --color-text-primary: #1A1A1A;
  --color-text-muted: #8A8A8A;
  --color-border: #E0E0DC;
  --color-accent: #C9A96E;

  /* Typography */
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Inter', sans-serif;

  --text-hero: clamp(48px, 7vw, 96px);
  --text-h2: clamp(32px, 4vw, 56px);
  --text-h3: clamp(20px, 2.5vw, 28px);
  --text-body: 16px;
  --text-small: 13px;
  --text-label: 11px;

  --weight-light: 300;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-bold: 700;

  --leading-tight: 1.1;
  --leading-body: 1.6;

  /* Layout */
  --max-width: 1280px;
  --grid-gap: 24px;
  --section-padding: clamp(80px, 10vw, 160px);
  --border-radius: 16px;
  --border-radius-full: 100px;
}

/* ========================================
   RESET & BASE
   ======================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--color-text-primary);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: var(--weight-light);
  line-height: var(--leading-tight);
}

h1 {
  font-size: var(--text-hero);
}

h2 {
  font-size: var(--text-h2);
}

h3 {
  font-size: var(--text-h3);
}

.label {
  font-size: var(--text-label);
  font-weight: var(--weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
}

/* ========================================
   LAYOUT
   ======================================== */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-padding) 0;
}

.section__header {
  margin-bottom: 64px;
  max-width: 800px;
}

.section__label {
  font-size: var(--text-label);
  font-weight: var(--weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  margin-bottom: 16px;
  display: block;
}

.section__title {
  margin-bottom: 24px;
}

.section__subtitle {
  color: var(--color-text-muted);
  font-size: 18px;
}

/* ========================================
   HEADER
   ======================================== */

.header {
  position: sticky;
  top: 0;
  background-color: rgba(245, 245, 243, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 76px;
}

.header__logo {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: var(--weight-bold);
  letter-spacing: 0.02em;
}

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

.header__nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

.header__nav-item {
  font-size: 14px;
  color: var(--color-text-primary);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s ease;
}

.header__nav-item::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-accent);
  transition: width 0.3s ease;
}

.header__nav-item:hover::after,
.header__nav-item--active::after {
  width: 100%;
}

.header__nav-item:hover,
.header__nav-item--active {
  color: var(--color-accent);
}

.header__cta {
  margin-left: 8px;
}

/* Mobile Menu (hamburger no longer used; nav wraps instead) */
.header__menu-toggle {
  display: none;
}

@media (max-width: 900px) {
  .header__inner {
    height: auto;
    flex-wrap: wrap;
    gap: 10px 18px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .header__nav {
    order: 3;
    flex-basis: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px 20px;
  }
}

/* ========================================
   HERO
   ======================================== */

.hero {
  padding: 120px 0 var(--section-padding);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero__content {
  max-width: 600px;
}

.hero__label {
  margin-bottom: 24px;
}

.hero__title {
  margin-bottom: 32px;
}

.hero__subtitle {
  font-size: 20px;
  color: var(--color-text-muted);
  margin-bottom: 48px;
  line-height: 1.6;
}

.hero__cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__note {
  font-size: var(--text-small);
  color: var(--color-text-muted);
  margin-top: 16px;
}

.hero__media {
  border-radius: var(--border-radius);
  overflow: hidden;
  aspect-ratio: 4/3;
}

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

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

  .hero {
    padding: 80px 0 80px;
  }
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-size: var(--text-body);
  font-weight: var(--weight-medium);
  border-radius: var(--border-radius-full);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn--primary {
  background-color: var(--color-dark);
  color: var(--color-surface);
}

.btn--primary:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.btn--small {
  padding: 10px 22px;
  font-size: 14px;
}

.btn--ghost {
  background-color: transparent;
  border: 1px solid var(--color-dark);
  color: var(--color-dark);
}

.btn--ghost:hover {
  background-color: var(--color-dark);
  color: var(--color-surface);
}

.btn--arrow {
  padding: 0;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-dark);
  border-radius: 50%;
  background-color: transparent;
}

.btn--arrow:hover {
  background-color: var(--color-dark);
  color: var(--color-surface);
}

/* ========================================
   CARDS
   ======================================== */

.card {
  background-color: var(--color-surface);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
}

.card__media {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.card__content {
  padding: 24px;
}

.card__tag {
  font-size: var(--text-label);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.card__title {
  font-size: 24px;
  margin-bottom: 12px;
}

.card__text {
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.card--dark {
  background-color: var(--color-dark);
  color: var(--color-surface);
}

.card--dark .card__text {
  color: rgba(255, 255, 255, 0.7);
}

/* ========================================
   GRID
   ======================================== */

.grid {
  display: grid;
  gap: var(--grid-gap);
}

.grid--2col {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3col {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4col {
  grid-template-columns: repeat(4, 1fr);
}

.grid--mosaic {
  grid-template-columns: repeat(12, 1fr);
}

.grid--mosaic .card:nth-child(1) {
  grid-column: span 7;
}

.grid--mosaic .card:nth-child(2) {
  grid-column: span 5;
}

.grid--mosaic .card:nth-child(3) {
  grid-column: span 5;
}

.grid--mosaic .card:nth-child(4) {
  grid-column: span 7;
}

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

  .grid--4col {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid--mosaic {
    grid-template-columns: 1fr;
  }

  .grid--mosaic .card {
    grid-column: span 1 !important;
  }
}

@media (max-width: 640px) {
  .grid--2col,
  .grid--3col,
  .grid--4col {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   PORTFOLIO FILTER
   ======================================== */

.portfolio-filter {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.portfolio-filter__btn {
  padding: 12px 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-full);
  background-color: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: var(--text-small);
  font-weight: var(--weight-medium);
}

.portfolio-filter__btn:hover,
.portfolio-filter__btn--active {
  background-color: var(--color-dark);
  color: var(--color-surface);
  border-color: var(--color-dark);
}

/* ========================================
   STATS
   ======================================== */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}

.stats__item {
  text-align: center;
}

.stats__value {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: var(--weight-light);
  margin-bottom: 8px;
}

.stats__label {
  color: var(--color-text-muted);
  font-size: var(--text-small);
}

@media (max-width: 768px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

/* ========================================
   TESTIMONIALS
   ======================================== */

.testimonial {
  background-color: var(--color-surface);
  border-radius: var(--border-radius);
  padding: 40px;
}

.testimonial__quote {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial__author {
  font-weight: var(--weight-medium);
  margin-bottom: 4px;
}

.testimonial__meta {
  color: var(--color-text-muted);
  font-size: var(--text-small);
}

/* ========================================
   FORMS
   ======================================== */

.form {
  max-width: 600px;
}

.form__field {
  margin-bottom: 24px;
}

.form__label {
  display: block;
  margin-bottom: 8px;
  font-weight: var(--weight-medium);
  font-size: var(--text-small);
}

.form__input,
.form__textarea,
.form__select {
  width: 100%;
  padding: 16px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: var(--text-body);
  transition: border-color 0.3s ease;
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  outline: none;
  border-color: var(--color-accent);
}

.form__textarea {
  min-height: 120px;
  resize: vertical;
}

.form__checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form__checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.form__checkbox {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.form__submit {
  margin-top: 32px;
}

.form__note {
  font-size: var(--text-small);
  color: var(--color-text-muted);
  margin-top: 16px;
}

/* ========================================
   DARK SECTION
   ======================================== */

.section--dark {
  background-color: var(--color-dark);
  color: var(--color-surface);
}

.section--dark .section__label {
  color: var(--color-accent);
}

.section--dark .section__subtitle {
  color: rgba(255, 255, 255, 0.7);
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
  background-color: var(--color-dark);
  color: var(--color-surface);
  padding: 80px 0 32px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 64px;
}

.footer__brand {
  max-width: 300px;
}

.footer__logo {
  font-family: var(--font-display);
  font-size: 32px;
  margin-bottom: 16px;
}

.footer__tagline {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
}

.footer__social {
  display: flex;
  gap: 16px;
}

.footer__social-link {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.footer__social-link:hover {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
}

.footer__nav-title {
  font-weight: var(--weight-medium);
  margin-bottom: 16px;
}

.footer__nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__nav-link {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.footer__nav-link:hover {
  color: var(--color-accent);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--text-small);
}

.footer__legal {
  display: flex;
  gap: 24px;
}

@media (max-width: 1024px) {
  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

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

  .footer__bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer__legal {
    flex-direction: column;
    gap: 12px;
  }
}

/* ========================================
   SERVICE LIST
   ======================================== */

.service-list {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.service-list__item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 40px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--color-border);
}

.service-list__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.service-list__number {
  font-size: var(--text-label);
  color: var(--color-text-muted);
}

.service-list__title {
  font-size: 32px;
  margin-bottom: 16px;
}

.service-list__desc {
  color: var(--color-text-muted);
  margin-bottom: 24px;
  max-width: 700px;
}

.service-list__features {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.service-list__feature::before {
  content: '✓';
  color: var(--color-accent);
  margin-right: 8px;
}

@media (max-width: 768px) {
  .service-list__item {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .service-list__features {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   UTILITIES
   ======================================== */

.text-center {
  text-align: center;
}

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }
