/*
Theme Name: Linggis
Description: Linggis adalah wordpress theme terbaik dan ringan dengan seo tinggi
Author: Bantolo
Theme URI: https://bantolo.com/
Author URI: https://bantolo.com/
Version: 1.0
Requires PHP: 7.0
License: Premium
Text Domain: Linggis
*/

/* ==========================================
   RESET & BASE
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: #1f2937;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* ==========================================
   SKIP LINK
   ========================================== */
.skip-link {
    position: absolute;
    top: -9999px;
    left: 50%;
    transform: translateX(-50%);
    background: #1a1a2e;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 0 0 8px 8px;
    font-weight: 600;
    z-index: 9999;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
    background: #c0392b;
    color: #fff;
    outline: 3px solid #f1c40f;
}

/* ==========================================
   HERO HOMEPAGE
   ========================================== */
.hero-homepage {
    padding: 60px 0 50px;
    background: linear-gradient(165deg, #fcf9f7 0%, #f5f0eb 100%);
    border-bottom: 6px solid #c0392b;
    position: relative;
    overflow: hidden;
}

.hero-homepage::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(192,57,43,0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-homepage .container {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1 1 50%;
    min-width: 300px;
}

.hero-content .hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    color: #1a1a2e;
    margin: 0 0 16px;
    letter-spacing: -0.5px;
}

.hero-content .hero-title span {
    color: #c0392b;
}

.hero-content .hero-subtitle {
    font-size: 1.15rem;
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 28px;
    max-width: 520px;
}

.hero-image {
    flex: 1 1 40%;
    min-width: 280px;
    text-align: center;
}

.hero-image .hero-img {
    width: 100%;
    max-width: 560px;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.hero-image .hero-img:hover {
    transform: scale(1.01);
    box-shadow: 0 30px 80px rgba(192,57,43,0.15);
}

.hero-placeholder {
    width: 100%;
    max-width: 560px;
    aspect-ratio: 4/3;
    background: #f0ece8;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
    margin: 0 auto;
}

.hero-placeholder span {
    font-size: 4rem;
}

.hero-placeholder p {
    font-size: 1.1rem;
    margin-top: 10px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.btn-primary {
    display: inline-block;
    padding: 14px 40px;
    background: #c0392b;
    color: #ffffff;
    font-weight: 600;
    border-radius: 50px;
    border: 2px solid #c0392b;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(192,57,43,0.3);
}

.btn-primary:hover {
    background: #a93226;
    border-color: #a93226;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(192,57,43,0.4);
}

.btn-secondary {
    display: inline-block;
    padding: 14px 40px;
    background: transparent;
    color: #c0392b;
    font-weight: 600;
    border-radius: 50px;
    border: 2px solid #c0392b;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #c0392b;
    color: #ffffff;
    transform: translateY(-3px);
}

/* ==========================================
   SECTION TITLE (UNIVERSAL)
   ========================================== */
.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    color: #1a1a2e;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #c0392b;
    margin: 12px auto 0;
    border-radius: 4px;
}

.section-sub,
.section-subtitle {
    text-align: center;
    color: #6b7280;
    max-width: 680px;
    margin: 0 auto 44px;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ==========================================
   CATEGORIES (card-group)
   ========================================== */
.categories {
    padding: 60px 0;
    background: #ffffff;
}

.card-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px 24px 28px;
    text-align: center;
    border: 1px solid #f0ece8;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

.card:hover {
    transform: translateY(-10px);
    border-color: #c0392b;
    box-shadow: 0 20px 60px rgba(192,57,43,0.10);
}

.card img {
    width: 100%;
    max-width: 200px;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 50%;
    margin: 16px auto;
    background: #f8f5f2;
    transition: transform 0.6s ease;
}

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

.card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 10px;
}

.card p {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.6;
    margin: 0 0 16px;
}

.card a {
    display: inline-block;
    font-weight: 600;
    color: #c0392b;
    transition: all 0.3s ease;
}

.card a:hover {
    text-decoration: underline;
}

/* ==========================================
   AGE RANGE
   ========================================== */
.age-range {
    padding: 60px 0;
    background: #faf8f6;
}

.age-range .section-sub {
    margin-bottom: 12px;
}

.badge-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 20px;
}

.badge {
    display: inline-block;
    padding: 10px 28px;
    background: #ffffff;
    color: #4b5563;
    border-radius: 40px;
    font-size: 0.95rem;
    font-weight: 500;
    border: 1px solid #e5e0db;
    transition: all 0.3s ease;
}

.badge.highlight {
    background: #c0392b;
    color: #ffffff;
    border-color: #c0392b;
    box-shadow: 0 6px 20px rgba(192,57,43,0.25);
}

.badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.age-range p {
    text-align: center;
    color: #4b5563;
    font-size: 1.05rem;
    max-width: 700px;
    margin: 36px auto 0;
    line-height: 1.7;
}

/* ==========================================
   FEATURE GRID (Keunggulan)
   ========================================== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 10px 0 20px;
}

.feature-item {
    text-align: center;
    padding: 36px 24px 30px;
    background: #faf8f6;
    border-radius: 16px;
    transition: all 0.4s ease;
    border: 1px solid #f0ece8;
}

.feature-item:hover {
    transform: translateY(-6px);
    border-color: #c0392b;
    box-shadow: 0 16px 48px rgba(0,0,0,0.06);
}

.feature-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a2e;
    margin: 16px 0 8px;
}

.feature-item p {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================
   CTA SECTION
   ========================================== */
.cta-section {
    padding: 70px 0;
    background: linear-gradient(165deg, #1a1a2e 0%, #2d1b2e 100%);
    color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '🎵';
    position: absolute;
    top: -20%;
    left: -10%;
    font-size: 18rem;
    opacity: 0.04;
    transform: rotate(-10deg);
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.3px;
}

.cta-section p {
    font-size: 1.1rem;
    opacity: 0.85;
    max-width: 600px;
    margin: 0 auto 28px;
    line-height: 1.8;
}

.cta-btn {
    display: inline-block;
    padding: 16px 56px;
    background: #25d366;
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.30);
}

.cta-btn:hover {
    background: #1ebe5d;
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.45);
}

/* ==========================================
   FOOTER
   ========================================== */
footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid #1e293b;
}

footer .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 18px;
    margin-bottom: 16px;
}

footer .footer-links a {
    color: #94a3b8;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

footer .footer-links a:hover {
    color: #f1c40f;
}

footer .footer-links span {
    color: #334155;
    user-select: none;
}

footer p {
    font-size: 0.85rem;
    opacity: 0.6;
    margin: 0;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
    .card-group {
        grid-template-columns: repeat(2, 1fr);
    }
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-homepage {
        padding: 40px 0 30px;
    }
    .hero-homepage .container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    .hero-content {
        flex: 1 1 100%;
        text-align: center;
    }
    .hero-content .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-content .hero-title {
        font-size: 2.2rem;
    }
    .hero-image {
        flex: 1 1 100%;
    }
    .hero-image .hero-img {
        max-width: 100%;
    }

    .section-title {
        font-size: 1.8rem;
    }
    .section-title::after {
        width: 40px;
    }

    .card-group {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .card img {
        max-width: 150px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .badge-container {
        gap: 10px;
    }
    .badge {
        font-size: 0.85rem;
        padding: 8px 18px;
    }

    .cta-section {
        padding: 50px 0;
    }
    .cta-section h2 {
        font-size: 1.8rem;
    }
    .cta-btn {
        padding: 14px 36px;
        font-size: 1rem;
    }

    footer .footer-links {
        gap: 6px 12px;
    }
    footer .footer-links a {
        font-size: 0.85rem;
    }
    footer p {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .hero-content .hero-title {
        font-size: 1.8rem;
    }
    .hero-content .hero-subtitle {
        font-size: 1rem;
    }
    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
    }
    .section-title {
        font-size: 1.5rem;
    }
    .section-sub,
    .section-subtitle {
        font-size: 0.95rem;
    }
    .card img {
        max-width: 120px;
    }
    .cta-section h2 {
        font-size: 1.5rem;
    }
    .cta-section p {
        font-size: 0.95rem;
    }
    .cta-btn {
        width: 100%;
        padding: 14px 20px;
    }
    .badge {
        font-size: 0.75rem;
        padding: 6px 14px;
    }
}
/* ==========================================
   TAB / ACCORDION STYLE - age-range section
   ========================================== */

.tab-container {
    margin-top: 30px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.06);
    overflow: hidden;
    border: 1px solid #f0ece8;
}

/* Tab Navigation */
.tab-nav {
    display: flex;
    flex-wrap: wrap;
    background: #faf8f6;
    border-bottom: 2px solid #f0ece8;
    gap: 4px;
    padding: 8px 12px;
}

.tab-btn {
    flex: 1 1 auto;
    min-width: 100px;
    padding: 14px 24px;
    background: transparent;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    position: relative;
}

.tab-btn:hover {
    background: rgba(192, 57, 43, 0.06);
    color: #1f2937;
}

.tab-btn.active {
    background: #c0392b;
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(192, 57, 43, 0.25);
}

.tab-btn.active:hover {
    background: #a93226;
    color: #ffffff;
}

.tab-btn:focus-visible {
    outline: 3px solid #c0392b;
    outline-offset: 2px;
}

/* Tab Panels */
.tab-panel {
    display: none;
    padding: 40px 36px;
    animation: fadeSlide 0.4s ease forwards;
}

.tab-panel.active {
    display: block;
}

@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Panel Content Layout */
.panel-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    flex-wrap: wrap;
}

/* Panel Image */
.panel-image {
    flex: 0 0 200px;
    text-align: center;
}

.panel-image img {
    width: 100%;
    max-width: 250px;
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #f0ece8;
    background: #faf8f6;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.panel-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 36px rgba(0,0,0,0.15);
}

/* Fallback image style */
.panel-image img[src*="topi-pasukan"],
.panel-image img[src*="topi-mayoret"],
.panel-image img[src*="topi-colorguard"] {
    opacity: 0.85;
    border-color: #e5e0db;
}

/* Panel Text */
.panel-text {
    flex: 1 1 300px;
}

.panel-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 16px 0;
}

.panel-text ul {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.panel-text ul li {
    padding: 8px 0 8px 28px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="%23c0392b" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>') left center no-repeat;
    background-size: 18px;
    color: #4b5563;
    line-height: 1.6;
    border-bottom: 1px solid #f5f0eb;
}

.panel-text ul li:last-child {
    border-bottom: none;
}

.panel-text ul li strong {
    color: #1f2937;
    min-width: 140px;
    display: inline-block;
}

/* Panel CTA Buttons */
.panel-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 8px;
}

.panel-cta .btn-primary {
    display: inline-block;
    padding: 12px 32px;
    background: #c0392b;
    color: #fff;
    font-weight: 600;
    border-radius: 50px;
    border: 2px solid #c0392b;
    box-shadow: 0 6px 20px rgba(192,57,43,0.3);
    transition: all 0.3s ease;
    font-size: 0.95rem;
    text-decoration: none;
}

.panel-cta .btn-primary:hover {
    background: #a93226;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(192,57,43,0.4);
    color: #fff;
}

.panel-cta .btn-secondary {
    display: inline-block;
    padding: 12px 32px;
    background: transparent;
    color: #c0392b;
    font-weight: 600;
    border-radius: 50px;
    border: 2px solid #c0392b;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    text-decoration: none;
}

.panel-cta .btn-secondary:hover {
    background: #c0392b;
    color: #fff;
    transform: translateY(-3px);
}

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 768px) {
    .tab-nav {
        flex-direction: column;
        padding: 6px;
        gap: 4px;
    }

    .tab-btn {
        min-width: auto;
        width: 100%;
        text-align: center;
        padding: 12px 16px;
        font-size: 0.9rem;
    }

    .tab-panel {
        padding: 24px 18px;
    }

    .panel-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .panel-image {
        flex: 0 0 160px;
    }

    .panel-image img {
        max-width: 180px;
    }

    .panel-text ul li {
        padding: 8px 0 8px 0;
        background: none;
        text-align: center;
    }

    .panel-text ul li strong {
        display: block;
        min-width: auto;
        margin-bottom: 2px;
    }

    .panel-cta {
        justify-content: center;
    }

    .panel-cta .btn-primary,
    .panel-cta .btn-secondary {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .tab-panel {
        padding: 18px 12px;
    }

    .panel-text h3 {
        font-size: 1.2rem;
    }

    .panel-image {
        flex: 0 0 120px;
    }

    .panel-image img {
        max-width: 140px;
    }
}