/* =====================
   Base Styles & Variables
======================== */
:root {
  --primary-color: #075507;
  --secondary-color: #f9c846;
  --text-color: #000000;
  --light-bg: rgba(255, 255, 255, 0.85);
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --border-radius: 12px;
  --header-height: 150px; /* Match your actual header height */
}


  /* Reset margins, for all the browsers.  */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: 'Comic Neue', 'Segoe UI', Arial, sans-serif;
  color: var(--text-color);
  scroll-behavior: smooth;
  background-color: rgb(133, 130, 130)
}

/* Replace your current video-background styles with these */
.video-background {
  position: fixed;
  top: var(--header-height); /* Starts exactly at header bottom */
  left: 0;
  width: 100%;
  height: calc(100vh - var(--header-height)); /* Fills remaining space */
  z-index: -1;
  overflow: hidden;

}

.video-background video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  
}

/* Temporary - remove overlay to test */
.video-overlay {
  display: none; /* Remove this line after testing */
}

/* =====================
   Header & Navigation
======================== */
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: rgb(92, 92, 89) ; 
  box-shadow: var(--shadow);
  position: relative;
  z-index: 100;
  border-bottom: 4px solid #ffffff;
}

.logo {
  width: 120px;
  height: 120px;
  background-color: white;
  border-radius: 50%;
  padding: 10px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.1) rotate(10deg);
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.nav_links {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

/* Active link styling */
.nav_links a.active {
  color: #075507;
  font-weight: bold;
}

.nav_links a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
  position: relative;
}

.nav_links a:hover {
  color: var(--primary-color);
  background-color: rgba(255, 255, 255, 0.8);
}

.nav_links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: all 0.3s ease;
}

.nav_links a:hover::after {
  width: 80%;
  left: 10%;
}

/* =====================
   Mobile Menu Button
======================== */
.mobile-menu-btn {
  display: none;
  cursor: pointer;
  padding: 1rem;
}

.mobile-menu-btn .hamburger {
  font-size: 3rem;
  color: #ffffff;
}




/* =====================
   Hero Section
======================== */
.hero {
  text-align: center;
  padding: 4rem 2rem;
  margin: 2rem auto;
  max-width: 800px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  animation: fadeIn 1s ease-out;
  
}

.hero h1 {
  color: #000000;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  color: #3a3838;
  margin-bottom: 2rem;
}

.cta-button {
  display: inline-block;
  padding: 0.8rem 2rem;
  background-color: #f9c846;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  transition: all 0.3s;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.cta-button:hover {
  background-color: #e6b441;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.hero-counters {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2rem auto;
  flex-wrap: wrap;
  max-width: 600px;
}

.counter-box {
  text-align: center;
  color: rgb(0, 0, 0);
}

.counter-number {
  font-size: 2.5rem;
  font-weight: bold;
}

.counter-label {
  font-size: 1rem;
  margin-top: 0.3rem;
}

.about-hero {
    padding: 1rem;
    margin-top: 60px; 
    color: white;
}


/* =====================
   About Page Styles
======================== */
.about-container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 1rem;
  position: relative;
  z-index: 1;
}

.about-hero {
  text-align: center;
  padding: 1rem;
  margin-bottom: 5rem;
}

.about-hero h1 {
  font-size: 2.5rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.about-card {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  background: rgba(255,255,255,0.9);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
  overflow: hidden;
  border: 8px solid #075507;;
  min-height: 300px;
}

.card-image {
    width: 40%;
    position: relative;
    overflow: hidden;
  }

  .card-image .slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.card-image .slide.active {
  opacity: 1;
  z-index: 1;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-text {
  flex: 1;
  padding: 2rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  align-items: stretch;
}





/* Footer Section */


.footer-container {
  background-color: rgb(92, 92, 89);
  padding: 30px 20px;
  text-align: center;
  font-size: 14px;
  color: #ffffff;
  border-top: 4px solid #ffffff;
}


.footer-content {
  max-width: 1000px;
  margin: auto;
}

.footer-links {
  margin: 15px 0;
}

.footer-links a {
  margin: 0 10px;
  color: #ffffff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 500;
  transition: transform 0.3s ease;
}

.footer-links a:hover {
  text-decoration: underline;
  transform: scale(1.1) rotate(10deg);
}

.social-icon {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease;
  object-fit: contain;
  border-radius: 6px;
}


.social-icon:hover {
  transform: scale(1.1) rotate(10deg);
}

.footer-map {
  margin-top: 10px;
}

.footer-map iframe {
  border-radius: 12px;
}

.footer-logo {
  width: 120px;
  height: 120px;
  background-color: white;
  border-radius: 50%;
  padding: 10px;
  margin: 0 auto 20px auto; /* Center and space below */
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.footer-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  display: block;
}

.footer-logo:hover {
  transform: scale(1.1) rotate(10deg);
}


html {
  scroll-behavior: smooth;
}



/* =====================
   Mobile Layout
======================== */
@media (max-width: 768px) {
  /* Update video positioning */
  .video-background {
    top: 140px; /* Match your header height */
    height: calc(100vh - 140px);
    transition: all 0.3s ease;
  }
  
  /* Adjust overlay to match */
  .video-overlay {
    top: 10px;
    height: calc(100vh - 140px);
  }
  
  /* Ensure header has solid background */
  .header-container {
     /* Or your preferred color */
    position: relative;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); /* Adds depth */
    border-bottom: 4px solid #ffffff; /* Clean separation */
  }

  .logo {
    position: static;
    margin: 1rem auto;
    width: 120px;
    height: 120px;
  }

  /* Hide desktop navigation by default */
  .nav_links {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: rgb(255, 255, 255);
    position: fixed;
    top: 200px;
    left: 0;
    padding: 1rem 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.8s ease;
    transform: translateY(-20px);
    opacity: 0;
    z-index: 1002;
    pointer-events: none;
  }

  /* Show mobile menu button */
  .mobile-menu-btn {
    position: absolute;
    top: 30px;
    right: 20px;
    z-index: 1003;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px; /* Space between icon and text */
    background: none;
    border: none;
    cursor: pointer;

  }

  /* Menu label text */
  .menu-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
  }

  /* Active state */
  .mobile-menu-btn.active .hamburger {
    content: "✕";
  }


  /* Show navigation when active */
  .nav_links.active {
    display: flex;
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto; /* When visible, allow interaction */
  }

  /* Style mobile nav items */
  .nav_links li {
    width: 100%;
    text-align: center;
  }

  .nav_links a {
    display: block;
    padding: 1rem;
    font-size: 1.2rem;
    color: #333;
    transition: all 0.3s;
  }

  .nav_links a:hover {
    background-color: var(--secondary-color);
    color: white;
  }

  .hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.2rem 1rem;
  font-size: 0.7rem; /* Make all text slightly smaller */
  gap: 1rem;
  max-width: 60%;
  }

  .hero h1 {
    font-size: 1.5rem;
    color: black;
  }

  /* Hakkimizda Section */
  .about-hero {
    padding: 1rem;
    margin-top: 40px; /* Account for fixed header */
    color: white;
  }

  .about-card {
    flex-direction: column;
  }

  .about-card.reverse {
    flex-direction: column-reverse;
  }

  .card-image {
  width: 100%;
  aspect-ratio: 16 / 9; /* or 4 / 3 */
  position: relative;
  overflow: hidden;
}


  .card-image .slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.card-image .slide.active {
  opacity: 1;
  z-index: 1;
}

  .team-grid {
    grid-template-columns: 1fr;
  }

  /* 360 Tur Mobile */

  .tour-container {
    margin-top: 80px;
    padding: 0.5rem;
  }
  
  .tour-embed iframe {
    height: 60vh;
  }
  
  /* Review Page Mobile */
  .review-card {
    padding: 1rem;
  }

  .review-header img {
    width: 40px;
    height: 40px;
  }

  .reviews-title {
    font-size: 2rem;
  }

  .reviews-subtitle {
    font-size: 1rem;
  }

  /* Randevu Page Mobile */
  .randevu-container {
    margin: 20px 15px;
    min-height: 60vh;
    padding: 10px;
  }
  .randevu-container h1 {
    font-size: 1.5rem;
  }
  .randevu-container iframe {
    height: 500px;
  }
  .hero-counters {
    gap: 1rem;
  }

  .counter-number {
    font-size: 2rem;
  }

  .counter-label {
    font-size: 0.9rem;
  }

}

/* =====================
   Animations
======================== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Delay animations for each nav item */
.nav_links li:nth-child(1) { animation-delay: 0.1s; }
.nav_links li:nth-child(2) { animation-delay: 0.2s; }
.nav_links li:nth-child(3) { animation-delay: 0.3s; }
.nav_links li:nth-child(4) { animation-delay: 0.4s; }
.nav_links li:nth-child(5) { animation-delay: 0.5s; }





/* 360 Tour Styles */
.tour-container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 1rem;
  position: relative;
  z-index: 1;
}

.tour-title {
  text-align: center;
  font-size: 2.5rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.tour-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 2rem;
}

.tour-embed {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border:8px solid #075507;;
}

.tour-embed iframe {
  width: 100%;
  height: 70vh; /* Adjust height as needed */
  display: block;
}


/* =====================
   Google Reviews Section Desktop
========================= */

.reviews-container {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 1rem;
  position: relative;
  z-index: 1;
  text-align: center;
}

.reviews-title {
  font-size: 2.5rem;
  color: white;
  margin-bottom: 0.5rem;
}

.reviews-subtitle {
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 2rem;
}

.review-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  padding: 0 1rem 3rem;
  justify-content: center;
}

.review-card {
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border:4px solid var(--primary-color);
}

.review-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.review-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.review-header img {
  border-radius: 50%;
  width: 48px;
  height: 48px;
  object-fit: cover;
  margin-right: 12px;
  border: 2px solid var(--secondary-color);
}

.reviewer-name {
  font-weight: bold;
  font-size: 1.1rem;
  color: var(--primary-color);
}

.review-time {
  font-size: 0.9rem;
  color: #777;
}

.review-rating {
  font-size: 1rem;
  color: #f39c12;
  margin-bottom: 0.5rem;
}

.review-card p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.5;
}





/* Loader Styles */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgb(92, 92, 89);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.loader-content .logo {
  width: 160px;
  height: 160px;
  background-color: white;
  border-radius: 50%;
  padding: 15px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  animation: jump 1s ease-in-out infinite;
}

.loader-content .logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.loading-percentage {
  font-size: 2rem;
  font-weight: bold;
  color: white;
}

#loader.fade-out {
  opacity: 0;
  pointer-events: none;
}

@keyframes jump {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}



    /* Randevu Page */
.randevu-container {
  display: flex;
  flex-direction: column;
  align-items: center;        /* horizontal center */
  justify-content: center;    /* vertical center */
  min-height: 80vh;
  padding: 20px;
  margin: 40px auto;
  max-width: 900px;
  box-sizing: border-box;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
  text-align: center;
}


.randevu-container h1 {
  margin-bottom: 25px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 600;
  color: #ffffff;
  font-size: 2rem;
}

.randevu-container iframe {
  width: 100%;
  height: 800px;
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(11, 182, 48, 0.15);
}





