@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");

/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #1a1a1a;
  --secondary: #ffffff;
  --accent: #0066cc;
  --text-primary: #1a1a1a;
  --text-secondary: #666666;
  --border: #e5e5e5;
  --bg-light: #fafafa;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, sans-serif;
  color: var(--text-primary);
  background: var(--secondary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ================= CONTAINER ================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.container-wide {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
}

.container-small {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ================= HEADER ================= */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

header.shrink {
  border-bottom-color: var(--border);
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.03);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.3px;
}

.logo-main {
  color: var(--primary);
}

.logo-sub {
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 400;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 32px;
}

nav a {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s ease;
}

nav a:hover {
  color: var(--text-primary);
}

/* ================= BUTTONS ================= */
.btn-primary {
  display: inline-block;
  padding: 14px 28px;
  background: var(--text-primary);
  color: var(--secondary);
  font-size: 13px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  background: transparent;
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--text-primary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: var(--text-primary);
  color: var(--secondary);
}

/* ================= HERO ================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 0;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../images/hero.jpg") center/cover no-repeat;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.4),
    rgba(0, 0, 0, 0.7)
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
  padding: 0 40px;
}

.hero-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 24px;
}

.hero-title {
  font-size: 80px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -3px;
  color: var(--secondary);
  margin-bottom: 28px;
}

.hero-description {
  font-size: 20px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 48px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ================= SECTIONS ================= */
section {
  padding: 140px 0;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 100px;
}

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.section-title {
  font-size: 56px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.section-description {
  font-size: 19px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ================= SERVICES ================= */
.section-services {
  background: var(--bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}

.service-card {
  background: var(--secondary);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
}

.service-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  margin-bottom: 0;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-overlay {
  position: absolute;
  top: 24px;
  right: 24px;
}

.service-number {
  display: block;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-primary);
  font-size: 20px;
  font-weight: 600;
  line-height: 60px;
  text-align: center;
  border-radius: 50%;
}

.service-content {
  padding: 50px 40px;
}

.service-content h3 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.service-content p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.service-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
}

/* ================= FEATURED ================= */
.section-featured {
  background: var(--text-primary);
  color: var(--secondary);
}

.featured-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 100px;
  align-items: center;
}

.featured-text .section-label {
  color: rgba(255, 255, 255, 0.6);
  text-align: left;
}

.featured-text .section-header {
  text-align: left;
  margin-bottom: 0;
}

.featured-text .section-title {
  color: var(--secondary);
}

.featured-description {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
}

.featured-list {
  list-style: none;
  margin-bottom: 48px;
}

.featured-list li {
  padding: 14px 0;
  padding-left: 28px;
  position: relative;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
}

.featured-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.featured-image img {
  width: 100%;
}

/* ================= PRODUCTS ================= */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}

.product-card {
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-8px);
}

.product-image {
  position: relative;
  aspect-ratio: 1;
  background: var(--bg-light);
  padding: 60px;
  margin-bottom: 32px;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 6px 14px;
  background: var(--text-primary);
  color: var(--secondary);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.product-info h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
}

.product-info p {
  font-size: 15px;
  color: var(--text-secondary);
}

/* ================= PORTFOLIO ================= */
.section-portfolio {
  background: var(--bg-light);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.portfolio-card {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 30%, rgba(0, 0, 0, 0.95));
  display: flex;
  align-items: flex-end;
  padding: 50px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-card:hover .portfolio-image img {
  transform: scale(1.08);
}

.portfolio-content {
  color: var(--secondary);
}

.portfolio-category {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.portfolio-content h3 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 12px;
}

.portfolio-content p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
}

.portfolio-link {
  font-size: 13px;
  font-weight: 500;
}

/* ================= CONTACT ================= */
.section-contact {
  background: var(--bg-light);
}

.contact-form {
  background: var(--secondary);
  padding: 70px;
  margin-bottom: 80px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.form-group {
  margin-bottom: 30px;
}

.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 16px;
  font-size: 15px;
  font-family: "Inter", sans-serif;
  border: 1px solid var(--border);
  background: var(--bg-light);
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--text-primary);
}

.form-group textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  text-align: center;
}

.contact-item h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.contact-item p {
  font-size: 17px;
  color: var(--text-secondary);
}

/* ================= FOOTER ================= */
footer {
  background: var(--text-primary);
  color: var(--secondary);
  padding: 100px 0 50px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 100px;
  margin-bottom: 80px;
  padding-bottom: 80px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 24px;
  line-height: 1.7;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.footer-column h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.footer-column a {
  display: block;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 14px;
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: var(--secondary);
}

.footer-bottom {
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

/* ================= ANIMATIONS ================= */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 64px;
  }

  .section-title {
    font-size: 48px;
  }

  .services-grid,
  .products-grid,
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .featured-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  section {
    padding: 80px 0;
  }

  nav ul {
    display: none;
  }

  .hero-title {
    font-size: 48px;
  }

  .section-title {
    font-size: 36px;
  }

  .services-grid,
  .products-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}
