* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1c2e1a 0%, #163e17 50%, #0f601f 100%);
    color: #e0e0e0;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.logo a {
    color: #ffd700;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.logo a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.2), transparent);
    transition: left 0.5s ease;
}

.logo a:hover {
    color: #fff;
    transform: translateY(-2px);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.logo a:hover::before {
    left: 100%;
}

.logo a:active {
    transform: translateY(0);
}

/* Анимация для эмодзи */
.logo a:hover::after {
    content: ' ☕';
    opacity: 0;
    animation: teaSteam 1s ease-in-out;
}

@keyframes teaSteam {
    0% {
        opacity: 0;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(-5px);
    }
    100% {
        opacity: 0;
        transform: translateY(-10px);
    }
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

nav a:hover {
    color: #ffd700;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    text-align: center;
    background: linear-gradient(135deg, rgba(28, 46, 26, 0.9) 0%, rgba(22, 62, 23, 0.8) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(28, 46, 26, 0.8);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #ffd700, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    color: #b0b0b0;
}

.hero img {
    max-width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 215, 0, 0.3);
    transition: transform 0.3s ease;
}

.hero img:hover {
    transform: scale(1.02);
}

/* Main Content с фоновым изображением */
.main-content {
    padding: 80px 0;
    background-image: url('../images/tea-background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

/* Затемнение фона для лучшей читаемости текста */
.main-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 46, 0.55);
    z-index: 0;
}

.main-content .container {
    position: relative;
    z-index: 2;
}

/* Секции */
.section {
    margin-bottom: 4rem;
    padding: 3rem;
    background: #2a3a2a;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.section h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: #ffd700;
    border-left: 4px solid #ff6b6b;
    padding-left: 1rem;
}

.section p {
    font-size: 1.1rem;
    color: #e0e0e0;
    margin-bottom: 1rem;
}

/* Контекстные ссылки в секциях */
.section a {
    color: #ffd700;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.section a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Изображения в секциях */
.section img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 12px;
    margin: 1.5rem 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.section img:hover {
    transform: scale(1.02);
}

/* Карточки чая */
.tea-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.tea-card {
    background: #2d3b2d;
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.tea-card:hover {
    background: #354535;
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 215, 0, 0.4);
}

.tea-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
    border: 2px solid rgba(255, 215, 0, 0.2);
    transition: transform 0.3s ease;
}

.tea-card:hover img {
    transform: scale(1.05);
}

.tea-card h3 {
    color: #ffd700;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    padding-bottom: 0.5rem;
}

.tea-card p {
    color: #e0e0e0;
    line-height: 1.5;
    margin-bottom: 0.8rem;
    flex-grow: 1;
}

.tea-card strong {
    color: #ffd700;
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.4);
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Анимации для плавного появления */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section, .tea-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Задержки для анимации */
.section:nth-child(1) { animation-delay: 0.1s; }
.section:nth-child(2) { animation-delay: 0.3s; }
.section:nth-child(3) { animation-delay: 0.5s; }

.tea-card:nth-child(1) { animation-delay: 0.1s; }
.tea-card:nth-child(2) { animation-delay: 0.2s; }
.tea-card:nth-child(3) { animation-delay: 0.3s; }
.tea-card:nth-child(4) { animation-delay: 0.4s; }
.tea-card:nth-child(5) { animation-delay: 0.5s; }
.tea-card:nth-child(6) { animation-delay: 0.6s; }

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero img {
        height: 200px;
    }
    
    .section {
        padding: 2rem;
    }
    
    .section img {
        max-height: 300px;
    }
    
    .tea-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .tea-card img {
        height: 180px;
    }
    
    .main-content {
        background-attachment: scroll;
    }
    
    .logo a {
        font-size: 1.3rem;
        padding: 0.3rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero img {
        height: 150px;
    }
    
    .section h2 {
        font-size: 1.8rem;
    }
    
    .section img {
        max-height: 200px;
    }
    
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .tea-card {
        padding: 1.2rem;
    }
    
    .tea-card img {
        height: 150px;
    }
    
    .logo a {
        font-size: 1.1rem;
        gap: 0.3rem;
    }
}