:root {
  --navy: #05345d;
  --dark-navy: #032946;
  --blue: #0a6eac;
  --light-blue: #edf7fc;
  --white: #ffffff;
  --black: #111111;
  --text: #243849;
  --muted: #687987;
  --border: #e2e8ed;
  --green: #24b85a;
  --shadow: 0 10px 30px rgba(7, 43, 76, 0.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--text);
  background: var(--white);
  font-family: "Montserrat", sans-serif;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.section {
  padding: 72px 0;
}

/* HEADER */

.header {
  position: sticky;
  z-index: 1000;
  top: 0;
  border-bottom: 1px solid #e6ebef;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
}

.navbar {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.logo img {
  width: 145px;
  height: 64px;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 35px;
}

.nav-menu a {
  position: relative;
  padding: 33px 0;
  color: var(--black);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.nav-menu a::after {
  position: absolute;
  right: 0;
  bottom: 19px;
  left: 0;
  height: 2px;
  background: var(--blue);
  content: "";
  transform: scaleX(0);
  transition: 0.25s;
}

.nav-menu a:hover::after {
  transform: scaleX(1);
}

.whatsapp-top {
  display: inline-flex;
  min-height: 46px;
  padding: 0 22px;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  color: var(--white);
  background: var(--navy);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(5, 52, 93, 0.2);
}

.menu-button {
  display: none;
  width: 45px;
  height: 45px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
  transition: 0.25s;
}

/* HERO */

.hero {
  position: relative;
  min-height: 600px;
  padding: 65px 0 0;
  overflow: hidden;

  background-image:
    linear-gradient(
      90deg,
      rgba(220, 238, 247, 0.65) 0%,
      rgba(220, 238, 247, 0.30) 34%,
      rgba(220, 238, 247, 0.04) 60%,
      rgba(220, 238, 247, 0) 100%
    ),
    url("images/hero.jpeg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 5px;
}

.hero h1 {
  margin-bottom: 2px;
  color: var(--navy);
  font-size: clamp(50px, 6vw, 72px);
  line-height: 1;
  letter-spacing: 1px;
}

.hero h2 {
  margin-bottom: 20px;
  color: var(--black);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
}

.hero p {
  max-width: 560px;
  margin-bottom: 28px;
  color: #152a3b;
  font-size: 16px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  padding: 0 24px;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  transition: 0.25s;
  gap: 15px;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--navy);
}

.button-outline-dark {
  border: 2px solid var(--navy);
  color: var(--navy);
  background: rgba(255, 255, 255, 0.7);
}

.feature-bar {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 5px;
  left: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(90deg, #06335c, #032846);
  box-shadow: var(--shadow);
}

.feature-item {
  display: flex;
  min-height: 102px;
  padding: 22px 26px;
  align-items: center;
  gap: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.feature-item:last-child {
  border-right: 0;
}

.feature-icon {
  display: flex;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  border-radius: 0 !important;
  color: #ffffff !important;
  font-size: 31px !important;
}

.feature-icon i {
  color: #ffffff !important;
  background: transparent !important;
}

.feature-item h3 {
  margin-bottom: 3px;
  font-size: 13px;
  text-transform: uppercase;
}

.feature-item p {
  margin: 0;
  color: #d6e6ef;
  font-size: 12px;
}

/* SECTION HEADING */

.section-heading {
  margin-bottom: 36px;
}

.section-heading.center {
  text-align: center;
}

.section-heading span,
.about-content > span,
.contact-text > span {
  display: block;
  margin-bottom: 5px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.section-heading h2 {
  color: var(--black);
  font-size: clamp(30px, 4vw, 43px);
  line-height: 1.15;
}

/* SERVICES */

.services {
  padding-top: 56px;
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.service-card {
  position: relative;
  min-height: 240px;
  padding: 24px 20px;
  overflow: hidden;
  border: 1px solid rgba(5, 52, 93, 0.08);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(5, 52, 93, 0.09);
  text-align: center;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.service-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #0a6eac, #2db5d3);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.service-card::after {
  position: absolute;
  right: 38%;
  bottom: 16px;
  left: 38%;
  height: 3px;
  border-radius: 999px;
  background: #0a6eac;
  content: "";
  transition:
    right 0.35s ease,
    left 0.35s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: rgba(10, 110, 172, 0.22);
  box-shadow: 0 22px 45px rgba(5, 52, 93, 0.16);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover::after {
  right: 28%;
  left: 28%;
}

.service-icon {
  display: flex;
  width: 68px;
  height: 68px;
  margin: 0 auto 20px;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  color: #0b4d8a;
  background: #eef7ff;
  box-shadow: inset 0 0 0 1px rgba(10, 110, 172, 0.08);
  font-size: 30px;
  transition: 0.35em;
}

.service-card:hover .service-icon {
  color: #fff;
  background: #0b4d8a;
  transform: scale(1.08);
}

.service-card h3 {
  margin-bottom: 12px;
  color: #111111;
  font-size: 17px;
  line-height: 1.3;
}

.service-card p {
  color: #687987;
  font-size: 12px;
  line-height: 1.65;
}

/* ABOUT */

.about {
  display: grid;
  grid-template-columns: 42% 58%;
  min-height: 440px;
  overflow: hidden;
}

.about-left {
  display: flex;
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(135deg, #073a65, #022846);
  clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%);
}

.about-content {
  width: min(470px, 82%);
  margin-left: auto;
  padding-right: 70px;
}

.about-content > span {
  color: #2db4e1;
}

.about-content h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.2;
}

.about-content p {
  margin-bottom: 16px;
  color: #dce9f0;
  font-size: 14px;
}

.button-white-outline {
  margin-top: 10px;
  border: 1px solid var(--white);
  color: var(--white);
}

.about-right {
  margin-left: -10%;
}

.about-right img {
  height: 100%;
  min-height: 440px;
  object-fit: cover;
}

/* PROJECTS */

.projects {
  background: var(--white);
}

.video-slider {
  position: relative;
  width: 100%;
  padding-right: 54px;
}

.video-viewport {
  width: 100%;
  overflow: hidden;
}

.projects-grid.videos-grid {
  display: flex;
  gap: 12px;
  transition: transform 0.45s ease;
}

.project-video {
  flex: 0 0 calc((100% - 36px) / 4);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
  background: #031d32;
}

.project-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-next {
  position: absolute;
  top: 50%;
  right: 0;
  display: flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  background: #05345d;
  box-shadow: 0 6px 18px rgba(5, 52, 93, 0.25);
  font-size: 18px;
  cursor: pointer;
  transform: translateY(-50%);
  transition: 0.25s;
}

.video-next:hover {
  background: #0a6eac;
  transform: translateY(-50%) scale(1.07);
}

.project-video {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
  background: #031d32;
}

.project-video video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.projects-button {
  margin-top: 20px;
  text-align: center;
}

.button-small-outline {
  min-height: 40px;
  border: 1px solid var(--navy);
  color: var(--navy);
  font-size: 11px;
}

/* CONTACT */

.contact {
  position: relative;
  overflow: hidden;
  padding: 42px 0;
  color: var(--white);
  background:
    linear-gradient(
      rgba(4, 42, 73, 0.45),
      rgba(4, 42, 73, 0.55)
    ),
    url("images/contact-bg.jpeg") center / cover no-repeat;
}

.contact-overlay {
  display: none;
}

.contact-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1.05fr 0.42fr;
  gap: 30px;
  align-items: center;
}

.contact-text > span {
  color: #38b5dd;
}

.contact-text h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 3vw, 40px);
}

.contact-text p {
  max-width: 470px;
  color: #d5e3eb;
  font-size: 13px;
}

.contact-info {
  display: grid;
  gap: 17px;
  font-size: 13px;
  font-weight: 600;
}

.contact-form {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 8px;
  background: var(--white);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #dce3e8;
  border-radius: 4px;
  outline: none;
  color: var(--text);
  background: #fafafa;
  font-size: 12px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  min-height: 40px;
  border: 0;
  border-radius: 4px;
  color: var(--white);
  background: var(--navy);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}

.contact-whatsapp {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #ffffff;
  text-align: center;
}

.whatsapp-icon {
  display: flex;
  width: 78px;
  height: 78px;
  align-items: center;
  justify-content: center;
  border: 5px solid #ffffff;
  border-radius: 50%;
  color: #ffffff;
  background: #25d366;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  font-size: 45px;
}

.contact-whatsapp strong {
  color: #ffffff;
  font-size: 15px;
  line-height: 1.25;
}

.whatsapp-arrow {
  color: #ffffff;
  font-size: 40px;
  line-height: 0.8;
  transform: rotate(15deg);
}

/* FOOTER */

.footer {
  padding: 25px 0 12px;
  color: var(--white);
  background: #032a49;
}

.footer-content {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: center;
  gap: 30px;
}

.footer-content > img {
  width: 140px;
  height: 65px;
  object-fit: contain;
}

.footer nav {
  display: flex;
  justify-content: center;
  gap: 35px;
}

.footer nav a {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.footer-social {
  display: flex;
  gap: 18px;
}

.socials a {
  font-size: 11px;
}

.copyright {
  margin-top: 18px;
  padding-top: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #bcd0dc;
  font-size: 10px;
  text-align: center;
}

/* TABLET */

@media (max-width: 1050px) {
  .nav-menu {
    gap: 20px;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .feature-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-item:nth-child(2) {
    border-right: 0;
  }

  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-whatsapp {
    justify-self: start;
  }

  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* MOBİL MENÜ */

@media (max-width: 820px) {
  .navbar {
    min-height: 74px;
  }

  .logo img {
    width: 120px;
    height: 55px;
  }

  .menu-button {
    display: block;
  }

  .whatsapp-top {
    display: none;
  }

  .nav-menu {
    position: fixed;
    top: 74px;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 15px 5%;
    background: var(--white);
    box-shadow: var(--shadow);
    transform: translateY(-140%);
    transition: 0.3s;
  }

  .nav-menu.open {
    transform: translateY(0);
  }

  .nav-menu a {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
  }

  .nav-menu a::after {
    display: none;
  }

  .hero {
    min-height: 700px;
    padding-top: 70px;
    background-position: 62% center;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero h2 {
    max-width: 410px;
    font-size: 25px;
  }

  .hero p {
    max-width: 450px;
  }

  .feature-bar {
    position: absolute;
    grid-template-columns: 1fr 1fr;
  }

  .feature-item {
    min-height: 90px;
    padding: 15px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about {
    grid-template-columns: 1fr;
  }

  .about-left {
    min-height: 400px;
    clip-path: none;
  }

  .about-content {
    width: 90%;
    margin: auto;
    padding: 60px 0;
  }

  .about-right {
    margin-left: 0;
  }

  .about-right img {
    min-height: 320px;
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-whatsapp {
    justify-self: center;
  }

  .footer-content {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer nav {
    flex-wrap: wrap;
    gap: 18px;
  }
}

/* TELEFON */

@media (max-width: 560px) {
  .section {
    padding: 58px 0;
  }

  .hero {
    min-height: 830px;
    padding-top: 55px;
    background:
      linear-gradient(
        rgba(229, 244, 252, 0.96),
        rgba(229, 244, 252, 0.82)
      ),
      url("images/hero.jpeg") 65% center;
  }

  .hero h1 {
    font-size: 41px;
  }

  .hero h2 {
    font-size: 23px;
  }

  .hero p {
    font-size: 14px;
  }

  .hero-buttons {
    align-items: stretch;
    flex-direction: column;
  }

  .feature-bar {
    right: 4%;
    bottom: 12px;
    left: 4%;
    grid-template-columns: 1fr;
  }

  .feature-item {
    min-height: 72px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .feature-item:last-child {
    border-bottom: 0;
  }
  
  .feature-item{
      display: flex;
      align-items: center;
      gap: 16px;
  }
.feature-item .service-icon{
    flex:0 0 70px;
    width: 70px;
    height: 70px;
    margin: 0;
}
  .services {
    padding-top: 60px;
  }

  .services-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .projects-grid img {
    height: 210px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}
.feature-item {
  display: flex;
  min-height: 102px;
  padding: 22px 26px;
  align-items: center;
  gap: 15px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.feature-item:last-child {
  border-right: 0;
}

.feature-icon {
  display: flex;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-size: 31px;
}

.feature-icon i {
  color: #ffffff;
  background: transparent;
}

.feature-item h3 {
  margin-bottom: 3px;
  color: #ffffff;
  font-size: 13px;
  text-transform: uppercase;
}

.feature-item p {
  margin: 0;
  color: #d6e6ef;
  font-size: 12px;
}
.service-card {
  cursor: pointer;
}

.gallery-modal {
  position: fixed;
  z-index: 5000;
  inset: 0;
  display: none;
  padding: 30px;
  overflow-y: auto;
  background: rgba(2, 25, 44, 0.9);
}

.gallery-modal.open {
  display: block;
}

.gallery-modal-content {
  position: relative;
  width: min(1000px, 100%);
  margin: 30px auto;
  padding: 38px 30px 30px;
  border-radius: 16px;
  background: #ffffff;
}

.gallery-modal-content h2 {
  margin-bottom: 24px;
  color: #05345d;
  text-align: center;
}

.gallery-close {
  position: absolute;
  top: 8px;
  right: 16px;
  border: 0;
  color: #05345d;
  background: transparent;
  font-size: 38px;
  cursor: pointer;
}

.gallery-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.gallery-images img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 9px;
  object-fit: cover;
}

@media (max-width: 700px) {
  .gallery-images {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 450px) {
  .gallery-images {
    grid-template-columns: 1fr;
  }
}
.gallery-images video {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 9px;
  object-fit: cover;
  background: #031d32;
}

@media (max-width:768px) {
    .feature-item{
        display: flex;
        align-items: center;
        padding: 20px;
        gap: 16px;
    }
    .feature-item .service-icon{
        flex: 0 0 42px;
        width: 42px;
        height: 42px;
        margin: 0;
    }
}

.gallery-hint{
    position: absolute;
    right: 18px;
    bottom: 18px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(255,255,255,.95);
    color: #05345d;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
    animation:point 1.2s infinite;
    pointer-events: none;
}

.gallery-hint i{
    color: #0a6eac;
}

@keyframes point{
    0%,100%{
        transform: translateX(0);
    }
    50%{
        transform: translateX(-6px);
    }
}
