@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Inter:wght@400;600;800&display=swap');

:root {
    --primary: #ef4444;
    /* Aggressive Red */
    --primary-dark: #b91c1c;
    --primary-glow: rgba(239, 68, 68, 0.6);
    --bg-main: #020202;
    /* Pure Black */
    --bg-secondary: #0a0a0a;
    --bg-card: #121212;
    --surface: #1a1a1a;
    --text-white: #ffffff;
    --text-gray: #a1a1aa;
    --border: #333333;
    --border-red: rgba(239, 68, 68, 0.3);
    --container: 1300px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    background-image:
        linear-gradient(rgba(2, 2, 2, 0.7), rgba(2, 2, 2, 0.7)),
        url('../images/header-bg.png');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

h1,
h2,
h3,
h4,
.btn,
.nav-link,
.logo {
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

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

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

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

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

.glow-text {
    text-shadow: 0 0 20px var(--primary-glow);
}

/* Animations */
@keyframes pulse-red {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Primary Button */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    color: var(--text-white);
    font-weight: 700;
    font-size: 1.1rem;
    border: 2px solid var(--primary);
    position: relative;
    overflow: hidden;
    clip-path: polygon(10% 0, 100% 0, 100% 70%, 90% 100%, 0 100%, 0 30%);
    transition: 0.3s;
    cursor: pointer;
}

.btn:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 0 30px var(--primary-glow);
    text-shadow: 0 0 10px white;
    transform: translateY(-2px);
}

.btn-fill {
    background: var(--primary);
    border: 2px solid var(--primary);
    color: white;
}

.btn-fill:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* Header */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(2, 2, 2, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--border-red);
    padding: 1.25rem 0;
}

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

.logo {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    letter-spacing: 2px;
}

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

.nav-menu {
    display: flex;
    gap: 3rem;
}

.nav-link {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-gray);
    letter-spacing: 1px;
    position: relative;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: 0.3s;
    box-shadow: 0 0 10px var(--primary);
}

.nav-link:hover {
    color: white;
}

.nav-link:hover::before {
    width: 100%;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: rgba(2, 2, 2, 0.95);
    min-width: 220px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.5);
    z-index: 1001;
    border: 1px solid var(--border);
    border-top: 2px solid var(--primary);
    padding: 0.5rem 0;
    backdrop-filter: blur(10px);
    top: 100%;
    left: 0;
}

.dropdown-content a {
    color: var(--text-gray);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.95rem;
    transition: 0.2s;
}

.dropdown-content a:hover {
    background-color: rgba(239, 68, 68, 0.1);
    color: white;
    padding-left: 20px;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    opacity: 0.4;
    filter: grayscale(100%) contrast(1.2);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-main) 90%);
    z-index: -1;
}

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

.hero h1 {
    font-size: 6rem;
    line-height: 0.9;
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin: 3rem 0;
    background: rgba(0, 0, 0, 0.6);
    padding: 1.5rem;
    border-left: 4px solid var(--primary);
    backdrop-filter: blur(5px);
}

.stat-item h4 {
    color: var(--text-gray);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.stat-item p {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

/* Grid & Cards */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 4px;
    /* Sharper corners */
    overflow: hidden;
    position: relative;
    transition: 0.4s;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: 0.4s;
    z-index: 2;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

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

.card-image {
    height: 220px;
    width: 100%;
    object-fit: cover;
    filter: grayscale(0.5);
    transition: 0.4s;
}

.card:hover .card-image {
    filter: grayscale(0);
}

.card-body {
    padding: 1.5rem;
}

.price-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary);
    color: white;
    padding: 0.4rem 1rem;
    font-weight: 700;
    font-size: 0.9rem;
    clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%, 0 100%);
    box-shadow: 0 0 15px var(--primary-glow);
}

/* Headings */
.section-title {
    font-size: 3rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60%;
    height: 4px;
    background: var(--primary);
    margin-top: 0.5rem;
    box-shadow: 0 0 15px var(--primary);
}

/* News Section */
.news-item {
    display: flex;
    gap: 2rem;
    background: var(--surface);
    margin-bottom: 2rem;
    border: 1px solid var(--border);
    transition: 0.3s;
}

.news-item:hover {
    border-color: var(--primary);
}

.news-img {
    width: 300px;
    object-fit: cover;
}

.news-content {
    padding: 2rem;
    flex: 1;
}

.news-date {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Footer */
footer {
    background: #000;
    border-top: 3px solid var(--primary);
    padding: 5rem 0;
    margin-top: 5rem;
}

.footer-logo {
    font-size: 3rem;
    font-weight: 900;
    color: #1a1a1a;
    text-transform: uppercase;
    -webkit-text-stroke: 1px var(--border);
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .news-item {
        flex-direction: column;
    }

    .news-img {
        width: 100%;
        height: 200px;
    }
}