/* ==================
   Reset & Base
   ================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-bg: #faf9f7;
  --color-warm-bg: #f5f0ea;
  --color-text: #2c2c2c;
  --color-text-light: #6b6b6b;
  --color-accent: #c0624a;
  --color-accent-light: #d4856e;
  --color-accent-gold: #c4a97d;
  --color-teal: #4a8c82;
  --color-plum: #8b5c7a;
  --color-white: #ffffff;
  --color-dark: #1a1a1a;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==================
   Navigation
   ================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 249, 247, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: var(--transition);
}

.nav.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: 0.02em;
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--color-text-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color var(--transition);
  position: relative;
}

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

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

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: var(--transition);
}

/* ==================
   Hero
   ================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.5) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--color-white);
  padding: 0 24px;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  opacity: 0.9;
  margin-bottom: 40px;
  letter-spacing: 0.03em;
}

.btn {
  display: inline-block;
  padding: 14px 40px;
  background: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.6);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
}

.btn:hover {
  background: var(--color-white);
  color: var(--color-dark);
  border-color: var(--color-white);
}

/* ==================
   Sections
   ================== */
.section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
  text-align: center;
  margin-bottom: 12px;
  color: var(--color-text);
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-light);
  font-size: 1rem;
  font-weight: 300;
  margin-bottom: 60px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ==================
   Paint Canvas (background particles)
   ================== */
#paintCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

body {
  position: relative;
}

/* ==================
   Nav Dropdown
   ================== */
.nav-dropdown {
  position: relative;
}

.nav-sub {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-white);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  padding: 8px 0;
  min-width: 160px;
  list-style: none;
  z-index: 200;
}

.nav-dropdown:hover .nav-sub {
  display: block;
}

.nav-sub li a {
  display: block;
  padding: 10px 20px;
  font-size: 0.85rem;
  text-transform: none;
  letter-spacing: 0.02em;
  color: var(--color-text);
  transition: background 0.2s;
}

.nav-sub li a:hover {
  background: var(--color-warm-bg);
  color: var(--color-accent);
}

/* ==================
   Hero Enhancements
   ================== */
.hero-eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  opacity: 0.8;
  margin-bottom: 12px;
}

.btn-hero {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
  padding: 16px 40px;
  font-size: 0.95rem;
}

.btn-hero:hover {
  background: var(--color-accent-light);
  border-color: var(--color-accent-light);
}

/* ==================
   Portfolio Showcase
   ================== */
.portfolio-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 16px;
}

.showcase-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 480px;
  display: block;
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.showcase-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.showcase-images {
  position: absolute;
  inset: 0;
}

.showcase-img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 1.5s ease;
}

.showcase-img-2,
.showcase-img-3 {
  opacity: 0;
}

.showcase-card:hover .showcase-img-1 { opacity: 0; }
.showcase-card:hover .showcase-img-2 { opacity: 1; }

.showcase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26, 26, 26, 0.85) 0%,
    rgba(26, 26, 26, 0.2) 50%,
    transparent 100%
  );
  transition: background 0.4s ease;
}

.showcase-card:hover .showcase-overlay {
  background: linear-gradient(
    to top,
    rgba(26, 26, 26, 0.9) 0%,
    rgba(26, 26, 26, 0.3) 60%,
    transparent 100%
  );
}

.showcase-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px;
  color: var(--color-white);
  z-index: 1;
}

.showcase-count {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  background: var(--color-accent);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.showcase-content h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  font-style: italic;
  margin-bottom: 8px;
}

.showcase-content p {
  font-size: 0.95rem;
  opacity: 0.8;
  margin-bottom: 20px;
  font-weight: 300;
}

.showcase-cta {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  color: var(--color-accent-gold);
}

.showcase-card:hover .showcase-cta {
  opacity: 1;
  transform: translateY(0);
}

/* ==================
   Paint Divider
   ================== */
.paint-divider {
  margin-top: -2px;
  line-height: 0;
  position: relative;
  z-index: 1;
}

.paint-divider svg {
  width: 100%;
  height: 60px;
  display: block;
}

/* ==================
   About warm background
   ================== */
.about {
  background: var(--color-warm-bg);
}

/* ==================
   About
   ================== */
.about {
  background: var(--color-white);
}

.about-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.about-with-photo {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  text-align: left;
  max-width: 900px;
  align-items: start;
}

.about-photo img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.about-heading {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
  margin-top: 8px;
}

.about-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text-light);
  margin-bottom: 24px;
}

.about-details {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

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

.detail-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-light);
  margin-bottom: 8px;
}

.detail-value {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--color-text);
}

/* ==================
   Contact
   ================== */
.contact-links {
  display: flex !important;
  justify-content: center;
  gap: 32px;
  max-width: 600px;
  margin: 0 auto;
}

a.contact-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 40px 24px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  background: var(--color-white);
  transition: all var(--transition);
  text-align: center;
}

.contact-card:hover {
  border-color: var(--color-accent-light);
  box-shadow: 0 8px 32px rgba(139, 115, 85, 0.1);
  transform: translateY(-4px);
}

.contact-card svg {
  color: var(--color-accent);
}

.contact-card-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-light);
}

.contact-card-value {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--color-text);
}

/* ==================
   Lightbox
   ================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.7;
  transition: opacity var(--transition);
  z-index: 10;
}

.lightbox-close:hover {
  opacity: 1;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: white;
  font-size: 3rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity var(--transition);
  padding: 20px;
  z-index: 10;
}

.lightbox-prev { left: 10px; }
.lightbox-next { right: 10px; }

.lightbox-prev:hover,
.lightbox-next:hover {
  opacity: 1;
}

.lightbox-content {
  max-width: 80vw;
  max-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 65vh;
  object-fit: contain;
}

.lightbox-caption {
  color: white;
  text-align: center;
  padding: 16px 0 8px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  opacity: 0.9;
}

.lightbox-thumbnails {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.lightbox-thumbnails img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity var(--transition);
  border: 2px solid transparent;
}

.lightbox-thumbnails img.active,
.lightbox-thumbnails img:hover {
  opacity: 1;
  border-color: var(--color-accent-light);
}

/* ==================
   Footer
   ================== */
.footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.6);
  padding: 48px 0;
  text-align: center;
  font-size: 0.85rem;
  position: relative;
  z-index: 1;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--color-white);
  margin-bottom: 12px;
}

/* ==================
   Animations
   ================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==================
   Responsive
   ================== */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(250, 249, 247, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 20px 0;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.4s ease;
    pointer-events: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links li {
    padding: 12px 0;
  }

  .portfolio-showcase {
    grid-template-columns: 1fr;
  }

  .showcase-card {
    height: 360px;
  }

  .nav-dropdown:hover .nav-sub,
  .nav-sub {
    display: block;
    position: static;
    transform: none;
    box-shadow: none;
    background: transparent;
    padding: 0;
    min-width: 0;
  }

  .nav-sub li {
    padding: 0;
  }

  .nav-sub li a {
    font-size: 0.8rem;
    padding: 6px 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-light);
    display: inline-block;
  }

  .nav-sub li a:hover {
    background: transparent;
  }

  .nav-dropdown > a {
    margin-bottom: 0;
  }

  .nav-links li {
    padding: 8px 0;
  }

  .about-with-photo {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }

  .about-photo {
    max-width: 220px;
    margin: 0 auto;
  }

  .about-details {
    flex-direction: column;
    gap: 24px;
  }

  .contact-links {
    flex-direction: column;
    gap: 16px;
  }

  .section {
    padding: 60px 0;
  }

  .lightbox-prev,
  .lightbox-next {
    font-size: 2rem;
    padding: 10px;
  }

  .lightbox-content {
    max-width: 95vw;
  }
}

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

  .showcase-card {
    height: 300px;
  }

  .showcase-content {
    padding: 24px;
  }

  .showcase-content h3 {
    font-size: 1.5rem;
  }
}
/* v2.0.1 */
