/*
 * K8 Theme Styles
 * Theme: K8 Theme
 */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f7fa;
}

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

/* Header */
.site-header {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.site-branding .site-title {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    letter-spacing: 2px;
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffd700;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-bar {
    display: block;
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 5px 0;
    transition: 0.3s;
}

/* Header Actions */
.header-actions {
    display: flex;
    gap: 10px;
}

.btn {
    display: inline-block;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-login {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-login:hover {
    background: #fff;
    color: #1e3a5f;
}

.btn-register {
    background: #ffd700;
    color: #1e3a5f;
}

.btn-register:hover {
    background: #ffed4a;
    transform: translateY(-2px);
}

.btn-primary {
    background: #ffd700;
    color: #1e3a5f;
    padding: 14px 32px;
    font-size: 16px;
}

.btn-primary:hover {
    background: #ffed4a;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 14px 32px;
    font-size: 16px;
}

.btn-secondary:hover {
    background: #fff;
    color: #1e3a5f;
}

.btn-cta {
    background: #28a745;
    color: #fff;
    padding: 14px 32px;
    font-size: 16px;
}

.btn-cta:hover {
    background: #34ce57;
    transform: translateY(-2px);
}

.btn-promo {
    background: #1e3a5f;
    color: #fff;
    padding: 12px 24px;
    margin-top: 15px;
}

.btn-promo:hover {
    background: #2d5a87;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    padding: 100px 0;
    text-align: center;
    color: #fff;
}

.hero-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-description {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Sections General */
section {
    padding: 60px 0;
}

section h2 {
    font-size: 32px;
    color: #1e3a5f;
    margin-bottom: 40px;
    text-align: center;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 16px;
    color: #666;
}

/* Brand Section */
.brand-section {
    background: #fff;
}

.brand-content p {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

/* Features Section */
.features-section {
    background: #f0f4f8;
}

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

.feature-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.feature-card h3 {
    color: #1e3a5f;
    font-size: 20px;
    margin-bottom: 15px;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Content Section */
.content-section {
    background: #fff;
}

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

.content-item h3 {
    color: #1e3a5f;
    font-size: 18px;
    margin-bottom: 10px;
}

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

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    text-align: center;
    color: #fff;
}

.cta-section h2 {
    color: #fff;
    margin-bottom: 20px;
}

.cta-section p {
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

/* FAQ Section */
.faq-section {
    background: #f0f4f8;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
    color: #1e3a5f;
    font-size: 18px;
    margin-bottom: 10px;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
}

/* Steps Section */
.steps-section {
    background: #fff;
}

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

.step-item {
    text-align: center;
    padding: 30px;
    background: #f0f4f8;
    border-radius: 10px;
    position: relative;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #1e3a5f;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 20px;
}

.step-item h3 {
    color: #1e3a5f;
    font-size: 18px;
    margin-bottom: 10px;
}

.step-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* Errors Section */
.errors-section {
    background: #f0f4f8;
}

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

.error-card {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #dc3545;
}

.error-card h3 {
    color: #dc3545;
    font-size: 16px;
    margin-bottom: 10px;
}

.error-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* Tips Section */
.tips-section {
    background: #fff;
}

.tips-content p {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

/* Tutorial Section */
.tutorial-section {
    background: #fff;
}

.tutorial-steps {
    max-width: 900px;
    margin: 0 auto;
}

.tutorial-item {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #eee;
}

.tutorial-item:last-child {
    border-bottom: none;
}

.tutorial-item h2 {
    text-align: left;
    font-size: 24px;
    margin-bottom: 20px;
}

.tutorial-item p {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

/* Notes Section */
.notes-section {
    background: #f0f4f8;
}

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

.note-item {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #28a745;
}

.note-item h3 {
    color: #1e3a5f;
    font-size: 16px;
    margin-bottom: 10px;
}

.note-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* Promo Hero */
.promo-hero {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4a 100%);
    padding: 80px 0;
    text-align: center;
}

.promo-hero h1 {
    color: #1e3a5f;
    font-size: 36px;
    margin-bottom: 20px;
}

.promo-hero .section-intro {
    color: #555;
    max-width: 700px;
    margin: 0 auto;
}

/* Promo Cards */
.promo-cards {
    background: #f0f4f8;
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.promo-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: transform 0.3s ease;
}

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

.promo-card.featured {
    border: 2px solid #ffd700;
}

.promo-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: #dc3545;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.promo-card h3 {
    color: #1e3a5f;
    font-size: 18px;
    margin-bottom: 10px;
}

.promo-value {
    color: #28a745;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.promo-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
}

/* Promo List */
.promo-list-section {
    background: #fff;
}

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

.promo-list-item {
    background: #f0f4f8;
    padding: 25px;
    border-radius: 8px;
}

.promo-list-item h3 {
    color: #1e3a5f;
    font-size: 16px;
    margin-bottom: 10px;
}

.promo-list-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* Terms Section */
.terms-section {
    background: #f0f4f8;
}

.terms-content p {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

/* Contact Hero */
.contact-hero {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    padding: 80px 0;
    text-align: center;
    color: #fff;
}

.contact-hero h1 {
    color: #fff;
    font-size: 36px;
    margin-bottom: 20px;
}

.contact-hero .section-intro {
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
}

/* Contact Methods */
.contact-methods {
    background: #fff;
}

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

.method-card {
    background: #f0f4f8;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.method-card h3 {
    color: #1e3a5f;
    font-size: 20px;
    margin-bottom: 15px;
}

.method-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.method-status {
    display: inline-block;
    background: #28a745;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* Support Topics */
.support-topics {
    background: #f0f4f8;
}

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

.topic-item {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    border-top: 4px solid #1e3a5f;
}

.topic-item h3 {
    color: #1e3a5f;
    font-size: 16px;
    margin-bottom: 10px;
}

.topic-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* Response Section */
.response-section {
    background: #fff;
}

.response-content p {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

/* Footer */
.site-footer {
    background: #1e3a5f;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffd700;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 14px;
}

.footer-nav h4,
.footer-contact h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #ffd700;
}

.footer-menu {
    list-style: none;
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: #ffd700;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-seo-text {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    margin-bottom: 30px;
}

.footer-seo-text p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

/* Page Content */
.page-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 0;
}

.entry-header {
    margin-bottom: 30px;
}

.entry-title {
    font-size: 32px;
    color: #1e3a5f;
}

.entry-content {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

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

/* Posts Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

.post-item {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.post-item .entry-title {
    font-size: 20px;
    margin-bottom: 15px;
}

.post-item .entry-title a {
    color: #1e3a5f;
    text-decoration: none;
}

.post-item .entry-title a:hover {
    color: #2d5a87;
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #1e3a5f;
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }

    .nav-menu.active {
        display: flex;
    }

    .header-actions {
        display: none;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-description {
        font-size: 16px;
    }

    section h2 {
        font-size: 24px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .promo-hero h1,
    .contact-hero h1 {
        font-size: 28px;
    }

    .tutorial-item h2 {
        font-size: 20px;
    }

    /* Mobile Image Styles */
    .hero-image,
    .brand-image,
    .features-image,
    .content-image,
    .cta-image,
    .faq-image,
    .faq-image-bottom,
    .steps-image,
    .tips-image,
    .tutorial-image,
    .notes-image,
    .promo-hero-image,
    .promo-list-image,
    .contact-hero-image,
    .topics-image {
        margin: 20px 0;
        padding: 0 10px;
    }

    .hero-image img,
    .brand-image img,
    .features-image img,
    .content-image img,
    .cta-image img,
    .faq-image img,
    .faq-image-bottom img,
    .steps-image img,
    .tips-image img,
    .tutorial-image img,
    .notes-image img,
    .promo-hero-image img,
    .promo-list-image img,
    .contact-hero-image img,
    .topics-image img {
        max-width: 100% !important;
        width: 100%;
        height: auto;
        border-radius: 8px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-section {
        padding: 60px 0;
    }

    section {
        padding: 40px 0;
    }

    .btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}

/* Image Styles */
.hero-image,
.brand-image,
.features-image,
.content-image,
.cta-image,
.faq-image,
.faq-image-bottom,
.steps-image,
.tips-image,
.tutorial-image,
.notes-image,
.promo-hero-image,
.promo-list-image,
.contact-hero-image,
.topics-image {
    margin: 30px 0;
    text-align: center;
}

.hero-image img,
.brand-image img,
.features-image img,
.content-image img,
.cta-image img,
.faq-image img,
.faq-image-bottom img,
.steps-image img,
.tips-image img,
.tutorial-image img,
.notes-image img,
.promo-hero-image img,
.promo-list-image img,
.contact-hero-image img,
.topics-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-image img {
    max-width: 600px;
}

.brand-image img,
.features-image img,
.content-image img {
    max-width: 800px;
}

.cta-image img,
.faq-image img,
.faq-image-bottom img {
    max-width: 700px;
}

.steps-image img,
.tips-image img,
.tutorial-image img,
.notes-image img {
    max-width: 750px;
}

.promo-hero-image img,
.promo-list-image img,
.contact-hero-image img,
.topics-image img {
    max-width: 700px;
}
