/* Seven Grup Web Sitesi Ana CSS Dosyası */

/* Google Fonts - Aldrich Regular eklendi */
@import url('https://fonts.googleapis.com/css2?family=Aldrich&display=swap');
/* Montserrat font eklendi - kurumsal görünüm için */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700&display=swap');

/* Genel Stil ve Değişkenler */
:root {
  --primary-color: #0B2545;     /* Koyu Lacivert - Ana Renk */
  --secondary-color: #FFB400;   /* Altın/Amber - İkincil Renk */
  --accent-color: #D62828;      /* Kırmızı - Vurgu Rengi */
  --light-gray: #F0F0F0;        /* Açık Gri */
  --medium-gray: #E5E5E5;       /* Orta Gri */
  --dark-gray: #333333;         /* Koyu Gri */
  --white: #FFFFFF;             /* Beyaz */
  --black: #000000;             /* Siyah */
  
  --header-height: 80px;
  --footer-height: 300px;
  --transition-speed: 0.3s;
}

/* Genel Sıfırlama ve Temel Stiller */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark-gray);
  background-color: var(--white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-speed) ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
  color: var(--primary-color);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
}

/* Header Stili */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: all var(--transition-speed) ease;
}

.header.scrolled {
  height: 60px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
}

.logo a {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  transition: height var(--transition-speed) ease;
}

.logo-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin-left: 12px;
  color: var(--primary-color);
  transition: all var(--transition-speed) ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.header.scrolled .logo-text {
  font-size: 1.3rem;
}

.nav-menu {
  display: flex;
}

.nav-item {
  margin: 0 15px;
  position: relative;
}

.nav-link {
  font-weight: 500;
  color: var(--primary-color);
  padding: 10px 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: width var(--transition-speed) ease;
}

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

.nav-link:hover,
.nav-link.active {
  color: var(--secondary-color);
}

.hamburger {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
}

.hamburger span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--primary-color);
  border-radius: 3px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}

.hamburger span:nth-child(1) {
  top: 0px;
}

.hamburger span:nth-child(2),
.hamburger span:nth-child(3) {
  top: 10px;
}

.hamburger span:nth-child(4) {
  top: 20px;
}

.hamburger.open span:nth-child(1),
.hamburger.open span:nth-child(4) {
  top: 10px;
  width: 0%;
  left: 50%;
}

.hamburger.open span:nth-child(2) {
  transform: rotate(45deg);
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg);
}

/* Hero Bölümü */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
  margin-top: var(--header-height);
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 37, 69, 0.7);
  z-index: -1;
}

.hero-content {
  max-width: 800px;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--secondary-color);
  color: var(--white);
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all var(--transition-speed) ease;
  border: 2px solid var(--secondary-color);
}

.btn:hover {
  background-color: transparent;
  color: var(--secondary-color);
}

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

.btn-outline:hover {
  background-color: var(--white);
  color: var(--primary-color);
  border-color: var(--white);
}

/* Özellikler Bölümü */
.features {
  background-color: var(--light-gray);
}

.features-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.feature-card {
  flex: 1 1 300px;
  max-width: 350px;
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  color: var(--white);
  font-size: 2rem;
}

.feature-content {
  padding: 30px;
  text-align: center;
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.feature-text {
  color: var(--dark-gray);
  margin-bottom: 20px;
}

/* Hakkımızda Bölümü */
.about {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0B2545 0%, #134e4a 50%, #0f172a 100%);
  color: var(--white);
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255, 180, 0, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(214, 40, 40, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 50px;
}

.about-image {
  flex: 1 1 400px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-image img {
  max-width: 300px;
  height: auto;
  border-radius: 20px;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 0 30px rgba(255, 180, 0, 0.3));
}

.about-image img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 40px rgba(255, 180, 0, 0.5));
}

.about-content {
  flex: 1 1 500px;
}

.about-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--white);
}

.about-subtitle {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.about-text {
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
}

.about-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
}

.stat-item {
  flex: 1 1 150px;
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.stat-text {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

/* Hizmetler Bölümü */
.services {
  background-color: var(--light-gray);
}

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

.service-card {
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform var(--transition-speed) ease;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-image {
  height: 200px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-speed) ease;
}

.service-card:hover .service-image img {
  transform: scale(1.1);
}

.service-content {
  padding: 30px;
}

.service-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.service-text {
  margin-bottom: 20px;
}

/* Projeler Bölümü */
.projects {
  position: relative;
}

.projects-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 20px;
  margin: 5px;
  background-color: var(--light-gray);
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 500;
  transition: all var(--transition-speed) ease;
}

.filter-btn.active,
.filter-btn:hover {
  background-color: var(--secondary-color);
  color: var(--white);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.project-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.project-image {
  height: 250px;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-speed) ease;
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 37, 69, 0.8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity var(--transition-speed) ease;
  text-align: center;
  padding: 20px;
  pointer-events: none; /* Overlay'i devre dışı bırak */
}

/* Project overlay hover efektini kaldır */
/* .project-item:hover .project-overlay {
  opacity: 1;
} */

.project-item:hover .project-image img {
  transform: scale(1.1);
}

.project-title {
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  transform: translateY(20px);
  transition: transform var(--transition-speed) ease;
  text-align: center;
  line-height: 1.2;
  max-width: 100%;
  word-wrap: break-word;
  hyphens: auto;
}

.project-category {
  color: var(--secondary-color);
  font-size: 1rem;
  transform: translateY(20px);
  transition: transform var(--transition-speed) ease;
  text-align: center;
  line-height: 1.4;
  max-width: 100%;
}

/* Project overlay hover efektlerini kaldır */
/* .project-item:hover .project-title,
.project-item:hover .project-category {
  transform: translateY(0);
} */

/* Proje Bilgi Değişimi Efektleri */
.project-info-default {
  transition: opacity 0.3s ease;
}

.project-info-hover {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 100% !important;
  opacity: 0 !important;
  transition: opacity 0.3s ease !important;
}

.project-item:hover .project-info-default {
  opacity: 0;
}

.project-item:hover .project-info-hover {
  opacity: 1 !important;
}

/* Referanslar Bölümü */
.references {
  background-color: var(--light-gray);
}

.references-slider {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.reference-item {
  flex: 1 1 200px;
  max-width: 250px;
  height: 150px;
  background-color: var(--white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform var(--transition-speed) ease;
}

.reference-item:hover {
  transform: scale(1.05);
}

.reference-logo {
  max-width: 100%;
  max-height: 80px;
  filter: grayscale(100%);
  transition: filter var(--transition-speed) ease;
}

.reference-item:hover .reference-logo {
  filter: grayscale(0%);
}

/* Testimonial Bölümü */
.testimonials {
  position: relative;
  background-color: var(--primary-color);
  color: var(--white);
}

.testimonials .section-title {
  color: var(--white);
}

.testimonials-slider {
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-item {
  text-align: center;
  padding: 30px;
}

.testimonial-text {
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 30px;
  position: relative;
}

.testimonial-text::before,
.testimonial-text::after {
  content: '"';
  font-size: 3rem;
  color: var(--secondary-color);
  position: absolute;
  opacity: 0.3;
}

.testimonial-text::before {
  top: -20px;
  left: -10px;
}

.testimonial-text::after {
  bottom: -40px;
  right: -10px;
}

.testimonial-author {
  font-weight: 600;
  font-size: 1.1rem;
}

.testimonial-position {
  color: var(--secondary-color);
  font-size: 0.9rem;
}

/* Müşteri Yorumları - Renk Düzeltmesi */
.testimonials .scroll-element p,
.testimonials .scroll-element div {
  color: var(--dark-gray);
}

/* İletişim Bölümü */
.contact {
  position: relative;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
}

.contact-info {
  flex: 1 1 300px;
}

.contact-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: var(--primary-color);
}

.contact-text {
  margin-bottom: 30px;
}

.contact-details {
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background-color: var(--light-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  color: var(--primary-color);
  font-size: 1.2rem;
}

.contact-info-text h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-color);
}

.contact-info-text p {
  color: var(--dark-gray);
}

.contact-form {
  flex: 1 1 500px;
}

.form-group {
  margin-bottom: 20px;
}

.form-control {
  width: 100%;
  padding: 15px;
  border: 1px solid var(--medium-gray);
  border-radius: 5px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--transition-speed) ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary-color);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.btn-submit {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-submit:hover {
  color: var(--primary-color);
}

/* Footer Stili */
.footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 80px 0 30px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.footer-logo a {
  display: flex;
  align-items: center;
}

.footer-logo img {
  height: 60px;
  margin-bottom: 0;
}

.footer-logo-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin-left: 12px;
  color: var(--white);
  margin-bottom: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-text {
  margin-bottom: 20px;
  max-width: 300px;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.social-link {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-speed) ease;
}

.social-link:hover {
  background-color: var(--secondary-color);
}

.footer-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 25px;
  position: relative;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--secondary-color);
}

.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-menu a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-speed) ease, transform var(--transition-speed) ease;
  display: inline-block;
  padding: 5px 0;
}

.footer-menu a:hover {
  color: var(--white);
  transform: translateX(5px);
}

.footer-contact-item {
  display: flex;
  margin-bottom: 15px;
  align-items: flex-start;
}

.footer-contact-icon {
  margin-right: 15px;
  color: var(--secondary-color);
  min-width: 20px;
  padding-top: 3px;
}

.footer-contact-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.footer-bottom {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Duyarlı Tasarım */
@media (max-width: 1024px) {
  .section {
    padding: 60px 0;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
  }
  
  .about-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .header-container {
    padding: 0 20px;
  }
  
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: calc(100vh - var(--header-height));
    background-color: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 50px;
    transition: right var(--transition-speed) ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-item {
    margin: 15px 0;
  }
  
  .hamburger {
    display: block;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .about-title {
    font-size: 1.8rem;
  }
  
  .about-subtitle {
    font-size: 1.1rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .footer-container {
    grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
  }
  
  .footer-column {
    margin-bottom: 30px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .btn {
    padding: 10px 25px;
    font-size: 0.9rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .feature-card,
  .service-card {
    max-width: 100%;
  }
  
  .about-title {
    font-size: 1.6rem;
  }
  
  .testimonial-text {
    font-size: 1rem;
  }
  
  .footer-container {
    flex-direction: column;
    gap: 30px;
  }
  
  .footer-logo,
  .footer-links,
  .footer-contact {
    flex: 1 1 100%;
  }
}

/* Animasyonlar */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 1s ease forwards;
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

.delay-3 {
  animation-delay: 0.6s;
}

/* Ek Bileşenler */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--secondary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-speed) ease;
  z-index: 99;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--primary-color);
}

/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loader {
  width: 50px;
  height: 50px;
  border: 5px solid var(--light-gray);
  border-top: 5px solid var(--secondary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
