/* css/style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Навигация */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid #eee;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 20px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0066cc;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #0066cc;
}

.btn-primary {
    background: #0066cc;
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: #0052a3;
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
}

/* Hero */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.5)), url('images/hero.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.btn-hero {
    background: #00cc88;
    color: white;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s;
}

.btn-hero:hover {
    background: #00b377;
    transform: scale(1.05);
}

/* Секции */
.section {
    padding: 100px 0;
}

.bg-light {
    background-color: #f8f9fa;
}

h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 3rem;
    color: #222;
}

/* Карточки */
.about-grid, .spots-grid, .tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card, .spot-card, .tip {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.card:hover, .spot-card:hover {
    transform: translateY(-10px);
}

.spot-card .spot-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    margin-bottom: 1.2rem;
}

.spot-info h3 {
    margin-bottom: 0.5rem;
}

.tag {
    display: inline-block;
    background: #e6f0ff;
    color: #0066cc;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-top: 10px;
}

/* Галерея */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 16px;
    transition: transform 0.4s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Футер */
footer {
    background: #1a1a1a;
    color: #ccc;
    text-align: center;
    padding: 3rem 0;
}

footer p {
    margin: 0.5rem 0;
}

/* Адаптив */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        align-items: center;
        justify-content: start;
        padding-top: 3rem;
        transition: 0.4s;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .hamburger {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
}