/* ============================================================
   NAOMI PORTFOLIO — STYLESHEET
   File: style.css
   ============================================================ */

/* ─── RESET & ROOT VARIABLES ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black: #0d0d0d;
  --white: #f8fafa;
  --cream: #f5f2ec;
  --accent: #c8a96e;
  --accent-light: #f0e6d0;
  --gray: #6b6b6b;
  --light-gray: #e8e5df;
  --card-bg: #ffffff;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--black);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}


/* ─── NAVBAR ─── */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(248, 250, 248, 0.695);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--light-gray);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  width: 38px;
  height: 38px;
  background: var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: 'DM Serif Display', serif;
  font-size: 16px;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--gray);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--black);
}

.btn-hire {
  background: var(--black);
  color: var(--white);
  border: none;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 0.02em;
}

.btn-hire:hover {
  background: #2a2a2a;
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 22px;
}

.mobile-menu {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--light-gray);
  padding: 16px 24px;
  flex-direction: column;
  gap: 16px;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  text-decoration: none;
  color: var(--black);
  font-size: 15px;
  font-weight: 500;
}


/* ─── HERO ─── */
#hero {
  padding: 140px 24px 80px;
  background: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--accent-light) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  background: var(--accent-light);
  color: #8a6932;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 28px;
  letter-spacing: 0.04em;
}

.hero-inner h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(40px, 7vw, 68px);
  line-height: 1.08;
  color: var(--black);
  margin-bottom: 24px;
  font-weight: 400;
}

.hero-inner h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-inner p {
  color: var(--gray);
  font-size: 18px;
  max-width: 500px;
  margin: 0 auto 40px;
  font-weight: 300;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-family: 'DM Serif Display', serif;
  font-size: 36px;
  color: var(--black);
  display: block;
}

.stat-label {
  font-size: 13px;
  color: var(--gray);
  font-weight: 400;
  margin-top: 2px;
}

.hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--black);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  font-family: 'DM Sans', sans-serif;
}

.btn-primary:hover {
  background: #2a2a2a;
  transform: translateY(-2px);
}

.btn-outline {
  border: 1.5px solid var(--black);
  color: var(--black);
  padding: 14px 32px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  font-family: 'DM Sans', sans-serif;
}

.btn-outline:hover {
  background: var(--black);
  color: var(--white);
  transform: translateY(-2px);
}


/* ─── SECTION COMMONS ─── */
section {
  padding: 88px 24px;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  color: var(--black);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-sub {
  color: var(--gray);
  font-size: 16px;
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 56px;
  font-weight: 300;
}


/* ─── ABOUT ─── */
#about {
  background: var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.about-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}

.about-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: #3a3a3a;
  line-height: 1.5;
}

.about-bullets li::before {
  content: '→';
  color: var(--accent);
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 1px;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.value-card {
  background: var(--white);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid var(--light-gray);
  transition: transform 0.2s, box-shadow 0.2s;
}

.value-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
}

.value-icon {
  font-size: 22px;
  margin-bottom: 8px;
}

.value-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 4px;
}

.value-desc {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.5;
}


/* ─── SKILLS ─── */
#skills {
  background: var(--white);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.skill-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 20px;
  padding: 28px 24px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.skill-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  border-color: var(--accent);
}

.skill-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--light-gray);
}

.skill-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.skill-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--gray);
}

.skill-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}


/* ─── SERVICES ─── */
#services {
  background: var(--cream);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.service-card {
  background: var(--white);
  border-radius: 20px;
  padding: 32px;
  border: 1px solid var(--light-gray);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #e8c99a);
}

.service-num {
  font-family: 'DM Serif Display', serif;
  font-size: 48px;
  color: var(--accent-light);
  line-height: 1;
  margin-bottom: 12px;
  font-weight: 400;
}

.service-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.service-desc {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
}

.why-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 400;
  margin-bottom: 32px;
  text-align: center;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.why-card {
  background: var(--white);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--light-gray);
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.why-num {
  width: 32px;
  height: 32px;
  background: var(--black);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 2px;
}

.why-text-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.why-text-desc {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.6;
}


/* ─── PORTFOLIO ─── */
#portfolio {
  background: var(--white);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.portfolio-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--light-gray);
  transition: transform 0.2s, box-shadow 0.2s;
}

.portfolio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.portfolio-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  background: var(--cream);
}

.portfolio-img-placeholder {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, var(--cream), var(--accent-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}

.portfolio-body {
  padding: 24px;
}

.portfolio-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.portfolio-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.portfolio-metric {
  display: inline-block;
  background: var(--cream);
  color: #8a6932;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
}

.portfolio-desc {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
}


/* ─── TESTIMONIALS ─── */
#testimonials {
  background: var(--cream);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testi-card {
  background: var(--white);
  border-radius: 20px;
  padding: 28px;
  border: 1px solid var(--light-gray);
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}

.testi-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.07);
}

.testi-quote {
  font-family: 'DM Serif Display', serif;
  font-size: 48px;
  color: var(--accent);
  line-height: 0.8;
  margin-bottom: 16px;
  display: block;
}

.testi-text {
  font-size: 14px;
  color: #3a3a3a;
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}

.testi-divider {
  height: 1px;
  background: var(--light-gray);
  margin-bottom: 16px;
}

.testi-avatar {
  font-size: 28px;
  margin-bottom: 8px;
  display: block;
}

.testi-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
}

.testi-role {
  font-size: 12px;
  color: var(--gray);
}


/* ─── PRICING ─── */
#pricing {
  background: var(--white);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.pricing-card {
  background: var(--white);
  border-radius: 24px;
  padding: 36px 28px;
  border: 1.5px solid var(--light-gray);
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.pricing-card.featured {
  border-color: var(--black);
  background: var(--black);
  color: var(--white);
}

.featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--white);
  padding: 4px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.pricing-tier {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--gray);
}

.pricing-card.featured .pricing-tier {
  color: var(--accent);
}

.pricing-desc {
  font-size: 14px;
  margin-bottom: 4px;
  color: var(--gray);
}

.pricing-card.featured .pricing-desc {
  color: #ccc;
}

.pricing-hours {
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 24px;
}

.pricing-card.featured .pricing-hours {
  color: #e8c98a;
}

.pricing-price {
  font-family: 'DM Serif Display', serif;
  font-size: 36px;
  margin-bottom: 24px;
  font-weight: 400;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: #3a3a3a;
}

.pricing-features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-card.featured .pricing-features li {
  color: #ccc;
}

.btn-pricing {
  display: block;
  text-align: center;
  padding: 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  border: none;
}

.btn-pricing-dark {
  background: var(--white);
  color: var(--black);
}

.btn-pricing-dark:hover {
  background: var(--cream);
}

.btn-pricing-light {
  background: var(--black);
  color: var(--white);
}

.btn-pricing-light:hover {
  background: #2a2a2a;
  transform: translateY(-1px);
}

.pricing-note {
  text-align: center;
  font-size: 14px;
  color: var(--gray);
}


/* ─── CONTACT ─── */
#contact {
  background: var(--cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--black);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--light-gray);
  border-radius: 12px;
  font-size: 15px;
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--black);
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}

.form-group textarea {
  height: 140px;
  resize: vertical;
}

.btn-submit {
  width: 100%;
  border: none;
  cursor: pointer;
  font-size: 15px;
  padding: 16px;
}

.contact-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  background: var(--white);
  border-radius: 16px;
  padding: 20px 24px;
  border: 1px solid var(--light-gray);
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: var(--black);
  transition: transform 0.2s, box-shadow 0.2s;
}

.contact-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
}

.contact-icon {
  font-size: 28px;
}

.contact-label {
  font-size: 12px;
  color: var(--gray);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}

.contact-value {
  font-size: 14px;
  font-weight: 600;
}

.contact-meta {
  background: var(--white);
  border-radius: 16px;
  padding: 20px 24px;
  border: 1px solid var(--light-gray);
}

.meta-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 14px;
}

.meta-item {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 1px solid var(--cream);
}

.meta-item:last-child {
  border-bottom: none;
}

.meta-key {
  color: var(--gray);
}

.meta-val {
  font-weight: 500;
}

.status-open {
  color: #22c55e;
}


/* ─── FOOTER ─── */
footer {
  background: var(--black);
  color: var(--white);
  padding: 64px 24px 32px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  width: 40px;
  height: 40px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  font-family: 'DM Serif Display', serif;
  font-size: 16px;
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 14px;
  color: #888;
  line-height: 1.7;
  max-width: 240px;
}

.footer-col-title {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  text-decoration: none;
  color: #888;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid #222;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: #555;
}


/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-inner > * {
  animation: fadeUp 0.6s ease both;
}

.hero-inner > *:nth-child(1) { animation-delay: 0.1s; }
.hero-inner > *:nth-child(2) { animation-delay: 0.2s; }
.hero-inner > *:nth-child(3) { animation-delay: 0.3s; }
.hero-inner > *:nth-child(4) { animation-delay: 0.4s; }
.hero-inner > *:nth-child(5) { animation-delay: 0.5s; }


/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .skills-grid          { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid       { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid    { grid-template-columns: repeat(2, 1fr); }
  .footer-top           { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .btn-hire          { display: none; }
  .hamburger                     { display: block; }
  .about-grid, .contact-grid     { grid-template-columns: 1fr; gap: 40px; }
  .services-grid, .why-grid,
  .pricing-grid                  { grid-template-columns: 1fr; }
  .skills-grid, .about-values    { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid,
  .testimonials-grid             { grid-template-columns: 1fr; }
  .footer-top                    { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .hero-stats  { gap: 28px; }
  .skills-grid { grid-template-columns: 1fr; }
  .footer-top  { grid-template-columns: 1fr; }
}