:root {
    --dark-bg: #121212;
    --darker-bg: #1a1a1a;
    --primary: #5caaa0;
    --secondary: #4a8c84;
    --text: #ffffff;
    --text-muted: #888888;
    --card-shadow: rgba(92, 170, 160, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Navigation */
.navbar {
    background-color: var(--darker-bg);
    padding: 0.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 0.15rem 0;
    gap: 0.5rem;
}

.site-logo {
    height: 30px;
    width: auto;
    transition: transform 0.3s ease;
}

.site-logo:hover {
    transform: scale(1.05);
}

.site-name {
    color: var(--primary);
    font-size: 1.4rem;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.logo a:hover .site-logo {
    transform: scale(1.05);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 0;
    align-items: center;
}

.nav-links li {
    position: relative;
    padding: 0 1rem;
}

.nav-links li:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 1rem;
    width: 1px;
    background-color: var(--primary);
    opacity: 0.3;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    padding: 0.15rem 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px var(--card-shadow);
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Content Sections */
.featured-content, .page-content {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.content-card {
    background-color: var(--darker-bg);
    padding: 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(92, 170, 160, 0.1);
    box-shadow: 0 4px 12px var(--card-shadow);
}

.content-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 8px 24px var(--card-shadow);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--primary);
    color: var(--text);
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    margin-top: 1rem;
}

.btn:hover {
    background-color: var(--secondary);
    box-shadow: 0 4px 12px var(--card-shadow);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background-color: var(--darker-bg);
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        text-align: center;
    }

    .nav-links {
        margin-top: 1rem;
        flex-direction: column;
        gap: 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }
}

/* Add styles for the hardware categories and getting started guide */
.category, .step {
    background-color: var(--darker-bg);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(92, 170, 160, 0.1);
    box-shadow: 0 4px 12px var(--card-shadow);
    transition: all 0.3s ease;
}

.category:hover, .step:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 24px var(--card-shadow);
}

.category h2, .step h2 {
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Add these new styles after your existing CSS */
.carousel-container {
    width: 100%;
    max-width: 1200px;
    height: 400px;
    overflow: hidden;
    position: relative;
    margin: 2rem auto;
    padding: 0 2rem;
}

.carousel {
    display: flex;
    width: 300%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    width: 33.333%;
    height: 100%;
    padding: 0 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-card {
    background-color: var(--darker-bg);
    border-radius: 8px;
    padding: 1rem;
    width: fit-content;
    max-width: 800px;
    height: 90%;
    border: 1px solid rgba(92, 170, 160, 0.1);
    box-shadow: 0 4px 12px var(--card-shadow);
    transition: all 0.3s ease;
    overflow: hidden;
    margin: 0 auto;
}

.carousel-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 24px var(--card-shadow);
    transform: translateY(-5px);
}

.carousel-slide img {
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    border-radius: 4px;
}

/* Remove or comment out the old .hero styles since we're replacing it */ 

.ad-container {
    width: 100%;
    height: 30px;
    background-color: var(--darker-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.25rem;
    padding: 0.1rem;
}

/* Optional: Add responsive adjustments */
@media (max-width: 768px) {
    .ad-container {
        height: 25px;
    }
}

/* Matrix background styles */
canvas#matrixBackground {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.07;  /* Very subtle effect */
} 

/* Add these styles for the YouTube icon */
.youtube-link {
    margin-left: 1rem;
    display: flex;
    align-items: center;
    height: 100%;
}

.youtube-link a {
    display: flex;
    align-items: center;
    padding: 0;
}

.youtube-icon {
    height: 20px;
    width: auto;
    transition: transform 0.3s ease;
    vertical-align: middle;
}

.youtube-icon:hover {
    transform: scale(1.1);
}

/* Update mobile styles */
@media (max-width: 768px) {
    .youtube-link {
        margin-left: 0;
        margin-top: 0.5rem;
    }
} 

/* Update Content Sections */
.featured-content h2 {
    text-align: center;
    max-width: 800px;  /* Optional: limit the width for better readability */
    margin: 0 auto;    /* Center the element if max-width is used */
} 

/* Social Links Page Styles */
.socials-content {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.socials-content h1 {
    margin-bottom: 3rem;
    color: var(--primary);
    font-size: 2.5rem;
}

.social-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.social-card {
    background-color: var(--darker-bg);
    padding: 2rem;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text);
    border: 1px solid rgba(92, 170, 160, 0.1);
    box-shadow: 0 4px 12px var(--card-shadow);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.social-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 8px 24px var(--card-shadow);
}

.social-icon {
    width: 48px;  /* Adjust size as needed */
    height: 48px;
    margin-bottom: 0.5rem;
    transition: transform 0.3s ease;
}

.social-card:hover .social-icon {
    transform: scale(1.1);
}

.social-card h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin: 0;
}

.social-card p {
    color: var(--text-muted);
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .socials-content {
        padding: 2rem 1rem;
    }
    
    .social-links {
        grid-template-columns: 1fr;
    }
} 

