/* ===== baelli.com Innovations – Stylesheet ===== */
:root {
  --orange: #C87A28;
  --orange-light: #E09040;
  --black: #111111;
  --dark: #1a1a1a;
  --gray: #555555;
  --light-gray: #f5f5f5;
  --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
}

/* ===== NAVIGATION ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 70px;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
  transition: background 0.3s;
}
nav.scrolled { background: rgba(0,0,0,0.95); }

.nav-logo img {
  height: 44px;
  width: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}
.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.85;
  transition: opacity 0.2s, color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { opacity: 1; color: var(--orange-light); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: 0.3s;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/background.gif');
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.35) 60%, rgba(0,0,0,0.7) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding: 2rem;
  max-width: 800px;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.2;
  margin-bottom: 1.2rem;
}
.hero-content h1 strong { font-weight: 700; color: var(--orange-light); }

.hero-content p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  opacity: 0.9;
  margin-bottom: 0.8rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-scroll {
  margin-top: 2rem;
  display: inline-block;
  animation: bounce 2s infinite;
  color: rgba(255,255,255,0.7);
  font-size: 1.8rem;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ===== SECTIONS ===== */
section { padding: 5rem 2rem; }

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--black);
}
.section-title span { color: var(--orange); }

.section-line {
  width: 50px;
  height: 3px;
  background: var(--orange);
  margin: 0.8rem 0 2rem;
}

/* ===== SERVICES GRID ===== */
.services { background: var(--white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 1rem;
}

.service-card {
  background: var(--light-gray);
  border-top: 4px solid var(--orange);
  padding: 2rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.service-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--black);
}
.service-card p {
  color: var(--gray);
  font-size: 0.95rem;
  margin-bottom: 0.7rem;
}

.btn {
  display: inline-block;
  margin-top: 1.2rem;
  padding: 0.6rem 1.4rem;
  background: var(--orange);
  color: var(--white);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.1s;
}
.btn:hover { background: var(--orange-light); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  border: 2px solid var(--orange);
  color: var(--orange);
}
.btn-outline:hover { background: var(--orange); color: var(--white); }

/* ===== ABOUT TEASER ===== */
.about-teaser {
  background: var(--dark);
  color: var(--white);
}
.about-teaser .section-title { color: var(--white); }
.about-teaser p { color: rgba(255,255,255,0.8); max-width: 700px; margin-bottom: 1rem; }

/* ===== CONTACT STRIP ===== */
.contact-strip {
  background: var(--orange);
  color: var(--white);
  text-align: center;
  padding: 4rem 2rem;
}
.contact-strip h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 300;
  margin-bottom: 0.3rem;
}
.contact-strip h2 strong { font-weight: 700; }
.contact-strip p { font-size: 1rem; opacity: 0.9; margin-bottom: 1.8rem; }
.contact-links { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; }
.contact-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.6rem 1.5rem;
  border: 2px solid rgba(255,255,255,0.7);
  transition: background 0.2s;
}
.contact-links a:hover { background: rgba(255,255,255,0.2); }

/* ===== FOOTER ===== */
footer {
  background: var(--black);
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 2rem;
  font-size: 0.85rem;
}
footer a { color: rgba(255,255,255,0.5); text-decoration: none; }
footer a:hover { color: var(--orange); }
footer .footer-logo { margin-bottom: 1rem; }
footer .footer-links { display: flex; justify-content: center; gap: 1.5rem; margin-bottom: 0.5rem; }

/* ===== PORTFOLIO PAGE ===== */
.portfolio-hero {
  height: 40vh;
  min-height: 280px;
}

.portfolio-intro {
  background: var(--white);
  padding: 4rem 2rem 2rem;
}
.portfolio-intro p {
  max-width: 700px;
  color: var(--gray);
  font-size: 1.05rem;
  margin-bottom: 0.8rem;
}

.portfolio-grid {
  padding: 1rem 2rem 5rem;
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #222;
  cursor: pointer;
}
.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}
.portfolio-item:hover img { transform: scale(1.05); }

.portfolio-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  color: var(--white);
  padding: 1.5rem 0.8rem 0.8rem;
  font-size: 0.8rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.portfolio-item:hover .portfolio-caption { transform: translateY(0); }

/* ===== ABOUT PAGE ===== */
.about-content {
  max-width: 750px;
  margin: 0 auto;
  padding: 5rem 2rem;
}
.about-content h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.about-content p {
  color: var(--gray);
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px; left: 0; right: 0;
    background: rgba(0,0,0,0.95);
    padding: 1rem 2rem 2rem;
    gap: 1.2rem;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }

  .portfolio-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .portfolio-item { aspect-ratio: 4/3; }
  .portfolio-caption { transform: translateY(0); font-size: 0.72rem; }
}
