/* ==========================================
   VARIABLES - EDIT COLORS AND FONTS HERE
   ========================================== */
:root {
  /* Colors */
  --primary-color: #37c4c4;
  --secondary-color: #17171d;
  --text-color: #ffffff;
  --text-muted: #b0b0b0;
  --bg-dark: #17171d;
  --bg-darker: #0f0f13;
  --border-color: #2a2a30;

  /* Package Colors */
  --bronze-color: #cd7f32;
  --silver-color: #c0c0c0;
  --gold-color: #ffd700;

  /* Fonts */
  --font-primary: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;

  /* Spacing */
  --section-padding: 80px 0;
  --container-max-width: 1200px;

  /* Transitions */
  --transition: all 0.3s ease;
}

/* ==========================================
   LOADING SCREEN
   ========================================== */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-dark);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-content {
  text-align: center;
}

.loading-spinner {
  width: 80px;
  height: 80px;
  border: 4px solid rgba(55, 196, 196, 0.2);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

.loading-text {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: 3px;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* ==========================================
   RESET & BASE STYLES
   ========================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-dark);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: var(--section-padding);
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 20px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--bg-dark);
}

.btn-primary:hover {
  background-color: transparent;
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.btn-secondary {
  background-color: transparent;
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--bg-dark);
}

/* ==========================================
   NAVIGATION
   ========================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(23, 23, 29, 0.95);
  backdrop-filter: blur(10px);
  padding: 20px 0;
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-brand a {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.navbar-menu {
  display: flex;
  gap: 30px;
}

.nav-link {
  color: var(--text-color);
  font-weight: 500;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.blog-link {
  background-color: var(--primary-color);
  color: var(--bg-dark);
  padding: 8px 20px;
  border-radius: 20px;
}

.nav-link.blog-link::after {
  display: none;
}

.nav-link.blog-link:hover {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
  padding-top: 120px;
  padding-bottom: 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background-image: url("../img/arkaplan.avif");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(23, 23, 29, 0.75);
  z-index: 1;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  animation: slideInLeft 0.8s ease;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

/* Carousel */
.hero-carousel {
  animation: slideInRight 0.8s ease;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-slide {
  min-width: 100%;
  height: 450px;
  background-size: cover;
  background-position: center;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(55, 196, 196, 0.8);
  color: white;
  border: none;
  font-size: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
}

.carousel-btn:hover {
  background-color: var(--primary-color);
}

.carousel-btn-prev {
  left: 20px;
}

.carousel-btn-next {
  right: 20px;
}

.carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.carousel-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition);
}

.carousel-indicator.active {
  background-color: var(--primary-color);
  width: 30px;
  border-radius: 6px;
}

/* ==========================================
   ABOUT SECTION
   ========================================== */
.about {
  background-color: var(--bg-darker);
}

.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.about-image img {
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* ==========================================
   SERVICES SECTION
   ========================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.service-card {
  background-color: var(--bg-darker);
  border: 2px solid var(--border-color);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition);
}

.service-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-10px);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--bg-dark);
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.service-card p {
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================
   PACKAGES SECTION
   ========================================== */
.packages {
  background-color: var(--bg-darker);
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.package-card {
  background-color: var(--bg-dark);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition);
  border: 3px solid transparent;
}

.package-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
}

.package-bronze {
  border-top-color: var(--bronze-color);
}

.package-silver {
  border-top-color: var(--silver-color);
}

.package-gold {
  border-top-color: var(--gold-color);
}

.package-header h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.package-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 30px;
}

.package-features ul {
  text-align: left;
  margin-bottom: 30px;
}

.package-features li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-muted);
}

.package-features li::before {
  content: "✓ ";
  color: var(--primary-color);
  font-weight: bold;
  margin-right: 10px;
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-text h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.contact-text p {
  color: var(--text-muted);
  line-height: 1.6;
}

.contact-text a {
  color: var(--primary-color);
}

.contact-text a:hover {
  text-decoration: underline;
}

/* Contact Icons */
.contact-icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  color: var(--bg-dark);
}

.contact-icon i {
  font-size: 1.5rem;
}

/* Contact Form */
.contact-form h3 {
  font-size: 1.8rem;
  margin-bottom: 25px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px 20px;
  background-color: var(--bg-darker);
  border: 2px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-color);
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-message {
  margin-top: 15px;
  padding: 12px;
  border-radius: 8px;
  display: none;
}

.form-message.success {
  background-color: rgba(55, 196, 196, 0.2);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  display: block;
}

.form-message.error {
  background-color: rgba(255, 0, 0, 0.2);
  color: #ff6b6b;
  border: 1px solid #ff6b6b;
  display: block;
}

/* ==========================================
   FAQ SECTION
   ========================================== */
.faq {
  background-color: var(--bg-darker);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--bg-dark);
  border-radius: 15px;
  margin-bottom: 20px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  padding: 25px 30px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover {
  background-color: rgba(55, 196, 196, 0.1);
}

.faq-question h3 {
  font-size: 1.2rem;
  font-weight: 600;
}

.faq-toggle {
  font-size: 2rem;
  color: var(--primary-color);
  transition: var(--transition);
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  padding: 0 30px 25px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background-color: var(--bg-darker);
  padding: 60px 0 20px;
  border-top: 1px solid var(--border-color);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo h2 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

.footer-logo p {
  color: var(--text-muted);
}

.footer-links h3,
.footer-social h3 {
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links a:hover {
  color: var(--primary-color);
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 45px;
  height: 45px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: var(--transition);
  color: var(--bg-dark);
}

.social-icon:hover {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 992px) {
  .hero .container {
    grid-template-columns: 1fr;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }

  /* Hizmetler: 992px altında 2 sütun */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .navbar-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    background-color: var(--bg-dark);
    flex-direction: column;
    padding: 30px;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  }

  .navbar-menu.active {
    left: 0;
  }

  .hamburger {
    display: flex;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .section-title {
    font-size: 2rem;
  }

  .carousel-slide {
    height: 300px;
  }

  .packages-grid {
    grid-template-columns: 1fr;
  }

  /* Hizmetler: 768px altında 1 sütun */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Mobilde arka plan fixed yerine scroll olsun */
  .hero {
    background-attachment: scroll;
  }
}
