/*
Theme Name: Amity India Revival
Theme URI: https://amityindia.in/
Author: Amity India
Description: Lightweight custom theme for Amity India's civil and interior solutions website.
Version: 1.0.0
Text Domain: amity-revival
*/

:root {
  --ink: #172126;
  --ink-soft: #435057;
  --paper: #f7f3ed;
  --white: #ffffff;
  --orange: #eb5a0a;
  --orange-deep: #bd3f00;
  --sage: #27453e;
  --line: rgba(23, 33, 38, 0.14);
  --shadow: 0 24px 64px rgba(23, 33, 38, 0.13);
  --radius: 1.25rem;
  --wrap: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.admin-bar .site-header { top: 32px; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { width: var(--wrap); margin-inline: auto; }
.skip-link {
  position: fixed; left: 1rem; top: -5rem; z-index: 9999;
  padding: .8rem 1rem; color: #fff; background: var(--ink);
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.nav-shell {
  min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.brand img { width: 165px; height: 64px; object-fit: contain; object-position: left center; }
.main-nav { display: flex; align-items: center; gap: 2rem; font-size: .82rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.main-nav a { text-decoration: none; }
.main-nav a:hover { color: var(--orange); }
.nav-cta { padding: .82rem 1.1rem; color: #fff !important; background: var(--ink); border-radius: 999px; }
.menu-toggle { display: none; border: 0; background: transparent; font-size: 1.7rem; cursor: pointer; }

.hero { position: relative; overflow: hidden; background: var(--paper); }
.hero-grid {
  min-height: 720px; display: grid; grid-template-columns: .88fr 1.12fr; align-items: stretch;
}
.hero-copy { align-self: center; padding: 7rem 6vw 7rem max(20px, calc((100vw - 1180px) / 2)); }
.eyebrow {
  display: flex; align-items: center; gap: .7rem; margin: 0 0 1.25rem;
  color: var(--orange-deep); font-size: .78rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 42px; height: 2px; background: var(--orange); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.035em; }
h1 { max-width: 720px; margin-bottom: 1.4rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.3rem, 6.2vw, 6.9rem); font-weight: 500; }
.hero-copy > p:not(.eyebrow) { max-width: 560px; color: var(--ink-soft); font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .85rem 1.4rem; border: 1px solid var(--ink); border-radius: 999px;
  color: #fff; background: var(--ink); font-size: .84rem; font-weight: 800; letter-spacing: .04em; text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); background: var(--orange); border-color: var(--orange); }
.button-light { color: var(--ink); background: transparent; }
.hero-media { position: relative; min-height: 620px; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(247,243,237,.13), transparent 35%); }
.hero-badge {
  position: absolute; left: -76px; bottom: 50px; z-index: 2; width: 152px; height: 152px;
  display: grid; place-items: center; padding: 1rem; border: 8px solid var(--paper); border-radius: 50%;
  color: #fff; background: var(--orange); text-align: center; font-size: .75rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase;
}

.trust-strip { color: #fff; background: var(--ink); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-item { padding: 1.35rem 2rem; border-right: 1px solid rgba(255,255,255,.17); text-align: center; font-size: .86rem; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
.trust-item:last-child { border-right: 0; }

.section { padding: 7rem 0; }
.section-soft { background: var(--paper); }
.section-dark { color: #fff; background: var(--sage); }
.section-head { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: end; margin-bottom: 3.2rem; }
.section-head h2, .about-copy h2, .contact-copy h2 { margin-bottom: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.5rem, 5vw, 4.8rem); font-weight: 500; }
.section-head > p { max-width: 570px; margin: 0; color: var(--ink-soft); }
.section-dark .section-head > p { color: rgba(255,255,255,.72); }

.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(3rem, 8vw, 7rem); align-items: center; }
.about-media { position: relative; }
.about-media img { width: 100%; min-height: 520px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.about-media::before { content: ""; position: absolute; left: -26px; top: -26px; width: 150px; height: 150px; border: 2px solid var(--orange); border-radius: var(--radius); z-index: -1; }
.about-copy h2 { margin-bottom: 1.6rem; }
.about-copy p { color: var(--ink-soft); }
.fact-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.fact { padding: 1.15rem; border-left: 3px solid var(--orange); background: #fff; }
.fact strong { display: block; font-size: 1.05rem; }
.fact span { color: var(--ink-soft); font-size: .88rem; }

.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.service-card { min-height: 300px; padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-number { color: var(--orange); font-size: .78rem; font-weight: 850; letter-spacing: .15em; }
.service-card h3 { margin: 4rem 0 1rem; font-size: 1.5rem; }
.service-card p { margin-bottom: 0; color: var(--ink-soft); font-size: .92rem; }

.project-grid { display: grid; grid-template-columns: 1.15fr .85fr .85fr; grid-template-rows: 310px 310px; gap: 1rem; }
.project { position: relative; overflow: hidden; border-radius: var(--radius); }
.project:first-child { grid-row: 1 / 3; }
.project:nth-child(4) { grid-column: 2 / 4; }
.project img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.project:hover img { transform: scale(1.035); }
.project-label { position: absolute; left: 1rem; bottom: 1rem; padding: .65rem .9rem; border-radius: 999px; color: #fff; background: rgba(23,33,38,.83); font-size: .73rem; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; backdrop-filter: blur(8px); }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 3rem; border-top: 1px solid rgba(255,255,255,.22); }
.process-step { padding: 2rem 1.6rem 0 0; }
.process-step span { display: inline-grid; width: 38px; height: 38px; place-items: center; margin-bottom: 1.5rem; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; color: #fff; }
.process-step h3 { margin-bottom: .8rem; font-size: 1.25rem; }
.process-step p { color: rgba(255,255,255,.7); font-size: .9rem; }

.quality-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 5rem; align-items: center; }
.quality-card { max-width: 410px; margin: auto; padding: 1rem; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); transform: rotate(-1deg); }
.quality-card img { width: 100%; border-radius: .7rem; }
.quality-copy h2 { margin-bottom: 1.4rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.5rem, 5vw, 4.8rem); font-weight: 500; }
.quality-copy p { max-width: 600px; color: var(--ink-soft); }
.quality-points { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.quality-point { padding-top: 1rem; border-top: 1px solid var(--line); font-weight: 700; }

.contact-panel { display: grid; grid-template-columns: 1.15fr .85fr; gap: 4rem; align-items: center; padding: clamp(2rem, 6vw, 5rem); border-radius: 2rem; background: var(--paper); }
.contact-copy h2 { margin-bottom: 1.3rem; }
.contact-copy p { max-width: 620px; color: var(--ink-soft); }
.contact-details { padding: 2rem; border-radius: var(--radius); color: #fff; background: var(--ink); }
.contact-details h3 { font-size: 1.3rem; }
.contact-details address { font-style: normal; color: rgba(255,255,255,.76); }
.contact-details a { color: #fff; font-weight: 700; overflow-wrap: anywhere; }
.contact-details hr { margin: 1.4rem 0; border: 0; border-top: 1px solid rgba(255,255,255,.2); }

.site-footer { padding: 2rem 0; border-top: 1px solid var(--line); background: #fff; }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 2rem; color: var(--ink-soft); font-size: .84rem; }
.footer-grid a { text-decoration: none; }

@media (max-width: 960px) {
  .hero-grid, .about-grid, .quality-grid, .contact-panel { grid-template-columns: 1fr; }
  .hero-copy { padding: 5rem max(20px, calc((100vw - 720px) / 2)); }
  .hero-media { min-height: 520px; }
  .hero-badge { left: auto; right: 25px; bottom: 25px; }
  .services { grid-template-columns: 1fr 1fr; }
  .section-head { grid-template-columns: 1fr; gap: 1.2rem; }
  .project-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 380px 280px 280px; }
  .project:first-child { grid-column: 1 / 3; grid-row: auto; }
  .project:nth-child(4) { grid-column: auto; }
}

@media (max-width: 720px) {
  body.admin-bar .site-header { top: 46px; }
  .nav-shell { min-height: 72px; }
  .brand img { width: 138px; height: 54px; }
  .menu-toggle { display: block; }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 1rem 20px 1.4rem; border-bottom: 1px solid var(--line); background: #fff; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: .85rem 0; }
  .nav-cta { margin-top: .4rem; padding-inline: 1rem !important; text-align: center; }
  .hero-grid { min-height: auto; }
  .hero-copy { padding-top: 4rem; padding-bottom: 4rem; }
  h1 { font-size: clamp(3.1rem, 15vw, 4.7rem); }
  .hero-media { min-height: 440px; }
  .hero-badge { width: 120px; height: 120px; font-size: .65rem; }
  .trust-grid, .services, .process-grid, .quality-points { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.17); }
  .section { padding: 5rem 0; }
  .fact-list { grid-template-columns: 1fr; }
  .about-media img { min-height: 390px; }
  .service-card { min-height: 250px; }
  .service-card h3 { margin-top: 2.5rem; }
  .project-grid { display: flex; flex-direction: column; }
  .project { height: 310px; }
  .contact-panel { gap: 2rem; }
  .footer-grid { align-items: flex-start; flex-direction: column; gap: .5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
