/* Dabet Theme - Main Stylesheet */

/* ===================================
   1. Header Styles
   =================================== */
.site-header {
    background-color: #1a1a2e;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.nav-desktop {
    flex: 1;
}

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

.primary-menu li {
    position: relative;
}

.primary-menu a {
    display: block;
    padding: 12px 20px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.primary-menu a:hover {
    background-color: #e94560;
    color: #ffffff;
}

.header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

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

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

.btn-login:hover {
    background-color: #ffffff;
    color: #1a1a2e;
}

.btn-register {
    background-color: #e94560;
    color: #ffffff;
}

.btn-register:hover {
    background-color: #c73e54;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    padding: 10px;
}

.nav-mobile {
    display: none;
    margin-top: 15px;
}

.mobile-menu {
    list-style: none;
    padding: 0;
}

.mobile-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu a {
    display: block;
    padding: 15px;
    color: #ffffff;
    text-decoration: none;
}

.mobile-menu a:hover {
    background-color: rgba(233, 69, 96, 0.2);
}

/* ===================================
   2. Hero Section
   =================================== */
.hero-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 80px 0;
    text-align: center;
    color: #ffffff;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    opacity: 0.9;
}

/* ===================================
   3. Content Sections
   =================================== */
.site-main {
    padding: 40px 0;
}

.section-title,
.template-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.section-title::after,
.template-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #e94560;
    margin: 15px auto 0;
}

.template-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.section-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

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

/* ===================================
   4. Features Grid
   =================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

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

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

.feature-title {
    font-size: 1.3rem;
    color: #e94560;
    margin-bottom: 15px;
}

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

/* ===================================
   5. Games Grid
   =================================== */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.game-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #e94560;
    transition: all 0.3s ease;
}

.game-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.game-title {
    font-size: 1.4rem;
    color: #1a1a2e;
    margin-bottom: 15px;
}

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

/* ===================================
   6. FAQ Section
   =================================== */
.faq-section {
    background-color: #f8f9fa;
    padding: 60px 0;
}

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

.faq-item {
    background: #ffffff;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.faq-question {
    padding: 25px;
    font-size: 1.2rem;
    color: #1a1a2e;
    cursor: pointer;
    margin: 0;
    font-weight: 600;
}

.faq-answer {
    padding: 0 25px 25px;
    color: #666;
    line-height: 1.8;
}

.faq-answer p {
    margin: 0;
}

/* ===================================
   7. Brand Section
   =================================== */
.brand-section {
    padding: 60px 0;
}

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

.brand-item {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.brand-title {
    font-size: 1.3rem;
    color: #e94560;
    margin-bottom: 15px;
}

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

/* ===================================
   8. Footer Styles
   =================================== */
.site-footer {
    background-color: #1a1a2e;
    color: #ffffff;
    padding: 60px 0 20px;
}

.footer-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #e94560;
}

.footer-description,
.footer-seo {
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 15px;
}

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

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

.footer-menu a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-contact-list {
    list-style: none;
    padding: 0;
}

.footer-contact-list li {
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
}

.contact-label {
    font-weight: 600;
    color: #e94560;
}

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

.copyright,
.footer-disclaimer {
    margin: 10px 0;
    opacity: 0.8;
    font-size: 0.9rem;
}

/* ===================================
   9. Article Styles
   =================================== */
.article-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #e94560;
}

.article-title {
    font-size: 2.5rem;
    color: #1a1a2e;
    margin-bottom: 15px;
    line-height: 1.2;
}

.article-meta {
    display: flex;
    gap: 20px;
    color: #666;
    font-size: 0.95rem;
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.article-content h2 {
    font-size: 1.8rem;
    color: #1a1a2e;
    margin: 40px 0 20px;
}

.article-content h3 {
    font-size: 1.4rem;
    color: #e94560;
    margin: 30px 0 15px;
}

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

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

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

.article-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.tags-label {
    font-weight: 600;
    color: #1a1a2e;
}

.tag-link {
    background-color: #f0f0f0;
    padding: 5px 15px;
    border-radius: 20px;
    color: #666;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.tag-link:hover {
    background-color: #e94560;
    color: #ffffff;
}

.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.nav-previous,
.nav-next {
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.nav-label {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
}

.nav-previous a,
.nav-next a {
    color: #1a1a2e;
    text-decoration: none;
    font-weight: 600;
}

/* ===================================
   10. Archive & Index Styles
   =================================== */
.archive-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #e94560;
}

.archive-title {
    font-size: 2.2rem;
    color: #1a1a2e;
    margin-bottom: 15px;
}

.archive-description {
    color: #666;
    font-size: 1.1rem;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.post-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.post-card-content {
    padding: 25px;
}

.post-card-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.post-card-title a {
    color: #1a1a2e;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-card-title a:hover {
    color: #e94560;
}

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

.post-card-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.read-more {
    display: inline-block;
    color: #e94560;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: #c73e54;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 40px 0;
}

.pagination a,
.pagination span {
    padding: 10px 20px;
    background-color: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background-color: #e94560;
    border-color: #e94560;
    color: #ffffff;
}

.pagination .current {
    background-color: #e94560;
    border-color: #e94560;
    color: #ffffff;
}

/* ===================================
   11. Template Styles
   =================================== */
.template-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 60px 0;
    text-align: center;
    color: #ffffff;
}

.template-content {
    padding: 60px 0;
}

.content-section {
    max-width: 900px;
    margin: 0 auto;
}

.content-section h2 {
    font-size: 1.8rem;
    color: #1a1a2e;
    margin: 40px 0 20px;
}

.content-section h3 {
    font-size: 1.4rem;
    color: #e94560;
    margin: 30px 0 15px;
}

.content-section p {
    margin-bottom: 20px;
    line-height: 1.8;
}

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

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

.content-section strong {
    color: #1a1a2e;
}

/* ===================================
   11.5 Image Styles
   =================================== */
.about-image,
.games-image,
.faq-image,
.page-image,
.single-image,
.archive-image,
.template-image {
    margin: 30px 0;
    text-align: center;
}

.about-image img,
.games-image img,
.faq-image img,
.page-image img,
.single-image img,
.archive-image img,
.template-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.about-image img:hover,
.games-image img:hover,
.faq-image img:hover,
.page-image img:hover,
.single-image img:hover,
.archive-image img:hover,
.template-image img:hover {
    transform: scale(1.02);
}

.game-card img {
    max-width: 100%;
    height: auto;
    margin-top: 15px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.brand-item img {
    max-width: 100%;
    height: auto;
    margin-top: 15px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* ===================================
   12. Responsive Design
   =================================== */
@media (max-width: 768px) {
    .header-wrapper {
        flex-direction: column;
        gap: 15px;
    }

    .nav-desktop {
        display: none;
    }

    .menu-toggle {
        display: block;
        width: 100%;
        text-align: center;
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 5px;
    }

    .nav-mobile.active {
        display: block;
    }

    .header-actions {
        width: 100%;
        justify-content: center;
    }

    .btn {
        flex: 1;
        text-align: center;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title,
    .template-title {
        font-size: 1.6rem;
    }

    .features-grid,
    .games-grid,
    .brand-content {
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-template-columns: 1fr;
    }

    .posts-grid {
        grid-template-columns: 1fr;
    }

    .article-title {
        font-size: 1.8rem;
    }

    .post-navigation {
        grid-template-columns: 1fr;
    }

    .article-meta {
        flex-direction: column;
        gap: 5px;
    }

    .pagination {
        flex-wrap: wrap;
    }
}

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

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

    .section-content,
    .content-section {
        font-size: 1rem;
    }

    .feature-card,
    .game-card,
    .brand-item {
        padding: 20px;
    }
}
