/* Fonts */
@font-face {
  font-family: "Bauhaus";
  src: url("fonts/BauhausRegular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bauhaus";
  src: url("fonts/BauhausBold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "TwCenMT";
  src: url("fonts/TwCenMTStd.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "TwCenMT";
  src: url("fonts/TwCenMTStdSemiBold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "TwCenMT";
  src: url("fonts/TwCenMTStdBold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
/* Explicit Bauhaus 93 mapping */
@font-face {
  font-family: "Bauhaus 93";
  src: url("fonts/Bauhaus 93 Regular.ttf") format("truetype"),
    url("fonts/BAUHS93.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0a1b3d;
  --blue: #2266ff;
  --cyan: #2fd3ff;
  --magenta: #ff2f91;
  --yellow: #ffd400;
  --text: #1b1f23;
  --muted: #6b7280;
  --bg: #ffffff;
  --section: #f6f8fb;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(10, 27, 61, 0.08);
  --gemi: #00afef; /* Brand blue for "gemi" */
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: "TwCenMT", system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header h2 {
  font-family: "Bauhaus", "TwCenMT", sans-serif;
  font-size: 40px;
  .section-header h2 .brand-inline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    vertical-align: middle;
  }
  .section-header h2 .brand-inline img {
    height: 40px;
  }
  .section-header h2 .brand-inline .brand-text {
    font-size: 40px;
    line-height: 1;
    position: relative;
    top: -15px;
  }
}
.section-header h2 .brand-inline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  vertical-align: middle;
}
.section-header h2 .brand-inline img {
  height: 40px;
}
.section-header h2 .brand-inline .brand-text {
  font-size: 40px;
  line-height: 1;
  position: relative;
  top: -2px;
}
.section-header p {
  color: var(--muted);
  margin: 0;
}

/******** Nav ********/
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid #eef2f7;
}
.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 0;
}
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 0;
  padding: 8px;
  cursor: pointer;
  margin-right: 12px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.logo img {
  height: 32px;
}
.logo .brand-text {
  font-family: "Bauhaus 93", "Bauhaus", "TwCenMT", sans-serif;
  font-weight: 400;
  font-size: 26px;
  line-height: 1;
  letter-spacing: 0.5px;
  font-style: italic;
  font-synthesis: style;
}
.logo .brand-gemi {
  color: var(--gemi);
}
.logo .brand-print {
  color: #000;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
}
.nav-menu a:hover {
  color: var(--blue);
}
.nav-dropdown {
  position: relative;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 12px;
  padding: 8px 0;
  min-width: 180px;
  box-shadow: var(--shadow);
  list-style: none;
  z-index: 100;
}
.nav-dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
  display: block;
}
.dropdown-menu li {
  margin: 0;
}
.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s ease;
}
.dropdown-menu a:hover {
  background: #f6f8fb;
  color: var(--blue);
}
.btn-contact {
  padding: 10px 16px;
  background: var(--blue);
  color: #fff !important;
  border-radius: 999px;
}

.mobile-menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  display: block;
}

/******** Quick Navigation Sidebar ********/
.quick-nav {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.quick-nav.hide-on-scroll {
  opacity: 0;
  transform: translateY(-50%) translateX(100px);
  pointer-events: none;
}
.quick-nav-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(10, 27, 61, 0.15);
  position: relative;
  overflow: hidden;
}
.quick-nav-item::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(34, 102, 255, 0.3) 0%,
    transparent 70%
  );
  transform: translate(-50%, -50%);
  transition: width 0.4s ease-out, height 0.4s ease-out;
}
.quick-nav-item.ripple::before {
  width: 200%;
  height: 200%;
  animation: ripple 0.4s ease-out;
}
.quick-nav-item img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  filter: grayscale(0.3);
}
.quick-nav-item.active {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(34, 102, 255, 0.3);
}
.quick-nav-item.active img {
  width: 28px;
  height: 28px;
  filter: grayscale(0);
}
.quick-nav-item:hover:not(.active) {
  background: rgba(34, 102, 255, 0.15);
  transform: scale(1.1);
}
.quick-nav-whatsapp {
  background: rgba(37, 211, 102, 0.9);
  margin-top: 8px;
}
.quick-nav-whatsapp:hover {
  background: rgba(31, 189, 88, 0.95);
  transform: scale(1.1);
}
.quick-nav-whatsapp.active {
  background: rgba(37, 211, 102, 1);
}

@keyframes ripple {
  0% {
    width: 0;
    height: 0;
    opacity: 1;
  }
  100% {
    width: 200%;
    height: 200%;
    opacity: 0;
  }
}

/******** Hero ********/
.hero {
  background: #ccf1ff;
  padding: 72px 0 120px;
  position: relative;
  overflow: visible;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  position: relative;
}
.hero-content {
  position: relative;
  z-index: 2;
  background: #0c1b37;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(10, 27, 61, 0.15);
}
.hero-title {
  font-family: "Bauhaus", "TwCenMT", sans-serif;
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 1.05;
  color: #ffffff;
  margin: 0 0 12px;
}
.highlight {
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-subtitle {
  color: #d1d5db;
  margin-bottom: 24px;
  font-size: 18px;
}
.hero-cta {
  display: flex;
  gap: 14px;
}
.btn {
  display: inline-block;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 700;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover {
  background: #1b55d6;
}
.btn-secondary {
  background: #eef3ff;
  color: var(--blue);
}
.btn-secondary:hover {
  background: #e1eaff;
}
.hero-visual {
  position: relative;
  z-index: 1;
}
.cmyk-banner {
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.3));
  position: relative;
  top: 60px;
}

/******** About ********/
.about {
  padding: 72px 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  text-align: left;
}
.feature-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.2s ease;
  position: relative;
}
.feature-card:hover {
  transform: translateY(-4px);
}
.feature-icon {
  width: 100%;
  height: auto;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border-radius: 14px;
}
.feature-icon img {
  width: 100%;
  max-width: 325px;
  height: auto;
}
.feature-card h3 {
  margin: 8px 0 6px;
  font-size: 20px;
}
.feature-card p {
  color: var(--muted);
  margin: 0;
}

/******** Services ********/
.services {
  background: #ccf1ff;
  padding: 72px 0;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-item {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid #e8eef7;
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease;
}
.service-item:hover {
  transform: translateY(-4px);
}
.service-number {
  position: absolute;
  top: 12px;
  right: 16px;
  font-family: "Bauhaus";
  font-size: 56px;
  color: rgba(10, 27, 61, 0.08);
}
.service-item h3 {
  margin: 8px 0;
  font-size: 20px;
}
.service-item p {
  margin: 0;
  color: var(--muted);
}

/******** Machines ********/
.machines {
  padding: 72px 0;
}
/* Machines Slider */
.machines {
  padding: 72px 0;
  background: #fff;
}

.machines-slider {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
}

.machine-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.machine-slide.active {
  opacity: 1;
  visibility: visible;
}

.machine-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.machine-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: transparent;
  color: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  z-index: 10;
}

.machine-nav-left {
  left: 0%;
}

.machine-nav-right {
  right: 0%;
}

.machine-nav-btn svg {
  width: 38px;
  height: 38px;
  stroke-width: 3;
  display: none;
}

/******** Testimonials ********/
.testimonials {
  background: #ccf1ff;
  padding: 72px 0;
}

.testimonials-slider {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
}

.testimonial-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
}

.testimonial-slide.active {
  display: block;
  animation: rubberSnap 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.testimonial-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Quick Rubber Snap Effect - single bounce */
@keyframes rubberSnap {
  0% {
    transform: scale(0.85);
  }
  60% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/******** Contact ********/
.contact {
  padding: 72px 0;
}
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.contact-info {
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.info-item h3 {
  margin: 0 0 6px;
  font-size: 18px;
}
.info-item p {
  margin: 0;
  color: var(--muted);
}
.contact-form {
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.form-group {
  margin-bottom: 14px;
}
input,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #dfe7f3;
  font: inherit;
}
input:focus,
textarea:focus {
  outline: 2px solid #cfe0ff;
  border-color: #b8d1ff;
}
button[type="submit"] {
  cursor: pointer;
}

/******** Footer ********/
.footer {
  background: var(--navy);
  color: #dbe5ff;
  padding: 48px 0 24px;
}
.footer-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.footer-logo img {
  height: 36px;
  margin-bottom: 10px;
}
.footer-links h4,
.footer-contact h4 {
  color: #fff;
  margin: 0 0 8px;
}
.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.footer a {
  color: #dbe5ff;
  text-decoration: none;
}
.footer a:hover {
  color: #fff;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 24px;
  padding-top: 16px;
  text-align: center;
  color: #b6c7ff;
}

/******** Responsive ********/
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
  }
  .machines-slider {
    height: 400px;
  }

  .machine-nav-btn {
    width: 64px;
    height: 64px;
  }

  .machine-nav-btn svg {
    width: 28px;
    height: 28px;
  }

  .machine-nav-left {
    left: 0%;
  }

  .machine-nav-right {
    right: 0%;
  }

  .testimonials-slider {
    height: 400px;
  }
}
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 64px;
    left: 4%;
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: 12px;
    padding: 12px;
    flex-direction: column;
    gap: 10px;
    width: 220px;
    box-shadow: var(--shadow);
    z-index: 100;
  }
  .nav-menu.open {
    display: flex;
  }
  .mobile-menu-toggle {
    display: flex;
    margin-right: 12px;
  }
  .nav-wrapper {
    justify-content: flex-start;
  }
  .nav-menu {
    margin-left: auto;
  }
  .quick-nav {
    right: 10px;
    gap: 8px;
  }
  .quick-nav-item {
    width: 28px;
    height: 28px;
  }
  .quick-nav-item img {
    width: 16px;
    height: 16px;
  }
  .quick-nav-item.active {
    width: 40px;
    height: 40px;
  }
  .quick-nav-item.active img {
    width: 24px;
    height: 24px;
  }
  .features-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  .contact-info {
    grid-template-columns: 1fr;
  }
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}
