/* =========================================
   VARIABLES & DESIGN TOKENS (BLACK & RED THEME)
   ========================================= */
   :root {
    /* Colors */
    --bg-main: #000000;
    --bg-secondary: #080808;
    --bg-card: #0f0f0f;
    
    --text-main: #ffffff;
    --text-muted: #d0d0d0;
    
    --accent-primary: #e60000;
    --accent-primary-hover: #ff1a1a;
    --accent-secondary: #990000;
    
    --border-color: #222222;
    --border-hover: rgba(230, 0, 0, 0.5);
    
    --glass-bg: rgba(0, 0, 0, 0.85);
    --glass-border: rgba(230, 0, 0, 0.2);

    /* Typography */
    --font-sans: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================
   RESET & BASE STYLES
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

::selection {
    background-color: var(--accent-primary);
    color: #ffffff;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

img, video {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center {
    text-align: center;
}

.highlight {
    color: var(--accent-primary);
    text-shadow: 0 0 15px rgba(230, 0, 0, 0.5);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title span {
    color: var(--accent-primary);
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
    display: inline-block;
    padding: 0.85rem 1.8rem;
    border-radius: 0px; /* Sharp corners for aggressive industrial look */
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-lg {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(230, 0, 0, 0.3);
    border: 1px solid var(--accent-primary);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-primary-hover), var(--accent-primary));
    box-shadow: 0 8px 25px rgba(255, 26, 26, 0.5);
    transform: translateY(-3px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--text-main);
}

.btn-secondary:hover {
    background: #ffffff;
    color: #000000;
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: #ffffff;
    border: 2px solid var(--accent-primary);
}

.btn-outline:hover {
    background: var(--accent-primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(230, 0, 0, 0.4);
}

/* =========================================
   NAVIGATION
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all var(--transition-normal);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: inline-block;
    align-items: center;
    animation: floatLogo 4s ease-in-out infinite;
}

.logo-img {
    height: 85px; /* Logoya uygun yükseklik */
    width: auto;
    filter: drop-shadow(0 0 5px rgba(230, 0, 0, 0.5));
    transition: all var(--transition-normal);
}

.logo:hover {
    animation-play-state: paused;
}

.logo:hover .logo-img {
    transform: scale(1.08);
    filter: drop-shadow(0 0 20px rgba(230, 0, 0, 1));
}

@keyframes floatLogo {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0px); }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-primary);
    transition: width var(--transition-normal);
}

.nav-links a:not(.btn):hover {
    color: var(--text-main);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--accent-primary);
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: #000;
}

.hero-background video.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.6; /* Darken video naturally */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 40%, rgba(230, 0, 0, 0.1) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0;
    transform: translateY(50px);
    animation: slideUpFade 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-subtitle {
    font-size: 1.35rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 650px;
    font-weight: 300;
    opacity: 0;
    transform: translateY(50px);
    animation: slideUpFade 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
    border-left: 4px solid var(--accent-primary);
    padding-left: 1.5rem;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    opacity: 0;
    transform: translateY(50px);
    animation: slideUpFade 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

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

/* =========================================
   FEATURES SECTION
   ========================================= */
.features {
    padding: 7rem 0;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.feature-card {
    background: var(--bg-card);
    padding: 3.5rem 2.5rem;
    border-radius: 0; /* Sharp */
    border: 1px solid var(--border-color);
    border-bottom: 4px solid var(--border-color);
    transition: all var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8);
    border-color: var(--border-hover);
    border-bottom-color: var(--accent-primary);
}

.feature-icon {
    font-size: 3.5rem;
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform var(--transition-normal);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: #ffffff;
    text-transform: uppercase;
}

.feature-card p {
    color: var(--text-muted);
}

/* =========================================
   ABOUT SECTION
   ========================================= */
.about {
    padding: 9rem 0;
    background-color: var(--bg-main);
    position: relative;
}

/* Red glow background element */
.about::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(230, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
    transform: translateY(-50%);
    pointer-events: none;
}

.about-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.about-text p {
    color: var(--text-muted);
    font-size: 1.15rem;
    margin-bottom: 1.8rem;
}

.about-list {
    margin-top: 2.5rem;
}

.about-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.about-list i {
    color: var(--accent-primary);
    margin-right: 1.2rem;
    font-size: 1.4rem;
}

.about-image-wrapper {
    position: relative;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    width: 100%;
}

.stat {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-left: 5px solid var(--accent-primary);
    padding: 2.5rem;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.stat h4 {
    font-size: 4rem;
    font-family: var(--font-heading);
    color: #ffffff;
    display: inline-block;
    line-height: 1;
}

.stat span {
    display: block;
    color: var(--accent-primary);
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-top: 0.5rem;
}

/* =========================================
   PRODUCTS SECTION
   ========================================= */
.products {
    padding: 9rem 0;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.products .section-header {
    margin-bottom: 5rem;
}

.products .section-header p {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.product-card {
    background: var(--bg-main);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
    z-index: 10;
}

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
    border-color: #333;
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-image {
    position: relative;
    height: 320px;
    overflow: hidden;
    background: #000;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
    opacity: 0.8;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
    opacity: 1;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(230, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-info {
    padding: 2.5rem 2rem;
    text-align: center;
}

.product-info h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    color: #ffffff;
}

.product-info p {
    color: var(--text-muted);
}

/* =========================================
   SECTORS SECTION
   ========================================= */
.sectors {
    padding: 9rem 0;
    background-color: var(--bg-main);
}

.sectors .section-header {
    margin-bottom: 5rem;
}

.sectors .section-header p {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.sector-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 2.5rem 1rem;
    text-align: center;
    border-radius: 0;
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.sector-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-normal);
}

.sector-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.9);
    border-color: #333;
    background: var(--bg-card);
}

.sector-card:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.sector-card i {
    font-size: 2.5rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    transition: all var(--transition-normal);
}

.sector-card:hover i {
    color: var(--accent-primary);
    transform: scale(1.1) translateY(-5px);
}

.sector-card h4 {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* =========================================
   CTA SECTION
   ========================================= */
.cta-section {
    padding: 8rem 0;
    background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.95)), url('assets/images/hero.png') no-repeat center center / cover;
    background-attachment: fixed;
    text-align: center;
    border-top: 2px solid var(--accent-primary);
    border-bottom: 2px solid var(--accent-primary);
}

.cta-container h2 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    color: #ffffff;
}

.cta-container p {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    background-color: var(--bg-main);
    padding-top: 6rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 1.5rem;
    max-width: 350px;
}

.footer h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 1.8rem;
    color: #ffffff;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent-primary);
}

.footer-links ul li {
    margin-bottom: 1rem;
}

.footer-links ul li a {
    color: var(--text-muted);
    transition: all var(--transition-fast);
    display: inline-block;
}

.footer-links ul li a:hover {
    color: var(--accent-primary);
    transform: translateX(5px);
}

.footer-contact p {
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
}

.footer-contact i {
    color: var(--accent-primary);
    margin-right: 1.2rem;
    width: 20px;
    font-size: 1.2rem;
}

.footer-bottom {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-secondary);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* =========================================
   BACK TO TOP BUTTON
   ========================================= */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--accent-primary);
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    box-shadow: 0 5px 15px rgba(230, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--accent-secondary);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(230, 0, 0, 0.6);
    color: #ffffff;
}

/* =========================================
   WHATSAPP BUTTON
   ========================================= */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    border-radius: 50%;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
    transition: all var(--transition-normal);
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-btn:hover {
    background-color: #128c7e;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
    color: #ffffff;
}

@keyframes pulse-whatsapp {
    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);
    }
}

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 1024px) {
    .hero-title { font-size: 4rem; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .about-container { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: 1fr 1fr; }
    .footer-container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.5rem;
    }

    .hamburger {
        display: block;
        z-index: 1001;
    }

    .hero-title { font-size: 3rem; }
    .features-grid { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr; gap: 3rem; }
    
    .hero-actions {
        flex-direction: column;
    }
}
