/*
 * Haritha Makeovers — Plain CSS static frontend
 * Colors: warm brown / cream palette
 */

:root {
  --radius: 0.5rem;

  --background: #f7f1e9;          /* light brown cream */
  --foreground: #2a211d;           /* near-black warm */
  --card: #fbf6f0;               /* warm cream card */
  --card-foreground: #2a211d;
  --primary: #221b17;            /* black */
  --primary-foreground: #fdfbf9; /* white */
  --secondary: #e8d5c4;          /* darker brown */
  --secondary-foreground: #2a211d;
  --muted: #eee6dc;
  --muted-foreground: #6b5e55;
  --accent: #8b5e3c;               /* deep cocoa accent */
  --accent-foreground: #fdfbf9;
  --border: #d7c8b9;
  --input: #d7c8b9;
  --ring: #8b5e3c;

  --font-display: "Playfair Display", Georgia, serif;
  --font-sans: "Inter", system-ui, sans-serif;
  --shadow-soft: 0 20px 60px -25px rgba(60, 45, 35, 0.35);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.relative { position: relative; }
.z-10 { z-index: 10; }
.text-center { text-align: center; }
.mt-12 { margin-top: 3rem; }
.hidden-sm { display: inline-flex; }

@media (max-width: 640px) {
  .hidden-sm { display: none; }
}

/* Container */
.container {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 768px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Background decorative blobs */
.bg-decor {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-decor span {
  position: absolute;
  border-radius: 9999px;
  filter: blur(90px);
  opacity: 0.45;
  display: block;
}

.bg-decor .b1 {
  width: 520px;
  height: 520px;
  top: -120px;
  left: -120px;
  background: radial-gradient(circle, rgba(200, 150, 115, 0.7), transparent 70%);
  animation: floatBlob 14s ease-in-out infinite;
}

.bg-decor .b2 {
  width: 560px;
  height: 560px;
  bottom: -160px;
  right: -140px;
  background: radial-gradient(circle, rgba(170, 120, 90, 0.6), transparent 70%);
  animation: floatBlobAlt 18s ease-in-out infinite;
}

.bg-decor .b3 {
  width: 420px;
  height: 420px;
  top: 40%;
  left: 55%;
  background: radial-gradient(circle, rgba(210, 170, 130, 0.45), transparent 70%);
  animation: floatBlobThird 22s ease-in-out infinite;
}

@keyframes floatBlob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -40px) scale(1.08); }
}

@keyframes floatBlobAlt {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-40px, 30px) scale(1.1); }
}

@keyframes floatBlobThird {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, 40px) scale(0.95); }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  transition: opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  opacity: 0.9;
}

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

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-light {
  background-color: var(--primary-foreground);
  color: var(--primary);
}

.btn-light:hover {
  opacity: 0.9;
}

.btn-outline-light {
  border-color: rgba(253, 251, 249, 0.4);
  color: var(--primary-foreground);
  background-color: transparent;
}

.btn-outline-light:hover {
  background-color: var(--primary-foreground);
  color: var(--primary);
}

/* Icons */
.icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.star {
  width: 1rem;
  height: 1rem;
  color: var(--accent);
}

.stars {
  display: flex;
  align-items: center;
  gap: 0.125rem;
}

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background-color: rgba(247, 241, 233, 0.8);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-logo {
  height: 4rem;
  width: auto;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
  font-size: 0.875rem;
}

.nav-links a:hover {
  color: var(--accent);
  transition: color 0.2s ease;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 4rem 1.5rem 5rem;
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    padding: 6rem 2rem 7rem;
    gap: 3rem;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted-foreground);
}

.hero-title {
  margin-top: 1.5rem;
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.05;
}

.hero-title .italic {
  font-style: italic;
  color: var(--accent);
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

.hero-lead {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 36rem;
}

.hero-cta {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.stats {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 28rem;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 600;
}

.stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
  margin-top: 0.25rem;
}

/* Hero visual */
.hero-visual {
  position: relative;
}

.hero-backdrop {
  position: absolute;
  inset: -1rem;
  background-color: var(--secondary);
  opacity: 0.6;
  border-radius: 2rem;
  transform: rotate(3deg);
}

.hero-img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 2rem;
  box-shadow: var(--shadow-soft);
}

.hero-badge {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-soft);
  display: none;
}

@media (min-width: 768px) {
  .hero-badge {
    display: block;
  }
}

.hero-badge-text {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-top: 0.25rem;
}

/* Sections */
.section {
  padding: 6rem 0;
}

.section-secondary {
  background-color: rgba(232, 213, 196, 0.4);
}

.section-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  display: block;
  margin-bottom: 0.75rem;
}

.section-tag.light {
  color: rgba(253, 251, 249, 0.7);
}

.section-title {
  font-size: 2.25rem;
  font-weight: 600;
}

.section-title.light {
  color: var(--primary-foreground);
}

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

.section-head {
  max-width: 42rem;
  margin-bottom: 3.5rem;
}

.text-muted {
  color: var(--muted-foreground);
}

.section-head .text-muted {
  margin-top: 1rem;
  font-size: 1.125rem;
}

/* About */
.about-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .about-inner {
    grid-template-columns: 1fr 1fr;
    padding: 0 2rem;
  }
}

.about-img {
  width: 100%;
  aspect-ratio: 5 / 6;
  object-fit: cover;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-soft);
}

.about-text p {
  line-height: 1.75;
}

.about-list {
  margin-top: 2rem;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.dot {
  margin-top: 0.4rem;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 9999px;
  background-color: var(--accent);
  flex-shrink: 0;
}

/* Services */
.services-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.service-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 2rem;
  transition: box-shadow 0.5s ease, transform 0.5s ease;
}

.service-card:hover {
  box-shadow: var(--shadow-soft);
  transform: translateY(-4px);
}

.service-icon {
  display: inline-flex;
  width: 3.5rem;
  height: 3.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background-color: rgba(139, 94, 60, 0.1);
  color: var(--accent);
}

.service-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.service-card h3 {
  margin-top: 1.25rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.service-card p {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* Portfolio */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  aspect-ratio: 1080 / 1350;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  cursor: pointer;
}

.portfolio-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.portfolio-item:hover img {
  transform: scale(1.05);
}

.portfolio-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  padding: 1.25rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

@media (min-width: 768px) {
  .portfolio-item figcaption {
    padding: 1.5rem;
  }
}

.portfolio-item:hover figcaption {
  opacity: 1;
}

.portfolio-label {
  color: white;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
}

.portfolio-desc {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* Reviews */
.reviews-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.review-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}

.review-card blockquote {
  margin-top: 1rem;
  line-height: 1.7;
  color: rgba(42, 33, 29, 0.9);
  flex: 1;
}

.review-card figcaption {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.review-name {
  font-weight: 500;
  color: var(--foreground);
}

.review-role {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
  margin-top: 0.25rem;
}

/* Contact */
.contact-box {
  max-width: 64rem;
  margin: 0 auto;
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-radius: 2rem;
  padding: 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

@media (min-width: 768px) {
  .contact-box {
    padding: 4rem;
  }
}

.contact-subtitle {
  margin-top: 1rem;
  opacity: 0.8;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.contact-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  background-color: var(--background);
}

.footer-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-align: center;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    text-align: left;
    padding: 0 2rem;
  }
}

.footer-logo {
  height: 3.5rem;
  width: auto;
}

.footer-copy a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-copy a:hover {
  color: var(--accent);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-social a:hover {
  color: var(--accent);
  transition: color 0.2s ease;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease-out, transform 0.9s ease-out;
  will-change: opacity, transform;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.hover-lift {
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.hover-lift:hover {
  transform: translateY(-6px);
}
