@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800&family=Inter:wght@400;500&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: #333;
}

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

header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 0;
    z-index: 10;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

nav a {
    margin-left: 25px;
    color: #fff;
    text-decoration: none;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.btn-post {
    background: rgba(255,255,255,0.95);
    color: #333 !important;
    padding: 10px 20px;
    border-radius: 6px;
}

.hero {
    position: relative;
    height: 500px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect fill="%23667eea" width="100" height="100"/><circle fill="%23764ba2" cx="20" cy="20" r="20"/><circle fill="%23f093fb" cx="80" cy="80" r="30"/><circle fill="%234facfe" cx="50" cy="50" r="15"/></svg>') center/cover;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9), rgba(118, 75, 162, 0.9));
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.hero h2 {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 15px;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.search-box {
    display: flex;
    max-width: 500px;
    background: rgba(255,255,255,0.95);
    border-radius: 8px;
    overflow: hidden;
}

.search-box input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    font-size: 16px;
    outline: none;
}

.search-box button {
    background: #ff6b6b;
    color: #fff;
    border: none;
    padding: 0 30px;
    font-weight: 600;
    cursor: pointer;
}

.section-title {
    font-size: 28px;
    text-align: center;
    margin: 50px 0 30px;
    color: #333;
}

.categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.category-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    background: #fff;
    text-decoration: none;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.category-hero:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.cat-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.cat-name {
    font-size: 18px;
    font-weight: 500;
    color: #333;
}

@media (max-width: 768px) {
    .hero h2 {
        font-size: 36px;
    }
    .categories {
        grid-template-columns: 1fr;
    }
}