/* Modern CSS Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary-color: #00d4ff;
  --primary-dark: #0088cc;
  --accent-color: #ff3b3b;
  --text-light: #ffffff;
  --text-dim: #b3d4ff;
  --glass-bg: rgba(10, 30, 60, 0.6);
  --glass-border: rgba(255, 255, 255, 0.15);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

body {
  font-family: var(--font-body);
  background-image: url('images/bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--text-light);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.bg-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(2, 0, 36, 0.85) 0%, rgba(9, 51, 96, 0.7) 100%);
  z-index: -1;
}

/* Glassmorphism Utility */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

/* ==========================================
   TOP NAVIGATION (Mobile & Desktop)
   ========================================== */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 15px 20px;
  border-radius: 0 0 15px 15px;
  border-top: none;
  border-left: none;
  border-right: none;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  z-index: 101;
  text-decoration: none;
  color: var(--text-light);
}

.nav-logo span {
  color: var(--primary-color);
}

.logo-img {
  height: 80px;
  width: auto;
  object-fit: contain;
}

.menu-toggle {
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--text-light);
  display: block;
  /* Visible on mobile */
  z-index: 101;
}

.nav-links {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: rgba(10, 30, 60, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  display: flex;
  flex-direction: column;
  padding: 20px;
  gap: 15px;
  text-align: center;
  border-bottom: 1px solid var(--glass-border);
  border-radius: 0 0 15px 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
  transform: translateY(-200%);
  opacity: 0;
  transition: all 0.3s ease-in-out;
  z-index: 99;
  pointer-events: none;
}

.nav-links.active {
  transform: translateY(15px);
  opacity: 1;
  pointer-events: auto;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: color 0.3s;
}

.nav-links a:last-child {
  border-bottom: none;
}

.nav-links a:hover {
  color: var(--primary-color);
}

.nav-contact {
  display: none;
}

/* ==========================================
   MAIN LAYOUT
   ========================================== */
.main-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 130px 20px 20px 20px;
  /* Space for mobile nav with logo */
}

.app-container {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: fadeIn 0.8s ease-out;
}

.intro-text {
  display: none;
}

.hero-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Header */
.header {
  text-align: center;
}

.logo-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.logo-icon {
  font-size: 3rem;
  color: var(--primary-color);
  text-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
  animation: float 3s ease-in-out infinite;
}

.logo-text h1 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
}

.logo-text h1 span {
  color: var(--primary-color);
}

.logo-text p {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--text-dim);
  margin-top: 5px;
  text-transform: uppercase;
}

/* Info Bar */
.info-bar {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 14px 12px;
  font-size: 0.85rem;
  border-radius: 12px;
  gap: 10px;
}

.info-item {
  color: var(--text-light);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-item i {
  color: var(--primary-color);
}

.divider {
  display: none;
}

/* CTA Button */
.cta-button {
  width: 100%;
  background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
  color: white;
  border: none;
  padding: 16px;
  font-size: 1.1rem;
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 20px rgba(255, 59, 59, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}

.cta-button:active {
  transform: scale(0.96);
}

.pulse-effect {
  animation: pulseShadow 2s infinite;
}

/* Grid Menu */
.grid-menu {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 25px 15px;
  text-decoration: none;
  color: var(--text-light);
  border-radius: 16px;
  transition: transform 0.3s, background 0.3s;
  position: relative;
  overflow: hidden;
}

.menu-item:hover {
  transform: translateY(-5px);
  background: rgba(20, 50, 90, 0.7);
}

.icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.menu-item:hover .icon-circle.phone {
  color: #00ff88;
  text-shadow: 0 0 15px #00ff88;
}

.icon-circle.whatsapp {
  color: #25D366;
}

.menu-item:hover .icon-circle.whatsapp {
  text-shadow: 0 0 15px #25D366;
}

.menu-item:hover .icon-circle.location {
  color: #ff3b3b;
  text-shadow: 0 0 15px #ff3b3b;
}

.menu-item:hover .icon-circle.service {
  color: var(--primary-color);
  text-shadow: 0 0 15px var(--primary-color);
}

.menu-item:hover .icon-circle.gallery {
  color: #b700ff;
  text-shadow: 0 0 15px #b700ff;
}

.menu-item:hover .icon-circle.contact {
  color: #ffae00;
  text-shadow: 0 0 15px #ffae00;
}

.menu-item span {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
}

/* Other Pages Content Container */
.page-container {
  max-width: 800px;
  margin: 0 auto;
}

.page-content {
  padding: 30px;
  border-radius: 16px;
  line-height: 1.6;
}

.page-content h2 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  margin-bottom: 20px;
  font-size: 2rem;
}

.page-content p {
  margin-bottom: 15px;
  color: var(--text-light);
  font-size: 1.05rem;
}

/* Footer */
.footer {
  text-align: center;
  padding: 15px;
  font-size: 0.85rem;
  color: var(--text-dim);
  border-radius: 16px;
  margin-top: 10px;
  width: 100%;
}

.footer .credits {
  opacity: 0.6;
  margin-top: 5px;
}

/* ==========================================
   MODAL & FORM STYLES
   ========================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  width: 90%;
  max-width: 400px;
  padding: 25px;
  transform: translateY(30px);
  transition: transform 0.3s ease;
  position: relative;
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 10px;
}

.modal-header h3 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  font-size: 1.3rem;
}

.close-modal {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.3s;
}

.close-modal:hover {
  color: var(--accent-color);
}

.form-group {
  margin-bottom: 15px;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--text-dim);
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.3);
  color: white;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.3s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
}

/* Animations & Ripple */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulseShadow {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 59, 59, 0.7);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(255, 59, 59, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 59, 59, 0);
  }
}

.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: ripple-anim 600ms linear;
  background-color: rgba(255, 255, 255, 0.4);
}

@keyframes ripple-anim {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ==========================================
   DESKTOP LAYOUT
   ========================================== */
@media (min-width: 900px) {
  .menu-toggle {
    display: none;
  }

  /* Hide hamburger */

  .main-wrapper {
    padding-top: 120px;
  }

  .top-nav {
    padding: 15px 40px;
    border-radius: 0 0 20px 20px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }

  .nav-container {
    max-width: 1200px;
    margin: 0 auto;
  }

  .nav-logo {
    font-size: 1.8rem;
  }

  .nav-links {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    background: transparent;
    flex-direction: row;
    padding: 0;
    gap: 35px;
    box-shadow: none;
    border: none;
    width: auto;
  }

  .nav-links a {
    border-bottom: none;
    padding: 0;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  .nav-contact {
    display: block;
  }

  .nav-contact .pulse-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
    display: inline-block;
  }

  .nav-contact .pulse-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(0, 212, 255, 0.5);
  }

  .app-container {
    max-width: 1200px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
  }

  /* Make other pages look good on desktop too */
  .app-container.page-container {
    flex-direction: column;
    align-items: stretch;
  }

  .page-content {
    padding: 50px;
  }

  .hero-section {
    flex: 1.2;
    align-items: flex-start;
    text-align: left;
  }

  .header {
    text-align: left;
  }

  .logo-wrapper {
    justify-content: flex-start;
  }

  .intro-text {
    display: block;
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-light);
    margin: 20px 0 30px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  }

  .info-bar {
    display: none;
  }

  .cta-section {
    width: auto;
  }

  .cta-button {
    padding: 18px 40px;
    font-size: 1.2rem;
    border-radius: 30px;
  }

  .grid-menu {
    flex: 1;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    background: rgba(0, 0, 0, 0.2);
    padding: 30px;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  }

  .menu-item {
    padding: 25px 15px;
    background: rgba(255, 255, 255, 0.05);
  }

  .footer {
    max-width: 1200px;
    background: transparent;
    border: none;
    box-shadow: none;
    margin-top: 60px;
    border-top: 1px solid var(--glass-border);
    border-radius: 0;
  }
}

/* ==========================================
   GALLERY TABS
   ========================================== */
.gallery-tabs {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.gallery-tab {
  padding: 10px 20px;
  border: 1px solid var(--glass-border);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-dim);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.gallery-tab:hover {
  background: rgba(0, 212, 255, 0.1);
  color: var(--text-light);
  border-color: rgba(0, 212, 255, 0.3);
}

.gallery-tab.active {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.35);
}

.gallery-tab i {
  font-size: 0.85rem;
}

/* ==========================================
   GALLERY GRID
   ========================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.gallery-item {
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.gallery-item.hidden {
  display: none;
}

/* ==========================================
   GALLERY IMAGES
   ========================================== */
.gallery-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.gallery-img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

/* ==========================================
   GALLERY VIDEOS (Portrait / Dikey)
   ========================================== */
.gallery-item-video {
  grid-row: span 2;
}

.video-card {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: rgba(0, 0, 0, 0.3);
}

.video-card:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 30px rgba(0, 212, 255, 0.2);
}

.gallery-video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
}

.video-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.35) 100%
  );
  transition: background 0.3s ease;
}

.video-card:hover .video-play-overlay {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.05) 0%,
    rgba(0, 0, 0, 0.5) 100%
  );
}

.play-icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.5);
  transition: all 0.3s ease;
}

.video-card:hover .play-icon-circle {
  transform: scale(1.15);
  box-shadow: 0 6px 30px rgba(0, 212, 255, 0.7);
}

.play-icon-circle i {
  color: #fff;
  font-size: 1.4rem;
  margin-left: 3px; /* Optik olarak ortala */
}

/* ==========================================
   LIGHTBOX (Shared)
   ========================================== */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  z-index: 2001;
  transition: color 0.3s ease;
}

.lightbox-close:hover {
  color: var(--primary-color);
}

/* Image Lightbox */
.lightbox-img {
  max-width: 90%;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.lightbox-overlay.active .lightbox-img {
  transform: scale(1);
}

/* Video Lightbox */
.video-lightbox-container {
  width: auto;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.lightbox-overlay.active .video-lightbox-container {
  transform: scale(1);
}

.lightbox-video {
  max-width: 100%;
  max-height: 85vh;
  border-radius: 14px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8);
  background: #000;
  outline: none;
}

/* Desktop: make video not exceed comfortable width for portrait */
@media (min-width: 900px) {
  .lightbox-video {
    max-width: 400px;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
  }

  .video-card {
    min-height: 400px;
  }
}

/* ==========================================
   MAP STYLES
   ========================================== */
.map-wrapper {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  position: relative;
}

.map-wrapper iframe {
  display: block;
  width: 100%;
  min-height: 280px;
}

@media (min-width: 900px) {
  .map-wrapper iframe {
    min-height: 350px;
  }
}