/* Reset и базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    color: #333333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Фон на всю страницу */
.fullscreen-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.fullscreen-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Затемнение фона для лучшей читаемости */
.fullscreen-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

/* Прозрачная шапка */
header {
    /*position: fixed;*/
    top: 0;
    left: 0;
    width: 100%;
    /*background: rgba(27, 51, 28, 0.25); */
    /*backdrop-filter: blur(3px);*/
    z-index: 1000;
    padding: 1rem 0;
    transition: background 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 0;
}

.logo {
    font-size: 1.rem;
    color: #e6ede3;
    text-decoration: none;
    letter-spacing: 2px;
    font-family: 'Georgia', serif;
    margin-left: 2rem; /* Отступ только слева */
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0 2rem 0 0; /* Отступ только справа */
}

nav a {
    text-decoration: none;
    color: #e6ede3;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 3px;
    font-size: 1.1rem;
}

nav a:hover {
    color: #1b331c;
    background: #e6ede3;
}

/* Главный контент */
.main-content {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 100px 20px 60px;
}

.hero {
    text-align: center;
    max-width: 800px;
    padding: 2rem;
}

.hero h1 {
    font-size: 4.5rem;
    color: #e6ede3;
    margin-bottom: 1.5rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    font-weight: 300;
    letter-spacing: 3px;
    font-family: 'Georgia', serif;
}

.hero p {
    font-size: 1.6rem;
    color: #e6ede3;
    margin-bottom: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    line-height: 1.8;
    font-weight: 300;
}

.hero-buttons {
    margin-top: 2rem;
}

/* Кнопки */
.btn-main {
    display: inline-block;
    padding: 16px 42px;
    background-color: #1b331c;
    color: #e6ede3;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    border: 2px solid #1b331c;
    font-size: 1.0rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-main:hover {
    background-color: transparent;
    color: #1b331c;
    border-color: #1b331c;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn-primary-main {
    background-color: #e6ede3;
    color: #1b331c;
    border-color: #e6ede3;
}

.btn-primary-main:hover {
    background-color: transparent;
    color: #e6ede3;
    border-color: #e6ede3;
}

/* Подвал */
footer {
    background: rgba(27, 51, 28, 0.25); /* #1b331c с прозрачностью */
    backdrop-filter: blur(3px);
    z-index: 1000;
    padding: 1rem 0;
    transition: background 0.3s ease;
    color: #e6ede3;
    padding: 2rem 0;
    text-align: center;
    position: relative;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    nav ul {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.3rem;
    }
    
    .btn {
        padding: 15px 35px;
        font-size: 1.1rem;
    }
    
    nav a {
        padding: 0.4rem 0.8rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .logo {
        font-size: 1.7rem;
    }
    
    .btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    animation: fadeInUp 1s ease-out;
}

.hero p {
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-buttons {
    animation: fadeInUp 1s ease-out 0.6s both;
}


/* Блок истории */
.history-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 80px 0;
    position: relative;
    margin: 0;
}

.history-content {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.history-content h2 {
    color: #1b331c;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-family: 'Georgia', serif;
    font-weight: 300;
}

.history-text {
    color: #333333;
    font-size: 1.2rem;
    line-height: 1.8;
    text-align: left;
}

.history-text p {
    margin-bottom: 0.75rem;
    font-weight: 300;
}

.history-text p:last-child {
    margin-bottom: 0;
}

/* Главный контент должен занимать всю высоту */
.main-content {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 100px 20px 60px;
}

/* Адаптивность для блока истории */
@media (max-width: 768px) {
    .history-section {
        padding: 60px 0;
    }
    
    .history-content h2 {
        font-size: 2rem;
    }
    
    .history-text {
        font-size: 1.1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .history-section {
        padding: 40px 0;
    }
    
    .history-content h2 {
        font-size: 1.8rem;
    }
    
    .history-text {
        font-size: 1rem;
    }
}

/* Стили для страницы "О нас" */
.about-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 80px 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.about-content {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.about-content h1 {
    color: #1b331c;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    font-family: 'Georgia', serif;
    font-weight: 300;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    color: #333333;
    font-size: 1.2rem;
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.team-photo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.photo-placeholder {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e6ede3 0%, #d4dfd0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 5px solid #1b331c;
    box-shadow: 0 10px 30px rgba(27, 51, 28, 0.2);
}

.photo-placeholder span {
    color: #1b331c;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
    opacity: 0.7;
}

/* Адаптивность для страницы "О нас" */
@media (max-width: 968px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .about-text {
        order: 2;
    }
    
    .team-photo {
        order: 1;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 60px 0;
    }
    
    .about-content h1 {
        font-size: 2.5rem;
    }
    
    .about-text {
        font-size: 1.1rem;
    }
    
    .photo-placeholder {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 480px) {
    .about-section {
        padding: 40px 0;
    }
    
    .about-content h1 {
        font-size: 2rem;
    }
    
    .about-text {
        font-size: 1rem;
    }
    
    .photo-placeholder {
        width: 200px;
        height: 200px;
    }
    
    .photo-placeholder span {
        font-size: 0.9rem;
    }
}


/* Стили для страницы коллекции */
.collection-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 80px 0;
    min-height: 100vh;
}

.collection-content {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.collection-content h1 {
    color: #1b331c;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    font-family: 'Georgia', serif;
    font-weight: 300;
}

.tea-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Ширина как было */
    gap: 2rem; /* Расстояние как было */
}

.tea-card {
    background: #f7f4f0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tea-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.tea-image {
    width: 100%;
    height: 400px; /* УВЕЛИЧИЛИ ТОЛЬКО ВЫСОТУ */
    overflow: hidden;
}

.tea-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Это обрежет фото по высоте */
    transition: transform 0.3s ease;
}

.tea-card:hover .tea-image img {
    transform: scale(1.05);
}

.tea-info {
    padding: 1.5rem; /* Как было */
}

.tea-info h3 {
    color: #1b331c;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: 'Georgia', serif;
    font-weight: 400;
}

.tea-info p {
    color: #333333;
    line-height: 1.6;
    font-weight: 300;
}

/* Адаптивность для страницы коллекции */
@media (max-width: 768px) {
    .collection-section {
        padding: 60px 0;
    }
    
    .collection-content h1 {
        font-size: 2.5rem;
    }
    
    .tea-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .tea-image {
        height: 350px; /* Большая высота на мобильных */
    }
}

@media (max-width: 480px) {
    .collection-section {
        padding: 40px 0;
    }
    
    .collection-content h1 {
        font-size: 2rem;
    }
    
    .tea-image {
        height: 300px; /* Большая высота на маленьких экранах */
    }
    
    .tea-info {
        padding: 1rem;
    }
    
    .tea-info h3 {
        font-size: 1.3rem;
    }
}

/* Стили для страницы советов */
.tips-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 80px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.tips-content {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.tips-content h1 {
    color: #1b331c;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    font-family: 'Georgia', serif;
    font-weight: 300;
}

.tips-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.tips-list {
    color: #333333;
}

.tips-list ul {
    list-style: none;
    padding: 0;
}

.tips-list li {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1.2rem;
    padding-left: 2rem;
    position: relative;
    font-weight: 300;
}

.tips-list li:before {
    content: "•";
    color: #1b331c;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: 0;
}

.tips-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tips-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Адаптивность для страницы советов */
@media (max-width: 968px) {
    .tips-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .tips-list {
        order: 1;
    }
    
    .tips-image {
        order: 2;
    }
    
    .tips-list li {
        text-align: left;
        padding-left: 1.5rem;
    }
}

@media (max-width: 768px) {
    .tips-section {
        padding: 60px 0;
    }
    
    .tips-content h1 {
        font-size: 2.5rem;
    }
    
    .tips-list li {
        font-size: 1.1rem;
    }
    
    .tips-image img {
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    .tips-section {
        padding: 40px 0;
    }
    
    .tips-content h1 {
        font-size: 2rem;
    }
    
    .tips-list li {
        font-size: 1rem;
        padding-left: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .tips-image img {
        max-width: 300px;
        border-radius: 10px;
    }
    
    .tips-list li:before {
        font-size: 1.2rem;
    }
}

/* Стили для страницы контактов */
.contacts-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 80px 0;
    min-height: 100vh;
	width: 90%;
	max-width: 1200px;
}

.contacts-content {
	width: 65%;
    margin: 0 auto;
}

.contacts-content h1 {
    color: #1b331c;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    font-family: 'Georgia', serif;
    font-weight: 300;
}

/* Блок с контактами - ПРОСТО БЕЛАЯ ПОДЛОЖКА */
.contact-info {
    text-align: center;
    margin-bottom: 4rem;
    padding: 3rem;
    background: #f7f4f0;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Блок с формой - ПРОСТО БЕЛАЯ ПОДЛОЖКА */
.contact-form {
    background: #f7f4f0;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
	margin-bottom: 4rem; /* ← ЭТОТ ОТСТУП РАЗДЕЛЯЕТ БЛОКИ */
}

/* Остальные стили оставляем как были */
.contact-info h2 {
    color: #1b331c;
    font-size: 2rem;
    margin-bottom: 2rem;
    font-family: 'Georgia', serif;
    font-weight: 400;
}

.contact-item {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.contact-item strong {
    color: #1b331c;
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 1.1rem;
}

.contact-item a {
    color: #333333;
    text-decoration: none;
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #1b331c;
    text-decoration: underline;
}

.contact-hours {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e6ede3;
}

.contact-hours strong {
    color: #1b331c;
    display: block;
    margin-bottom: 1rem;
    font-weight: 500;
    font-size: 1.1rem;
}

.contact-hours p {
    color: #333333;
    margin-bottom: 0.5rem;
    font-weight: 300;
    font-size: 1.1rem;
}

.contact-form h2 {
    color: #1b331c;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    font-family: 'Georgia', serif;
    font-weight: 400;
}

.form-group {
    margin-bottom: 0.8rem;
}

.form-group label {
    display: block;
    color: #1b331c;
    margin-bottom: 0.8rem;
    font-weight: 500;
    font-size: 1.1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 18px;
    border: 2px solid #1b331c;
    border-radius: 8px;
    background-color: #ffffff;
    font-size: 1.0rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2a4d2b;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-primary {
    width: 100%;
    padding: 18px;
    background-color: #1b331c;
    color: #e6ede3;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #2a4d2b;
}

/* Адаптивность */
@media (max-width: 768px) {
    .contacts-content h1 {
        font-size: 2.5rem;
    }
    
    .contact-info,
    .contact-form {
        padding: 2rem;
    }
    
    .contact-info h2,
    .contact-form h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .contacts-content h1 {
        font-size: 2rem;
    }
    
    .contact-info,
    .contact-form {
        padding: 1.5rem;
    }
    
    .contact-info h2,
    .contact-form h2 {
        font-size: 1.5rem;
    }
}