/* --- DEĞİŞKENLER VE TEMEL AYARLAR --- */
:root {
--primary-red: #D90429;
--dark-red: #8D0801;
--bg-black: #050505;
--bg-dark: #121212;
--bg-card: #1a1a1a;
--text-white: #ffffff;
--text-gray: #b0b0b0;
--header-height: 80px;
}

{
margin: 0;
padding: 0;
box-sizing: border-box;
scroll-behavior: smooth;
}

body {
font-family: 'Montserrat', sans-serif;
background-color: var(--bg-black);
color: var(--text-white);
overflow-x: hidden;
line-height: 1.6;
}

/* Scrollbar */
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
background: var(--bg-black);
}
::-webkit-scrollbar-thumb {
background: var(--primary-red);
border-radius: 4px;
}

/* --- FLOAT BUTTONS (Whatsapp & Call) --- */
.floating-btns {
position: fixed;
bottom: 90px;
right: 25px;
z-index: 2000;
display: flex;
flex-direction: column;
gap: 15px;
}
.float-btn {
width: 60px;
height: 60px;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
color: white;
font-size: 30px;
text-decoration: none;
box-shadow: 0 5px 15px rgba(0,0,0,0.5);
transition: transform 0.3s;
}
.float-btn:hover {
transform: scale(1.1);
}
.btn-whatsapp {
background-color: #25D366;
}
.btn-call {
background-color: var(--primary-red);
}

/* --- HEADER --- */
header {
position: fixed;
top: 0;
width: 100%;
height: var(--header-height);
padding: 0 5%;
display: flex;
justify-content: space-between;
align-items: center;
background: rgba(5, 5, 5, 0.9);
backdrop-filter: blur(10px);
z-index: 1000;
border-bottom: 1px solid var(--dark-red);
}
.logo {
font-size: 28px;
font-weight: 900;
color: var(--primary-red);
text-transform: uppercase;
letter-spacing: 1px;
}
.logo span {
color: white;
}
.logo img{filter: brightness(0) invert(1);}

.nav-links {
display: flex;
list-style: none;
gap: 25px;
}
.nav-links a {
text-decoration: none;
color: white;
white-space: nowrap;
font-weight: 600;
font-size: 14px;
text-transform: uppercase;
transition: 0.3s;
}
.nav-links a:hover {
color: var(--primary-red);
}

.hamburger {
display: none;
cursor: pointer;
}
.hamburger div {
width: 25px;
height: 3px;
background: white;
margin: 5px;
transition: 0.3s;
}

/* --- SWIPER SLIDER (HERO) --- */
.hero-slider {
width: 100%;
height: 100vh;
}
.swiper-slide {
position: relative;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
background-size: cover;
background-position: center;
}
.slide-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.8));
z-index: 1;
}
.slide-content {
position: relative;
z-index: 2;
max-width: 800px;
padding: 20px;
}

/* Slider Text Animation */
.swiper-slide h1, .swiper-slide p, .swiper-slide .btn {
opacity: 0;
transform: translateY(30px);
transition: 0.5s;
}
.swiper-slide-active h1 {
animation: fadeInUp 1s 0.3s forwards;
}
.swiper-slide-active p {
animation: fadeInUp 1s 0.6s forwards;
}
.swiper-slide-active .btn {
animation: fadeInUp 1s 0.9s forwards;
}

.slide-content h1 {
font-family: 'Playfair Display', serif;
font-size: 64px;
margin-bottom: 15px;
line-height: 1.1;
}
.slide-content h1 span {
color: var(--primary-red);
}
.slide-content p {
font-size: 19px;
margin-bottom: 30px;
color: #ddd;
}

@keyframes fadeInUp {
to {
opacity: 1;
transform: translateY(0);
}
}

.btn {
display: inline-block;
padding: 15px 40px;
background: var(--primary-red);
color: white;
text-decoration: none;
font-weight: 700;
text-transform: uppercase;
border-radius: 50px;
border: 2px solid var(--primary-red);
transition: 0.3s;
}
.btn:hover {
background: transparent;
color: var(--primary-red);
}

/* --- GENEL SECTION STİLİ --- */
section {
padding: 100px 5%;
}
.section-header {
text-align: center;
margin-bottom: 60px;
}
.section-title {
font-size: 48px;
font-family: 'Playfair Display', serif;
margin-bottom: 10px;
}
.section-title span {
border-bottom: 3px solid var(--primary-red);
}
.section-desc {
color: var(--text-gray);
max-width: 600px;
margin: 0 auto;
font-size: 18px;
}

/* Scroll Animation Class */
.scroll-element {
opacity: 0;
transform: translateY(50px);
transition: all 0.8s ease-out;
}
.scroll-element.scrolled {
opacity: 1;
transform: translateY(0);
}

/* --- HAKKIMIZDA --- */
.about-section {
background: var(--bg-dark);
}
.about-container {
display: flex;
align-items: center;
gap: 50px;
flex-wrap: wrap;
}
.about-img {
flex: 1;
min-width: 300px;
position: relative;
}
.about-img img {
width: 100%;
border-radius: 10px;
border-bottom: 5px solid var(--primary-red);
}
.about-text {
flex: 1;
min-width: 300px;
}
.about-text h3 {
font-size: 32px;
margin-bottom: 20px;
color: var(--primary-red);
}
.about-text p {
margin-bottom: 20px;
color: var(--text-gray);
text-align: justify;
}

/* --- HİZMETLER (GÜNCELLENMİŞ) --- */
.services-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(45%, 1fr)); /* Ekranın yarısı mantığı */
gap: 0; /* Bitişik */
}

.service-card {
position: relative;
height: 350px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
padding: 20px;
border: 1px solid #222;
overflow: hidden;
background-size: cover;
background-position: center;
transition: transform 0.1s; /* Mouse takip için hızlı geçiş */
transform-style: preserve-3d;
}

/* Her hizmet için koyu overlay */
.service-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0,0,0,0.85); /* Koyu filtre */
transition: 0.4s;
z-index: 1;
}
.service-card:hover .service-overlay {
background: rgba(0,0,0,0.6);
} /* Hoverda aydınlan */

.service-content {
position: relative;
z-index: 2;
transform: translateZ(40px);
pointer-events: none;
}
.service-icon {
font-size: 48px;
color: var(--primary-red);
margin-bottom: 15px;
text-shadow: 0 0 20px rgba(217, 4, 41, 0.6);
}
.service-card h3 {
font-size: 24px;
margin-bottom: 10px;
text-transform: uppercase;
color: white;
}

/* --- GALERİ --- */
.gallery-section {
background: var(--bg-dark);
}
.gallery-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 20px;
}
.gallery-item {
position: relative;
height: 250px;
overflow: hidden;
border-radius: 8px;
cursor: pointer;
}
.gallery-item img, .gallery-item video {
width: 100%;
height: 100%;
object-fit: cover;
transition: 0.5s;
}
.gallery-item:hover img {
transform: scale(1.1);
}
.play-icon {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 48px;
color: rgba(255,255,255,0.8);
z-index: 2;
pointer-events: none;
}
.gallery-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(217, 4, 41, 0.0);
transition: 0.4s;
}
.gallery-item:hover .gallery-overlay {
background: rgba(217, 4, 41, 0.3);
}

/* --- İLETİŞİM & FORM --- */
.contact-container {
display: flex;
flex-wrap: wrap;
gap: 50px;
}
.contact-info, .contact-form-wrapper {
flex: 1;
min-width: 300px;
}

.contact-info-item {
display: flex;
align-items: center;
gap: 20px;
margin-bottom: 30px;
}
.contact-info-item i {
width: 50px;
height: 50px;
background: var(--bg-card);
color: var(--primary-red);
display: flex;
justify-content: center;
align-items: center;
border-radius: 50%;
font-size: 19px;
}

.form-group {
margin-bottom: 20px;
}
.form-control {
width: 100%;
padding: 15px;
background: var(--bg-card);
border: 1px solid #333;
color: white;
font-family: 'Montserrat', sans-serif;
outline: none;
transition: 0.3s;
}
.form-control:focus {
border-color: var(--primary-red);
}
textarea.form-control {
resize: none;
height: 120px;
}

/* --- FOOTER (MODERN) --- */
footer {
background: #080808;
padding: 80px 5% 30px 5%;
border-top: 2px solid #222;
}
.footer-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 40px;
margin-bottom: 50px;
}
.footer-col h4 {
font-size: 19px;
margin-bottom: 25px;
color: white;
position: relative;
display: inline-block;
}
.footer-col h4::after {
content: '';
position: absolute;
left: 0;
bottom: -10px;
width: 40px;
height: 2px;
background: var(--primary-red);
}
.footer-col p {
color: var(--text-gray);
margin-bottom: 15px;
font-size: 15px;
}
.footer-links li {
list-style: none;
margin-bottom: 12px;
}
.footer-links a {
text-decoration: none;
color: var(--text-gray);
transition: 0.3s;
}
.footer-links a:hover {
color: var(--primary-red);
padding-left: 5px;
}

.social-icons {
display: flex;
gap: 15px;
}
.social-icons a {
width: 40px;
height: 40px;
background: #222;
color: white;
display: flex;
justify-content: center;
align-items: center;
border-radius: 4px;
transition: 0.3s;
}
.social-icons a:hover {
background: var(--primary-red);
}

.footer-bottom {
text-align: center;
padding-top: 30px;
border-top: 1px solid #222;
color: #555;
font-size: 14px;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
.slide-content h1 {
font-size: 40px;
}
.hamburger {
display: block;
}
.nav-links {
position: absolute;
top: var(--header-height);
right: -100%;
width: 70%;
height: 100vh;
background: #111;
flex-direction: column;
align-items: center;
justify-content: center;
transition: 0.5s;
border-left: 2px solid var(--primary-red);
}
.nav-links.active {
right: 0;
}
.services-grid {
grid-template-columns: 1fr;
} /* Mobilde tek sütun */
}