:root {
    --primary-color: #ffcc00; /* Акцентный желтый, часто встречается в travel-тематике */
    --text-dark: #1a1a1a;
    --text-light: #666;
    --bg-white: #ffffff;
    --bg-grey: #f8f9fa;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    background-color: var(--bg-grey);
    color: var(--text-dark);
    line-height: 1.6;
}

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

/* Header */
.main-header {
    background: #000;
    color: #fff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    letter-spacing: -1px;
}

.tagline {
    font-size: 12px;
    text-transform: uppercase;
    margin-left: 10px;
    color: #888;
}

.user-nav a, .search-btn {
    color: #fff;
    text-decoration: none;
    margin-left: 20px;
    font-size: 14px;
    background: none;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color) !important;
    color: #000 !important;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 600;
}

/* Sub-nav */
.sub-nav {
    background: #fff;
    border-bottom: 1px solid #ddd;
    margin-bottom: 30px;
}

.categories-list {
    list-style: none;
    display: flex;
    padding: 10px 0;
    margin: 0;
    overflow-x: auto;
}

.categories-list li {
    margin-right: 25px;
    white-space: nowrap;
}

.categories-list a {
    text-decoration: none;
    color: var(--text-light);
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 600;
}

.categories-list li.active a {
    color: #000;
    border-bottom: 2px solid #000;
}

/* Hero Section */
.hero-section {
    margin-bottom: 40px;
}

.hero-card {
    height: 450px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 40px;
    color: #fff;
}

.hero-content { max-width: 600px; }

.badge {
    background: var(--primary-color);
    color: #000;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: inline-block;
}

.hero-content h1 {
    font-size: 36px;
    margin: 10px 0;
    line-height: 1.2;
}

/* Grid */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

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

.card-img {
    height: 180px;
    background-size: cover;
    background-position: center;
}

.card-body { padding: 20px; }

.card-category {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--text-light);
    font-weight: 800;
    letter-spacing: 1px;
}

.card-body h3 {
    margin: 10px 0;
    font-size: 18px;
}

.card-body p {
    font-size: 14px;
    color: var(--text-light);
}

/* Footer & Buttons */
.pagination {
    text-align: center;
    margin: 50px 0;
}

.btn-outline {
    border: 2px solid #000;
    background: transparent;
    padding: 12px 30px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
}

.main-footer {
    background: #f1f1f1;
    padding: 40px 0;
    margin-top: 60px;
    font-size: 14px;
    color: #777;
}

.footer-flex {
    display: flex;
    justify-content: space-between;
}

.socials a {
    margin-left: 15px;
    color: #777;
    text-decoration: none;
}

/* Mobile */
@media (max-width: 768px) {
    .hero-card { height: 350px; padding: 20px; }
    .hero-content h1 { font-size: 24px; }
    .header-flex { flex-direction: column; gap: 10px; }
    .user-nav { margin-top: 10px; }
}