/* Genel Ayarlar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #0a0a0a; /* Derin Siyah */
    color: #ffffff;
    overflow-x: hidden;
}

/* Menü Tasarımı */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 50px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
}

.logo {
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 2px;
}

.logo span {
    color: #8b0000; /* Koyu Kırmızı Nokta Efekti */
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #8b0000; /* Üzerine gelince koyu kırmızı */
}

/* Hero (Giriş) Bölümü */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 0 20px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.slogan {
    font-size: 64px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.highlight {
    color: #8b0000; /* Vurgulu Koyu Kırmızı */
    text-shadow: 0px 0px 20px rgba(139, 0, 0, 0.6);
}

.hero p {
    font-size: 20px;
    color: #cccccc;
    margin-bottom: 40px;
}

/* Butonlar ve Hover Animasyonları */
.btn {
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.4s ease;
    display: inline-block;
    margin: 0 10px;
}

.btn-primary {
    background-color: #8b0000;
    color: #fff;
    box-shadow: 0 10px 30px rgba(139, 0, 0, 0.4);
}

.btn-primary:hover {
    background-color: #a50000;
    transform: translateY(-5px); /* Yukarı zıplama efekti */
    box-shadow: 0 15px 40px rgba(139, 0, 0, 0.6);
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #8b0000;
}

.btn-secondary:hover {
    background-color: #8b0000;
    transform: translateY(-5px);
}

/* Arka Planda Koyu Kırmızı Sis/Parlama Efekti */
.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139,0,0,0.15) 0%, rgba(10,10,10,0) 70%);
    z-index: 1;
    animation: pulse 6s infinite alternate;
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}
/* --- Ortak Başlık Ayarları --- */
section {
    padding: 100px 5%;
}

h2 {
    font-size: 40px;
    margin-bottom: 15px;
    color: #ffffff;
}

.divider {
    width: 60px;
    height: 4px;
    background-color: #8b0000;
    margin-bottom: 30px;
    border-radius: 2px;
}

.divider.center {
    margin: 0 auto 30px auto;
}

/* --- Hakkımızda Bölümü --- */
.about-section {
    background-color: #050505; /* Herodan hafif farklı bir siyah */
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 50px;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text p {
    font-size: 18px;
    color: #bbbbbb;
    line-height: 1.8;
}

/* Sağdaki Animasyonlu Kutu */
.about-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 300px;
}

.animated-box {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #8b0000 0%, #300000 100%);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: floatShape 4s ease-in-out infinite;
    box-shadow: 0 20px 50px rgba(139, 0, 0, 0.3);
}

.box-inner {
    background-color: #0a0a0a;
    width: 280px;
    height: 280px;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 24px;
    letter-spacing: 2px;
}

@keyframes floatShape {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* --- Hizmetlerimiz Bölümü --- */
.services-section {
    background-color: #0a0a0a;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header p {
    color: #aaaaaa;
    font-size: 18px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Animasyonlu Hizmet Kartları */
.service-card {
    background: #111111;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid #222;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(139,0,0,0.1) 0%, rgba(17,17,17,0) 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    transform: translateY(-15px); /* Kart havaya kalkar */
    border-color: #8b0000;
    box-shadow: 0 15px 40px rgba(139, 0, 0, 0.4); /* Kırmızı parlama */
}

.service-card:hover::before {
    opacity: 1;
}

.service-card .icon {
    font-size: 50px;
    margin-bottom: 20px;
    display: inline-block;
    transition: transform 0.4s ease;
}

.service-card:hover .icon {
    transform: scale(1.2) rotate(5deg); /* İkon büyür ve hafif döner */
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #ffffff;
}

.service-card p {
    color: #999999;
    font-size: 15px;
    line-height: 1.6;
}
/* --- Referanslar Bölümü --- */
.portfolio-section {
    background-color: #050505;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.portfolio-item {
    height: 250px;
    background-color: #111;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid #222;
    transition: all 0.5s ease;
    /* İleride admin panelinden eklenecek resimler için yer tutucu arkaplan */
    background-image: linear-gradient(45deg, #111 25%, #1a1a1a 25%, #1a1a1a 50%, #111 50%, #111 75%, #1a1a1a 75%, #1a1a1a 100%);
    background-size: 20px 20px;
}

.portfolio-item:hover {
    border-color: #8b0000;
    box-shadow: 0 10px 30px rgba(139, 0, 0, 0.5);
    transform: scale(1.02);
}

.portfolio-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(139,0,0,0.9) 0%, rgba(10,10,10,0.6) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: bottom 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
    bottom: 0;
}

.portfolio-overlay h3 {
    font-size: 24px;
    color: #fff;
    margin-bottom: 10px;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
}

.portfolio-overlay p {
    color: #ddd;
    font-size: 16px;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.2s;
}

.portfolio-item:hover .portfolio-overlay h3,
.portfolio-item:hover .portfolio-overlay p {
    transform: translateY(0);
}

/* --- İletişim Bölümü --- */
.contact-section {
    background-color: #0a0a0a;
}

.contact-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    background: #111;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #222;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
    padding: 60px;
    background: linear-gradient(135deg, #151515 0%, #050505 100%);
    min-width: 300px;
}

.contact-info p {
    color: #aaa;
    margin-bottom: 30px;
    line-height: 1.6;
}

.contact-details p {
    color: #fff;
    margin-bottom: 15px;
    font-size: 18px;
}

.social-links {
    margin-top: 40px;
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #222;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #8b0000;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(139, 0, 0, 0.4);
}

.contact-form {
    flex: 1;
    padding: 60px;
    min-width: 300px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    background: #050505;
    border: 1px solid #333;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #8b0000;
}

.submit-btn {
    width: 100%;
    border: none;
    cursor: pointer;
    margin: 0;
}

/* --- Sabit WhatsApp Butonu --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0px 5px 15px rgba(37, 211, 102, 0.4);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-weight: bold;
    animation: wa-pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #1ebe57;
}

@keyframes wa-pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* --- Footer --- */
footer {
    text-align: center;
    padding: 30px;
    background-color: #000;
    border-top: 1px solid #111;
}

footer p {
    color: #666;
    font-size: 14px;
}