
/* ============================================================
   SWATI DESHPANDE DESIGNS — STYLESHEET
   ============================================================
   To change colors: edit the CSS variables in :root below.
   To change fonts: update the Google Fonts link in each HTML
   file and update --font-heading / --font-body below.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Jost:wght@300;400;500&display=swap');

/* ── CSS VARIABLES (edit these to retheme the site) ── */
:root {
  --color-bg:        #FAF8F5;
  --color-bg-alt:    #F2EDE6;
  --color-text:      #1C1C1C;
  --color-text-mute: #6B6560;
  --color-accent:    #B8860B;       /* gold */
  --color-accent-lt: #D4A843;
  --color-dark:      #1A1714;
  --color-white:     #FFFFFF;
  --color-border:    #DDD5C8;

  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', sans-serif;

  --max-width: 1200px;
  --radius:    4px;
  --transition: 0.3s ease;
  --shadow:    0 4px 30px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 50px rgba(0,0,0,0.14);
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.15;
  color: var(--color-dark);
}
h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }

p { margin-bottom: 1.2rem; color: var(--color-text); }

.section-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.8rem;
  display: block;
}

/* ── LAYOUT ── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

section { padding: 6rem 0; }

/* ── NAVIGATION ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 1.4rem 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
.nav.scrolled {
  background: rgba(250,248,245,0.96);
  box-shadow: 0 1px 20px rgba(0,0,0,0.08);
  padding: 0.9rem 0;
  backdrop-filter: blur(10px);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}
.nav__logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-dark);
}
.nav__logo span { color: var(--color-accent); }
.nav__links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}
.nav__links a {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text);
  position: relative;
  transition: color var(--transition);
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--color-accent);
  transition: width var(--transition);
}
.nav__links a:hover, .nav__links a.active { color: var(--color-accent); }
.nav__links a:hover::after, .nav__links a.active::after { width: 100%; }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--color-dark);
  transition: var(--transition);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2.2rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--color-dark);
  color: var(--color-white);
  border-color: var(--color-dark);
}
.btn-primary:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-white);
}
.btn-outline {
  background: transparent;
  color: var(--color-dark);
  border-color: var(--color-dark);
}
.btn-outline:hover {
  background: var(--color-dark);
  color: var(--color-white);
}

/* ── FLOATING SOCIAL BUTTONS ── */
.float-social {
  position: fixed;
  bottom: 2rem;
  right: 1.6rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.float-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(0,0,0,0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}
.float-btn:hover {
  transform: translateY(-4px) scale(1.07);
  box-shadow: 0 8px 26px rgba(0,0,0,0.28);
}
.float-btn svg { width: 24px; height: 24px; }
.float-whatsapp { background: #25D366; }
.float-instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 48%;
  height: 100%;
  background: var(--color-bg-alt);
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0% 100%);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero__content { padding-right: 2rem; }
.hero__eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.hero__eyebrow::before {
  content: '';
  width: 36px; height: 1px;
  background: var(--color-accent);
}
.hero__title {
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--color-dark);
}
.hero__title em {
  font-style: normal;
  font-weight: 500;
  color: var(--color-accent);
}
.hero__text {
  font-size: 1.05rem;
  color: var(--color-text-mute);
  max-width: 480px;
  margin-bottom: 2.5rem;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__stats {
  display: flex;
  gap: 3rem;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--color-border);
}
.stat__number {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 400;
  color: var(--color-dark);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.stat__label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-mute);
}
.hero__image-wrap {
  position: relative;
  height: 620px;
}
.hero__image-main {
  width: 90%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.hero__image-accent {
  position: absolute;
  bottom: -2rem;
  left: -1.5rem;
  width: 42%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 5px solid var(--color-bg);
}
/* placeholder for hero when no image */
.hero__image-placeholder {
  width: 90%;
  height: 100%;
  background: linear-gradient(145deg, var(--color-bg-alt) 0%, var(--color-border) 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 8rem;
  color: var(--color-accent);
  font-weight: 300;
  opacity: 0.4;
  letter-spacing: 0.08em;
}

/* ── SECTION HEADERS ── */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
}
.section-header h2 { margin-bottom: 1rem; }
.section-header p {
  color: var(--color-text-mute);
  font-size: 1.05rem;
}
.divider {
  width: 48px; height: 2px;
  background: var(--color-accent);
  margin: 1.2rem auto;
}

/* ── SERVICES GRID ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5px;
  background: var(--color-border);
  border: 1.5px solid var(--color-border);
}
.service-card {
  background: var(--color-bg);
  padding: 2.5rem 2rem;
  transition: background var(--transition), transform var(--transition);
  cursor: default;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--color-accent);
  transition: width 0.4s ease;
}
.service-card:hover { background: var(--color-bg-alt); }
.service-card:hover::before { width: 100%; }
.service-card__icon {
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
  display: block;
}
.service-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.7rem;
  color: var(--color-dark);
}
.service-card__desc {
  font-size: 0.9rem;
  color: var(--color-text-mute);
  line-height: 1.7;
  margin: 0;
}

/* ── PROJECTS FILTER ── */
.filter-bar {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 3rem;
}
.filter-btn {
  padding: 0.5rem 1.4rem;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-text-mute);
  cursor: pointer;
  transition: all var(--transition);
  border-radius: 2px;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--color-dark);
  border-color: var(--color-dark);
  color: var(--color-white);
}

/* ── PROJECTS GRID ── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.8rem;
}
.project-card {
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.project-card__img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.project-card:hover .project-card__img { transform: scale(1.04); }
.project-card__img-wrap { overflow: hidden; position: relative; }
.project-card__category {
  position: absolute;
  top: 1rem; left: 1rem;
  background: rgba(250,248,245,0.95);
  padding: 0.25rem 0.8rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  border-radius: 2px;
}
.project-card__body { padding: 1.6rem; }
.project-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.6rem;
  color: var(--color-dark);
}
.project-card__desc {
  font-size: 0.88rem;
  color: var(--color-text-mute);
  line-height: 1.65;
  margin-bottom: 1rem;
}
.project-card__tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.tag {
  font-size: 0.7rem;
  padding: 0.2rem 0.6rem;
  background: var(--color-bg-alt);
  color: var(--color-text-mute);
  border-radius: 2px;
  letter-spacing: 0.06em;
}

/* ── ABOUT PAGE ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}
.about-image-wrap { position: relative; }
.about-image-main {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.about-image-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(145deg, var(--color-bg-alt) 0%, var(--color-border) 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 6rem;
  color: var(--color-accent);
  opacity: 0.4;
}
.about-image-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--color-dark);
  color: var(--color-white);
  padding: 1.6rem;
  text-align: center;
  border-radius: var(--radius);
}
.badge-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 400;
  display: block;
  line-height: 1;
}
.badge-label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-top: 0.3rem;
  display: block;
}
.about-quote {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-style: italic;
  font-weight: 300;
  color: var(--color-dark);
  line-height: 1.5;
  padding: 2rem 0 2rem 2rem;
  border-left: 3px solid var(--color-accent);
  margin: 2.5rem 0;
}
.expertise-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-top: 1.5rem;
}
.expertise-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--color-text-mute);
}
.expertise-item::before {
  content: '';
  width: 16px; height: 1px;
  background: var(--color-accent);
  flex-shrink: 0;
}

/* ── CONTACT PAGE ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
  align-items: start;
}
.contact-info h3 {
  margin-bottom: 2rem;
  font-size: 1.5rem;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--color-border);
}
.contact-detail:first-of-type { border-top: 1px solid var(--color-border); }
.contact-detail__icon {
  width: 40px; height: 40px;
  background: var(--color-bg-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.contact-detail__label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-mute);
  margin-bottom: 0.2rem;
}
.contact-detail__value {
  font-size: 0.95rem;
  color: var(--color-dark);
  font-weight: 400;
}
.contact-detail__value a:hover { color: var(--color-accent); }

/* ── FORM ── */
.contact-form { background: var(--color-white); padding: 3rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-group { margin-bottom: 1.4rem; }
.form-group label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-mute);
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--color-dark);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  outline: none;
  transition: border-color var(--transition);
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-accent);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-success {
  display: none;
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #166534;
  padding: 1rem 1.2rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  margin-top: 1rem;
}
.form-success.show { display: block; }

/* ── FOOTER ── */
footer {
  background: var(--color-dark);
  color: rgba(255,255,255,0.65);
  padding: 3.5rem 0;
  text-align: center;
}
.footer__logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--color-white);
  margin-bottom: 1rem;
}
.footer__logo span { color: var(--color-accent); }
.footer__tagline {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  margin-bottom: 2rem;
  color: rgba(255,255,255,0.45);
}
.footer__nav {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 2rem;
}
.footer__nav a {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer__nav a:hover { color: var(--color-accent); }
.footer__copy { font-size: 0.78rem; color: rgba(255,255,255,0.3); }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--color-dark);
  padding: 10rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -50%; left: -20%;
  width: 60%; height: 200%;
  background: var(--color-accent);
  opacity: 0.04;
  border-radius: 50%;
}
.page-hero h1 {
  color: var(--color-white);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  font-style: italic;
  margin-bottom: 0.8rem;
}
.page-hero p {
  color: rgba(255,255,255,0.55);
  max-width: 520px;
  margin: 0 auto;
  font-size: 1rem;
}

/* ── SCROLL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero__inner        { grid-template-columns: 1fr; }
  .hero::before       { display: none; }
  .hero__content      { padding-right: 0; }
  .hero__image-wrap   { height: 400px; }
  .hero__image-main   { width: 100%; }
  .about-grid         { grid-template-columns: 1fr; gap: 3rem; }
  .about-image-badge  { right: 0; }
  .contact-grid       { grid-template-columns: 1fr; gap: 3rem; }
  .form-row           { grid-template-columns: 1fr; }
  section             { padding: 4rem 0; }
}

@media (max-width: 700px) {
  .nav__links         { display: none; flex-direction: column; gap: 1.5rem; position: fixed; top: 0; right: 0; height: 100vh; width: 70vw; background: var(--color-bg); padding: 6rem 2rem 2rem; box-shadow: -8px 0 30px rgba(0,0,0,0.1); z-index: 850; }
  .nav__links.open    { display: flex; }
  .nav__hamburger     { display: flex; z-index: 860; }
  .hero__stats        { gap: 2rem; flex-wrap: wrap; }
  .expertise-list     { grid-template-columns: 1fr; }
  .footer__nav        { flex-wrap: wrap; gap: 1rem; }
  .projects-grid      { grid-template-columns: 1fr; }
  .contact-form       { padding: 2rem 1.5rem; }
  .float-social       { bottom: 1.2rem; right: 1rem; }
  .float-btn          { width: 46px; height: 46px; }
}
