/*
 * TINYBOY 3D PRINTER - MODERN EDUCATION PRODUCT PAGE
 * 
 * Vibrant, colorful design for teenage education market
 * Modern, engaging, and fun visual style
 */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700;800&family=Raleway:wght@400;600;700&display=swap');

/* Modern Colorful Theme for Teen Education */
:root {
    /* Primary Brand Colors - Vibrant & Fun */
    --primary-purple: #7C3AED;
    --primary-blue: #3B82F6;
    --primary-pink: #EC4899;
    --primary-orange: #F59E0B;
    --primary-green: #10B981;
    --primary-cyan: #06B6D4;
    
    /* Gradient Combinations */
    --gradient-purple-blue: linear-gradient(135deg, #7C3AED 0%, #3B82F6 100%);
    --gradient-pink-orange: linear-gradient(135deg, #EC4899 0%, #F59E0B 100%);
    --gradient-blue-cyan: linear-gradient(135deg, #3B82F6 0%, #06B6D4 100%);
    --gradient-green-blue: linear-gradient(135deg, #10B981 0%, #3B82F6 100%);
    --gradient-rainbow: linear-gradient(135deg, #7C3AED 0%, #EC4899 25%, #F59E0B 50%, #10B981 75%, #3B82F6 100%);
    
    /* Text Colors */
    --text-dark: #1F2937;
    --text-medium: #4B5563;
    --text-light: #6B7280;
    --text-white: #FFFFFF;
    
    /* Background Colors */
    --bg-white: #FFFFFF;
    --bg-light: #F9FAFB;
    --bg-lighter: #F3F4F6;
    --bg-purple-light: #F5F3FF;
    --bg-blue-light: #EFF6FF;
    
    /* Accent & Border */
    --border-color: #E5E7EB;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Lato', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--bg-light);
    word-wrap: break-word;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

/* Header Meta Bar - Colorful Gradient */
#header-meta {
    background: var(--gradient-purple-blue);
    border-bottom: none;
    padding: 12px 0;
    font-size: 14px;
    box-shadow: var(--shadow-sm);
}

.social-links {
    float: left;
}

.social-links ul {
    list-style: none;
    display: flex;
    gap: 12px;
    margin: 0;
    padding: 0;
}

.social-links a {
    display: inline-block;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.25);
    color: white;
    text-align: center;
    line-height: 36px;
    border-radius: 50%;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px) scale(1.1);
}

.small-info-text {
    float: right;
    color: white;
    font-weight: 500;
}

/* Header - Modern and Elevated */
.site-header {
    background: var(--bg-white);
    border-bottom: none;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 100;
}

#header-logo-image {
    float: left;
    margin-right: 20px;
}

#header-logo-image img {
    max-height: 80px;
    transition: transform 0.3s ease;
}

#header-logo-image img:hover {
    transform: scale(1.05) rotate(2deg);
}

#header-text {
    float: left;
}

#site-title {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 800;
    margin: 0;
    padding: 15px 0 5px;
    background: var(--gradient-purple-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#site-title a {
    background: var(--gradient-purple-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transition: all 0.3s ease;
}

#site-description {
    font-size: 15px;
    color: var(--text-medium);
    margin: 0;
    font-weight: 500;
}

/* Navigation - Colorful & Modern */
#site-navigation {
    background: var(--bg-white);
    border-top: 3px solid transparent;
    border-image: var(--gradient-rainbow) 1;
    padding: 0;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 5px;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    padding: 14px 18px;
    display: block;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-purple-blue);
    transition: left 0.3s ease;
    z-index: -1;
}

.nav-menu a:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.nav-menu a:hover::before {
    left: 0;
}

.nav-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
}

.nav-menu li:hover > .sub-menu {
    display: block;
}

.nav-menu .sub-menu a {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
}

/* Featured Slider (if needed) */
#featured-slider {
    background: #f5f5f5;
    margin-bottom: 30px;
}

.slider-cycle img {
    width: 100%;
    height: auto;
}

/* Content Layout - Modern */
.site-content {
    padding: 0;
    background: var(--bg-light);
}

#main {
    background: transparent;
    padding: 40px 0;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    max-width: 978px;
    margin: 0 auto;
}

/* Full Width Content (for homepage) */
.full-width-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.full-width-content .main-content {
    width: 100%;
}

/* Posts */
.post-summary,
.post,
.page {
    background: var(--content-bg);
    margin-bottom: 30px;
}

.post-summary {
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.post-title {
    margin-bottom: 10px;
}

.post-title a {
    color: var(--primary-color);
    text-decoration: none;
}

.post-title a:hover {
    color: var(--secondary-color);
}

.post-meta {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 15px;
}

.post-meta span {
    margin-right: 15px;
}

.post-excerpt {
    margin: 15px 0;
}

.read-more {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.read-more:hover {
    text-decoration: underline;
}

/* Sidebar */
.sidebar {
    background: transparent;
    padding: 0;
}

.widget {
    margin-bottom: 30px;
    background: #f8f8f8;
    padding: 20px;
    border: 1px solid var(--border-color);
}

.widget-title {
    font-size: 19px;
    font-weight: normal;
    color: var(--primary-color);
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.widget ul {
    list-style: none;
}

.widget li {
    padding: 5px 0;
}

.widget a {
    color: var(--primary-color);
    text-decoration: none;
}

.widget a:hover {
    color: var(--secondary-color);
}

.count {
    color: #666;
    font-size: 0.9em;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    background: #e9ecef;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.9em;
}

.tag:hover {
    background: var(--secondary-color);
    color: white;
}

/* Footer */
.site-footer {
    background: var(--primary-color);
    color: var(--text-color);
    padding: 30px 0;
    margin-top: 40px;
    border-top: 3px solid var(--secondary-color);
}

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

.footer-links a {
    color: var(--text-color);
    margin-left: 20px;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

/* Widget Sections on Homepage - Colorful Cards */
.widget_service_block {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 50px 0;
    padding: 0;
}

.tg-one-third {
    padding: 0;
    position: relative;
}

.tg-one-third:nth-child(1) .service-content {
    background: var(--gradient-purple-blue);
}

.tg-one-third:nth-child(2) .service-content {
    background: var(--gradient-pink-orange);
}

.tg-one-third:nth-child(3) .service-content {
    background: var(--gradient-green-blue);
}

.service-content {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    color: white;
}

.service-content::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    transition: all 0.6s ease;
}

.service-content:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.service-content:hover::before {
    top: -30%;
    right: -30%;
}

.service-content h3 {
    color: white;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 20px 0;
    position: relative;
    z-index: 1;
    letter-spacing: -0.5px;
}

.widget-title,
.service-content .widget-title {
    color: white;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 20px 0;
    position: relative;
    z-index: 1;
    letter-spacing: -0.5px;
    border: none;
    padding: 0;
}

.service-content p {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    position: relative;
    z-index: 1;
    font-weight: 400;
}

/* Call to Action Widget - Eye-Catching */
.widget_call_to_action {
    background: var(--gradient-rainbow);
    padding: 60px 40px;
    margin: 60px 0;
    text-align: center;
    border-radius: 30px;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.widget_call_to_action::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: rotate 20s linear infinite;
}

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

.call-to-action-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.call-to-action-content {
    flex: 1;
    text-align: left;
}

.call-to-action-content h3 {
    color: white;
    font-size: 36px;
    font-weight: 800;
    margin: 0 0 15px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.call-to-action-content p {
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    font-size: 18px;
    font-weight: 500;
}

.call-to-action-button {
    background: white;
    color: var(--primary-purple);
    padding: 18px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 18px;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
    border: 3px solid white;
}

.call-to-action-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.95);
}
}

.call-to-action-button:hover {
    background: var(--primary-color);
    color: white;
}

/* Featured Posts Widget - Modern Colorful Cards */
.widget_featured_posts {
    margin: 60px 0;
    padding: 0;
}

.widget_featured_posts .widget-title {
    font-size: 40px;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 50px 0;
    text-align: center;
    background: var(--gradient-purple-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.tg-one-half {
    width: 48%;
    float: left;
    margin-right: 4%;
    margin-bottom: 30px;
    background: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    border: 3px solid transparent;
}

.tg-one-half:nth-child(odd) {
    border-image: var(--gradient-purple-blue) 1;
}

.tg-one-half:nth-child(even) {
    border-image: var(--gradient-pink-orange) 1;
}

.tg-one-half:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.tg-one-half-last {
    margin-right: 0;
}

.tg-featured-posts-clearfix {
    clear: both;
}

.entry-header {
    padding: 25px 25px 0;
}

.entry-header .entry-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.entry-header .entry-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

.entry-header .entry-title a:hover {
    background: var(--gradient-purple-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.entry-content {
    padding: 0 25px 20px;
    margin-bottom: 0;
    color: var(--text-medium);
    line-height: 1.6;
}

.entry-meta-bar {
    border-top: 2px solid var(--bg-lighter);
    padding: 20px 25px;
    background: var(--bg-light);
}

.entry-meta {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 600;
}

.entry-meta span {
    margin-right: 15px;
    display: inline-flex;
    align-items: center;
}

.entry-meta a {
    color: var(--primary-purple);
    text-decoration: none;
    transition: all 0.3s ease;
}

.entry-meta a:hover {
    color: var(--primary-pink);
}

.entry-meta a {
    color: #999;
    text-decoration: none;
}

.entry-meta a:hover {
    color: var(--secondary-color);
}

.by-author,
.date,
.category {
    display: inline-block;
}

.read-more-link {
    float: right;
}

.read-more {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.read-more:hover {
    text-decoration: underline;
}

/* View All Posts Button */
.view-all-posts {
    text-align: center;
    margin: 40px 0;
}

.view-all-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 3px;
    font-weight: bold;
}

.view-all-button:hover {
    background: var(--primary-color);
}

/* Clearfix */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .widget_service_block {
        grid-template-columns: 1fr;
    }
    
    .call-to-action-content-wrapper {
        flex-direction: column;
        gap: 20px;
    }
    
    .tg-one-half {
        width: 100%;
        float: none;
        margin-right: 0;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* Post Content Styles */
.post-content,
.page-content {
    line-height: 1.8;
}

.post-content img,
.page-content img {
    max-width: 100%;
    height: auto;
}

.post-content h2,
.page-content h2 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.post-content p,
.page-content p {
    margin-bottom: 15px;
}

.post-content code,
.page-content code {
    background: #f4f4f4;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
}

.post-content pre,
.page-content pre {
    background: #f4f4f4;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    margin: 20px 0;
}
/* Homepage Slider - Bold & Colorful */
.homepage-slider {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 60px;
    background: var(--bg-white);
    overflow: hidden;
    border-radius: 30px;
    box-shadow: var(--shadow-xl);
}

.slider-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 30px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-content {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide-content a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.slide-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.5) 70%, transparent 100%);
    color: white;
    padding: 40px;
}

.slide-caption-text-only {
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
    background: var(--gradient-purple-blue);
    text-align: center;
    padding: 60px 40px;
}

.slide-caption h2 {
    font-size: 42px;
    font-weight: 800;
    margin: 0 0 15px 0;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    letter-spacing: -1px;
}

.slide-caption p {
    font-size: 20px;
    margin: 0;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
}

.slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
    pointer-events: none;
}

.slider-prev,
.slider-next {
    pointer-events: all;
    background: var(--gradient-purple-blue);
    border: none;
    font-size: 28px;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    color: white;
    box-shadow: var(--shadow-lg);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.slider-prev:hover,
.slider-next:hover {
    transform: scale(1.15);
    box-shadow: var(--shadow-xl);
    background: var(--gradient-pink-orange);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot.active {
    background: white;
    width: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

/* Featured Images in Posts - Rounded & Modern */
.featured-image {
    margin: 0;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    position: relative;
}

.featured-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.2) 0%, rgba(236, 72, 153, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.featured-image:hover::after {
    opacity: 1;
}

.featured-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.featured-image a:hover img {
    transform: scale(1.1);
}

/* View All Posts Button */
.view-all-posts {
    text-align: center;
    margin: 50px 0;
}

.view-all-button {
    display: inline-block;
    padding: 18px 50px;
    background: var(--gradient-purple-blue);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
    border: none;
}

.view-all-button:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    background: var(--gradient-pink-orange);
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .slider-container {
        height: 350px;
    }
    
    .slide-caption h2 {
        font-size: 28px;
    }
    
    .slide-caption p {
        font-size: 16px;
    }
    
    .slider-prev,
    .slider-next {
        font-size: 20px;
        width: 40px;
        height: 40px;
    }
    
    .widget_service_block {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .tg-one-half {
        width: 100%;
        float: none;
        margin-right: 0;
    }
    
    .call-to-action-content h3 {
        font-size: 28px;
    }
    
    .widget_featured_posts .widget-title {
        font-size: 32px;
    }
    
    #site-title {
        font-size: 24px;
    }
}
        padding: 8px 12px;
    }
}