/* DIY Guides Page Specific Styles */

.diy-main {
    background: white;
}

.diy-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.diy-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.diy-hero .lead {
    font-size: 1.3rem;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

/* Difficulty Legend */
.difficulty-legend {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.1);
    padding: 15px 20px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

.difficulty-badge {
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.difficulty-badge.beginner {
    background: #28a745;
    color: white;
}

.difficulty-badge.intermediate {
    background: #ffc107;
    color: #333;
}

.difficulty-badge.advanced {
    background: #dc3545;
    color: white;
}

/* Safety First Section */
.safety-first {
    padding: 80px 0;
    background: #fff3cd;
}

.safety-alert {
    background: white;
    border-left: 5px solid #ffc107;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.safety-alert h2 {
    color: #856404;
    margin-bottom: 20px;
    font-size: 2rem;
}

.safety-tips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.tip {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    font-weight: 500;
    color: #495057;
}

/* Featured Guide Section */
.featured-guide {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fff8 0%, #e8f5e8 100%);
}

.guide-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.guide-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

.guide-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.guide-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #28a745;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.guide-content h2 {
    font-size: 2.5rem;
    margin: 20px 0;
    color: #333;
}

.guide-meta {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.guide-meta span {
    background: rgba(102, 126, 234, 0.1);
    padding: 8px 15px;
    border-radius: 20px;
    color: #667eea;
    font-weight: 500;
}

.materials-preview {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    margin: 30px 0;
}

.materials-preview h3 {
    color: #333;
    margin-bottom: 15px;
}

.materials-preview ul {
    list-style: none;
    padding: 0;
}

.materials-preview li {
    padding: 8px 0;
    color: #666;
    border-bottom: 1px solid #e9ecef;
}

.materials-preview li:last-child {
    border-bottom: none;
}

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

.guide-categories h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #333;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 15px 30px;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    color: #666;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover,
.tab-btn.active {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

/* Guides Grid */
.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.guides-grid.hidden {
    display: none;
}

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

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

.guide-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card-content {
    padding: 30px;
}

.card-content h3 {
    font-size: 1.5rem;
    margin: 15px 0;
    color: #333;
}

.card-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.guide-stats {
    display: flex;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.guide-stats span {
    background: #f8f9fa;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    color: #666;
}

.guide-link {
    display: inline-block;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.guide-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102,126,234,0.3);
}

/* Detailed Guide Section */
.detailed-guide {
    padding: 80px 0;
    background: #f8f9fa;
}

.detailed-guide h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #333;
}

.guide-content-detailed {
    max-width: 1000px;
    margin: 0 auto;
}

.guide-overview {
    background: white;
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.overview-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 15px;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
}

.overview-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #666;
}

.materials-section {
    background: white;
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.materials-section h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #333;
}

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

.materials-category {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
}

.materials-category h4 {
    color: #667eea;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.materials-category ul {
    list-style: none;
    padding: 0;
}

.materials-category li {
    padding: 8px 0;
    color: #666;
    border-bottom: 1px solid #e9ecef;
}

.materials-category li:last-child {
    border-bottom: none;
}

.steps-section {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.steps-section h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #333;
}

.step {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.step-number {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.step-content p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 15px;
}

.step-tip {
    background: #e8f5e8;
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid #28a745;
    margin-top: 15px;
}

.step-warning {
    background: #fff3cd;
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid #ffc107;
    margin-top: 15px;
}

/* Difficulty Filters */
.difficulty-filters {
    padding: 60px 0;
    background: #f8f9fa;
    text-align: center;
}

.difficulty-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.difficulty-btn {
    padding: 12px 25px;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    color: #666;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.difficulty-btn:hover,
.difficulty-btn.active {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

.difficulty-icon {
    font-size: 1rem;
}

/* Guides Grid */
.guides-section {
    padding: 80px 0;
}

.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

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

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

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

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

.guide-card:hover .guide-image img {
    transform: scale(1.05);
}

.difficulty-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
}

.difficulty-beginner {
    background: linear-gradient(45deg, #4CAF50, #45a049);
}

.difficulty-intermediate {
    background: linear-gradient(45deg, #FF9800, #f57c00);
}

.difficulty-advanced {
    background: linear-gradient(45deg, #f44336, #d32f2f);
}

.time-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.guide-content {
    padding: 30px;
}

.guide-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.guide-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.guide-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #667eea;
    display: block;
}

.stat-label {
    font-size: 0.8rem;
    color: #666;
    font-weight: 500;
}

.guide-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}

.guide-tag {
    background: #e9ecef;
    color: #666;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.guide-actions {
    display: flex;
    gap: 10px;
}

.btn-primary {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102,126,234,0.3);
}

.btn-outline {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
}

/* Featured Guide Section */
.featured-guide {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fff8 0%, #e8f5e8 100%);
}

.featured-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 50px;
}

.featured-text h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.featured-text p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.featured-highlights {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.featured-highlights li {
    padding: 8px 0;
    color: #666;
    display: flex;
    align-items: center;
    gap: 10px;
}

.featured-highlights li::before {
    content: '✨';
    font-size: 1rem;
}

.featured-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

.featured-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* Tools & Materials Section */
.tools-materials {
    padding: 80px 0;
    background: white;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.tool-category {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border-left: 4px solid #667eea;
}

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

.tool-category h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
}

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

.tool-list li {
    padding: 5px 0;
    color: #666;
    border-bottom: 1px solid #e9ecef;
}

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

/* DIY Resources Section */
.diy-resources {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.diy-resources h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #333;
    font-weight: 700;
}

.resource-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.resource-category {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.resource-category h3 {
    color: #333;
    font-size: 1.8rem;
    margin-bottom: 30px;
    font-weight: 600;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 3px solid #667eea;
}

.resource-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.resource-item {
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #667eea;
    transition: all 0.3s ease;
}

.resource-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background: white;
}

.resource-item h4 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.resource-item p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.resource-link {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.resource-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(102, 126, 234, 0.3);
    text-decoration: none;
    color: white;
}


/* Professional recommendation */

.professional-recommendation {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    border-top: 5px solid #667eea;
    margin-top: 40px;
}

.professional-recommendation h3 {
    color: #333;
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.professional-recommendation p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .diy-hero h1 {
        font-size: 2.5rem;
    }
    
    .diy-hero .lead {
        font-size: 1.1rem;
        padding: 0 20px;
    }
    
    .difficulty-legend {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .guide-showcase {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .category-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .step {
        flex-direction: column;
        gap: 20px;
    }
    
    .materials-grid {
        grid-template-columns: 1fr;
    }
    
    .overview-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .difficulty-buttons {
        gap: 10px;
    }
    
    .difficulty-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .guides-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .featured-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .guide-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .guide-actions {
        flex-direction: column;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .diy-hero {
        padding: 60px 0;
    }
    
    .diy-hero h1 {
        font-size: 2rem;
    }
    
    .overview-stats {
        grid-template-columns: 1fr;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .guide-content {
        padding: 20px;
    }
    
    .guide-card {
        margin: 0 15px;
    }
    
    .featured-image img {
        height: 250px;
    }
}
