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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Heebo', sans-serif;
    line-height: 1.6;
    color: #333;
    direction: rtl;
    background-color: #fef7f5;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c3e50;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: #666;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Color Palette - Warm & Cozy Theme */
:root {
    --primary-color: #e74c3c;
    --secondary-color: #f39c12;
    --accent-color: #e91e63;
    --light-pink: #fce4ec;
    --warm-cream: #fef7f5;
    --soft-purple: #f3e5f5;
    --text-dark: #2c3e50;
    --text-light: #666;
    --border-color: #e8e8e8;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Header & Navigation */
.header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h1 {
    color: white;
    font-size: 1.8rem;
    margin: 0;
}

.nav-logo h1 a {
    color: white;
}

.nav-logo i {
    color: #ffb3ba;
    margin-left: 10px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: white;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--light-pink) 0%, var(--warm-cream) 50%, var(--soft-purple) 100%);
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" width="100" height="100" opacity="0.05"><circle cx="20" cy="20" r="2" fill="currentColor"/><circle cx="80" cy="20" r="1.5" fill="currentColor"/><circle cx="50" cy="50" r="1" fill="currentColor"/><circle cx="20" cy="80" r="1.5" fill="currentColor"/><circle cx="80" cy="80" r="2" fill="currentColor"/></svg>');
    padding: 120px 0 80px;
    display: flex;
    align-items: center;
    min-height: 70vh;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: url('https://png.pngtree.com/png-clipart/20250117/original/pngtree-colorful-yarn-balls-for-knitting-and-crochet-png-image_19914287.png') no-repeat center;
    background-size: contain;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 150px;
    height: 150px;
    background: url('https://png.pngtree.com/png-clipart/20250117/original/pngtree-colorful-yarn-balls-for-knitting-and-crochet-png-image_19914287.png') no-repeat center;
    background-size: contain;
    opacity: 0.08;
    animation: float 8s ease-in-out infinite reverse;
}

.hero-content {
    flex: 1;
    padding-right: 2rem;
}

.hero-title {
    font-size: 3rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    text-align: center;
    padding-left: 2rem;
}

.hero-icon {
    font-size: 8rem;
    color: var(--primary-color);
    opacity: 0.3;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--border-color);
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.btn-social {
    background: #4267B2;
    color: white;
}

.btn-social:hover {
    background: #365899;
    transform: translateY(-3px);
}

/* Section Styles */
section {
    padding: 80px 0;
    position: relative;
}

/* Decorative Elements for Sections */
.about::before {
    content: '🧶';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    opacity: 0.1;
    animation: spin 20s linear infinite;
}

.tutorials::before {
    content: '✂️';
    position: absolute;
    top: 30px;
    left: 30px;
    font-size: 2.5rem;
    opacity: 0.1;
    animation: bounce 3s ease-in-out infinite;
}

.gallery-preview::after {
    content: '🪡';
    position: absolute;
    bottom: 30px;
    right: 30px;
    font-size: 2.5rem;
    opacity: 0.1;
    animation: float 4s ease-in-out infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    margin: 20px auto;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about {
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-features {
    list-style: none;
    margin-top: 2rem;
}

.about-features li {
    padding: 0.5rem 0;
    color: var(--text-dark);
}

.about-features i {
    color: var(--primary-color);
    margin-left: 10px;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat {
    text-align: center;
    padding: 2rem;
    background: var(--light-pink);
    border-radius: 15px;
    transition: transform 0.3s ease;
}

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

.stat i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.stat h3 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--text-light);
    margin: 0;
}

/* Tutorials Section */
.tutorials {
    background: var(--warm-cream);
}

.tutorials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.tutorial-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.tutorial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.tutorial-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.tutorial-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.tutorial-card p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.tutorials-cta {
    text-align: center;
}

/* Gallery Preview */
.gallery-preview {
    background: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.gallery-item {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.gallery-card {
    position: relative;
}

.gallery-image {
    height: 200px;
    background: linear-gradient(135deg, var(--light-pink), var(--soft-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.gallery-icon {
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.7;
}

.gallery-real-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-real-image {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(231, 76, 60, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.view-btn {
    background: white;
    color: var(--primary-color);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.view-btn:hover {
    transform: scale(1.1);
}

.gallery-info {
    padding: 1.5rem;
}

.gallery-info h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.gallery-info p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.gallery-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-light);
}

.gallery-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.gallery-cta {
    text-align: center;
}

/* Contact Section */
.contact {
    background: var(--light-pink);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3,
.contact-form h3 {
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.social-links {
    margin: 2rem 0;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    color: #4267B2;
}

.social-link:hover {
    transform: translateX(-5px);
    box-shadow: var(--shadow);
}

.social-link i {
    font-size: 1.5rem;
}

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

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section h3 i {
    color: var(--primary-color);
    margin-left: 10px;
}

.footer-section p {
    color: #bbb;
    line-height: 1.8;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #bbb;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    margin-left: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    color: #bbb;
}

/* Page Header (for internal pages) */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    padding: 120px 0 80px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.header-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.knitting-needle {
    position: absolute;
    width: 6px;
    height: 200px;
    background: linear-gradient(to bottom, #f8f9fa, #dee2e6);
    border-radius: 3px;
    opacity: 0.15;
}

.knitting-needle-1 {
    top: 20%;
    right: 10%;
    transform: rotate(25deg);
    animation: float 8s ease-in-out infinite;
}

.knitting-needle-2 {
    top: 30%;
    left: 8%;
    transform: rotate(-15deg);
    animation: float 6s ease-in-out infinite reverse;
}

.yarn-strand {
    position: absolute;
    top: 40%;
    left: 15%;
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1.5px;
    transform: rotate(10deg);
    animation: wave 4s ease-in-out infinite;
}

.yarn-strand::before {
    content: '';
    position: absolute;
    top: -1.5px;
    left: 0;
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

@keyframes wave {
    0%, 100% { transform: rotate(10deg) scaleX(1); }
    50% { transform: rotate(8deg) scaleX(1.1); }
}

.page-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.facebook-link {
    margin-top: 2rem;
}

/* Tutorial Categories */
.tutorial-categories {
    background: var(--warm-cream);
    padding: 2rem 0;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 24px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: var(--text-dark);
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Tutorial Content */
.tutorials-content {
    background: white;
}

.tutorial-item {
    margin-bottom: 3rem;
}

.tutorial-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.tutorial-image {
    height: 150px;
    background: linear-gradient(135deg, var(--light-pink), var(--soft-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.tutorial-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.tutorial-card:hover .tutorial-bg-image {
    opacity: 0.5;
}

.tutorial-icon {
    font-size: 3rem;
    color: var(--primary-color);
    z-index: 2;
    position: relative;
    text-shadow: 0 2px 4px rgba(255,255,255,0.8);
}

.tutorial-info {
    padding: 2rem;
}

.tutorial-level,
.tutorial-time {
    display: inline-block;
    background: var(--light-pink);
    color: var(--text-dark);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin: 0 10px 15px 0;
}

.tutorial-level i,
.tutorial-time i {
    color: var(--primary-color);
    margin-left: 5px;
}

.tutorial-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.tutorial-materials {
    background: var(--warm-cream);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    border-right: 4px solid var(--primary-color);
}

.tutorial-materials strong {
    color: var(--text-dark);
}

.tutorial-steps h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.tutorial-steps ol {
    padding-right: 20px;
    color: var(--text-light);
}

.tutorial-steps ol li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Gallery Filters */
.gallery-filters {
    background: var(--warm-cream);
    padding: 2rem 0;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 24px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: var(--text-dark);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
}

.close-modal {
    position: absolute;
    top: 15px;
    left: 25px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--primary-color);
}

/* Gallery Stats */
.gallery-stats {
    background: var(--light-pink);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.stat-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: var(--text-light);
    margin: 0;
}

/* Gallery CTA */
.gallery-cta {
    background: var(--text-dark);
    color: white;
    text-align: center;
    padding: 4rem 0;
}

.cta-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    color: #bbb;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Knitting Tips */
.knitting-tips {
    background: var(--soft-purple);
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tip-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.tip-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.tip-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        right: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--primary-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 100px 0 60px;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .hero-image {
        padding-left: 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-stats {
        flex-direction: row;
        gap: 1rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .tutorials-grid,
    .gallery-grid,
    .tips-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .category-tabs,
    .filter-tabs {
        justify-content: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .modal-content {
        margin: 10% auto;
        width: 95%;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .tutorial-info {
        padding: 1.5rem;
    }
    
    .gallery-info {
        padding: 1rem;
    }
    
    .about-stats {
        flex-direction: column;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Decorative Elements */
.decorative-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.yarn-ball {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    opacity: 0.1;
}

.yarn-ball-1 {
    background: radial-gradient(circle at 30% 30%, #e74c3c, #c0392b);
    top: 10%;
    right: 15%;
    animation: float 8s ease-in-out infinite;
}

.yarn-ball-2 {
    background: radial-gradient(circle at 30% 30%, #f39c12, #e67e22);
    bottom: 20%;
    left: 10%;
    width: 60px;
    height: 60px;
    animation: float 6s ease-in-out infinite reverse;
}

.yarn-ball-3 {
    background: radial-gradient(circle at 30% 30%, #9b59b6, #8e44ad);
    top: 50%;
    left: 80%;
    width: 50px;
    height: 50px;
    animation: float 10s ease-in-out infinite;
}

/* Knitting Pattern Background */
.tutorials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25px 25px, rgba(231, 76, 60, 0.05) 2px, transparent 2px),
        radial-gradient(circle at 75px 75px, rgba(243, 156, 18, 0.05) 1px, transparent 1px);
    background-size: 100px 100px;
    z-index: 0;
}

.gallery-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(45deg, transparent 24%, rgba(231, 76, 60, 0.03) 25%, rgba(231, 76, 60, 0.03) 26%, transparent 27%, transparent 74%, rgba(231, 76, 60, 0.03) 75%, rgba(231, 76, 60, 0.03) 76%, transparent 77%);
    background-size: 50px 50px;
    z-index: 0;
}

/* Yarn texture for hero section */
.hero .container {
    position: relative;
    z-index: 2;
}

/* Knitting needles decoration */
.about::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 5%;
    width: 4px;
    height: 120px;
    background: linear-gradient(to bottom, #8e44ad, #9b59b6);
    border-radius: 2px;
    opacity: 0.1;
    transform: rotate(15deg);
}

.about::before {
    content: '';
    position: absolute;
    top: 45%;
    right: 7%;
    width: 4px;
    height: 100px;
    background: linear-gradient(to bottom, #e67e22, #f39c12);
    border-radius: 2px;
    opacity: 0.1;
    transform: rotate(-10deg);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.hidden { display: none; }
.visible { display: block; }