/* Textile Art Page Specific Styles */
.textile-art-page {
    padding-top: 80px;
}

/* Hero Section */
.textile-hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f6f0 0%, #ede7d3 100%);
    text-align: center;
}

.textile-hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    color: #2c2c2c;
    margin-bottom: 1rem;
}

.textile-hero .hero-subtitle {
    font-size: 1.3rem;
    color: #d4af37;
    margin-bottom: 1.5rem;
}

.textile-hero .hero-description {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto 2rem auto;
    line-height: 1.6;
}

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

/* Categories Section */
.art-categories {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    color: #2c2c2c;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
}

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

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

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

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.category-card h3 {
    color: #2c2c2c;
    margin-bottom: 1rem;
}

.category-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.category-link {
    color: #d4af37;
    text-decoration: none;
    font-weight: 500;
}

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

/* Featured Section */
.featured-section {
    padding: 80px 0;
    background: #f8f6f0;
}

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

.featured-project {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.project-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.featured-project:hover .project-overlay {
    opacity: 1;
}

.view-details {
    color: white;
    font-weight: 500;
}

.project-info {
    padding: 1.5rem;
}

.project-category {
    color: #d4af37;
    font-size: 0.9rem;
    font-weight: 500;
}

.project-info h3 {
    margin: 0.5rem 0;
}

.project-info h3 a {
    color: #2c2c2c;
    text-decoration: none;
}

.project-info h3 a:hover {
    color: #d4af37;
}

.project-description {
    color: #666;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: #ede7d3;
    color: #8b7355;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

/* Process Section */
.process-section {
    padding: 80px 0;
}

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

.process-step {
    display: flex;
    gap: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.process-step.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.step-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.step-number {
    width: 40px;
    height: 40px;
    background: #d4af37;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 1rem;
}

.step-icon {
    font-size: 2rem;
}

.step-content h3 {
    color: #2c2c2c;
    margin-bottom: 1rem;
}

.step-content p {
    color: #666;
    line-height: 1.6;
}

/* Techniques Section */
.techniques-section {
    padding: 80px 0;
    background: #f8f6f0;
}

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

.technique-category {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.technique-category h3 {
    color: #2c2c2c;
    margin-bottom: 1.5rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
}

.technique-list {
    list-style: none;
    padding: 0;
}

.technique-list li {
    padding: 0.5rem 0;
    color: #666;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
    padding-left: 1.5rem;
}

.technique-list li:before {
    content: "→";
    color: #d4af37;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.technique-list li:last-child {
    border-bottom: none;
}

/* Gallery Section */
.gallery-section {
    padding: 80px 0;
}

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

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

.gallery-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

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

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.overlay-content h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}

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

/* Commission Section */
.commission-section {
    padding: 80px 0;
    background: #2c2c2c;
    color: white;
}

.commission-section .section-header h2 {
    color: #d4af37;
}

.commission-section .section-header p {
    color: #ccc;
}

.commission-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.commission-info h3 {
    color: #d4af37;
    margin-bottom: 1.5rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
}

.commission-info p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.commission-process h4 {
    color: white;
    margin-bottom: 1rem;
}

.commission-process ol {
    color: #ccc;
    padding-left: 1.5rem;
}

.commission-process li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.commission-details {
    margin-top: 2rem;
}

.detail-item {
    color: #ccc;
    margin-bottom: 0.5rem;
}

.detail-item strong {
    color: #d4af37;
}

.commission-action {
    text-align: center;
}

.commission-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    padding: 1rem;
    border-radius: 10px;
}

.commission-status.available {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
}

.commission-status.closed {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

.commission-note {
    color: #999;
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* CTA Section */
.textile-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.cta-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.info-icon {
    font-size: 1.2rem;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: #d4af37;
    color: white;
    border-color: #d4af37;
}

.btn-primary:hover {
    background: #b8941f;
    border-color: #b8941f;
}

.btn-secondary {
    background: transparent;
    color: #d4af37;
    border-color: #d4af37;
}

.btn-secondary:hover {
    background: #d4af37;
    color: white;
}

/* Utility Classes */
.placeholder-image {
    width: 100%;
    height: 100%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-style: italic;
}

.no-projects,
.no-categories {
    text-align: center;
    padding: 3rem;
    color: #666;
    font-style: italic;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.6s ease-in-out forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.animate-fade-in {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.image-loaded {
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .commission-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .textile-art-page {
        padding-top: 60px;
    }

    .textile-hero {
        padding: 40px 0;
    }

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

    .art-categories,
    .featured-section,
    .process-section,
    .techniques-section,
    .gallery-section,
    .commission-section,
    .textile-cta {
        padding: 40px 0;
    }

    .categories-grid,
    .featured-grid,
    .techniques-grid {
        grid-template-columns: 1fr;
    }

    .process-step {
        flex-direction: column;
        text-align: center;
    }

    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .cta-info {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .textile-hero h1 {
        font-size: 2rem;
    }

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

    .category-card,
    .technique-category {
        padding: 1.5rem;
    }

    .commission-section {
        padding: 40px 0;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

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