/* Genel stil ayarları */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #333;
    line-height: 1.6;
    background-color: #f0e4d7; /* Tatlı bir pastel bej rengi */
}

html {
    scroll-behavior: smooth;
}

.logo {
    max-height: 100px; /* Logonun maksimum yüksekliği */
    width: auto; /* Genişliğin orantılı olmasını sağlar */
    display: block; /* Logonun etrafındaki boşlukları kaldırır */
}

/* Container */
.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
}

/* Header */
header {
    background: #333;
    color: #05d6f7;
    padding: 5px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Logo ve menüyü aralarına boşluk bırakır */
}

header h1 {
    margin: 0;
    font-size: 1.8em;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    display: inline;
    margin-right: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1em; /* Başlıkların font boyutunu artırdık */
}

nav ul li a:hover {
    text-decoration: underline;
}

/* Yükleme ekranı stili */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9); /* Hafif beyaz arka plan */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000; /* Üstte görünsün */
}

.spinner {
    border: 8px solid rgba(0, 0, 0, 0.1);
    border-left: 8px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1ms linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


/* Hero Bölümü */
.hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    text-align: center;
    padding: 120px 100px; /* Üst ve alt padding */
    min-height: 700px; /* Minimum yükseklik */
    background: url('../images/logo.png') no-repeat center center/cover; /* Arka plan resmi */
    display: flex;
    align-items: center; /* Dikeyde ortalama */
    justify-content: center; /* Yatayda ortalama */
}

#background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.048); /* Koyu overlay rengi */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Dikeyde ortalama */
    align-items: center; /* Yatayda ortalama */
}

.hero h2 {
    margin: 0;
    font-size: 2.5em;
}

.hero p {
    font-size: 1.2em;
    margin-top: 10px;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    margin-top: 20px;
    color: #fff;
    background: #88ac2d;
    text-decoration: none;
    border-radius: 10px;
    font-size: 1em;
    transition: background 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background: #6b9a1b;
    transform: scale(1.05);
}

/* Özellikler Bölümü */
.features {
    padding: 120px 0;
    background: linear-gradient(90deg, #792fbe, #ddaad2, #792fbe); /* Sabit renk geçişi */
}

.features h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.2em;
    color: #333; /* Başlıkların rengi koyu gri yapıldı */
}

.features-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 9200px;
    min-height: 200px;
    margin: 0 auto;
}

.feature {
    display: block; /* Tüm kart tıklanabilir */
    color: inherit; /* Renklerin miras alınmasını sağlar */
    text-decoration: none; /* Alt çizgiyi kaldırır */
    background: linear-gradient(360deg, #8df0ff, #d230d8); /* Geçişli renk eklendi */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.featurekvk {
    display: block; /* Tüm kart tıklanabilir */
    color: inherit; /* Renklerin miras alınmasını sağlar */
    text-decoration: none; /* Alt çizgiyi kaldırır */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.feature img {
    max-width: 100%;
    height: auto;
    border: none; /* Çizgileri kaldırmak için */
    outline: none; /* Çizgileri kaldırmak için */
    margin: 0; /* Margin boşluklarını kaldırmak için */
    padding: 0; /* Padding boşluklarını kaldırmak için */
    background: transparent; /* Arka plan rengini şeffaf yapmak için */
    display: block; /* Çevresindeki boşlukları ortadan kaldırmak için */
}

.feature h3 {
    margin: 10px 0;
    font-size: 1.5em;
}

.feature p {
    margin: 10px 0;
}

/* Eski butonları gizliyoruz çünkü tüm kart tıklanabilir oldu */
.feature a.buy-button {
    display: none;
}

.feature:hover {
    transform: scale(1.1);
    background: linear-gradient(360deg, #d230d8, #8df0ff); /* Hover durumunda renk geçişi */
}

/* Responsive Düzen */
@media (max-width: 1200px) {
    .features-wrapper {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 900px) {
    .features-wrapper {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .features-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 400px) {
    .features-wrapper {
        grid-template-columns: 1fr;
    }
}

/* About ve Contact Bölümleri */
.about, .contact {
    padding: 60px 0;
    background: linear-gradient(360deg, #31f7f7, #d230d8); /* Geçişli renk eklendi */
    text-align: center;
}

/* Footer */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    position: relative;
    bottom: 0;
    width: 100%;
}
