@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@300;400;500;600;700&family=Exo+2:wght@300;400;500;600;700&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-color: hsl(256 1.3% 92.9%);
}

:root {
  --background: 216 12% 84%;
  --foreground: 265 4% 13%;
  --card: 0 0% 100%;
  --card-foreground: 265 4% 13%;
  --primary: 218 11% 65%;
  --primary-foreground: 210 40% 98%;
  --secondary: 0 0% 45%;
  --secondary-foreground: 214 32% 91%;
  --muted: 248 1% 97%;
  --muted-foreground: 257 5% 55%;
  --accent: 248 1% 97%;
  --accent-foreground: 266 4% 21%;
  --border: 256 1.3% 92.9%;
  --radius: 0rem;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Exo 2', sans-serif;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

::selection {
  background: hsla(217, 91%, 60%, 0.3);
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Rajdhani', sans-serif;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ========== HEADER ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s;
}

.site-header.scrolled {
  background: hsla(var(--background), 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid hsl(var(--border));
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.15em;
  color: hsl(var(--accent-foreground));
}

.desktop-nav {
  display: none;
  gap: 3rem;
  align-items: center;
}

.desktop-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
  transition: color 0.2s;
}

.desktop-nav a:hover {
  color: hsl(var(--primary));
}

@media (min-width: 768px) {
  .desktop-nav { display: flex; }
  .mobile-toggle { display: none !important; }
}

.mobile-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: hsl(var(--foreground));
  transition: transform 0.3s, opacity 0.3s;
}

.mobile-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  background: hsla(var(--background), 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid hsl(var(--border));
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
  transition: color 0.2s;
}

.mobile-nav a:hover { color: hsl(var(--primary)); }

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: hsla(var(--background), 0.4);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 56rem;
  padding: 20px 55px 0;
}

.hero-tag {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.125rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: hsla(var(--primary-foreground), 0.8);
  animation: slideUp 0.6s ease-out forwards;
}

.hero h1 {
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: hsl(var(--accent-foreground));
  text-shadow: 0 2px 8px rgba(0,0,0,0.15);
  animation: slideUp 0.6s ease-out 0.15s forwards;
  opacity: 0;
}

.hero-desc {
  font-size: 1.125rem;
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  color: hsl(var(--primary-foreground));
  animation: slideUp 0.6s ease-out 0.3s forwards;
  opacity: 0;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 3.5rem;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.875rem;
  color: hsl(var(--primary-foreground));
  background: hsl(var(--accent-foreground));
  border: none;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s;
  animation: slideUp 0.6s ease-out 0.45s forwards;
  margin-top: 1rem;
}

.hero-cta:hover { opacity: 0.85; }

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: pulseGlow 3s ease-in-out infinite;
}

.scroll-indicator-inner {
  width: 24px;
  height: 40px;
  border: 2px solid hsla(var(--primary), 0.4);
  border-radius: 9999px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 8px;
}

.scroll-dot {
  width: 4px;
  height: 8px;
  background: hsl(var(--primary));
  border-radius: 9999px;
}

/* ========== MATERIALS ========== */
.materials {
  padding: 6rem 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.875rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: hsl(var(--primary));
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  color: hsl(var(--muted-foreground));
}

.materials-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.material-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  transition: background 0.3s;
}

.material-item:not(:last-child) {
  border-bottom: 1px solid hsla(var(--border), 0.5);
}

@media (min-width: 768px) {
  .material-item {
    flex-direction: row;
    gap: 2.5rem;
    padding: 2rem 1.5rem;
  }
  .material-item:nth-child(even) {
    flex-direction: row-reverse;
  }
}

.material-img-wrap {
  width: 100%;
  max-width: 256px;
  height: 192px;
  overflow: hidden;
  flex-shrink: 0;
  border-radius: 0.375rem;
}

.material-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

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

.material-info { flex: 1; }

.material-name-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.material-name {
  font-size: 1.25rem;
  font-weight: 600;
}

.material-tag {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.125rem 0.5rem;
  background: hsla(var(--primary), 0.2);
  color: hsl(var(--primary));
  border: 1px solid hsla(var(--primary), 0.3);
}

.material-desc {
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
  font-size: 0.9375rem;
}

/* ========== SERVICES ========== */
.services {
  padding: 6rem 0;
  background: hsla(var(--muted), 0.2);
}

.services-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 56rem;
  margin: 0 auto;
}

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

.service-card {
  padding: 2rem;
  background: hsl(var(--card));
  border: 1px solid hsla(217, 91%, 60%, 0.15);
  transition: box-shadow 0.5s;
}

.service-card:hover {
  box-shadow: 0 0 20px hsla(217, 91%, 60%, 0.2), 0 0 60px hsla(217, 91%, 60%, 0.07);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: hsla(var(--primary), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: background 0.3s;
}

.service-card:hover .service-icon {
  background: hsla(var(--primary), 0.2);
}

.service-icon svg {
  width: 24px;
  height: 24px;
  stroke: hsl(var(--primary));
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  line-height: 1.7;
}

.services-footer {
  text-align: center;
  color: hsl(var(--muted-foreground));
  margin-top: 3rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

/* ========== GALLERY ========== */
.gallery {
  padding: 3rem 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

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

.gallery-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid hsla(217, 91%, 60%, 0.15);
  cursor: pointer;
  background: none;
  padding: 0;
}

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

.gallery-item:hover img { transform: scale(1.1); }

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.gallery-item:hover .gallery-item-overlay {
  background: hsla(var(--background), 0.4);
}

.gallery-item-overlay span {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: hsl(var(--foreground));
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover .gallery-item-overlay span { opacity: 1; }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: hsla(var(--background), 0.95);
  backdrop-filter: blur(12px);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox.open { display: flex; }

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: hsl(var(--foreground));
  transition: color 0.2s;
}

.lightbox-close:hover { color: hsl(var(--primary)); }

.lightbox-close svg {
  width: 32px;
  height: 32px;
}

.lightbox img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
}

/* ========== CONTACT ========== */
.contact {
  padding: 3rem 0;
  background: hsla(var(--muted), 0.2);
}

.contact-inner {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
}

.contact-desc {
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
  margin-bottom: 3rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 640px) {
  .contact-links {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: hsl(var(--card));
  border: 1px solid hsla(217, 91%, 60%, 0.15);
  transition: box-shadow 0.3s;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.contact-link:hover {
  box-shadow: 0 0 20px hsla(217, 91%, 60%, 0.2);
}

.contact-link svg {
  width: 20px;
  height: 20px;
  stroke: hsl(var(--primary));
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-link.facebook svg {
  fill: hsl(var(--primary));
  stroke: none;
}

/* ========== FOOTER ========== */
.site-footer {
  padding: 2rem 0;
  border-top: 1px solid hsl(var(--border));
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 640px) {
  .footer-inner { flex-direction: row; }
}

.footer-copy {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* ========== ANIMATIONS ========== */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.4; }
  50%      { opacity: 1; }
}

.section-fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.section-fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
