    :root {
      --red: #c40e0e;
      --dark: #1a1a1a;
      --light: #f5f5f5;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: "Segoe UI", Arial, sans-serif;
    }
html{
  scroll-behavior: smooth;
  scroll-padding-top: 50px;
}
    body {
      color: var(--dark);
      background: #fff;
    }

    /* Navbar */
    header {
      position: fixed;
      width: 100%;
      top: 0;
      left: 0;
      background: rgba(255, 255, 255, 0.95);
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
      z-index: 1000;
    }
/* Hero tam genişlikte olmalı */
.hero {
  width: 100%;
  max-width: 100%;
  height: 100vh;
  margin: 0;
  padding: 0;
}
.logo img{
    height: 100%;
}
.copy{
    background-color: #000;
    color: #fff;
    padding: 1rem 5rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    align-items: center;
}
.copy a{
color: #fff;
  text-decoration:  none;
    font-weight: bold;
}
.copy b{color: var(--brand-color);}

.copy .socials{
display: flex;
gap: 1rem;
}
.socials .social{
    background-color: red;
    aspect-ratio: 1/1;
    height: 30px;
}
.grid-2{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
    nav {

      margin: auto;
      height: 70px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 1rem 2rem;
    }

    .logo {
        height: 100%;
      font-size: 1.6rem;
      font-weight: bold;
      color: var(--red);
      letter-spacing: 1px;
    }

    nav ul {
      display: flex;
      list-style: none;
      gap: 2rem;
    }

    nav a {
      text-decoration: none;
      color: var(--dark);
      font-weight: 500;
      transition: color 0.3s;
    }

    nav a:hover {
      color: var(--red);
    }

    /* Hero Slider */
    .hero {
      position: relative;
      height: 100vh;
      overflow: hidden;
    }

    .slide {
      position: absolute;
      width: 100%;
      height: 100%;
      background-size: cover;
      background-position: center;
      opacity: 0;
    }

    .slide.active {
      opacity: 1;
    }

    .hero-text {
      position: absolute;
      top: 50%;
      left: 10%;
      transform: translateY(-50%);
      color: white;
      max-width: 600px;
      background: rgba(0,0,0,0.5);
      border-radius: 6px;
      backdrop-filter: blur(2px);
      padding: 2rem;
      border-left: 5px solid var(--red);
    }

    .hero-text h1 {
      font-size: 2.1rem;
      margin-bottom: 1rem;
    }

    .hero-text p {
      font-size: 1.1rem;
      line-height: 1.5;
    }

    section {
      max-width: 1200px;
      margin: auto;
      padding: 3rem 1.5rem;
    }

    h2 {
      color: var(--red);
      text-align: center;
      font-size: 2rem;
      margin-bottom: 2rem;
      position: relative;
    }
.sub-title{
    font-size: 1.5rem !important;
    font-weight: bold;
    margin-bottom: 1rem;
}
.alert-success {
    position: fixed;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1050;

    min-width: 320px;
    max-width: 90%;
    padding: 14px 20px;

    background-color: #d1e7dd;
    color: #0f5132;
    border: 1px solid #badbcc;
    border-radius: 6px;

    font-size: 1.2rem;
    font-weight: 500;
    text-align: center;

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    animation: slideDownFade 0.4s ease;
}

/* Giriş animasyonu */
@keyframes slideDownFade {
    from {
        opacity: 0;
        transform: translate(-50%, -20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

    h2::after {
      content: "";
      display: block;
      width: 60px;
      height: 3px;
     /* background: var(--red); */
      margin: 0.5rem auto 0;
    }

    /* Hakkımızda */
    .about {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2rem;
      align-items: center;
    }

    .about img {
      width: 100%;
      border-radius: 16px;
    }

    .about p {
      font-size: 1.1rem;
      line-height: 1.7;
      color: #333;
    }

    /* Hizmetler */
    .services {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2.5rem;
    }

    .service {
      padding: 1.5rem;
      background: var(--light);
      border-left: 4px solid var(--red);
      border-radius: 6px;
      transition: all 0.3s;
    }

    .service:hover {
      background: #fff;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    .service h3 {
      color: var(--dark);
      margin-bottom: 0.8rem;
    }

    /* Haberler */
    .news {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 1.5rem;
    }

    .news-card {
      background: var(--light);
      border-radius: 8px;
      overflow: hidden;
      transition: 0.3s;
    }

    .news-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    .news-card img {
      width: 100%;
      height: 200px;
      object-fit: cover;
    }

    .news-card h4 {
      padding: 1rem;
      color: var(--red);
    }

    .news-card p {
      padding: 0 1rem 1rem;
      font-size: 0.95rem;
      color: #444;
    }

    /* İletişim */
    .contact form {
      display: grid;
      gap: 1rem;
      max-width: 600px;
      margin: auto;
    }

    .contact input, .contact textarea {
      width: 100%;
      padding: 0.8rem;
      border: 1px solid #ccc;
      border-radius: 5px;
      font-size: 1rem;
    }

    .contact button {
      background: var(--red);
      color: white;
      padding: 0.8rem;
      border: none;
      font-size: 1rem;
      cursor: pointer;
      transition: 0.3s;
    }

    .contact button:hover {
      background: #a50c0c;
    }

    footer {
      background: var(--dark);
      color: white;
      text-align: center;
      font-size: 0.9rem;
    }

    @media(max-width: 768px) {
        .services{
            grid-template-columns: 1fr;
        }
      .about {
        grid-template-columns: 1fr;
      }
      .hero-text {
        left: 1rem;
        padding: 1rem;
        max-width: calc(100% - 2rem);
        margin-inline:auto;
      }
      .hero-text h1 {
        font-size: 2rem;
      }
      nav ul{
        display: none;
      }
      .copy{
        padding:1rem;
        flex-direction:column;
        gap:1rem;
      }
    }