:root {
  --bg: #030712;
  --panel: rgba(255, 255, 255, 0.03);
  --text: #f8fbff;
  --muted: #9ca3af;
  --orange: #ff7b00;
  --blue: #00a8ff;
  --green: #18b845;
  --font-family: 'Montserrat', sans-serif;
  --font-display: 'Outfit', sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  padding: 0;
}

/* Mobile-First body setup with native scroller */
body {
  font-family: var(--font-family);
  color: var(--text);
  background-color: var(--bg);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

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

/* Mobile-First Page Shell */
.page-shell {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 2.5rem 1rem 1.5rem;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 10%, rgba(244, 122, 0, 0.16), transparent 250px),
    radial-gradient(circle at 90% 90%, rgba(5, 139, 210, 0.22), transparent 280px),
    linear-gradient(135deg, #05070c 0%, #0a1018 45%, #03111a 100%);
}

/* Grid Overlay stretching full screen */
.page-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.01) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 2;
  mask-image: radial-gradient(circle at 50% 50%, black 80%, transparent 100%);
}

/* Glowing mesh gradient background items - Min-size on mobile so they don't dissolve */
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 1;
  pointer-events: none;
  opacity: 0.35;
  animation: pulse 8s infinite alternate ease-in-out;
}

.glow-1 {
  width: 280px;
  height: 280px;
  background: var(--orange);
  top: -80px;
  left: -80px;
}

.glow-2 {
  width: 300px;
  height: 300px;
  background: var(--blue);
  bottom: -100px;
  right: -100px;
  animation-delay: 2.5s;
}

@keyframes pulse {
  0% {
    transform: scale(1) translate(0, 0);
    opacity: 0.22;
  }
  100% {
    transform: scale(1.15) translate(30px, 20px);
    opacity: 0.38;
  }
}

/* Main Layout Content Wrapper */
.content-wrapper {
  width: 100%;
  max-width: 1100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 5;
  flex-grow: 1;
  gap: 2.5rem;
}

/* Brand Header */
.brand {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 0.5rem;
}

.logo {
  width: clamp(190px, 24vw, 340px);
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
}

/* Hero Title & Subtitle */
.hero-copy {
  text-align: center;
  width: 100%;
  max-width: 900px;
}

.hero-copy h1 {
  display: flex;
  flex-direction: column;
  gap: 0.4vh;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3.6rem);
  line-height: 1.1;
  font-weight: 900;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
  margin: 0;
}

.hero-copy h1 span {
  font-size: 0.45em;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--blue);
  text-shadow: 0 0 10px rgba(0, 168, 255, 0.3);
  margin-bottom: 0.2rem;
}

.hero-copy h1 strong {
  color: var(--orange);
  font-weight: 900;
  letter-spacing: -0.5px;
}

.hero-copy p {
  width: 80%;
  max-width: 520px;
  margin: 1.2vh auto 0;
  padding-top: 1vh;
  border-top: 1.5px solid transparent;
  border-image: linear-gradient(90deg, transparent, var(--orange), var(--blue), transparent) 1;
  color: var(--muted);
  font-size: clamp(0.9rem, 1.2vw, 1.15rem);
  font-weight: 500;
  line-height: 1.4;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* Geri Sayım Sayacı (Countdown) */
.countdown-container {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 0.5rem 0;
}

.timer-box {
  min-width: clamp(90px, 10vw, 120px);
  padding: 1.2rem 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), border-color 0.3s ease, box-shadow 0.3s ease;
}

.timer-box:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 123, 0, 0.4);
  box-shadow: 0 12px 40px rgba(255, 123, 0, 0.15);
}

#box-hours:hover {
  border-color: rgba(0, 168, 255, 0.4);
  box-shadow: 0 12px 40px rgba(0, 168, 255, 0.15);
}

#box-minutes:hover {
  border-color: rgba(255, 123, 0, 0.4);
  box-shadow: 0 12px 40px rgba(255, 123, 0, 0.15);
}

#box-seconds:hover {
  border-color: rgba(0, 168, 255, 0.4);
  box-shadow: 0 12px 40px rgba(0, 168, 255, 0.15);
}

.timer-number {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 3.8vw, 3.4rem);
  font-weight: 900;
  line-height: 1;
  color: #fff;
  letter-spacing: -1px;
}

#box-days .timer-number,
#box-minutes .timer-number {
  background: linear-gradient(135deg, #fff 40%, var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#box-hours .timer-number,
#box-seconds .timer-number {
  background: linear-gradient(135deg, #fff 40%, var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.timer-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.8px;
  margin-top: 0.5rem;
}

/* Services Grid */
.services-grid {
  width: 100%;
  max-width: 950px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.service-card {
  padding: 1.25rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 123, 0, 0.3);
  box-shadow: 0 10px 25px rgba(255, 123, 0, 0.08);
}

.service-card:nth-child(even):hover {
  border-color: rgba(0, 168, 255, 0.3);
  box-shadow: 0 10px 25px rgba(0, 168, 255, 0.08);
}

.service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 123, 0, 0.08);
  color: var(--orange);
  transition: all 0.3s ease;
}

.service-card:nth-child(even) .service-icon {
  background: rgba(0, 168, 255, 0.08);
  color: var(--blue);
}

.service-card:hover .service-icon {
  transform: scale(1.1);
  background: var(--orange);
  color: #fff;
  box-shadow: 0 0 15px rgba(255, 123, 0, 0.4);
}

.service-card:nth-child(even):hover .service-icon {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 0 15px rgba(0, 168, 255, 0.4);
}

.service-icon svg {
  width: 24px;
  height: 24px;
}

.service-card h3 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
}

/* Contact Hub */
.contact-hub {
  width: 100%;
  max-width: 950px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.contact-card {
  padding: 1.4rem 1.6rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

.okan-card {
  border-left: 4px solid var(--orange);
}

.denizer-card {
  border-left: 4px solid var(--blue);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
}

.okan-card .avatar {
  background: linear-gradient(135deg, var(--orange), #ff9e43);
  box-shadow: 0 0 15px rgba(255, 123, 0, 0.35);
}

.denizer-card .avatar {
  background: linear-gradient(135deg, var(--blue), #5bc2ff);
  box-shadow: 0 0 15px rgba(0, 168, 255, 0.35);
}

.meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.meta h2 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.2px;
}

.meta span {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
}

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

.action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.tel-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
}

.tel-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.tel-btn svg {
  width: 16px;
  height: 16px;
  color: var(--orange);
}

.denizer-card .tel-btn svg {
  color: var(--blue);
}

.wa-btn {
  background: linear-gradient(180deg, #3bd96b 0%, #119a35 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(24, 184, 69, 0.2);
}

.wa-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 6px 15px rgba(24, 184, 69, 0.35);
}

.wa-btn svg {
  width: 18px;
  height: 18px;
}

/* Info Grid (bottom bar) */
.info-grid {
  width: 100%;
  max-width: 950px;
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.35fr;
  gap: 1rem;
}

.info-item {
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: #fff;
  transition: all 0.2s ease;
}

a.info-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 123, 0, 0.3);
  color: var(--orange);
}

a.info-item:nth-child(2):hover {
  border-color: rgba(0, 168, 255, 0.3);
  color: var(--blue);
}

.info-item svg {
  width: 16px;
  height: 16px;
  color: var(--orange);
  flex-shrink: 0;
}

.info-item:nth-child(2) svg {
  color: var(--blue);
}

.address-item svg {
  color: var(--orange);
}

.address-item span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Footer styling */
.site-footer {
  width: 100%;
  max-width: 1100px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 2rem;
  color: rgba(247, 251, 255, 0.5);
  font-size: clamp(0.72rem, 1vw, 0.82rem);
  text-align: center;
  z-index: 5;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.5vh;
  margin-top: auto;
}

.site-footer p {
  margin: 0;
}

.site-footer strong {
  color: #fff;
}

.site-footer a:hover {
  color: var(--blue);
}

/* Desktop-Only Locked Viewport & Layout rules */
@media (min-width: 993px) {
  body {
    overflow: hidden; /* Lock scroll on desktop */
  }

  .page-shell {
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
    padding: 3vh 2vw 2vh;
    justify-content: space-between;
    background:
      radial-gradient(circle at 10% 10%, rgba(244, 122, 0, 0.12), transparent 35vw),
      radial-gradient(circle at 90% 90%, rgba(5, 139, 210, 0.18), transparent 35vw),
      linear-gradient(135deg, #05070c 0%, #0a1018 45%, #03111a 100%);
  }

  .glow {
    filter: blur(120px);
  }

  .glow-1 {
    width: 450px;
    height: 450px;
    top: -120px;
    left: -120px;
  }

  .glow-2 {
    width: 500px;
    height: 500px;
    bottom: -150px;
    right: -150px;
  }

  .content-wrapper {
    gap: 1.5vh;
  }
}

/* Responsive Media Queries for Tablet & Small Screens */
@media (max-width: 992px) {
  .content-wrapper {
    gap: 2rem;
  }

  .contact-hub {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .info-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
    gap: 0.75rem;
  }

  .info-item {
    justify-content: flex-start;
  }

  .address-item span {
    white-space: normal;
    text-overflow: clip;
    word-break: break-word;
    text-align: left;
  }
}

@media (max-width: 768px) {
  .page-shell {
    padding: 2.5rem 1rem 1.5rem;
    gap: 2.2rem;
  }

  .content-wrapper {
    gap: 2.2rem;
  }

  .hero-copy h1 span {
    font-size: 0.5em;
  }

  .countdown-container {
    gap: 0.75rem;
  }

  .timer-box {
    min-width: 75px;
    padding: 0.9rem 0.6rem;
    border-radius: 16px;
  }

  .timer-number {
    font-size: 1.8rem;
  }

  .timer-label {
    font-size: 0.75rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 480px;
    gap: 1rem;
  }

  .service-card {
    padding: 1rem 0.8rem;
  }

  .service-icon {
    width: 40px;
    height: 40px;
  }

  .service-icon svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 480px) {
  .contact-card {
    padding: 1.2rem 1.2rem;
    gap: 1rem;
  }

  .card-actions {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .action-btn {
    padding: 0.65rem 1rem;
  }

  .meta h2 {
    font-size: 1.1rem;
  }
}
