@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css");

:root {
  --heading-font: "Playfair Display", serif;
  --body-font: "Poppins", sans-serif;
  --nav-font: "Montserrat", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--body-font);
  overflow-x: hidden;
  background: #f5f5f5;
}

header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-radius: 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

header:hover {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
  transform: translateX(-50%) translateY(-2px);
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  gap: 5px;
}

.logo img {
  height: 80px;
  width: auto;
  object-fit: contain;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo img:hover {
  transform: scale(1.05) rotate(-3deg);
}

.logo-text {
  font-size: 0.65em;
  color: #000000;
  text-align: center;
  font-family: var(--nav-font);
  font-weight: 500;
  max-width: 180px;
  line-height: 1.3;
  letter-spacing: 0.2px;
}

nav {
  display: flex;
  align-items: center;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 40px;
  margin-right: 20px;
}

nav ul li a {
  font-family: var(--nav-font);
  text-decoration: none;
  color: #2c3e50;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.85em;
  padding: 8px 16px;
  position: relative;
  transition: all 0.4s ease;
  border-radius: 20px;
}

nav ul li a:hover {
  color: #3498db;
  background: rgba(52, 152, 219, 0.05);
}

nav ul li:last-child a {
  background: linear-gradient(45deg, #3498db, #2980b9);
  color: white;
  padding: 12px 25px;
  border-radius: 25px;
  transition: all 0.4s ease;
  border: none;
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.2);
  position: relative;
  overflow: hidden;
}

nav ul li:last-child a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

nav ul li:last-child a:hover {
  background: linear-gradient(45deg, #2980b9, #3498db);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

nav ul li:last-child a:hover::before {
  transform: translateX(100%);
}

.diagonal-sections {
  background: #fff;
  position: relative;
  height: 100vh;
  overflow: hidden;
  margin-bottom: 100px;
  margin-top: 220px;
  padding-top: 20px;
}

.diagonal-section {
  position: absolute;
  width: 20%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2em;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  cursor: pointer;
}

@keyframes gradientMovement {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

#insaat {
  background: linear-gradient(45deg, #1a2a6c, #b21f1f, #1a2a6c);
  clip-path: polygon(0 0, 100% 0, 70% 100%, 0 100%);
  left: 0;
  z-index: 7;
}

#geridonusum {
  background: linear-gradient(45deg, #16222a, #3a6073, #16222a);
  clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%);
  left: 20%;
  z-index: 6;
}

#tekstil {
  background: linear-gradient(45deg, #134e5e, #71b280, #134e5e);
  clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%);
  left: 60%;
  z-index: 4;
}

#enerji {
  background: linear-gradient(45deg, #ff4e50, #f9d423);
  clip-path: polygon(15% 0, 100% 0, 85% 100%, 0 100%);
  left: 60%;
  z-index: 4;
}

#turizm {
  background: linear-gradient(45deg, #56ab2f, #a8e063);
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
  left: 80%;
  z-index: 3;
}

#maden {
  background: linear-gradient(45deg, #2c3e50, #3498db, #2c3e50);
  clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%);
  left: 40%;
  z-index: 5;
}

#about:hover {
  background: linear-gradient(45deg, #3498db, #2c3e50, #3498db);
}

.section-content {
  text-align: center;
  padding: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: none;
  max-width: 100%;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-content h2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  padding: 20px 0;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1em !important;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.5s ease;
  margin-top: 20px;
  position: relative;
  top: 50px;
}

.section-content h2 span {
  display: block;
  line-height: 0.7;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  transform: translateY(0);
  transition: transform 0.3s ease;
  margin-bottom: 15px;
  padding: 2px 0;
  opacity: 0;
  animation: fadeInLetter 0.5s forwards;
}

@keyframes fadeInLetter {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-content h2 span:hover {
  transform: scale(1.2);
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
}

.section-content h2 span:nth-child(1) {
  transition-delay: 0.1s;
}
.section-content h2 span:nth-child(2) {
  transition-delay: 0.2s;
}
.section-content h2 span:nth-child(3) {
  transition-delay: 0.3s;
}
.section-content h2 span:nth-child(4) {
  transition-delay: 0.4s;
}
.section-content h2 span:nth-child(5) {
  transition-delay: 0.5s;
}
.section-content h2 span:nth-child(6) {
  transition-delay: 0.6s;
}
.section-content h2 span:nth-child(7) {
  transition-delay: 0.7s;
}

.hover-content {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.5em;
  max-width: 300px;
  margin-top: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.6;
}

.hover-content p {
  font-weight: 300;
  font-size: 1.1em;
  margin-bottom: 15px;
}

.hover-content ul {
  list-style: none;
  margin-top: 15px;
}

.hover-content ul li {
  font-family: var(--nav-font);
  margin: 8px 0;
  font-size: 0.9em;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.diagonal-section:hover {
  width: 25%;
}

#insaat:hover {
  background: linear-gradient(45deg, #b21f1f, #1a2a6c, #b21f1f);
}

#geridonusum:hover {
  background: linear-gradient(45deg, #3a6073, #16222a, #3a6073);
}

#tekstil:hover {
  background: linear-gradient(45deg, #71b280, #134e5e, #71b280);
}

#enerji:hover {
  background: linear-gradient(45deg, #f9d423, #ff4e50);
}

#turizm:hover {
  background: linear-gradient(45deg, #a8e063, #56ab2f);
}

#maden:hover {
  width: 25%;
}

.diagonal-section:hover .section-content {
  transform: translateY(-10px);
}

.diagonal-section:hover .hover-content {
  opacity: 1;
  transform: translateY(0);
}

.diagonal-section::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(30deg);
  transition: all 1.5s;
  opacity: 0;
}

.diagonal-section:hover::after {
  opacity: 1;
  transform: rotate(30deg) translate(50%, 50%);
}

.diagonal-section:hover ~ .diagonal-section {
  width: 18.75%;
}

.diagonal-section h2 {
  font-family: var(--heading-font);
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  z-index: 2000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  position: relative;
  background: white;
  width: 90%;
  max-width: 800px;
  margin: auto;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  transform: translateY(-50px);
  transition: transform 0.3s ease;
}

.modal.active .modal-content {
  transform: translateY(0);
}

.close-button {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 30px;
  cursor: pointer;
  color: #666;
  transition: color 0.3s ease;
}

.close-button:hover {
  color: #333;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-5px);
}

.contact-item i {
  font-size: 24px;
  color: #3498db;
}

.contact-item h3 {
  margin: 0 0 10px 0;
  font-size: 18px;
  color: #2c3e50;
}

.contact-item p {
  margin: 0;
  color: #666;
  line-height: 1.6;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  position: relative;
  margin-bottom: 30px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 0;
  font-size: 16px;
  border: none;
  border-bottom: 2px solid #ddd;
  outline: none;
  background: transparent;
  transition: border-color 0.3s ease;
}

.form-group label {
  position: absolute;
  top: 10px;
  left: 0;
  font-size: 16px;
  color: #999;
  pointer-events: none;
  transition: all 0.3s ease;
}

.form-group input:focus ~ label,
.form-group input:valid ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:valid ~ label {
  top: -20px;
  font-size: 12px;
  color: #3498db;
}

.form-group input:focus,
.form-group textarea:focus {
  border-bottom-color: #3498db;
}

.contact-form button {
  background: linear-gradient(45deg, #3498db, #2980b9);
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
}

.contact-form button:hover {
  background: linear-gradient(45deg, #2980b9, #3498db);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

@media (max-width: 768px) {
  header {
    padding: 15px 20px;
    width: 95%;
    flex-direction: column;
    top: 10px;
  }

  nav ul {
    gap: 15px;
    margin-top: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }

  nav ul li a {
    font-size: 0.8em;
    padding: 6px 12px;
  }

  nav ul li:last-child a {
    padding: 8px 20px;
  }

  .logo img {
    height: 100px;
  }

  .diagonal-section {
    position: relative;
    width: 100% !important;
    left: 0 !important;
    height: auto;
    min-height: 200px;
    padding: 20px 0;
    clip-path: none !important;
  }

  .diagonal-section::after {
    display: none;
  }

  .diagonal-sections {
    height: auto;
    margin-top: 240px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .hover-content {
    opacity: 1;
    transform: none;
  }

  .section-content {
    transform: none !important;
  }

  .diagonal-section h2 {
    font-size: 0.7em !important;
    letter-spacing: 1px;
    flex-direction: row;
    justify-content: center;
    margin-top: 10px;
    top: 0;
  }

  .hover-content {
    font-size: 0.7em;
    opacity: 1;
    margin-top: 10px;
  }

  .logo {
    font-size: 24px;
  }

  nav ul li a {
    font-size: 0.8em;
  }

  .modal-content {
    padding: 20px;
  }

  .contact-info {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .section-content h2 {
    flex-direction: row;
    justify-content: center;
    letter-spacing: 1px;
    font-size: 0.7em !important;
  }

  .section-content h2 span {
    margin: 0 2px;
    padding: 0;
    line-height: 1;
  }

  .diagonal-section:hover .section-content h2 {
    margin-bottom: 10px;
  }

  .section-content,
  .section-content h2,
  .hover-content {
    transform: none;
  }

  .diagonal-section:hover .section-content {
    transform: none;
  }

  .diagonal-section:hover .hover-content {
    transform: none;
  }
}

/* Footer Styles - CSS dosyasının sonuna ekleyin */
.footer {
  position: relative;
  width: 100%;
  background: linear-gradient(to right, #2c3e50, #3498db);
  color: #fff;
  padding: 0;
  z-index: 999;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.footer-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo img {
  height: 120px;
  width: auto;
  margin-bottom: 15px;
  filter: brightness(0) invert(1);
}

.company-description {
  font-size: 0.9em;
  line-height: 1.6;
  opacity: 0.9;
}

.footer-section h3 {
  font-family: var(--heading-font);
  font-size: 1.2em;
  font-weight: 600;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 10px;
}

.footer-section h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background: #3498db;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  opacity: 0.9;
}

.footer-links a:hover {
  opacity: 1;
  padding-left: 5px;
  color: #3498db;
}

.contact-list {
  list-style: none;
  padding: 0;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 15px;
  font-size: 0.9em;
  opacity: 0.9;
}

.contact-list i {
  color: #3498db;
  font-size: 1.1em;
  margin-top: 4px;
}

.social-media {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: all 0.3s ease;
}

.social-link:hover {
  transform: translateY(-3px);
  background: #3498db;
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.2);
  padding: 20px 0;
}

.footer-bottom-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9em;
}

.designer-signature {
  opacity: 0.9;
}

.designer {
  color: #3498db;
  font-weight: 600;
}

/* Mobil uyumluluk için düzenlemeler */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 40px 20px;
  }

  .footer-bottom-content {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .footer-section {
    align-items: center;
    text-align: center;
  }

  .footer-section h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .contact-list li {
    justify-content: center;
  }

  .footer-links a:hover {
    padding-left: 0;
  }
}

/* Her sosyal medya için özel renkler isterseniz ekleyebilirsiniz */
.social-link.facebook {
  background: linear-gradient(45deg, #3b5998, #2d4373);
}

.social-link.twitter {
  background: linear-gradient(45deg, #1da1f2, #0c85d0);
}

.social-link.instagram {
  background: linear-gradient(45deg, #e1306c, #c13584);
}

.social-link.linkedin {
  background: linear-gradient(45deg, #0077b5, #00569d);
}

/* Harita bölümü için stiller */
.map-section {
  position: relative;
  width: 100%;
  height: 400px;
  margin-bottom: 80px; /* Footer için boşluk */
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
}

.map-container {
  position: relative;
  width: 90%;
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Mobil görünüm için düzenleme */
@media (max-width: 768px) {
  .map-section {
    height: 300px;
    margin-bottom: 60px;
  }

  .map-container {
    width: 95%;
  }
}

/* Mevcut CSS kodlarınızın devamına ekleyin */

@media screen and (max-width: 768px) {
  .diagonal-section .section-content h2 {
    font-size: 24px; /* Başlık boyutunu küçülttük */
  }

  .diagonal-section .hover-content p {
    font-size: 14px; /* Paragraf boyutunu küçülttük */
  }

  .diagonal-section .hover-content ul li {
    font-size: 14px; /* Liste öğelerinin boyutunu küçülttük */
    margin-bottom: 5px;
  }
}

/* Daha küçük mobil cihazlar için */
@media screen and (max-width: 480px) {
  .diagonal-section .section-content h2 {
    font-size: 20px; /* Başlık boyutunu daha da küçülttük */
  }

  .diagonal-section .hover-content p {
    font-size: 13px;
  }

  .diagonal-section .hover-content ul li {
    font-size: 13px;
    margin-bottom: 3px;
  }
}

/* Loading Screen Styles */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  transition: opacity 0.8s ease-out, visibility 0.8s ease-out;
  overflow: hidden;
  background: #000; /* Arka planı siyah yaptık */
}

.animated-background {
  position: absolute;
  width: 100%;
  height: 100%;
  background: #000; /* Arka planı siyah yaptık */
}

/* Gradient overlay'i kaldırdık */
.gradient-overlay {
  display: none;
}

.particle-container {
  position: absolute;
  width: 100%;
  height: 100%;
}

.particle {
  position: absolute;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  pointer-events: none;
  animation: particleFloat 20s infinite linear;
}

.loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.loader img {
  width: 300px;
  height: auto;
  animation: logoAnimation 2s infinite ease-in-out;
  filter: brightness(0) invert(1); /* Logo rengini beyaz yap */
}

.loader-text {
  color: #ffffff;
  font-family: var(--heading-font);
  font-size: 18px;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0.8;
}

@keyframes logoAnimation {
  0% {
    transform: scale(1) rotate(0deg);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.1) rotate(5deg);
    opacity: 1;
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.5;
  }
}

/* Loading dots animasyonu */
.loading-dots::after {
  content: "";
  animation: loadingDots 1.5s infinite;
}

@keyframes loadingDots {
  0% {
    content: "";
  }
  25% {
    content: ".";
  }
  50% {
    content: "..";
  }
  75% {
    content: "...";
  }
  100% {
    content: "";
  }
}

.loading-screen-hidden {
  opacity: 0;
  visibility: hidden;
}

/* Mobil uyumluluk için loading screen düzenlemeleri */
@media (max-width: 768px) {
  .loader {
    padding: 30px;
  }

  .loader-logo {
    width: 120px;
  }

  .loader-progress {
    width: 160px;
  }

  .loader-text {
    font-size: 16px;
  }
}

@keyframes gradientMove {
  0% {
    transform: rotate(0deg) scale(1.5);
  }
  50% {
    transform: rotate(180deg) scale(2);
  }
  100% {
    transform: rotate(360deg) scale(1.5);
  }
}

@keyframes particleFloat {
  0% {
    transform: translateY(0) translateX(0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(-1000px) translateX(500px) rotate(360deg);
    opacity: 0;
  }
}

/* Parçacıklar için farklı animasyon süreleri ve yolları */
.particle:nth-child(2n) {
  animation-duration: 15s;
  animation-delay: -5s;
}

.particle:nth-child(3n) {
  animation-duration: 25s;
  animation-delay: -10s;
}

.particle:nth-child(4n) {
  animation-duration: 30s;
  animation-delay: -15s;
}

/* Lale animasyonu için stiller */
.tulip {
  position: relative;
  width: 100px;
  height: 150px;
  margin: 20px auto;
}

.petals {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  animation: bloomAnimation 3s ease-in-out infinite;
}

.petals span {
  position: absolute;
  width: 30px;
  height: 60px;
  background: #e74c3c;
  border-radius: 50px 50px 0 0;
}

.petals span:nth-child(1) {
  left: 15px;
  transform-origin: bottom;
  transform: rotate(0deg);
  animation: petalWave 2s ease-in-out infinite;
}

.petals span:nth-child(2) {
  left: 0;
  transform-origin: bottom right;
  transform: rotate(-30deg);
  animation: petalWave 2s ease-in-out infinite 0.2s;
}

.petals span:nth-child(3) {
  right: 0;
  transform-origin: bottom left;
  transform: rotate(30deg);
  animation: petalWave 2s ease-in-out infinite 0.4s;
}

.petals span:nth-child(4) {
  left: -5px;
  transform-origin: bottom right;
  transform: rotate(-60deg);
  animation: petalWave 2s ease-in-out infinite 0.6s;
}

.petals span:nth-child(5) {
  right: -5px;
  transform-origin: bottom left;
  transform: rotate(60deg);
  animation: petalWave 2s ease-in-out infinite 0.8s;
}

.stem {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 80px;
  background: #27ae60;
  border-radius: 3px;
}

.leaves {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
}

.leaves span {
  position: absolute;
  width: 20px;
  height: 30px;
  background: #27ae60;
  border-radius: 10px 0;
}

.leaves span:first-child {
  left: -15px;
  transform: rotate(-30deg);
  animation: leafWave 2s ease-in-out infinite;
}

.leaves span:last-child {
  right: -15px;
  transform: rotate(30deg);
  animation: leafWave 2s ease-in-out infinite 0.5s;
}

@keyframes bloomAnimation {
  0%,
  100% {
    transform: translateX(-50%) scale(1);
  }
  50% {
    transform: translateX(-50%) scale(1.1);
  }
}

@keyframes petalWave {
  0%,
  100% {
    transform: rotate(var(--rotation)) scale(1);
  }
  50% {
    transform: rotate(calc(var(--rotation) + 5deg)) scale(1.1);
  }
}

@keyframes leafWave {
  0%,
  100% {
    transform: rotate(var(--rotation));
  }
  50% {
    transform: rotate(calc(var(--rotation) + 5deg));
  }
}

/* Loading screen arka plan ayarları */
.loader {
  background: rgba(255, 255, 255, 0.15);
  padding: 40px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.loader-text {
  color: #ffffff;
  font-family: var(--heading-font);
  font-size: 18px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-top: 20px;
}

/* Daha küçük ekranlar için */
@media screen and (max-width: 480px) {
  .section-content h2 {
    font-size: 0.8em !important;
    letter-spacing: 1px;
  }
}

/* Mobil görünüm için düzenleme */
@media (max-width: 768px) {
  .section-content h2 {
    font-size: 0.9em !important;
    letter-spacing: 1px;
    top: 0;
    margin-top: 10px;
  }

  .section-content h2 span {
    margin-bottom: 8px;
    margin: 0 3px;
  }
}

/* Maden section'ı için özel hover durumu */
#maden:hover {
  width: 25%;
}

/* Daha küçük ekranlar için */
@media screen and (max-width: 480px) {
  .section-content h2 {
    font-size: 0.6em !important;
  }

  .hover-content {
    font-size: 0.6em;
  }

  .diagonal-section {
    min-height: 180px;
  }
}

/* Genişletilmiş section stilleri */
.diagonal-section {
  cursor: pointer;
}

.expanded-content,
.expanded-inner,
.close-section,
.content-grid {
  display: none;
}

.diagonal-section:hover {
  width: 25%;
}

.diagonal-section:hover ~ .diagonal-section {
  width: 18.75%;
}

.diagonal-section:hover .section-content {
  transform: translateY(-10px);
}

.diagonal-section:hover .hover-content {
  opacity: 1;
  transform: translateY(0);
}

.section-link {
  text-decoration: none;
  color: inherit;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.diagonal-section:hover .section-link {
  color: white;
}

/* İletişim butonu stilleri */
.iletisim-btn {
  background: linear-gradient(45deg, #3498db, #2980b9);
  color: white;
  padding: 12px 25px;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  font-family: var(--nav-font);
  font-weight: 500;
  letter-spacing: 1.5px;
  font-size: 0.85em;
  transition: all 0.3s ease;
  position: relative;
}

.iletisim-btn:hover {
  background: linear-gradient(45deg, #2980b9, #3498db);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

/* Dropdown stilleri */
.iletisim-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  min-width: 250px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 15px;
  margin-top: 10px;
  z-index: 1000;
}

li:hover .iletisim-dropdown {
  display: block;
  animation: fadeIn 0.3s ease;
}

.phone-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  color: #333;
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.3s ease;
}

/* İş ve cep numarası arasındaki boşluğu artır */
.phone-link + .phone-link {
  margin-top: 15px; /* Boşluğu artırdık */
}

.phone-link:hover {
  background: rgba(52, 152, 219, 0.1);
  transform: translateX(5px);
}

.phone-link i {
  font-size: 1.2em;
  color: #3498db;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
  .iletisim-dropdown {
    position: fixed;
    top: auto;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 300px;
  }
}

/* WhatsApp butonu stilleri */
.whatsapp-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  z-index: 1000;
}

.whatsapp-button:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.whatsapp-button .tooltip {
  position: absolute;
  right: 80px;
  background: white;
  color: #333;
  padding: 10px 15px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.whatsapp-button:hover .tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Mobil görünüm için düzenleme */
@media (max-width: 768px) {
  .whatsapp-button {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 25px;
  }

  .whatsapp-button .tooltip {
    display: none; /* Mobilde tooltip'i gizle */
  }
}

/* Şirket unvanı için yeni stil */
.company-title {
  position: fixed;
  top: 120px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  text-align: center;
  color: #2c3e50;
  font-family: var(--nav-font);
  font-size: 1.2em;
  font-weight: 700;
  padding: 20px;
  z-index: 999;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Diagonal sections'ın margin-top değerini artıralım */
.diagonal-sections {
  margin-top: 220px;
}

/* Mobil görünüm için düzenleme */
@media (max-width: 768px) {
  .company-title {
    font-size: 1em;
    top: 140px;
    padding: 15px 10px;
    font-weight: 700;
  }

  .diagonal-sections {
    margin-top: 240px;
  }
}
