/* Ретро-стиль для Loveshop */
:root {
    --primary-color: #ff92c2;
    --secondary-color: #ffb6c1;
    --accent-color: #ff69b4;
    --background-color: #fff0f5;
    --text-color: #4a4a4a;
}

/* Стили для шапки */
header {
    background-color: var(--primary-color);
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(255, 146, 194, 0.3);
    margin-bottom: 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0;
}

.logo {
    display: flex;
    align-items: center;
}

header h1 {
    color: white;
    font-size: 2em;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    margin: 0;
    display: flex;
    align-items: center;
}

.pulse-heart {
    font-size: 1.6em;
    color: #ff0000;
    margin-left: 5px;
    animation: pulse 1.5s infinite;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

nav ul {
    display: flex;
    justify-content: flex-end;
    list-style: none;
    gap: 15px;
    margin: 0;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 4px 10px;
    border: 2px solid white;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-size: 0.85em;
}

nav a:hover {
    background-color: white;
    color: var(--primary-color);
}

/* Стили для страницы доступа */
.access-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}

.method-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.method-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.method-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.method-card:hover .method-image img {
    transform: scale(1.05);
}

.method-card h3 {
    color: #ff92c2;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.method-card p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #666;
}

.method-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}

.method-card ul li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.method-card ul li:before {
    content: "❤";
    position: absolute;
    left: 0;
    color: #ff92c2;
}

.method-card a {
    color: #ff92c2;
    text-decoration: none;
    transition: color 0.3s ease;
}

.method-card a:hover {
    color: #ff6b9c;
}

/* Стили для страницы "О нас" */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text {
    padding: 1rem;
}

.about-text h2 {
    color: #ff92c2;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.about-text h3 {
    color: #ff92c2;
    margin: 1.5rem 0 1rem;
    font-size: 1.8rem;
}

.about-text p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #666;
}

.about-text ul {
    list-style: none;
    padding: 0;
}

.about-text ul li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.about-text ul li:before {
    content: "❤";
    position: absolute;
    left: 0;
    color: #ff92c2;
}

.about-image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.about-image img {
    max-width: 80%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.team-member {
    text-align: center;
}

.team-member img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid var(--primary-color);
}

/* Стили для страницы товаров */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
    direction: rtl;
}

.products-grid .product-card {
    direction: ltr;
}

.category-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.filter-btn {
    background-color: var(--background-color);
    color: var(--accent-color);
    border: 2px solid var(--primary-color);
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active {
    background-color: var(--primary-color);
    color: white;
}

/* Стили для популярных товаров */
.popular-products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 20px;
}

.product-card {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(255, 146, 194, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(255, 146, 194, 0.3);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
}

.product-card h3 {
    color: var(--accent-color);
    margin: 10px 0;
}

.product-card .description {
    color: #666;
    margin: 10px 0;
    font-size: 0.9em;
}

.product-card .price {
    font-size: 1.2em;
    color: var(--accent-color);
    font-weight: bold;
    margin: 10px 0;
}

.buy-btn {
    background-color: #ff0000;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    margin-top: 15px;
    animation: pulse-red 2s infinite;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes pulse-red {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 0, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
    }
}

.buy-btn:hover {
    background-color: #cc0000;
    transform: scale(1.05);
    transition: all 0.3s ease;
}

/* Стили для страницы контактов */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 20px;
}

.contact-info {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(255, 146, 194, 0.2);
}

.info-item {
    display: flex;
    align-items: center;
    margin: 15px 0;
}

.info-item .icon {
    font-size: 1.5em;
    margin-right: 10px;
}

.contact-form {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(255, 146, 194, 0.2);
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: var(--accent-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid var(--secondary-color);
    border-radius: 5px;
    font-family: 'Courier New', monospace;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: var(--accent-color);
}

/* Стили для главной страницы */
#hero {
    position: relative;
    padding: 0;
    margin-bottom: 40px;
    border-radius: 0;
    overflow: hidden;
    margin-top: 0;
}

.hero-image {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 15px 30px;
    background-color: #ff0000;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: pulse 2s infinite;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.hero-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.7);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.4);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(255, 0, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
    }
}

/* Стили для секции преимуществ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 20px;
}

.feature-card {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(255, 146, 194, 0.2);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 400px;
    margin: 0 auto;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    margin-bottom: 20px;
}

.feature-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.feature-card h3 {
    color: var(--accent-color);
    margin-bottom: 15px;
}

/* Стили для формы подписки */
#newsletter {
    background-color: var(--background-color);
    padding: 40px 20px;
    text-align: center;
    border-radius: 10px;
    margin: 40px 0;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 20px auto;
}

.newsletter-form input {
    flex: 1;
    padding: 10px;
    border: 2px solid var(--secondary-color);
    border-radius: 5px;
    font-family: 'Courier New', monospace;
}

/* Стили для футера */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    padding: 40px 20px;
}

.footer-section h3 {
    color: var(--accent-color);
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color);
}

.copyright {
    text-align: center;
    padding: 20px;
    border-top: 1px solid var(--secondary-color);
}

/* Адаптивный дизайн */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .about-image {
        order: -1;
    }

    .about-image img {
        max-width: 100%;
    }
    
    .category-filter {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .hero-image {
        height: 400px;
    }
    
    .hero-content h2 {
        font-size: 2em;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }

    .access-methods {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .method-image {
        height: 180px;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .hero-button {
        padding: 12px 25px;
        font-size: 20px;
    }
} 