/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Logo styles */
.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo img {
    height: 80px;
    width: auto;
}

/* Header styles */
.header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Language switcher */
.language-switcher {
    display: flex;
    gap: 0.5rem;
}

.lang-btn {
    background: none;
    border: 1px solid #ddd;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.lang-btn.active {
    background: #FF4D4D;
    color: white;
    border-color: #FF4D4D;
}

.lang-btn:hover:not(.active) {
    background: #f5f5f5;
}

/* Theme switcher */
.theme-switcher {
    display: flex;
    gap: 0.5rem;
}

.theme-btn {
    background: none;
    border: 1px solid #ddd;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    color: #666;
}

.theme-btn.active {
    background: #FF4D4D;
    color: white;
    border-color: #FF4D4D;
}

.theme-btn:hover:not(.active) {
    background: #f5f5f5;
}

/* Products grid */
.products-grid {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    border-radius: 10px;
    padding: 34px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    min-height: 500px;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image-container {
    position: relative;
    width: 100%;
    height: 300px;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f5f5f5;
}

.product-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 10px;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

body.dark-theme .product-image {
    background: #3d3d3d;
}

body.dark-theme .product-image-container::after {
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.4);
}

.product-content {
    padding: 20px;
}

.product-title {
    margin: 10px 0;
    color: #333;
    font-size: 1.2em;
    text-align: center;
}

.product-description {
    color: #666;
    margin-bottom: 15px;
    flex-grow: 1;
    text-align: center;
}

.product-price {
    font-size: 1.3em;
    font-weight: bold;
    color: #FF4D4D;
    margin: 10px 0;
    text-align: center;
    width: 100%;
}

.order-buttons {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    margin-top: 15px;
}

.order-btn {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 5px;
    color: white;
    text-decoration: none;
    text-align: center;
    font-weight: 500;
    transition: opacity 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.order-btn:hover {
    opacity: 0.9;
}

.order-btn.telegram {
    background-color: #0088cc;
}

.order-btn.whatsapp {
    background-color: #25D366;
}

.order-btn i {
    font-size: 1.2em;
}

/* Toast notification */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #333;
    color: white;
    padding: 1rem;
    border-radius: 4px;
    z-index: 1000;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 2rem 0 1rem;
    margin-top: 3rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-columns {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.footer-column {
    text-align: center;
}

.footer-title {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.footer-title:hover {
    color: #FF4D4D;
}

body.dark-theme .footer-title {
    color: #fff;
}

body.dark-theme .footer-title:hover {
    color: #FF4D4D;
}

.footer-column h3 {
    margin-bottom: 0.8rem;
    font-size: 1.1em;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: #fff;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
    font-size: 0.9em;
}

.footer-column a:hover {
    opacity: 1;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #ddd;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: #fff;
    font-size: 1.5em;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #FF4D4D;
}

body.dark-theme .social-links a {
    color: #fff;
}

body.dark-theme .social-links a:hover {
    color: #FF4D4D;
}

body.dark-theme .footer-bottom {
    border-top-color: #444;
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .footer-columns {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* About Page */
.about-section {
    padding: 3rem 0;
    background: #f9f9f9;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.about-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 2rem;
    text-align: center;
}

.about-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    max-width: 1200px;
}

.about-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1.1em;
}

.back-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: #FF4D4D;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background 0.3s;
    margin-top: 2rem;
}

.back-btn:hover {
    background: #ff3333;
}

@media (max-width: 768px) {
    .about-title {
        font-size: 2rem;
    }
    
    .about-content {
        padding: 1.5rem;
    }
    
    .about-content p {
        font-size: 1em;
    }
}

/* Dark theme for about page */
body.dark-theme .about-section {
    background: #1a1a1a;
}

body.dark-theme .about-content {
    background: #2d2d2d;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

body.dark-theme .about-content p {
    color: #ccc;
}

body.dark-theme .about-title {
    color: #fff;
}

/* Intro Section */
.intro-section {
    padding: 3rem 0;
    background: #f9f9f9;
}

.intro-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.intro-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 2rem;
    text-align: center;
}

.intro-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    max-width: 1200px;
}

.intro-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1.1em;
}

.features {
    background: #f5f5f5;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.features p {
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.features p:last-child {
    margin-bottom: 0;
}

.seo-text {
    font-size: 0.9em;
    color: #888;
    font-style: italic;
}

.pricing-title {
    font-size: 2rem;
    color: #333;
    margin: 2rem 0 1rem;
    text-align: center;
}

.pack-title {
    font-size: 1.5rem;
    color: #444;
    margin-bottom: 2rem;
    text-align: center;
}

@media (max-width: 768px) {
    .intro-title {
        font-size: 2rem;
    }
    
    .intro-content {
        padding: 1.5rem;
    }
    
    .intro-content p {
        font-size: 1em;
    }
    
    .pricing-title {
        font-size: 1.8rem;
    }
    
    .pack-title {
        font-size: 1.3rem;
    }
}

/* Dark theme */
body.dark-theme {
    background-color: #1a1a1a;
    color: #fff;
}

body.dark-theme .header {
    background: #2d2d2d;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

body.dark-theme .product-card {
    background: #2d2d2d;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

body.dark-theme .product-title {
    color: #fff;
}

body.dark-theme .product-description {
    color: #ccc;
}

body.dark-theme .intro-content,
body.dark-theme .about-content {
    background: #2d2d2d;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

body.dark-theme .intro-content p,
body.dark-theme .about-content p {
    color: #ccc;
}

body.dark-theme .features {
    background: #3d3d3d;
}

body.dark-theme .intro-title,
body.dark-theme .about-title,
body.dark-theme .pricing-title {
    color: #fff;
}

body.dark-theme .pack-title {
    color: #ccc;
}

body.dark-theme .lang-btn,
body.dark-theme .theme-btn {
    border-color: #444;
    color: #ccc;
}

body.dark-theme .lang-btn:hover:not(.active),
body.dark-theme .theme-btn:hover:not(.active) {
    background: #3d3d3d;
}

/* Добавляем тёмный фон для всех секций */
body.dark-theme .intro-section,
body.dark-theme .about-section {
    background: #1a1a1a;
}

body.dark-theme .footer {
    background: #2d2d2d;
}

body.dark-theme .footer-bottom {
    border-top-color: #444;
}

body.dark-theme .seo-text {
    color: #888;
}

body.dark-theme .about-section {
    background: #1a1a1a;
}

body.dark-theme .about-content {
    background: #2d2d2d;
}

body.dark-theme .about-title {
    color: #fff;
}

body.dark-theme .about-content p {
    color: #ccc;
}

/* Dark theme for intro section */
body.dark-theme .intro-section {
    background: #1a1a1a;
}

body.dark-theme .intro-content {
    background: #2d2d2d;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

body.dark-theme .intro-content p {
    color: #ccc;
}

body.dark-theme .features {
    background: #3d3d3d;
}

body.dark-theme .intro-title,
body.dark-theme .pricing-title {
    color: #fff;
}

body.dark-theme .pack-title {
    color: #ccc;
}

body.dark-theme .seo-text {
    color: #888;
}

.back-home {
    text-align: center;
    margin: 2rem 0;
}

.back-home-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #ff6b6b;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.back-home-button:hover {
    background-color: #ff5252;
}

/* Product Card Image Animation */
@keyframes slideUp {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideDown {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.product-image.new-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-image.slide-up {
    animation: slideUp 0.5s ease forwards;
}

.product-image.slide-down {
    animation: slideDown 0.5s ease forwards;
}

/* FAQ styles */
.faq-section {
    margin-bottom: 2rem;
}

.faq-section h3 {
    color: #FF4D4D;
    font-size: 1.5em;
    margin-bottom: 1.5rem;
    text-align: center;
}

.faq-item {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.faq-item:hover {
    transform: translateY(-2px);
}

.faq-item h4 {
    color: #333;
    font-size: 1.2em;
    margin-bottom: 1rem;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
}

body.dark-theme .faq-item {
    background: #2d2d2d;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

body.dark-theme .faq-item h4 {
    color: #fff;
}

body.dark-theme .faq-item p {
    color: #ccc;
}

@media (max-width: 768px) {
    .faq-section h3 {
        font-size: 1.3em;
    }
    
    .faq-item {
        padding: 1rem;
    }
    
    .faq-item h4 {
        font-size: 1.1em;
    }
}

/* Promo section */
.promo-section {
    text-align: center;
    padding: 2rem 1rem;
    margin: 2rem auto;
    max-width: 1166px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.promo-text {
    font-size: 1.2em;
    color: #333;
    line-height: 1.6;
}

.promo-text a {
    color: #FF4D4D;
    text-decoration: none;
    transition: color 0.3s;
}

.promo-text a:hover {
    color: #ff3333;
}

.promo-text i {
    font-size: 1.2em;
    margin-right: 0.3em;
}

body.dark-theme .promo-section {
    background: #2d2d2d;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

body.dark-theme .promo-text {
    color: #fff;
}

@media (max-width: 768px) {
    .promo-section {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .promo-text {
        font-size: 1.1em;
    }
} 