/* Dosya: wepsite/style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #00d2ff;
    --dark-bg: #0a0a0a;
    --glass-bg: rgba(255, 255, 255, 0.07);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-color: #ffffff;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-color);
    font-family: 'Rajdhani', sans-serif; /* Daha teknolojik bir font */
    overflow-x: hidden;
}

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    z-index: 1;
    position: relative;
}

/* --- HEADER --- */
header {
    text-align: center;
    margin: 60px 0 80px 0;
    position: relative;
}

h1 {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 5px;
    background: linear-gradient(to right, #fff, #00d2ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    margin-bottom: 10px;
    filter: drop-shadow(0 0 10px rgba(0, 210, 255, 0.5));
}

.subtitle {
    font-size: 1.2rem;
    color: #aaa;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* --- BÖLÜM BAŞLIKLARI --- */
.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 60px 0 30px 0;
    font-size: 1.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-header i { font-size: 2rem; }
.android-color { color: #3DDC84; text-shadow: 0 0 15px rgba(61, 220, 132, 0.4); }
.ios-color { color: #fff; text-shadow: 0 0 15px rgba(255, 255, 255, 0.4); }
.pc-color { color: #ff9f00; text-shadow: 0 0 15px rgba(255, 159, 0, 0.4); }
.mail-color { color: #ff4757; text-shadow: 0 0 15px rgba(255, 71, 87, 0.4); }

/* --- GRID YAPISI (HER ŞEYİ EŞİTLİYORUZ) --- */
.grid-container {
    display: grid;
    /* Kart genişliği min 300px, max 350px arası. Ekrana tam oturur */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 10px;
    justify-items: center; /* Kartları ortalar */
}

/* --- KART TASARIMI (GLASSMORPHISM) --- */
.card {
    background: var(--glass-bg);
    backdrop-filter: blur(15px); /* BUZLU CAM EFEKTİ */
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    width: 100%;
    max-width: 350px;
    
    /* YÜKSEKLİK SABİTLEME (Hepsi eşit boyda olur) */
    height: 480px; 
    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between; /* İçeriği yayar */
    
    position: relative;
    overflow: hidden;
    transition: 0.2s;
    
    /* 3D efekt için */
    transform-style: preserve-3d;
    transform: perspective(1000px);
}

/* Kartın içindeki parlama (Glow) */
.card::after {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
    opacity: 0;
    transition: 0.3s;
    pointer-events: none;
}

.card:hover::after { opacity: 1; }

/* Kartın kenar çizgisi (Hover'da parlar) */
.card:hover {
    border-color: rgba(255,255,255,0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* RESİM */
.card img {
    width: 100px;
    height: 100px;
    border-radius: 22px;
    object-fit: cover;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transform: translateZ(20px); /* Resim havada dursun */
}

/* METİNLER */
.card h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #fff;
    transform: translateZ(10px);
}

.card p {
    font-size: 0.95rem;
    color: #ccc;
    line-height: 1.5;
    flex-grow: 1; /* Boşluğu doldurur */
    margin-bottom: 20px;
    transform: translateZ(10px);
}

/* ROZETLER */
.platform-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transform: translateZ(30px); /* En üstte */
}

/* --- BUTONLAR --- */
.btn-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transform: translateZ(20px); /* Butonlar havada */
}

.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

/* İncele Butonu */
.btn-main {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
}
.btn-main:hover {
    background: #00d2ff;
    border-color: #00d2ff;
    color: #000;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.4);
}

/* Instagram Butonu */
.btn-insta {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.1);
    color: #ccc;
    font-size: 0.9rem;
}
.btn-insta:hover {
    background: linear-gradient(45deg, #f09433, #bc1888);
    color: white;
    border: none;
}
.btn-insta i { margin-right: 8px; }

/* --- İLETİŞİM KARTI --- */
.contact-wrapper {
    display: flex;
    justify-content: center;
    padding: 20px;
}
.contact-card {
    border: 1px solid rgba(255, 71, 87, 0.3);
    height: auto; /* İletişim kartı içeriğe göre uzasın */
    padding: 40px;
}
.contact-card:hover {
    box-shadow: 0 0 30px rgba(255, 71, 87, 0.2);
    border-color: #ff4757;
}
.icon-circle {
    width: 70px;
    height: 70px;
    background: rgba(255, 71, 87, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #ff4757;
    margin-bottom: 20px;
    transform: translateZ(20px);
}
.btn-contact {
    margin-top: 15px;
    padding: 10px 30px;
    background: #ff4757;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(255, 71, 87, 0.3);
    transform: translateZ(20px);
}
.btn-contact:hover {
    background: #ff6b81;
    box-shadow: 0 10px 25px rgba(255, 71, 87, 0.5);
}

/* --- MODAL --- */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0; top: 0; width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.9);
    backdrop-filter: blur(10px);
}
.modal-content {
    background: #111;
    border: 1px solid #333;
    color: #fff;
    margin: 20% auto;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    position: relative;
}
.close-btn {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 30px;
    cursor: pointer;
}

/* Mobil Uyum */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .card { height: auto; min-height: 450px; } /* Mobilde esnek olsun */
}