
/* --- CSS Variables & Global Styles --- */
:root {
    --primary-yellow: #FFD60A;
    --black-base: #000000;
    --white-text: #FFFFFF;
    --dark-gray: #121212;
    --medium-gray: #1a1a1a;
    --light-gray: #333;
    
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --border-radius: 8px;
    --transition-speed: 0.3s;
    
    --glow-intensity: 0 0 15px rgba(255, 214, 10, 0.7);
    --neon-glow: 0 0 20px rgba(255, 214, 10, 0.8);
}

/* --- Custom Cursor --- */
body { cursor: none; }
.custom-cursor {
    width: 20px; height: 20px;
    border: 2px solid var(--primary-yellow);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: all 0.1s ease; z-index: 9999;
    mix-blend-mode: difference;
}
.custom-cursor.hover {
    transform: translate(-50%, -50%) scale(1.5);
    background-color: rgba(255, 214, 10, 0.5);
}

/* --- Page Transition Overlay --- */
.page-transition-overlay {
    position: fixed; top: 0; left: -100%;
    width: 100%; height: 100%;
    background: var(--primary-yellow);
    z-index: 9998;
    pointer-events: none;
}

/* --- NAVIGATION BAR --- */
.navbar { position: fixed; top: 0; left: 0; width: 100%; padding: 15px 0; background: rgba(0, 0, 0, 0.5); backdrop-filter: blur(15px); z-index: 1000; transition: all 0.3s ease; }
.navbar.scrolled { padding: 10px 0; box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5); }
.navbar-container { display: flex; justify-content: space-between; align-items: center; }
.navbar-logo { display: flex; align-items: center; font-family: var(--font-heading); font-size: 1.5rem; font-weight: 900; color: var(--primary-yellow); text-decoration: none; }
.navbar-logo svg { width: 30px; height: 30px; margin-right: 10px; }
.navbar-logo .ring { stroke: var(--primary-yellow); stroke-width: 0.5; fill: none; transform-origin: center; transition: transform 0.5s ease; }
.navbar-logo:hover .ring-1 { transform: rotate(360deg); }
.navbar-logo:hover .ring-2 { transform: rotate(-360deg); }
.navbar-logo:hover .ring-3 { transform: rotate(720deg); }
.navbar-menu { display: flex; list-style: none; gap: 30px; }
.navbar-menu a { color: var(--white-text); text-decoration: none; font-family: var(--font-heading); text-transform: uppercase; font-size: 0.9rem; position: relative; transition: color 0.3s ease; }
.navbar-menu a::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px; background-color: var(--primary-yellow); transition: width 0.3s ease; }
.navbar-menu a:hover::after, .navbar-menu a.active::after { width: 100%; }
.navbar-menu a:hover, .navbar-menu a.active { color: var(--primary-yellow); }
.hamburger { display: none; flex-direction: column; cursor: pointer; }
.hamburger span { width: 25px; height: 3px; background-color: var(--white-text); margin: 3px 0; transition: 0.3s; }
@media (max-width: 768px) {
    .navbar-menu { position: fixed; left: -100%; top: 70px; flex-direction: column; background-color: var(--black-base); width: 100%; text-align: center; transition: 0.3s; padding: 20px 0; }
    .navbar-menu.active { left: 0; }
    .hamburger { display: flex; }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .hamburger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
}

/* --- Global Styles --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-body); background-color: var(--black-base); color: var(--white-text); line-height: 1.6; overflow-x: hidden; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
section { padding: 100px 0; }
h1, h2, h3 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 50px; text-align: center; }

/* --- Page Hero --- */
.page-hero { height: 40vh; display: flex; justify-content: center; align-items: center; text-align: center; background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1622630998477-20aa696ecb05?q=80&w=1887') no-repeat center center/cover; }

/* --- Blog Listing --- */
.blog-listing { display: grid; gap: 40px; }
.featured-post {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    background-color: var(--medium-gray);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid transparent;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.featured-post:hover {
    border-color: var(--primary-yellow);
    box-shadow: var(--glow-intensity);
}
.featured-image, .blog-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.featured-post:hover .featured-image {
    transform: scale(1.05);
}
.featured-content, .blog-card-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.featured-title {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--primary-yellow);
}
.blog-meta {
    font-size: 0.9rem;
    color: #aaa;
    margin-bottom: 15px;
}
.blog-excerpt {
    margin-bottom: 20px;
}
.read-more {
    color: var(--primary-yellow);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}
.read-more:hover {
    color: var(--white-text);
}

/* Regular Blog Cards Grid */
.blog-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}
.blog-card {
    background-color: var(--medium-gray);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--neon-glow);
}
.blog-card-image-wrapper {
    height: 200px;
    overflow: hidden;
}
.blog-card-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* --- Pagination --- */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}
.pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--light-gray);
    color: var(--white-text);
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}
.pagination a:hover, .pagination a.active {
    background-color: var(--primary-yellow);
    color: var(--black-base);
    border-color: var(--primary-yellow);
}

/* --- Beautiful Footer --- */
footer {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 0 20px;
    color: var(--white-text);
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-column h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--primary-yellow);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
.footer-column h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-yellow);
}
.footer-column ul {
    list-style: none;
}
.footer-column ul li {
    margin-bottom: 10px;
}
.footer-column ul li a {
    color: var(--white-text);
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
}
.footer-column ul li a:hover {
    color: var(--primary-yellow);
    padding-left: 5px;
}
.footer-logo {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-yellow);
    margin-bottom: 15px;
}
.footer-logo svg {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}
.footer-newsletter-form {
    display: flex;
    margin-top: 15px;
}
.footer-newsletter-form input {
    flex-grow: 1;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    color: var(--white-text);
    font-family: var(--font-body);
}
.footer-newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-yellow);
}
.footer-newsletter-form button {
    padding: 12px 20px;
    background-color: var(--primary-yellow);
    color: var(--black-base);
    border: none;
    border-radius: var(--border-radius);
    font-family: var(--font-heading);
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-left: 10px;
}
.footer-newsletter-form button:hover {
    background-color: var(--white-text);
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 0.9rem;
}
@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}
