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

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: #1C1C1B;
}

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

/* Подключаем шрифты */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Montserrat:wght@300;400;500;600;700;800&display=swap');

/* Navbar */
.navbar {
    background: rgba(28, 28, 27, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 30px rgba(0,0,0,0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(110, 124, 137, 0.3);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo-link {
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s ease;
    display: inline-block;
}

.logo-link:hover {
    opacity: 0.85;
    transform: scale(1.02);
}

.logo-link,
.logo-link:hover,
.logo-link:focus,
.logo-link:active {
    text-decoration: none;
    outline: none;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: 'Cormorant Garamond', serif;
    background: linear-gradient(135deg, #ffffff 0%, #6E7C89 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.5px;
}

.logo i {
    font-size: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #6E7C89 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
}

.nav-links li {
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    position: relative;
    padding: 5px 0;
    text-transform: uppercase;
}

.nav-links a:hover,
.nav-links a.active {
    color: #6E7C89;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #ffffff 0%, #6E7C89 100%);
    transition: width 0.4s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-info i {
    font-size: 1.5rem;
    color: #6E7C89;
}

.logout-btn {
    background: none;
    border: 1px solid #6E7C89;
    color: #6E7C89;
    cursor: pointer;
    font-size: 0.85rem;
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    transition: all 0.3s;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
}

.logout-btn:hover {
    background: #6E7C89;
    color: #1C1C1B;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(110, 124, 137, 0.3);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    background: url('img/fon.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(28,28,27,0.7) 0%, rgba(110,124,137,0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 1s ease;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: -1px;
    text-shadow: 2px 2px 20px rgba(0,0,0,0.5);
}

.highlight {
    background: linear-gradient(135deg, #ffffff 0%, #6E7C89 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.8;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #ffffff 0%, #6E7C89 100%);
    color: #1C1C1B;
    padding: 14px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    letter-spacing: 1px;
    transition: all 0.4s;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(110, 124, 137, 0.3);
    text-transform: uppercase;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(110, 124, 137, 0.5);
    background: linear-gradient(135deg, #ffffff 0%, #8a9aaa 100%);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sections */
.section {
    padding: 100px 0;
}

.bg-light {
    background: linear-gradient(135deg, #242424 0%, #1C1C1B 100%);
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    color: #ffffff;
    position: relative;
    padding-bottom: 20px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #ffffff 0%, #6E7C89 100%);
    border-radius: 3px;
}

/* Tours Grid */
.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.tour-card {
    background: linear-gradient(135deg, #2a2a29 0%, #242423 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    transition: all 0.4s;
    position: relative;
    border: 1px solid rgba(110, 124, 137, 0.2);
}

.tour-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(110, 124, 137, 0.2);
    border-color: rgba(110, 124, 137, 0.5);
}

.hot-card {
    border: 1px solid rgba(255, 100, 100, 0.3);
}

.popular-card {
    border: 1px solid rgba(110, 124, 137, 0.3);
}

.tour-image {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.tour-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.tour-card:hover .tour-image img {
    transform: scale(1.08);
}

.hot-badge,
.popular-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 2;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
}

.hot-badge {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff4757 100%);
    color: white;
    animation: pulse 2s infinite;
}

.popular-badge {
    background: linear-gradient(135deg, #6E7C89 0%, #8a9aaa 100%);
    color: #1C1C1B;
}

.viewers-count {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(10px);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: white;
    z-index: 2;
    font-family: 'Montserrat', sans-serif;
}

.viewers-count i {
    color: #ff6b6b;
    margin-right: 5px;
    animation: pulse 1.5s infinite;
}

.limited-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #ff6b6b, #ff4757);
    padding: 6px 15px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: bold;
    color: white;
    z-index: 2;
    font-family: 'Montserrat', sans-serif;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.tour-info {
    padding: 1.8rem;
}

.tour-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: #ffffff;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
}

.tour-description {
    color: #b0b0b0;
    margin-bottom: 1rem;
    line-height: 1.6;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
}

.tour-details {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #8a9aaa;
    font-size: 0.9rem;
    font-family: 'Montserrat', sans-serif;
}

.tour-details i {
    margin-right: 5px;
    color: #6E7C89;
}

.tour-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.price {
    font-size: 1.7rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #6E7C89 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Cormorant Garamond', serif;
}

.btn-book {
    background: linear-gradient(135deg, #6E7C89 0%, #8a9aaa 100%);
    color: #1C1C1B;
    border: none;
    padding: 10px 28px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.btn-book:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(110, 124, 137, 0.4);
}

/* Testimonials */
.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-card {
    background: linear-gradient(135deg, #2a2a29 0%, #242423 100%);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.3s;
    border: 1px solid rgba(110, 124, 137, 0.2);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(110, 124, 137, 0.5);
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6E7C89, #8a9aaa);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.testimonial-avatar i {
    font-size: 2rem;
    color: #1C1C1B;
}

.stars {
    color: #ffc107;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.testimonial-text {
    font-family: 'Montserrat', sans-serif;
    color: #b0b0b0;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-style: italic;
    font-size: 0.95rem;
}

.testimonial-name {
    font-weight: 700;
    color: #6E7C89;
    font-family: 'Montserrat', sans-serif;
    margin-top: 0.5rem;
}

.testimonial-location {
    font-size: 0.85rem;
    color: #8a9aaa;
    font-family: 'Montserrat', sans-serif;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1C1C1B 0%, #141413 100%);
    color: white;
    padding: 5rem 0 1.5rem;
    border-top: 1px solid rgba(110, 124, 137, 0.3);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-section h4 {
    margin-bottom: 1.2rem;
    font-size: 1.2rem;
    font-family: 'Cormorant Garamond', serif;
    color: #6E7C89;
}

.footer-section p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s;
}

.social-links a:hover {
    color: #6E7C89;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }
    
    .user-info {
        justify-content: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero {
        background-attachment: scroll;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .tours-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-slider {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}