/*
 Theme Name:   Melasyl Child Theme
 Theme URI:    https://melasyl.com/
 Description:  Child theme for Astra - Customized for Melasyl blog
 Author:       Melasyl Team
 Author URI:   https://melasyl.com/
 Template:     astra
 Version:      1.0.0
*/


/* Purple Theme Accent Color */
:root {
    --primary-color: #8B5CF6;
    --primary-dark: #7C3AED;
    --primary-light: #A78BFA;
    --text-color: #333;
    --background-color: #fff;
    --border-color: #e0e0e0;
}

/* Import Astra styles */
@import url('../astra/style.css');

/* Breadcrumb Navigation */
.breadcrumb-nav {
    padding: 20px 0;
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb-nav a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-nav a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.breadcrumb-nav .current {
    color: var(--text-color);
    font-weight: 500;
}

/* Article Header */
.entry-header {
    margin-bottom: 40px;
}

.entry-title {
    font-size: 36px;
    color: var(--text-color);
    margin-bottom: 15px;
    line-height: 1.3;
}

.entry-meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.entry-meta span {
    margin-right: 20px;
}

/* Post Thumbnail */
.post-thumbnail {
    margin-bottom: 30px;
    text-align: center;
}

.post-thumbnail img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Entry Content */
.entry-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 40px;
}

.entry-content h2 {
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 28px;
}

.entry-content h3 {
    color: var(--primary-dark);
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 24px;
}

.entry-content p {
    margin-bottom: 20px;
}

.entry-content ul, .entry-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.entry-content li {
    margin-bottom: 10px;
}

/* Product Gallery */
.product-gallery {
    margin: 40px 0;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 8px;
}

.product-gallery h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

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

.gallery-grid img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s;
}

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

/* Contact Info in Footer */
.entry-footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid var(--primary-color);
}

.contact-info {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    color: white;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.contact-info h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 24px;
}

.contact-info p {
    margin-bottom: 10px;
    font-size: 16px;
}

.contact-info a {
    color: white;
    text-decoration: underline;
    font-weight: 500;
}

.contact-info a:hover {
    color: #f0f0f0;
}

/* Post Navigation */
.post-navigation {
    margin: 40px 0;
    padding: 30px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

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

.nav-previous,
.nav-next {
    flex: 1;
    max-width: 45%;
}

.nav-next {
    text-align: right;
}

.nav-previous a,
.nav-next a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s;
}

.nav-previous a:hover,
.nav-next a:hover {
    color: var(--primary-dark);
}

.nav-arrow {
    font-size: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .entry-title {
        font-size: 28px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-previous,
    .nav-next {
        max-width: 100%;
        text-align: left;
    }
}
