/* Reuse general styles from previous pages (Reset, Navbar, etc.) */

/* Arduino Hero Section */
.arduino-hero {
    height: 300px;
    background: url('https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1500') center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.5);
    padding: 40px;
    border-radius: 10px;
}
/* Navbar */
  header {
            position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    background: wheat; /* Semi-transparent */
    backdrop-filter: blur(10px); /* Blur effect */
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px; /* Pill shape */
    padding: 0px 30px;
    z-index: 1000;
    box-shadow: 0 8px 32px rgb(5, 255, 47)
        }

        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 24px;
            font-weight: 700;
            color: var(--primary-blue);
            text-decoration: none;
        }

        .nav-links {
            display: flex;
            list-style: none;
            font-size: 20px;
            gap: 20px;
        }

        .nav-links a {
            text-decoration: none;
            color: #444;
            font-weight: 500;
        }


        /* Page Header */
.page-header {
    text-align: center;
    padding: 110px 50px 50px;
    background: #ffffff;
    border-bottom: 1px solid #efc3c3;
}

.page-header h1 {
    font-size: 3.5rem;
    color: #000000;
}

.page-header p {
    font-size: medium;
    color: #000000;
    margin-top: 10px;
}


/* Grid Layout */
.arduino-grid-container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

/* Card Styling */
.arduino-card {
    background: rgb(170, 243, 189);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
}

.arduino-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.card-image {
    position: relative;
    height: 200px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #007bff;
    color: white;
    padding: 5px 12px;
    font-size: 12px;
    border-radius: 20px;
    font-weight: 600;
}

.card-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-body h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: #222;
}

.card-body p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Icons for components */
.comp-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
    font-size: 13px;
    color: #444;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.comp-list span i {
    color: #007bff;
    margin-right: 5px;
}

.view-btn {
    text-align: center;
    background: #f8f9fa;
    color: #333;
    text-decoration: none;
    padding: 10px;
    border-radius: 6px;
    font-weight: 600;
    border: 1px solid #ddd;
    transition: 0.3s;
}

.view-btn:hover {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

/* Footer Styles */
:root {
    --footer-bg: #111;
    --footer-text: #b0b0b0;
    --accent-color: #007bff; /* Chip Craft blue */
    --white: #ffffff;
    --footer-bottom: #000;
}

.site-footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding-top: 60px;
    font-family: 'Poppins', sans-serif;
    border-top: 4px solid var(--accent-color);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
}

/* Brand Section */
.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}
.footer-logo span { color: var(--accent-color); }

.social-media a {
    color: var(--footer-text);
    font-size: 1.2rem;
    margin-right: 15px;
    transition: 0.3s;
}
.social-media a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

/* Links Section */
.footer-section h3 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 25px;
    position: relative;
}
.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 3px;
    background-color: var(--accent-color);
}

.footer-section ul {
    list-style: none;
    padding: 0;
}
.footer-section ul li {
    margin-bottom: 12px;
}
.footer-section ul li a {
    color: var(--footer-text);
    text-decoration: none;
    transition: 0.3s;
}
.footer-section ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

/* Contact Section */
.contact p {
    margin-right: 10px;
    font-size: 0.9rem;
}
.contact i {
    color: var(--accent-color);
    margin-right: 10px;
    width: 20px;
}


/* Bottom Bar */
.footer-bottom {
    background-color: var(--footer-bottom);
    padding: 20px 0;
    margin-top: 30px;
    font-size: 0.85rem;
}
.footer-bottom .footer-container {
    align-items: center;
}

.back-to-top {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
}
.back-to-top i {
    margin-left: 5px;
    transition: 0.3s;
}
.back-to-top:hover i {
    transform: translateY(-5px);
}

/* Responsive Grid */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .social-media {
        justify-content: center;
        display: flex;
    }
    .footer-bottom .footer-container {
        flex-direction: column;
        gap: 15px;
    }
}

/* Mobile Adjustments */
@media (max-width: 600px) {
    .arduino-grid-container {
        grid-template-columns: 1fr;
    }

}



