﻿/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #198596;
    --secondary-color: #BCDEE6;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --white: #ffffff;
    --shadow-light: rgba(255, 255, 255, 0.8);
    --shadow-dark: rgba(25, 133, 150, 0.15);
    --border-radius: 20px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--secondary-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Neomorphism Effects */
.neo-card {
    background: var(--secondary-color);
    border-radius: var(--border-radius);
    box-shadow: 
        8px 8px 16px var(--shadow-dark),
        -8px -8px 16px var(--shadow-light);
}

.neo-card-inset {
    background: var(--secondary-color);
    border-radius: var(--border-radius);
    box-shadow: 
        inset 6px 6px 12px var(--shadow-dark),
        inset -6px -6px 12px var(--shadow-light);
}

/* Header Styles */
.header {
    background: var(--secondary-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px var(--shadow-dark);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
}

.logo img {
    width: 45px;
    height: 45px;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
    flex-wrap: wrap;
}

.nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 12px;
    transition: var(--transition);
    background: var(--secondary-color);
    box-shadow: 
        4px 4px 8px var(--shadow-dark),
        -4px -4px 8px var(--shadow-light);
}

.nav a:hover,
.nav a.active {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 
        inset 3px 3px 6px rgba(0, 0, 0, 0.15),
        inset -3px -3px 6px rgba(255, 255, 255, 0.2);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: var(--secondary-color);
    border: none;
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 
        4px 4px 8px var(--shadow-dark),
        -4px -4px 8px var(--shadow-light);
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    padding: 80px 0;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius);
    background: #ccc;
    box-shadow: 
        12px 12px 24px var(--shadow-dark),
        -12px -12px 24px var(--shadow-light);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s backwards;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease-out 0.6s backwards;
}

.animate-slide-in {
    animation: slideIn 1s ease-out;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 
        6px 6px 12px var(--shadow-dark),
        -6px -6px 12px var(--shadow-light);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 
        8px 8px 16px var(--shadow-dark),
        -8px -8px 16px var(--shadow-light);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 
        inset 4px 4px 8px var(--shadow-dark),
        inset -4px -4px 8px var(--shadow-light);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
}

/* About Section */
.about {
    padding: 80px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: var(--border-radius);
    background: #ccc;
    box-shadow: 
        10px 10px 20px var(--shadow-dark),
        -10px -10px 20px var(--shadow-light);
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-features {
    display: grid;
    gap: 15px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: 12px;
    background: var(--secondary-color);
    box-shadow: 
        5px 5px 10px var(--shadow-dark),
        -5px -5px 10px var(--shadow-light);
}

.feature-item .icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: bold;
}

/* Products Grid */
.needles-hooks,
.tool-sets {
    padding: 80px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.product-card {
    padding: 30px;
    border-radius: var(--border-radius);
    background: var(--secondary-color);
    box-shadow: 
        10px 10px 20px var(--shadow-dark),
        -10px -10px 20px var(--shadow-light);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        12px 12px 24px var(--shadow-dark),
        -12px -12px 24px var(--shadow-light);
}

.product-image {
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 15px;
}

.product-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: #ccc;
    border-radius: 15px;
    box-shadow: 
        inset 4px 4px 8px var(--shadow-dark),
        inset -4px -4px 8px var(--shadow-light);
}

.product-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.product-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Tools Content */
.tools-content {
    display: grid;
    gap: 60px;
}

.tool-category {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 40px;
    border-radius: var(--border-radius);
    background: var(--secondary-color);
    box-shadow: 
        10px 10px 20px var(--shadow-dark),
        -10px -10px 20px var(--shadow-light);
}

.tool-category.reverse {
    grid-template-columns: 1fr 1fr;
}

.tool-category.reverse .tool-description {
    order: -1;
}

.tool-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    background: #ccc;
    box-shadow: 
        8px 8px 16px var(--shadow-dark),
        -8px -8px 16px var(--shadow-light);
}

.tool-description h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.tool-description p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

.tool-description ul {
    list-style: none;
    padding-left: 0;
}

.tool-description li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-dark);
}

.tool-description li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Advantages Section */
.advantages {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #d4ebf0 100%);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.advantage-card {
    padding: 35px;
    text-align: center;
    border-radius: var(--border-radius);
    background: var(--secondary-color);
    box-shadow: 
        8px 8px 16px var(--shadow-dark),
        -8px -8px 16px var(--shadow-light);
    transition: var(--transition);
}

.advantage-card:hover {
    transform: translateY(-5px);
}

.advantage-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.advantage-card h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.advantage-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Creative Block */
.creative-block {
    padding: 80px 0;
}

.creative-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    padding: 50px;
    border-radius: var(--border-radius);
    background: var(--secondary-color);
    box-shadow: 
        12px 12px 24px var(--shadow-dark),
        -12px -12px 24px var(--shadow-light);
}

.creative-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 15px;
    background: #ccc;
    box-shadow: 
        8px 8px 16px var(--shadow-dark),
        -8px -8px 16px var(--shadow-light);
}

.creative-text h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.creative-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

.creative-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    border-radius: 12px;
    background: var(--secondary-color);
    box-shadow: 
        inset 4px 4px 8px var(--shadow-dark),
        inset -4px -4px 8px var(--shadow-light);
}

.stat-item h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--text-dark);
}

/* FAQ Section */
.faq {
    padding: 80px 0;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: 15px;
    background: var(--secondary-color);
    box-shadow: 
        6px 6px 12px var(--shadow-dark),
        -6px -6px 12px var(--shadow-light);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 25px;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: bold;
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 25px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 25px 25px;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Articles Section */
.articles {
    padding: 80px 0;
    background: linear-gradient(135deg, #d4ebf0 0%, var(--secondary-color) 100%);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.article-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    background: var(--secondary-color);
    box-shadow: 
        10px 10px 20px var(--shadow-dark),
        -10px -10px 20px var(--shadow-light);
    transition: var(--transition);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        12px 12px 24px var(--shadow-dark),
        -12px -12px 24px var(--shadow-light);
}

.article-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: #ccc;
}

.article-content {
    padding: 25px;
}

.article-content h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.article-date {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.article-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 15px;
}

.article-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.article-link:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.footer-column p {
    line-height: 1.8;
    opacity: 0.9;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: var(--transition);
}

.footer-column a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Contact Page Styles */
.contact-hero {
    padding: 60px 0;
    text-align: center;
}

.contact-hero h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-content {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.contact-info {
    padding: 40px;
    border-radius: var(--border-radius);
    background: var(--secondary-color);
    box-shadow: 
        10px 10px 20px var(--shadow-dark),
        -10px -10px 20px var(--shadow-light);
}

.contact-item {
    margin-bottom: 30px;
}

.contact-item h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-item p {
    color: var(--text-light);
    line-height: 1.8;
}

.contact-form {
    padding: 40px;
    border-radius: var(--border-radius);
    background: var(--secondary-color);
    box-shadow: 
        10px 10px 20px var(--shadow-dark),
        -10px -10px 20px var(--shadow-light);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 12px;
    background: var(--secondary-color);
    box-shadow: 
        inset 4px 4px 8px var(--shadow-dark),
        inset -4px -4px 8px var(--shadow-light);
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-dark);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    box-shadow: 
        inset 6px 6px 12px var(--shadow-dark),
        inset -6px -6px 12px var(--shadow-light);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 
        10px 10px 20px var(--shadow-dark),
        -10px -10px 20px var(--shadow-light);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: none;
}

/* Yarn Page Styles */
.yarn-hero {
    padding: 60px 0;
    text-align: center;
}

.yarn-hero h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.yarn-content {
    padding: 80px 0;
}

.yarn-grid {
    display: grid;
    gap: 50px;
}

.yarn-item {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    padding: 40px;
    border-radius: var(--border-radius);
    background: var(--secondary-color);
    box-shadow: 
        10px 10px 20px var(--shadow-dark),
        -10px -10px 20px var(--shadow-light);
}

.yarn-item:nth-child(even) {
    grid-template-columns: 1.5fr 1fr;
}

.yarn-item:nth-child(even) .yarn-details {
    order: -1;
}

.yarn-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    background: #ccc;
    box-shadow: 
        8px 8px 16px var(--shadow-dark),
        -8px -8px 16px var(--shadow-light);
}

.yarn-details h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.yarn-details p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

.yarn-uses {
    margin-top: 25px;
    padding: 20px;
    border-radius: 12px;
    background: var(--secondary-color);
    box-shadow: 
        inset 4px 4px 8px var(--shadow-dark),
        inset -4px -4px 8px var(--shadow-light);
}

.yarn-uses h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.yarn-uses ul {
    list-style: none;
    padding-left: 0;
}

.yarn-uses li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-dark);
}

.yarn-uses li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Success Page */
.success-container {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
}

.success-box {
    text-align: center;
    padding: 60px;
    border-radius: var(--border-radius);
    background: var(--secondary-color);
    box-shadow: 
        12px 12px 24px var(--shadow-dark),
        -12px -12px 24px var(--shadow-light);
    max-width: 600px;
}

.success-icon {
    font-size: 5rem;
    color: #28a745;
    margin-bottom: 30px;
}

.success-box h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.success-box p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 35px;
    line-height: 1.7;
}

/* Privacy/Terms Pages */
.policy-hero {
    padding: 60px 0;
    text-align: center;
}

.policy-hero h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.policy-content {
    padding: 80px 0;
}

.policy-box {
    max-width: 900px;
    margin: 0 auto;
    padding: 50px;
    border-radius: var(--border-radius);
    background: var(--secondary-color);
    box-shadow: 
        10px 10px 20px var(--shadow-dark),
        -10px -10px 20px var(--shadow-light);
}

.policy-box h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 20px;
}

.policy-box h2:first-child {
    margin-top: 0;
}

.policy-box p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.policy-box ul {
    margin-left: 25px;
    margin-bottom: 20px;
}

.policy-box li {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 10px;
}

/* Responsive Design - Tablet */
@media (max-width: 968px) {
    .hero-content,
    .about-content,
    .creative-content,
    .contact-grid,
    .yarn-item {
        grid-template-columns: 1fr;
    }

    .tool-category,
    .tool-category.reverse {
        grid-template-columns: 1fr;
    }

    .tool-category.reverse .tool-description {
        order: 0;
    }

    .yarn-item:nth-child(even) {
        grid-template-columns: 1fr;
    }

    .yarn-item:nth-child(even) .yarn-details {
        order: 0;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .creative-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Responsive Design - Mobile */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

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

    .nav {
        position: fixed;
        top: 75px;
        left: -100%;
        width: 100%;
        background: var(--secondary-color);
        transition: left 0.3s ease;
        box-shadow: 0 8px 16px var(--shadow-dark);
        z-index: 999;
    }

    .nav.active {
        left: 0;
    }

    .nav ul {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }

    .nav a {
        display: block;
        text-align: center;
    }

    .hero {
        padding: 50px 0;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1.1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .creative-stats {
        grid-template-columns: 1fr;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .logo span {
        font-size: 0.9rem;
    }

    .about,
    .needles-hooks,
    .tool-sets,
    .advantages,
    .creative-block,
    .faq,
    .articles,
    .yarn-content,
    .contact-content,
    .policy-content {
        padding: 50px 0;
    }

    .tool-category,
    .contact-info,
    .contact-form,
    .yarn-item,
    .policy-box {
        padding: 25px;
    }

    .success-box {
        padding: 40px 20px;
    }

    .success-icon {
        font-size: 4rem;
    }

    .success-box h1 {
        font-size: 2rem;
    }
}

/* Mobile 320px specific */
@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.7rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 1.7rem;
    }

    .btn {
        padding: 12px 25px;
        font-size: 0.95rem;
    }

    .logo span {
        display: none;
    }

    .logo img {
        width: 40px;
        height: 40px;
    }

    .product-card,
    .advantage-card,
    .article-card {
        padding: 20px;
    }

    .creative-text h2 {
        font-size: 1.8rem;
    }

    .stat-item h3 {
        font-size: 1.5rem;
    }

    .faq-question {
        font-size: 1rem;
        padding: 20px;
    }

    .footer {
        padding: 40px 0 20px;
    }
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-image {
        order: -1;
        margin-bottom: 30px;
    }
    
    .hero-image img {
        height: 250px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-image {
        order: -1;
        margin-bottom: 30px;
    }
    
    .creative-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .creative-image {
        order: -1;
        margin-bottom: 30px;
    }
    
    .yarn-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .yarn-item:nth-child(even) {
        grid-template-columns: 1fr;
    }
    
    .yarn-item:nth-child(even) .yarn-details {
        order: 0;
    }
    
    .yarn-image {
        order: -1;
        margin-bottom: 30px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        order: -1;
        margin-bottom: 30px;
    }
    
    .tool-category {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .tool-category.reverse {
        grid-template-columns: 1fr;
    }
    
    .tool-category.reverse .tool-description {
        order: 0;
    }
    
    .tool-image {
        order: -1;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .btn {
        min-height: 44px;
        min-width: 44px;
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    .nav a {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .faq-question {
        min-height: 44px;
        padding: 15px 20px;
    }
    
    .mobile-menu-toggle {
        min-height: 44px;
        min-width: 44px;
    }
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-color);
    color: var(--white);
    padding: 20px;
    z-index: 10000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    border-top: 3px solid var(--secondary-color);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1;
    min-width: 300px;
}

.cookie-banner-text h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--white);
}

.cookie-banner-text p {
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.9;
    margin: 0;
}

.cookie-banner-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
    min-height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-btn-accept {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cookie-btn-accept:hover {
    background: var(--secondary-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cookie-btn-decline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.cookie-btn-decline:hover {
    background: var(--white);
    color: var(--primary-color);
}

.cookie-btn-settings {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    padding: 8px 16px;
}

.cookie-btn-settings:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.cookie-settings {
    display: none;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-settings.show {
    display: block;
}

.cookie-settings h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--white);
}

.cookie-setting-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding: 8px 0;
}

.cookie-setting-item:last-child {
    margin-bottom: 0;
}

.cookie-setting-label {
    flex: 1;
    font-size: 0.9rem;
}

.cookie-setting-label strong {
    display: block;
    margin-bottom: 4px;
}

.cookie-setting-label small {
    opacity: 0.8;
    font-size: 0.8rem;
}

.cookie-toggle {
    position: relative;
    width: 50px;
    height: 24px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.cookie-toggle.active {
    background: var(--white);
}

.cookie-toggle-slider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: var(--white);
    border-radius: 50%;
    transition: var(--transition);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cookie-toggle.active .cookie-toggle-slider {
    transform: translateX(26px);
    background: var(--primary-color);
}

@media (max-width: 768px) {
    .cookie-banner {
        padding: 15px;
    }
    
    .cookie-banner-content {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .cookie-banner-text {
        min-width: auto;
        text-align: center;
    }
    
    .cookie-banner-actions {
        justify-content: center;
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-btn {
        width: 100%;
        max-width: 200px;
    }
    
    .cookie-setting-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .cookie-toggle {
        align-self: flex-end;
    }
}

@media (max-width: 480px) {
    .cookie-banner-text h3 {
        font-size: 1.1rem;
    }
    
    .cookie-banner-text p {
        font-size: 0.9rem;
    }
    
    .cookie-btn {
        padding: 12px 16px;
        font-size: 0.85rem;
    }
}

@media (max-width: 320px) {
    .container {
        padding: 0 10px;
    }

    .hero-text h1 {
        font-size: 1.5rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}