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

:root {
  /* Gece Mavisi & Gümüş tema */
  --gold: #c7d2e0;
  --gold-light: #e8eef7;
  --gold-dark: #8fa3bd;
  --accent: #9db8e0;
  --accent-deep: #5d7fb5;
  --moon: #dfe6f0;
  --bg-dark: #070b14;
  --bg-section: #0a1020;
  --bg-card: #111a2d;
  --bg-card-hover: #17223a;
  --text: #eef2f9;
  --text-muted: #a8b4c8;
  --text-dim: #66738c;
  --rose: #b9c9e2;
  --rose-dark: #8ba0c4;
  --white: #fff;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Poppins', 'Segoe UI', sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── Canvas ── */
#bg3d {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: background 0.4s, padding 0.4s, box-shadow 0.4s;
}

.navbar.scrolled {
  background: rgba(7, 11, 20, 0.92);
  backdrop-filter: blur(16px);
  padding: 0.6rem 0;
  box-shadow: 0 2px 30px rgba(157, 184, 224, 0.08);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text);
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  width: 34px;
  height: 34px;
}

.logo-icon svg {
  width: 30px;
  height: 30px;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.logo-highlight {
  color: var(--gold);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s;
}

/* ── Hero ── */
.hero {
  position: relative;
  z-index: 1;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 2rem;
  overflow: hidden;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero-video-bg video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(10,10,10,0.35) 0%, rgba(10,10,10,0.72) 60%, var(--bg-dark) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeUp 1s 0.3s forwards;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text);
  opacity: 0;
  animation: fadeUp 1s 0.5s forwards;
}

.hero-title .accent {
  color: var(--gold);
  font-style: italic;
}

.hero-desc {
  max-width: 560px;
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-top: 1.5rem;
  opacity: 0;
  animation: fadeUp 1s 0.7s forwards;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
  opacity: 0;
  animation: fadeUp 1s 0.9s forwards;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.4s;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-deep), var(--accent));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(93, 127, 181, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(157, 184, 224, 0.5);
}

.btn-outline {
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
}

.btn-outline:hover {
  background: rgba(157, 184, 224, 0.1);
  transform: translateY(-2px);
}

.btn-large {
  padding: 1rem 3rem;
  font-size: 0.95rem;
}

.btn-full {
  width: 100%;
  text-align: center;
}

/* ── Scroll Indicator ── */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeUp 1s 1.2s forwards;
}

.scroll-indicator span {
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
}

.mouse {
  width: 22px;
  height: 36px;
  border: 2px solid var(--gold);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.wheel {
  width: 3px;
  height: 8px;
  background: var(--gold);
  border-radius: 2px;
  animation: scroll-wheel 1.5s infinite;
}

/* ── Sections ── */
.section {
  position: relative;
  z-index: 1;
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text);
}

.section-sub {
  max-width: 500px;
  margin: 1rem auto 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ── About ── */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid rgba(157, 184, 224, 0.08);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.4s;
}

.about-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(157, 184, 224, 0.2);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.about-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(157,184,224,0.12), rgba(157,184,224,0.02));
  border: 1px solid rgba(157,184,224,0.18);
  color: var(--gold);
}

.about-icon svg {
  width: 36px;
  height: 36px;
}

.about-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: var(--text);
}

.about-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── Services ── */
.services {
  background: var(--bg-section);
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.services .section-header,
.services .services-grid {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 2rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid rgba(157, 184, 224, 0.06);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s;
}

.service-card:hover {
  border-color: rgba(157, 184, 224, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.service-card:hover::before {
  opacity: 1;
}

.service-num {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(157, 184, 224, 0.07);
}

.service-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(157,184,224,0.08);
  color: var(--gold);
}

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

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── Gallery ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
}

.gallery-item.gallery-large {
  aspect-ratio: auto;
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

.gallery-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.gallery-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-item:hover .gallery-img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--gold);
}

/* ── CTA ── */
.cta {
  text-align: center;
  background: linear-gradient(135deg, rgba(157, 184, 224, 0.08), rgba(157, 184, 224, 0.02));
  border-top: 1px solid rgba(157, 184, 224, 0.1);
  border-bottom: 1px solid rgba(157, 184, 224, 0.1);
  max-width: 100%;
  padding-left: 2rem;
  padding-right: 2rem;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  align-items: start;
}

.info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.info-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(157, 184, 224, 0.08);
  border-radius: 12px;
  flex-shrink: 0;
  color: var(--gold);
}

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

.info-item h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.info-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1.2rem;
  background: var(--bg-card);
  border: 1px solid rgba(157, 184, 224, 0.1);
  border-radius: 12px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-dim);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(157, 184, 224, 0.1);
}

.form-group textarea {
  resize: vertical;
}

/* ── WhatsApp Contact ── */
.contact-whatsapp {
  background: var(--bg-card);
  border: 1px solid rgba(157, 184, 224, 0.14);
  border-radius: 24px;
  padding: 2.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.4s;
}

.contact-whatsapp:hover {
  border-color: rgba(157, 184, 224, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.whatsapp-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.whatsapp-badge {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #1ebe5d);
  color: #fff;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.whatsapp-badge svg {
  width: 34px;
  height: 34px;
}

.whatsapp-title {
  text-align: left;
}

.whatsapp-title h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.whatsapp-title p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.whatsapp-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.8rem;
  max-width: 400px;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 1rem 2.4rem;
  border-radius: 50px;
  background: linear-gradient(135deg, #25d366, #1ebe5d);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.35);
  transition: all 0.4s;
  cursor: pointer;
}

.btn-whatsapp svg {
  width: 22px;
  height: 22px;
}

.btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(37, 211, 102, 0.5);
}

.whatsapp-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.4rem;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #25d366;
  position: relative;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  animation: pulse-ring 1.6s infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(3);
    opacity: 0;
  }
}

/* ── Footer ── */
.footer {
  position: relative;
  z-index: 1;
  background: var(--bg-section);
  border-top: 1px solid rgba(157, 184, 224, 0.08);
  padding: 4rem 2rem 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-brand h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0.5rem 0;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer-links a {
  display: block;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 0.6rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-contact p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.footer-bottom {
  text-align: center;
  padding: 1.5rem 0;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ── Reveal Animation ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Keyframes ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scroll-wheel {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(8px);
  }
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: rgba(7, 11, 20, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 5rem 2rem;
    gap: 1.5rem;
    transition: right 0.4s;
    z-index: 999;
  }

  .nav-links.open {
    right: 0;
  }

  .hamburger {
    display: flex;
    z-index: 1001;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-item.gallery-large {
    grid-column: span 2;
    grid-row: span 1;
    aspect-ratio: 16 / 10;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-whatsapp {
    padding: 2rem 1.4rem;
  }

  .btn-whatsapp {
    padding: 0.8rem 1.6rem;
    font-size: 0.9rem;
  }

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

  .contact-form .form-row {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item.gallery-large {
    grid-column: span 1;
    aspect-ratio: 16 / 10;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
}
