/*
Theme Name: Oranova Consulting
Theme URI: https://oranovasolutions.com
Author: Oranova
Author URI: https://oranovasolutions.com
Description: Modern, animated theme for Oranova Consulting featuring space background effects and Microsoft Power Platform focus
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: oranova
*/

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { 
    padding-left:20px; padding-right:20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #ffffff;
    line-height: 1.6;
    background: #000f1e;
    overflow-x: hidden;
}

#canvas-container { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; }
canvas { width: 100%; height: 100%; }
#content { background: transparent !important; }

nav {
    background: rgba(10, 15, 25, 0.3);
    padding: 20px 40px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 170, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: padding 0.3s;
}
nav.scrolled { padding: 15px 40px; }
nav .nav-container { 
    max-width: 1400px; 
    margin: 0 auto; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    flex-wrap: wrap; 
}

/* ← Main Site hard-left */
nav .back-to-main {
    order: -1;
    margin-right: auto;
}

/* rest of your nav styles unchanged */
nav .logo-small { height: 40px; opacity: 0; transition: opacity 0.3s; }
nav.scrolled .logo-small { opacity: 1; }
nav ul { list-style: none; display: flex; gap: 35px; align-items: center; flex-wrap: wrap; }
nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1em;
    font-weight: 500;
    padding: 8px 16px;
    transition: color 0.3s;
    position: relative;
}
nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00aaff, #0066ff);
    transition: width 0.3s;
    transform: translateX(-50%);
}
nav a:hover::after { width: 80%; }
nav a:hover { color: #00aaff; }

/* all your header.site-header styles unchanged... (keeping the file shorter, they are the same as you sent) */

/* Blog-specific – now fully opaque */
.blog-header {
    background: rgba(42, 64, 96, 1);
    padding: 60px 40px;
    border-radius: 15px;
    margin: 40px auto 0;
    max-width: 1400px;
    text-align: center;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.blog-card {
    background: rgba(42, 64, 96, 1); /* solid */
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s;
    border: 2px solid rgba(0, 170, 255, 0.2);
}

.blog-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 170, 255, 0.5);
    box-shadow: 0 15px 40px rgba(0, 170, 255, 0.2);
    background: rgba(62, 84, 116, 1); /* slightly lighter on hover */
}

.blog-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.blog-card-content {
    padding: 30px 35px !important;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.blog-date { color: #00aaff; font-size: 0.9em; margin-bottom: 10px; }

.blog-card h3,
.blog-card h3 a { color: #ffffff; }
.blog-card h3 a:hover { color: #00aaff; }

/* Single post article – also solid */
article.blog-post {
    max-width: 900px;
    margin: 40px auto;
    background: rgba(42, 64, 96, 1);
    padding: 50px;
    border-radius: 15px;
    border: 2px solid rgba(0, 170, 255, 0.2);
}

/* if no posts */
.no-posts {
    background: rgba(42, 64, 96, 1);
    padding: 60px;
    border-radius: 15px;
    text-align: center;
    margin: 40px auto;
    max-width: 800px;
}

/* your other blog rules unchanged */

.blog-grid {
    grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
    gap: 40px;
}

/* your other custom rules at bottom unchanged */

.blog-card-content h3,
.blog-card-content h3 a,
.blog-card-content .excerpt {
    padding: 0 !important;
    margin: 0 !important;
}

.blog-card-content .read-more {
    margin-top: 10px !important;
}

/* everything else in your original file stays exactly the same */
