/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

:root {
    --primary: #27ae60;
    --primary-dark: #219150;
    --dark: #1a1a1b;
    --light: #f8f9fa;
    --text: #333;
    --gray: #6c757d;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body { 
    font-family: 'Inter', sans-serif; 
    line-height: 1.6; 
    color: var(--text); 
    background-color: #fff;
}

.container { 
    max-width: 1100px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

/* Header & Nav */
header { 
    background: #fff; 
    padding: 1.5rem 0; 
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.logo { 
    font-size: 1.5rem; 
    font-weight: 700; 
    color: var(--dark);
    text-decoration: none;
}

.logo span { color: var(--primary); }

.nav-links { 
    display: flex; 
    list-style: none; 
}

.nav-links li { margin-left: 25px; }

.nav-links a { 
    text-decoration: none; 
    color: var(--dark); 
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover { color: var(--primary); }

/* Hero Section */
.hero { 
    background: var(--dark); 
    color: white; 
    padding: 100px 0; 
    text-align: center;
}

.hero h1 { font-size: 3rem; margin-bottom: 20px; }
.hero p { font-size: 1.2rem; opacity: 0.8; margin-bottom: 30px; }

/* Buttons */
.btn { 
    background: var(--primary); 
    color: white; 
    padding: 12px 30px; 
    text-decoration: none; 
    border-radius: 50px; 
    font-weight: 600;
    display: inline-block;
    transition: 0.3s;
}

.btn:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* Grid & Cards */
.grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px; 
    padding: 60px 0;
}

.card { 
    background: #fff; 
    border-radius: 15px; 
    border: 1px solid #eee; 
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    overflow: hidden; /* Important pentru colțurile rotunjite ale imaginii */
    height: 100%;
}

.card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.05); border-color: var(--primary); }

.tag { 
    font-size: 11px; 
    text-transform: uppercase; 
    font-weight: 700; 
    color: var(--primary); 
    margin-bottom: 10px; 
    display: block; 
}

.card h3 { margin-bottom: 15px; font-size: 1.4rem; }
.card p { color: var(--gray); margin-bottom: 20px; flex-grow: 1; }

.read-more { 
    text-decoration: none; 
    color: var(--dark); 
    font-weight: 700; 
    font-size: 0.9rem;
}

/* Footer */
footer { 
    background: var(--light); 
    padding: 60px 0; 
    margin-top: 50px; 
    text-align: center;
    border-top: 1px solid #eee;
}

.footer-links { 
    list-style: none; 
    display: flex; 
    justify-content: center; 
    margin-top: 20px; 
}

.footer-links li { margin: 0 15px; }
.footer-links a { text-decoration: none; color: var(--gray); font-size: 0.9rem; }

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; }
    .nav-links { display: none; }
}