/* ============================================
   STILURI GENERALE - Constructii Bluemails
   ============================================ */

/* Reset și stiluri de bază */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f0f2f5;
    min-height: 100vh;
    padding: 0;
    margin: 0;
}

/* ============================================
   HEADER STYLES
   ============================================ */
.site-header {
    background: linear-gradient(135deg, #1a2a6c, #2a4a8c);
    color: white;
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.site-header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.site-header .logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-header .logo:hover {
    color: #fdbb2d;
}

.site-header .logo .logo-icon {
    font-size: 2rem;
}

.site-header .logo .logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.site-header .logo .logo-sub {
    font-size: 0.7rem;
    font-weight: 400;
    opacity: 0.8;
    color: #fdbb2d;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
    flex-wrap: wrap;
}

.nav-menu li {
    margin: 0;
}

.nav-menu li a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
    display: block;
    white-space: nowrap;
}

.nav-menu li a:hover {
    background: rgba(253, 187, 45, 0.2);
    color: #fdbb2d;
    transform: translateY(-2px);
}

.nav-menu li a.active {
    background: #fdbb2d;
    color: #1a2a6c;
    font-weight: 600;
}

.nav-menu li a.active:hover {
    background: #fdbb2d;
    color: #1a2a6c;
    transform: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   FOOTER STYLES
   ============================================ */
.site-footer {
    background: #1a2a6c;
    color: rgba(255,255,255,0.85);
    padding: 50px 0 20px 0;
    margin-top: 50px;
}

.site-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-col h3, .footer-col h4 {
    color: #fdbb2d;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.footer-col p {
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-col ul li a:hover {
    color: #fdbb2d;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
}

.footer-bottom a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #fdbb2d;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
    .site-header .container {
        flex-wrap: wrap;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        padding: 15px 0 5px 0;
        gap: 0;
    }
    
    .nav-menu.open {
        display: flex;
    }
    
    .nav-menu li a {
        padding: 12px 16px;
        border-radius: 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        white-space: normal;
    }
    
    .nav-menu li:last-child a {
        border-bottom: none;
    }
    
    .nav-menu li a.active {
        background: rgba(253, 187, 45, 0.3);
        color: #fdbb2d;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .site-header .logo {
        font-size: 1.2rem;
    }
    
    .site-header .logo .logo-icon {
        font-size: 1.5rem;
    }
    
    .nav-menu li a {
        font-size: 0.9rem;
        padding: 10px 14px;
    }
}

/* ============================================
   CONTAINER PRINCIPAL
   ============================================ */
.main-content {
    max-width: 1200px;
    margin: 20px auto;
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

/* ============================================
   ELEMENTE COMUNE
   ============================================ */
.breadcrumb {
    margin-bottom: 30px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.breadcrumb a {
    color: #1a2a6c;
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: #666;
}

h1 {
    color: #1a2a6c;
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 10px;
    border-bottom: 4px solid #fdbb2d;
    padding-bottom: 20px;
}

.subtitle {
    text-align: center;
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 40px;
    line-height: 1.6;
}

.article-content {
    color: #333;
    line-height: 1.8;
    font-size: 1.05rem;
}

.article-content h2 {
    color: #1a2a6c;
    font-size: 1.8rem;
    margin: 40px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 3px solid #fdbb2d;
}

.article-content h3 {
    color: #b21f1f;
    font-size: 1.4rem;
    margin: 30px 0 15px 0;
}

.article-content h4 {
    color: #1a2a6c;
    font-size: 1.2rem;
    margin: 25px 0 12px 0;
}

.article-content p {
    margin-bottom: 20px;
    text-align: justify;
}

.article-content ul {
    margin: 20px 0 20px 30px;
}

.article-content ul li {
    margin-bottom: 10px;
}

.article-content ol {
    margin: 20px 0 20px 30px;
}

.article-content ol li {
    margin-bottom: 10px;
}

.highlight-box {
    background: #f8f9fa;
    border-left: 5px solid #fdbb2d;
    padding: 20px 30px;
    margin: 30px 0;
    border-radius: 10px;
}

.highlight-box strong {
    color: #1a2a6c;
}

.back-btn {
    display: inline-block;
    background: #1a2a6c;
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
    margin: 20px 0;
}

.back-btn:hover {
    background: #b21f1f;
}

/* ============================================
   RESPONSIVE PENTRU CONȚINUT
   ============================================ */
@media (max-width: 768px) {
    .main-content {
        padding: 20px;
        margin: 10px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .article-content {
        font-size: 0.95rem;
    }
}
/* ============================================
   BLOG STYLES
   ============================================ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid #f0f2f5;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-color: #fdbb2d;
}

.blog-card .blog-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
}

.blog-card .blog-body {
    padding: 25px;
}

.blog-card .blog-body .category {
    display: inline-block;
    background: #fdbb2d;
    color: #1a2a6c;
    padding: 4px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.blog-card .blog-body .date {
    color: #888;
    font-size: 0.85rem;
    margin-bottom: 10px;
    display: block;
}

.blog-card .blog-body h3 {
    color: #1a2a6c;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.blog-card .blog-body h3 a {
    color: #1a2a6c;
    text-decoration: none;
}

.blog-card .blog-body h3 a:hover {
    text-decoration: underline;
}

.blog-card .blog-body p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.blog-card .blog-body .read-more {
    display: inline-block;
    color: #1a2a6c;
    font-weight: 600;
    text-decoration: none;
}

.blog-card .blog-body .read-more:hover {
    color: #b21f1f;
    text-decoration: underline;
}

/* Culori pentru categoriile de blog */
.blog-card.consolidari .blog-image {
    background: linear-gradient(135deg, #b21f1f, #fdbb2d);
}

.blog-card.hidroizolatii .blog-image {
    background: linear-gradient(135deg, #1a6c8c, #4db8d9);
}

.blog-card.mansarde .blog-image {
    background: linear-gradient(135deg, #8B6914, #d4a843);
}

.blog-card.case .blog-image {
    background: linear-gradient(135deg, #2d8b2d, #7cb342);
}

.blog-card.renovari .blog-image {
    background: linear-gradient(135deg, #6c3483, #af7ac5);
}

.blog-card.cherestea .blog-image {
    background: linear-gradient(135deg, #6d4c41, #a1887f);
}

.blog-card.sfaturi .blog-image {
    background: linear-gradient(135deg, #1a2a6c, #2a4a8c);
}

/* Responsive Blog */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
