@charset "utf-8";
/* =============================================
   Stutter Websites Page CSS
   Location: /static/website/css/website.css
   
   Depends on: static_common.css
   - Uses: .back-home (from static_common.css)
   - Overrides: .scroll-top-btn (teal color theme)
   
   Mobile-first design
   Media Query: Mobile (default) + PC (min-width: 768px)
   ============================================= */

/* =============================================
   Page Header (Teal Theme)
   ============================================= */
.websites-header {
    background: linear-gradient(135deg, #470576, #04db73);
    color: white;
    padding: 15px 10px;
    margin: 0 0 20px 0;
    text-align: center;
    border-radius: 10px;
}

.websites-header h1 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.websites-header h1 i {
    font-size: 1.2rem;
}

.websites-header .subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

/* =============================================
   Tab Menu
   ============================================= */
.websites-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 20px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.websites-tab-btn {
    flex: 1;
    padding: 12px 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
    background: white;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.websites-tab-btn i {
    font-size: 1rem;
}

.websites-tab-btn span {
    font-size: 0.85rem;
}

.websites-tab-btn:hover {
    background: #f8f9fa;
    color: #4ECDC4;
}

.websites-tab-btn.active {
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.1), rgba(68, 179, 170, 0.1));
    color: #4ECDC4;
    border-bottom-color: #4ECDC4;
}

/* =============================================
   Tab Content
   ============================================= */
.websites-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.websites-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =============================================
   Section
   ============================================= */
.websites-section {
    background: white;
    border-radius: 12px;
    padding: 16px 12px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* =============================================
   Accordion Container
   ============================================= */
.accordion-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* =============================================
   Accordion Item
   ============================================= */
.accordion-item {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
}

.accordion-item:hover {
    border-color: #4ECDC4;
    box-shadow: 0 4px 12px rgba(78, 205, 196, 0.15);
}

.accordion-item.active {
    border-color: #4ECDC4;
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.2);
}

/* =============================================
   Accordion Header
   ============================================= */
.accordion-header {
    width: 100%;
    padding: 14px 16px;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    text-align: left;
}

.accordion-item:hover .accordion-header {
    background: linear-gradient(135deg, #e8f9f7, #f0fffe);
}

.accordion-item.active .accordion-header {
    background: linear-gradient(135deg, #4ECDC4, #44b3aa);
}

.site-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    transition: color 0.3s ease;
    flex: 1;
    padding-right: 10px;
}

.accordion-item.active .site-name {
    color: white;
}

.accordion-icon {
    font-size: 1rem;
    color: #4ECDC4;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
    color: white;
}

/* =============================================
   Accordion Body
   ============================================= */
.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    background: #fafafa;
}

.accordion-item.active .accordion-body {
    max-height: 500px;
}

.accordion-body-inner {
    padding: 16px;
}

.site-description {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #555;
    margin: 0 0 14px 0;
}

/* =============================================
   Site Info Tags
   ============================================= */
.site-info {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.info-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #666;
}

.info-tag i {
    color: #4ECDC4;
    font-size: 0.85rem;
}

/* =============================================
   Visit Button
   ============================================= */
.btn-visit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #4ECDC4, #44b3aa);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(78, 205, 196, 0.3);
}

.btn-visit:hover {
    background: linear-gradient(135deg, #44b3aa, #3a9d95);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(78, 205, 196, 0.4);
    color: white;
}

.btn-visit:active {
    transform: translateY(0);
}

.btn-visit i {
    font-size: 0.9rem;
}

/* =============================================
   YouTube Button
   ============================================= */
.btn-youtube {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #FF0000, #CC0000);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(255, 0, 0, 0.3);
    margin-left: 8px;
}

.btn-youtube:hover {
    background: linear-gradient(135deg, #CC0000, #990000);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.4);
    color: white;
}

.btn-youtube:active {
    transform: translateY(0);
}

.btn-youtube i {
    font-size: 1rem;
}

/* =============================================
   YouTube Button
   ============================================= */

/* =============================================
   Scroll Top Button (Override - Teal Theme)
   Overrides static_common.css purple theme
   ============================================= */
.scroll-top-btn {
    background: linear-gradient(135deg, #4ECDC4, #44b3aa);
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.4);
}

.scroll-top-btn:hover {
    background: linear-gradient(135deg, #44b3aa, #3a9d95);
    box-shadow: 0 6px 20px rgba(78, 205, 196, 0.6);
}

/* =============================================
   PC / Desktop (min-width: 768px)
   ============================================= */
@media (min-width: 768px) {

    /* Header */
    .websites-header {
        padding: 32px 24px;
        margin: 0 0 28px 0;
    }

    .websites-header h1 {
        font-size: 2rem;
        gap: 12px;
    }

    .websites-header h1 i {
        font-size: 1.6rem;
    }

    .websites-header .subtitle {
        font-size: 1rem;
    }

    /* Tabs */
    .websites-tabs {
        margin-bottom: 28px;
    }

    .websites-tab-btn {
        flex-direction: row;
        padding: 16px 24px;
        font-size: 1rem;
        gap: 10px;
    }

    .websites-tab-btn i {
        font-size: 1.1rem;
    }

    .websites-tab-btn span {
        font-size: 1rem;
    }

    /* Section */
    .websites-section {
        padding: 24px;
        margin-bottom: 20px;
    }

    /* Accordion */
    .accordion-container {
        gap: 16px;
    }

    .accordion-header {
        padding: 18px 24px;
    }

    .site-name {
        font-size: 1.1rem;
    }

    .accordion-icon {
        font-size: 1.2rem;
    }

    .accordion-body-inner {
        padding: 20px 24px;
    }

    .site-description {
        font-size: 0.95rem;
        margin-bottom: 16px;
    }

    /* Tags */
    .site-info {
        gap: 10px;
        margin-bottom: 16px;
    }

    .info-tag {
        padding: 6px 14px;
        font-size: 0.85rem;
        gap: 6px;
    }

    .info-tag i {
        font-size: 0.9rem;
    }

    /* Visit Button */
    .btn-visit {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    /* YouTube Button */
    .btn-youtube {
        padding: 12px 24px;
        font-size: 0.95rem;
        margin-left: 12px;
    }
}