        :root {
            --primary-color: #4e8d7c;
            --secondary-color: #ebd5b3;
            --accent-color: #b7472a;
            --dark-color: #2b463c;
            --light-color: #f8f4eb;
            --transition: all 0.3s ease;
            --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Poppins', sans-serif;
            line-height: 1.6;
            color: #333;
            background-color: var(--light-color);
            position: relative;
            min-height: 100vh;

        }
        
        .page {
            display: none;
            padding: 80px 20px 40px;
            min-height: calc(100vh - 170px);
        }
        
        .page, .container, main {
  padding-top: 90px;
  padding-bottom: 100px; /* Чуть больше чем высота header */
}

        .page.active {
            display: block;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        h1, h2, h3, h4 {
            font-family: 'Playfair Display', serif;
            color: var(--dark-color);
            margin-bottom: 1rem;
        }
        
        h1 {
            font-size: 2.5rem;
            line-height: 1.2;
        }
        
        h2 {
            font-size: 2rem;
            position: relative;
            margin-bottom: 2rem;
        }
        
        h2:after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 0;
            width: 60px;
            height: 3px;
            background-color: var(--accent-color);
        }
        
        p {
            margin-bottom: 1rem;
        }
        
        a {
            text-decoration: none;
            color: var(--primary-color);
            transition: var(--transition);
        }
        
        a:hover {
            color: var(--accent-color);
        }
        
        .btn {
            display: inline-block;
            padding: 12px 28px;
            background-color: var(--primary-color);
            color: white;
            border: none;
            border-radius: 4px;
            font-size: 1rem;
            cursor: pointer;
            transition: var(--transition);
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 1px;
            box-shadow: var(--shadow);
        }
        
        .btn:hover {
            background-color: var(--accent-color);
            transform: translateY(-3px);
            color: white;
        }
        
        .btn-outline {
            background-color: transparent;
            border: 2px solid var(--primary-color);
            color: var(--primary-color);
        }
        
        .btn-outline:hover {
            background-color: var(--primary-color);
            color: white;
        }
        
        /* Header Styles */
        header {
            background-color: white;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            box-shadow: var(--shadow);
            padding: 15px 0;
        }
        
        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 20px;
        }
        
        .logo {
            font-family: 'Playfair Display', serif;
            font-size: 1.8rem;
            color: var(--dark-color);
            font-weight: 700;
            display: flex;
            align-items: center;
        }
        
        .logo i {
            margin-right: 8px;
            color: var(--accent-color);
        }
        
        nav ul {
            display: flex;
            list-style: none;
        }
        
        nav li {
            margin-left: 25px;
        }
        
        nav a {
            font-size: 1rem;
            font-weight: 500;
            color: var(--dark-color);
            position: relative;
        }
        
        nav a:hover {
            color: var(--accent-color);
        }
        
        nav a:after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background-color: var(--accent-color);
            transition: var(--transition);
        }
        
        nav a:hover:after {
            width: 100%;
        }
        
       .hamburger {
        font-size: 28px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 36px;
  height: 26px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  margin-left: auto;
  margin-right: 10px;
}

.hamburger span {
  display: block;
  height: 5px;
  width: 15px;
  background-color: var(--dark-color);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
    display: none;
}
        
        /* Home Page */
        #hero {
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 200 200"><rect width="100%" height="100%" fill="%23f8f4eb"/><path d="M57.8,57.8c16.1-16.1,42.2-16.1,58.3,0c16.1,16.1,16.1,42.2,0,58.3c-16.1,16.1-42.2,16.1-58.3,0 C41.7,100,41.7,73.9,57.8,57.8z" fill="%234e8d7c" opacity="0.1"/></svg>') no-repeat;
            background-size: cover;
            padding: 100px 0 80px;
            text-align: center;
        }
        
        .hero-content {
            max-width: 800px;
            margin: 0 auto;
            padding: 40px 20px;
        }
        
        .hero-text {
            color: var(--dark-color);
            font-size: 1.2rem;
            margin: 20px 0 30px;
        }
        
        /* Tea Categories */
        .categories {
            padding: 80px 0;
            background-color: white;
        }
        
        .category-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
            margin-top: 40px;
        }
        
        .category-card {
            background-color: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: var(--transition);
        }
        
        .category-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
        }
        
        .category-img {
            height: 200px;
            background-color: var(--secondary-color);
            display: flex;
            justify-content: center;
            align-items: center;
        }
        
        .category-icon {
            font-size: 4rem;
            color: var(--accent-color);
            opacity: 0.7;
        }
        
        .category-content {
            padding: 20px;
            text-align: center;
        }
        
        /* Tea Gallery */
        .gallery {
            background-color: var(--light-color);
            padding: 80px 0;
        }
        
        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 25px;
            margin-top: 40px;
        }
        
        .gallery-item {
            height: 250px;
            background-color: var(--secondary-color);
            border-radius: 8px;
            display: flex;
            align-items: flex-end;
            padding: 20px;
            position: relative;
            overflow: hidden;
        }
        
        .gallery-item:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(transparent 50%, rgba(0,0,0,0.7));
        }
        
        .gallery-text {
            position: relative;
            z-index: 1;
            color: white;
        }
        
        /* About Page */
        #about-page {
            padding: 100px 0 60px;
        }
        
        .about-content {
            display: grid;
            grid-template-columns: 1fr;
            gap: 50px;
        }
        
        @media (min-width: 768px) {
            .about-content {
                grid-template-columns: 1fr 1fr;
            }
        }
        
        .about-img {
            background-color: var(--secondary-color);
            min-height: 400px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .about-icon {
            font-size: 8rem;
            color: var(--accent-color);
            opacity: 0.3;
        }
        
        .about-text {
            font-size: 1.1rem;
        }
        
        /* Contact Page */
        #contact-page {
            background-color: white;
            padding: 100px 0 60px;
        }
        
        .contact-container {
            max-width: 800px;
            margin: 0 auto;
        }
        
        .contact-methods {
            display: grid;
            grid-template-columns: 1fr;
            gap: 30px;
            margin: 40px 0;
        }
        
        @media (min-width: 768px) {
            .contact-methods {
                grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            }
        }
        
        .contact-card {
            padding: 25px;
            background-color: var(--light-color);
            border-radius: 8px;
            text-align: center;
            box-shadow: var(--shadow);
        }
        
        .contact-icon {
            font-size: 3rem;
            color: var(--accent-color);
            margin-bottom: 20px;
        }
        
        .contact-form {
            background-color: white;
            padding: 30px;
            border-radius: 8px;
            box-shadow: var(--shadow);
        }
        
        .form-group {
            margin-bottom: 20px;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
        }
        
        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 12px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-family: inherit;
            font-size: 1rem;
        }
        
        .form-group textarea {
            height: 150px;
            resize: vertical;
        }
        
        /* Legal Pages */
        .legal-content {
            background-color: white;
            padding: 40px;
            border-radius: 8px;
            box-shadow: var(--shadow);
            margin: 40px 0;
        }
        
        .legal-content h2 {
            margin-top: 30px;
        }
        
        .legal-content h2:first-child {
            margin-top: 0;
        }
        
        /* Footer */
        footer {
            background-color: var(--dark-color);
            color: white;
            padding: 60px 0 20px;
            bottom: 0;
            width: 100%;
        }
        
        .footer-container {
            display: grid;
            grid-template-columns: 1fr;
            gap: 40px;
            margin-bottom: 40px;
        }
        
        @media (min-width: 768px) {
            .footer-container {
                grid-template-columns: 1fr 1fr 1fr;
            }
        }
        
        .footer-section h3 {
            color: white;
            margin-bottom: 20px;
            font-size: 1.5rem;
            position: relative;
            padding-bottom: 10px;
        }
        
        .footer-section h3:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 40px;
            height: 2px;
            background-color: var(--accent-color);
        }
        
        .footer-links {
            list-style: none;
        }
        
        .footer-links li {
            margin-bottom: 10px;
        }
        
        .footer-links a {
            color: rgba(255, 255, 255, 0.7);
        }
        
        .footer-links a:hover {
            color: white;
        }
        
        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 20px;
            text-align: center;
            font-size: 0.9rem;
            color: rgba(255, 255, 255, 0.7);
        }
        
        /* Cookie Consent */
        #cookie-consent {
            position: fixed;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            max-width: 90%;
            background-color: white;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
            display: none;
            z-index: 2000;
        }
        
        .cookie-content {
            display: flex;
            flex-direction: column;
        }
        
        .cookie-text {
            margin-bottom: 15px;
            color: var(--dark-color);
            font-size: 0.9rem;
        }
        
        .cookie-buttons {
            display: flex;
            gap: 10px;
        }
        
        .cookie-btn {
            padding: 8px 20px;
            border-radius: 4px;
            border: none;
            cursor: pointer;
            font-size: 0.9rem;
            font-weight: 500;
        }
        
        .cookie-btn.accept {
            background-color: var(--primary-color);
            color: white;
        }
        
        .cookie-btn.decline {
            background-color: #f0f0f0;
            color: var(--dark-color);
        }
        
        /* Mobile Styles */
        @media (max-width: 768px) {
            .hamburger {
                display: block;
            }
            
            nav ul {
                position: absolute;
                top: 70px;
                left: 0;
                right: 0;
                background-color: white;
                flex-direction: column;
                padding: 20px 0;
                box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
                clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
                transition: var(--transition);
            }
            
            nav ul.active {
                clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
            }
            
            nav li {
                margin: 0;
                width: 100%;
            }
            
            nav a {
                display: block;
                padding: 15px 20px;
            }
            
            .hero-content {
                padding: 60px 10px;
            }
            
            h1 {
                font-size: 2rem;
            }
            
            h2 {
                font-size: 1.8rem;
            }
            
            .legal-content {
                padding: 25px;
            }
            
            .footer-container {
                grid-template-columns: 1fr;
            }
            
            #cookie-consent {
                width: 95%;
                left: 2.5%;
                transform: none;
            }
            
            .cookie-buttons {
                flex-direction: column;
            }
            .mobile-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 70px;
  right: 0;
  width: 100%;
  background: white;
  padding: 20px;
  z-index: 999;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.mobile-menu.show {
  display: flex;
}
        }