/* Genel Stil */
html, body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #000000; /* Sayfa genel arka planı */
    color: white;
}

header, .footer-container, .slider-container {
    background-color: #000000; /* Ortak siyah arka plan */
    color:white;
}

footer {
    background-color: #000000;
    color:white;
}

/* Footer */
.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 20px;
    color:white;
}

.footer-section {
    width: 23%;
    min-width: 200px;
}

.footer-section h3 {
    border-bottom: 2px solid #d40c0c;
    padding-bottom: 5px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin: 5px 0;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
}

.footer-section ul li a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding: 10px;
    margin-top: 10px;
    color:white;
}

/* Header */
header {
    color: white;
    padding: 15px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 10;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-container img {
    width: 100px;
    height: auto;
    margin-right: 15px;
}

.logo-container h1 {
    font-size: 28px;
    margin: 0;
    font-weight: 600;
    color:white;
}

.logo-container h1 span {
    display: block;
    font-size: 18px;
    font-weight: 400;
    color:white;
}

nav {
    display: flex;
    align-items: center;
}

nav a {
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
}

nav a:hover {
    background-color: #000000;
    border-radius: 4px;
}

/* Hizmetler */
.services {
    padding: 50px 20px;
    text-align: center;
    background-color: #000000 !important; /* Siyah arka plan */
}

.services h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #ffffff;
    text-shadow: 2px 2px 8px rgba(95, 95, 95, 0.5);
}

.service {
    display: inline-block;
    width: 30%;
    margin: 15px;
    padding: 40px 20px;
    text-align: center;
    background-size: cover; 
    background-position: center;
    border-radius: 12px;
    color:white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(113, 113, 113, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

.service:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.5);
    opacity: 0.9;   
}

.service::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
    transition: background-color 0.3s ease;
}

.service:hover::before {
    background-color: rgba(0, 0, 0, 0.3);
}

.service h3 {
    position: relative;
    z-index: 2;
    font-size: 24px;
    margin-bottom: 10px;
}

.service p {
    position: relative;
    z-index: 2;
    font-size: 18px;
}

/* Mobil Duyarlılık */
@media (max-width: 768px) {
    .service {
        width: 100%;
        margin-bottom: 20px;
    }

    .services h2 {
        font-size: 28px;
    }
}

/* Slider */


.hero-text {
    text-align: center;
    color: white;
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    z-index: 2;
}

.hero-text h1 {
    font-size: 50px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-text p {
    font-size: 22px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.main-content, .container, .content {
    background-color: #000000 !important; /* Siyah arka plan */
}

/* Portfolio */
.portfolio {
  padding: 60px 20px;
  text-align: center;
  background-color: #000;
}

.portfolio h2 {
  font-size: 36px;
  margin-bottom: 40px;
  color: #fff;
}

.portfolio-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.portfolio-item {
  width: 300px;
  background: #111;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease;
}

.portfolio-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.portfolio-item h4 {
  padding: 15px;
  font-size: 18px;
  color: #fff;
}

.portfolio-item:hover {
  transform: translateY(-10px);
}

/* Video Bölümü */
.portfolio-video {
  text-align: center;
  padding: 80px 20px;
  background-color: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.portfolio-video h2 {
  font-size: 36px;
  margin-bottom: 30px;
  color: #fff;
}

.portfolio-video video {
  display: block;
  margin: 20px auto;
  width: 90%;
  max-width: 800px;
  aspect-ratio: 16 / 9;   /* Hepsini aynı oranda tutar */
  object-fit: cover;      /* Taşan kısımları kırpar, orantıyı bozmadan doldurur */
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(255,255,255,0.25);
}


