:root {
    --primary-red: #ff0022;
    --dark-red: #b30018;
    --pure-white: #ffffff;
    --bg-dark: #050505;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    scroll-behavior: smooth;
}

body, html {
    width: 100%;
    min-height: 100vh;
    background-color: var(--bg-dark);
    color: var(--pure-white);
    overflow-x: hidden;
}

#fireParticles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-dark) 80%);
    z-index: 2;
    pointer-events: none;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 0, 34, 0.3);
    z-index: 100;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--pure-white);
    text-decoration: none;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    color: var(--primary-red);
}

.brand-logo {
    width: 40px;
    height: 40px;
    border-radius: 5px;
    object-fit: cover;
    border: 1px solid rgba(255, 0, 34, 0.5);
    box-shadow: 0 0 10px rgba(255, 0, 34, 0.3);
}

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

.nav-links a {
    color: var(--pure-white);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-red);
    text-shadow: 0 0 10px rgba(255, 0, 34, 0.5);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    font-size: 1.8rem;
    color: var(--pure-white);
    cursor: pointer;
    z-index: 101;
    transition: color 0.3s ease;
}

.mobile-menu-btn:hover {
    color: var(--primary-red);
}

/* Page container adjustments */
.container {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 100px; /* offset for navbar */
}

/* Hero */
.hero {
    text-align: center;
    margin: 4rem 0 6rem 0;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Glitch & Fiery text effect */
.glitch-wrapper {
    position: relative;
    margin-bottom: 1rem;
}

.glitch {
    font-size: 5rem;
    font-weight: 900;
    text-transform: uppercase;
    position: relative;
    color: var(--pure-white);
    text-shadow: 0 0 20px rgba(255, 0, 34, 0.8), 0 0 40px rgba(255, 0, 34, 0.6);
    letter-spacing: 5px;
    animation: fire-flicker 2s infinite alternate;
}

@keyframes fire-flicker {
    0%, 100% { text-shadow: 0 0 20px rgba(255, 0, 34, 0.8), 0 0 40px rgba(255, 0, 34, 0.6); }
    50% { text-shadow: 0 0 30px rgba(255, 0, 34, 1), 0 0 60px rgba(255, 0, 34, 0.8), 0 0 80px rgba(255, 0, 34, 0.6); color: #fff5f5; }
}

.subtitle {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto 3rem auto;
    color: #e0e0e0;
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* Contact Buttons */
.contact-actions {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn i {
    font-size: 1.5rem;
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
}

.btn-phone {
    background-color: var(--primary-red);
    color: white;
    box-shadow: 0 0 20px rgba(255, 0, 34, 0.4);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: all 0.5s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-5px);
}

.btn-whatsapp:hover {
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.6);
}

.btn-phone:hover {
    box-shadow: 0 10px 30px rgba(255, 0, 34, 0.8), 0 0 40px var(--primary-red);
}

.pulse, .pulse-red {
    position: relative;
    /* Performans için box-shadow animasyonu yerine ::after ile donanımsal ivmelendirmeli scale kullanıyoruz */
    z-index: 1;
}

.pulse::after, .pulse-red::after {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    border-radius: 50px;
    z-index: -1;
    animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

.pulse::after { border: 2px solid #25D366; }
.pulse-red::after { border: 2px solid var(--primary-red); }

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.3); opacity: 0; }
}

/* Content Sections (H2, H3, H5) */
.content-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 4rem 0;
    padding: 4rem;
    background: rgba(15, 15, 15, 0.95); /* Performans için blur yerine daha tok ve mat arka plan */
    border: 1px solid rgba(255, 0, 34, 0.15);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 0, 34, 0.1);
    border-color: rgba(255, 0, 34, 0.3);
}

.content-section.reverse {
    flex-direction: row-reverse;
}

.section-text {
    flex: 1.2;
    padding: 0 2rem;
}

.section-text h2, .section-text h3, .section-text h5 {
    color: var(--primary-red);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    text-shadow: 0 0 15px rgba(255, 0, 34, 0.4);
}

.section-text h2 { font-size: 2.8rem; }
.section-text h3 { font-size: 2.4rem; }
.section-text h5 { font-size: 2rem; }

.section-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #e0e0e0;
    margin-bottom: 1rem;
}

.section-image {
    flex: 0.8;
    display: flex;
    justify-content: center;
    align-items: center;
}

.massive-icon {
    font-size: 10rem;
    color: var(--primary-red);
    text-shadow: 0 0 50px rgba(255, 0, 34, 0.5);
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
    100% { transform: translateY(0px) scale(1); }
}

.service-list {
    list-style: none;
    margin-top: 2rem;
}

.service-list li {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #fff;
    padding: 10px 15px;
    background: rgba(255,0,34,0.05);
    border-radius: 10px;
    border-left: 3px solid var(--primary-red);
}

.service-list i {
    color: var(--primary-red);
    font-size: 1.5rem;
}

/* Features (Cards & H4, H6) */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    width: 100%;
    margin-top: 2rem;
}

.feature-card {
    background: rgba(15, 15, 15, 0.95); /* Performans için blur iptal edildi */
    border: 1px solid rgba(255, 0, 34, 0.2);
    border-radius: 15px;
    padding: 3rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
    will-change: transform;
}

.feature-card.full-width {
    grid-column: 1 / -1;
    text-align: left;
    padding: 4rem;
}

.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-red), transparent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 0, 34, 0.5);
    box-shadow: 0 15px 40px rgba(255, 0, 34, 0.15);
}

.feature-card:hover::after {
    transform: scaleX(1);
}

.feature-card h4, .feature-card h6 {
    color: var(--primary-red);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(255, 0, 34, 0.3);
}

.feature-card h4 { font-size: 2.2rem; }
.feature-card h6 { font-size: 1.8rem; }

.feature-card p {
    color: #cccccc;
    line-height: 1.7;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    position: relative;
    z-index: 10;
    background: #050505;
    border-top: 3px solid var(--primary-red);
    padding: 5rem 2rem 2rem 2rem;
    margin-top: 6rem;
    box-shadow: 0 -10px 30px rgba(255, 0, 34, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 15px;
}
.footer-logo {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid rgba(255, 0, 34, 0.5);
}
.footer-brand span { color: var(--primary-red); }
.footer-brand p { color: #888; font-size: 1.1rem; }

.footer-contact h4, .footer-social h4 {
    color: var(--primary-red);
    font-size: 1.6rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(255, 0, 34, 0.2);
}

.footer-contact p {
    margin-bottom: 1.2rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #e0e0e0;
}
.footer-contact i { color: var(--primary-red); font-size: 1.5rem; }

.social-icons {
    display: flex;
    gap: 1.5rem;
}

.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background: #111;
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 0, 34, 0.3);
}

.social-icons a:hover {
    background: var(--primary-red);
    color: #fff;
    box-shadow: 0 0 20px var(--primary-red);
    transform: translateY(-5px);
    border-color: var(--primary-red);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 0, 34, 0.2);
    color: #666;
    font-size: 1rem;
}

@media (max-width: 900px) {
    .content-section, .content-section.reverse {
        flex-direction: column;
        text-align: center;
        padding: 2.5rem;
    }
    .section-text { padding: 0; margin-bottom: 3rem; }
    .massive-icon { font-size: 7rem; }
    .service-list li { justify-content: center; }
}

@media (max-width: 768px) {
    .mobile-menu-btn { display: block; }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s cubic-bezier(0.77, 0.2, 0.05, 1);
        border-left: 2px solid var(--primary-red);
        z-index: 100;
        box-shadow: -10px 0 30px rgba(0,0,0,0.8);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 1.5rem 0;
    }
    
    .nav-links a {
        font-size: 1.4rem;
    }

    .glitch { font-size: 3.5rem; }
    .subtitle { font-size: 1.2rem; }
    .contact-actions { flex-direction: column; align-items: stretch; }
    .section-text h2 { font-size: 2.2rem; }
    .section-text h3 { font-size: 2rem; }
    .feature-card.full-width { padding: 2rem; }
}
