/* Vintage Style для магазину канцелярії та товарів для творчості */
:root {
    --primary-yellow: #fefe00;
    --vintage-brown: #9e9876;
    --neutral-gray: #8e908f;
    --dark-blue: #606d7d;
    --white: #ffffff;
    --black: #000000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.6;
    color: var(--dark-blue);
    background-color: #f5f5f0;
    overflow-x: hidden;
}

/* Header & Navigation */
header {
    background: linear-gradient(135deg, var(--vintage-brown) 0%, var(--dark-blue) 100%);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 15px;
    flex-wrap: nowrap;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-yellow);
    text-decoration: none;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    flex-wrap: nowrap;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    flex-shrink: 0;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
    padding: 0.5rem 0.5rem;
    white-space: nowrap;
    display: block;
}

.nav-menu a:hover {
    color: var(--primary-yellow);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(rgba(96, 109, 125, 0.7), rgba(158, 152, 118, 0.7));
    margin: 0;
    padding: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 2rem;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.5), 0 0 20px rgba(254, 254, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

.hero-content p {
    font-size: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 2rem;
    animation: fadeInUp 1.2s ease-out;
}

.hero-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image {
    position: absolute;
    width: 400px;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.hero-image:nth-child(1) {
    top: 10%;
    left: 10%;
    transform: rotate(-5deg);
}

.hero-image:nth-child(2) {
    bottom: 10%;
    right: 10%;
    transform: rotate(5deg);
}

.hero-image:hover {
    transform: scale(1.1) rotate(0deg);
    box-shadow: 0 15px 40px rgba(254, 254, 0, 0.4);
    z-index: 3;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--primary-yellow);
    color: var(--dark-blue);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    animation: fadeInUp 1.4s ease-out;
}

.btn-primary:hover {
    background-color: var(--vintage-brown);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Sections */
section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Full width sections override */
section.features,
section.hero-section {
    max-width: 100%;
    width: 100%;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--dark-blue);
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-yellow), var(--vintage-brown));
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background-color: var(--neutral-gray);
}

.card-content {
    padding: 1.5rem;
}

.card-content h3 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card-content p {
    color: var(--neutral-gray);
    margin-bottom: 1rem;
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary-yellow);
    margin-bottom: 1rem;
    display: block;
}

/* Features Section */
.features {
    background: linear-gradient(135deg, var(--vintage-brown) 0%, var(--dark-blue) 100%);
    color: var(--white);
    padding: 4rem 2rem;
    width: 100%;
    max-width: 100%;
    margin: 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    text-align: center;
    padding: 2rem;
}

.feature-item i {
    font-size: 3rem;
    color: var(--primary-yellow);
    margin-bottom: 1rem;
    display: block;
}

.feature-item h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Footer */
footer {
    background: var(--dark-blue);
    color: var(--white);
    padding: 3rem 2rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--primary-yellow);
    margin-bottom: 1rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary-yellow);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--neutral-gray);
    max-width: 1200px;
    margin: 0 auto;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark-blue);
    color: var(--white);
    padding: 1.5rem;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    z-index: 10000;
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-text {
    flex: 1;
    min-width: 250px;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.btn-cookie {
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
}

.btn-accept {
    background-color: var(--primary-yellow);
    color: var(--dark-blue);
}

.btn-accept:hover {
    background-color: var(--vintage-brown);
    color: var(--white);
}

.btn-decline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-decline:hover {
    background-color: var(--white);
    color: var(--dark-blue);
}

/* Contact Section */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.contact-item i {
    font-size: 2.5rem;
    color: var(--primary-yellow);
    margin-bottom: 1rem;
}

.map-container {
    margin-top: 2rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: none;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--vintage-brown) 0%, var(--dark-blue) 100%);
    padding: 4rem 2rem;
    text-align: center;
    color: var(--white);
    width: 100%;
    max-width: 100%;
    margin: 0;
}

.page-header h1 {
    font-size: 3rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
}

/* Content Pages */
.content-page {
    padding: 3rem 2rem;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

/* Creative decorative elements for content pages */
.content-page::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    border: 3px solid var(--primary-yellow);
    border-radius: 50%;
    opacity: 0.3;
    z-index: -1;
    animation: float 6s ease-in-out infinite;
}

.content-page::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    border: 3px solid var(--vintage-brown);
    border-radius: 50%;
    opacity: 0.3;
    z-index: -1;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* Creative section dividers */
.creative-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 3rem 0;
    gap: 1rem;
}

.creative-divider::before,
.creative-divider::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--primary-yellow), transparent);
}

.creative-divider i {
    font-size: 2rem;
    color: var(--primary-yellow);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
}

/* Creative highlight boxes */
.creative-box {
    background: linear-gradient(135deg, rgba(254, 254, 0, 0.1), rgba(158, 152, 118, 0.1));
    border-left: 4px solid var(--primary-yellow);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
}

.creative-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(254, 254, 0, 0.1) 50%, transparent 70%);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Creative icon badges */
.icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-yellow), var(--vintage-brown));
    border-radius: 50%;
    margin-right: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s;
}

.icon-badge:hover {
    transform: rotate(360deg) scale(1.1);
}

.icon-badge i {
    font-size: 1.5rem;
    color: var(--dark-blue);
}

/* Creative floating elements */
.floating-icon {
    position: absolute;
    font-size: 3rem;
    color: var(--primary-yellow);
    opacity: 0.2;
    z-index: -1;
    animation: floatIcon 10s ease-in-out infinite;
}

.floating-icon:nth-child(1) {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.floating-icon:nth-child(2) {
    top: 50%;
    right: 5%;
    animation-delay: 2s;
}

.floating-icon:nth-child(3) {
    bottom: 10%;
    left: 10%;
    animation-delay: 4s;
}

@keyframes floatIcon {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-30px) rotate(90deg);
    }
    50% {
        transform: translateY(-60px) rotate(180deg);
    }
    75% {
        transform: translateY(-30px) rotate(270deg);
    }
}

.content-page h2 {
    color: var(--dark-blue);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.content-page h3 {
    color: var(--vintage-brown);
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-size: 1.5rem;
}

.content-page p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.content-page ul, .content-page ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.content-page li {
    margin-bottom: 0.5rem;
}

.content-page img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 1.5rem 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: var(--dark-blue);
        width: 100%;
        padding: 2rem;
        transition: left 0.3s;
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        flex-wrap: nowrap;
    }

    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .hero-image {
        width: 200px;
        height: 200px;
    }

    .hero-image:nth-child(1) {
        top: 5%;
        left: 5%;
    }

    .hero-image:nth-child(2) {
        bottom: 5%;
        right: 5%;
    }

    .section-title {
        font-size: 2rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }

    .page-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 320px) {
    .hero {
        min-height: 500px;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-image {
        width: 150px;
        height: 150px;
    }

    section {
        padding: 2rem 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .card-content {
        padding: 1rem;
    }

    .btn-primary {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .page-header {
        padding: 2rem 1rem;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }

    .content-page {
        padding: 2rem 1rem;
    }
}

