/* Resetare și stiluri de bază */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header stilizat */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 1000;
}

.site-title {
    font-size: 1.2em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    margin-left: 20px;
}

.main-navigation a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9em;
    letter-spacing: 0.5px;
}

/* Hero section cu imagine de fundal */
.hero {
    height: 100vh;
    background-image: url('img/background.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 0; /* Remove any bottom margin */
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    text-align: center;
    color: #fff;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5em;
    margin-bottom: 0.2em;
}

.hero-content p {
    font-size: 1.5em;
    font-weight: 300;
}

/* Conținut principal */
.site-main {
    margin-top: 0;
    padding-top: 0;
}

.section-title {
    text-align: center;
    font-size: 2em;
    margin-bottom: 1em;
}

/* Stiluri pentru postări și alte secțiuni */
.blog-post, .service-item, .case-item {
    background-color: #fff;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Footer */
.site-footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px;
    margin-top: 50px;
}

/* Stiluri pentru secțiunea de categorii */
.categories-section {
    background-color: #f8f8f8;
    padding: 50px 0;
    margin-top: 50px;
}

.categories-container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.category-item {
    text-align: center;
    width: 22%;
}

.category-icon {
    font-size: 2em;
    margin-bottom: 10px;
    color: #666;
}

.category-title {
    font-size: 1em;
    color: #333;
    margin-bottom: 5px;
}

.category-description {
    font-size: 0.8em;
    color: #666;
}

/* Stiluri pentru butoane de navigare */
.nav-buttons {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.nav-button {
    background-color: #e0e0e0;
    border: none;
    padding: 5px 15px;
    margin: 0 5px;
    cursor: pointer;
    font-size: 0.9em;
}

/* Stiluri pentru paginare */
.pagination {
    text-align: right;
    margin-top: 20px;
    padding-right: 20px;
}

.pagination-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ccc;
    margin: 0 3px;
}

.pagination-dot.active {
    background-color: #666;
}

/* Stiluri pentru cardurile de blog */
.blog-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.blog-card {
    width: 23%;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card-content {
    padding: 15px;
}

.blog-card h3 {
    font-size: 1.1em;
    margin-bottom: 10px;
}

.blog-card p {
    font-size: 0.9em;
    color: #666;
}

/* Stiluri pentru butoane de navigare */
.nav-buttons {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.nav-button {
    background-color: #e0e0e0;
    border: none;
    padding: 10px 20px;
    margin: 0 10px;
    cursor: pointer;
    font-size: 0.9em;
    transition: background-color 0.3s ease;
}

.nav-button:hover {
    background-color: #ccc;
}

/* Stiluri pentru paginare */
.pagination {
    text-align: right;
    margin-top: 20px;
    padding-right: 20px;
}

.pagination-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ccc;
    margin: 0 3px;
}

.pagination-dot.active {
    background-color: #666;
}


/* Stiluri pentru secțiunea de blog (fost categorii) */
.blog-section {
    background-color: #f8f8f8;
    padding: 50px 0;
    margin-top: 0; /* Remove top margin */
/*    min-height: 100vh;  Make it at least full viewport height */
}

.blog-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.blog-item {
    text-align: center;
    width: 22%;
    margin-bottom: 30px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.blog-item:hover {
    transform: translateY(-5px);
}

.blog-icon {
    font-size: 2em;
    margin-bottom: 10px;
    color: #666;
}

.blog-title {
    font-size: 1em;
    color: #333;
    margin-bottom: 5px;
}

.blog-excerpt {
    font-size: 0.8em;
    color: #666;
}

/* Stiluri pentru overlay */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    z-index: 1000;
    overflow-y: auto;
}

.overlay-content {
    background-color: #fff;
    max-width: 800px;
    margin: 50px auto;
    padding: 30px;
    position: relative;
}

.close-overlay {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    color: #333;
    cursor: pointer;
}

/* Păstrați stilurile existente pentru nav-buttons și pagination */
