/* Shree Fibreglass — sample landing page */

:root {
  --bg: #0c1117;
  --bg-elevated: #141c26;
  --surface: #1a2433;
  --text: #e8edf4;
  --text-muted: #94a3b8;
  --accent: #38bdf8;
  --accent-dim: #0ea5e9;
  --accent-glow: rgba(56, 189, 248, 0.15);
  --border: rgba(148, 163, 184, 0.12);
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --radius: 12px;
  --radius-lg: 20px;
  --max: 1120px;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 17, 23, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
}

.logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--accent);
}

.logo:hover {
  text-decoration: none;
  opacity: 0.92;
}

.nav {
  display: none;
  gap: 2rem;
  align-items: center;
}

.nav a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9375rem;
  text-decoration: none;
}

.nav a:hover {
  color: var(--text);
  text-decoration: none;
}

.nav-cta {
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: var(--bg) !important;
  border-radius: 999px;
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--accent-dim);
  color: var(--bg) !important;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0 1rem 1rem;
  border-bottom: 1px solid var(--border);
}

.mobile-nav a {
  display: block;
  padding: 0.75rem 0;
  color: var(--text);
  font-weight: 500;
  border-top: 1px solid var(--border);
}

.mobile-nav[hidden] {
  display: none;
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .mobile-nav {
    display: none !important;
  }
}

/* Hero */

.hero {
  position: relative;
  padding: clamp(3rem, 10vw, 6rem) 0 clamp(4rem, 12vw, 7rem);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, var(--accent-glow), transparent 50%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(14, 165, 233, 0.08), transparent 45%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-elevated) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 42rem;
}

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin: 0 0 1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin: 0 0 2rem;
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
  box-shadow: 0 0 0 0 transparent;
}

.btn-primary:hover {
  background: var(--accent-dim);
  box-shadow: 0 8px 24px var(--accent-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
}

.btn-block {
  width: 100%;
}

/* Sections */

.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.section-head {
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
}

/* Services cards */

.services {
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
}

.card-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.5rem 1.75rem;
  transition: border-color 0.2s, transform 0.2s;
}

.card:hover {
  border-color: rgba(56, 189, 248, 0.25);
  transform: translateY(-2px);
}

.card-icon {
  display: block;
  font-size: 1.25rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
  opacity: 0.9;
}

.card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* About */

.about-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }
}

.about-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 1rem;
}

.about-copy > p {
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.stats {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.stats li {
  padding: 0.65rem 0;
  border-top: 1px solid var(--border);
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.stats strong {
  display: block;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.about-panel {
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--surface) 0%, #0f172a 100%);
  border: 1px solid var(--border);
  min-height: 280px;
  display: flex;
  align-items: stretch;
}

.about-panel-inner {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  background:
    linear-gradient(135deg, transparent 40%, var(--accent-glow)),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 8px,
      rgba(56, 189, 248, 0.03) 8px,
      rgba(56, 189, 248, 0.03) 9px
    );
  border-radius: inherit;
}

.about-tag {
  align-self: flex-start;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: auto;
  padding-top: 0.5rem;
}

.about-quote {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.45;
  margin: 0;
  color: var(--text);
}

/* Projects */

.projects {
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
}

.project-strip {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .project-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}

.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s;
}

.project-card:hover {
  border-color: rgba(56, 189, 248, 0.2);
}

.project-thumb {
  height: 160px;
  background-size: cover;
  background-position: center;
}

.project-thumb.p1 {
  background-image: linear-gradient(160deg, #1e3a5f 0%, #0c4a6e 50%, #0f172a 100%);
}

.project-thumb.p2 {
  background-image: linear-gradient(160deg, #134e4a 0%, #0e7490 45%, #0f172a 100%);
}

.project-thumb.p3 {
  background-image: linear-gradient(160deg, #4c1d95 0%, #0369a1 50%, #0f172a 100%);
}

.project-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  padding: 1rem 1.25rem 0;
}

.project-card p {
  margin: 0;
  padding: 0.35rem 1.25rem 1.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Contact */

.contact-box {
  display: grid;
  gap: 2.5rem;
  padding: clamp(2rem, 5vw, 3rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

@media (min-width: 800px) {
  .contact-box {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 3rem;
  }
}

.contact-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2rem);
  margin: 0 0 0.75rem;
}

.contact-copy > p {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
}

.contact-details {
  font-style: normal;
}

.contact-details p {
  margin: 0 0 0.65rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.contact-details strong {
  display: block;
  color: var(--text);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.2rem;
}

.contact-form label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 0.4rem;
  padding: 0.65rem 0.85rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  margin: 0.75rem 0 0;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Footer */

.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  text-align: center;
}

.footer-brand {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-note {
  margin: 0;
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.85;
}
