/**
 * DA88 VIP Theme - Custom Styles
 * 
 * @package DA88_VIP
 */

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

:root {
    --primary-color: #ff6600;
    --secondary-color: #1a1a1a;
    --accent-color: #ffcc00;
    --text-color: #333333;
    --light-bg: #f5f5f5;
    --white: #ffffff;
    --dark: #000000;
    --border-color: #e0e0e0;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

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

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

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

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

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 28px;
    font-weight: bold;
    text-transform: uppercase;
    margin: 0;
}

.header-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.login-btn,
.register-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 14px;
}

.login-btn {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.login-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

.register-btn {
    background: var(--primary-color);
    color: var(--white);
}

.register-btn:hover {
    background: var(--accent-color);
    color: var(--secondary-color);
}

/* Navigation Styles */
.main-navigation {
    background: var(--dark);
    border-radius: 5px;
}

.nav-desktop {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 0;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.nav-desktop li {
    position: relative;
    margin: 0;
}

.nav-desktop a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    padding: 15px 20px;
    display: block;
    transition: all 0.3s ease;
    font-size: 15px;
}

.nav-desktop a:hover {
    background: var(--primary-color);
    color: var(--white);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 28px;
    cursor: pointer;
    padding: 10px 15px;
    transition: color 0.3s ease;
}

.menu-toggle:hover {
    color: var(--primary-color);
}

.nav-mobile {
    display: none;
    list-style: none;
    background: var(--dark);
    padding: 0;
    margin: 0;
}

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

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

.nav-mobile li:last-child {
    border-bottom: none;
}

.nav-mobile a {
    color: var(--white);
    text-decoration: none;
    padding: 15px 20px;
    display: block;
    transition: background 0.3s ease;
}

.nav-mobile a:hover {
    background: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-transform: uppercase;
    line-height: 1.2;
}

.hero p {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.8;
}

.hero-btn {
    display: inline-block;
    padding: 15px 40px;
    background: var(--accent-color);
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    text-transform: uppercase;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-size: 16px;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Content Sections */
.content-section {
    padding: 60px 0;
}

.content-section h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-transform: uppercase;
    font-weight: bold;
}

.content-section h3 {
    font-size: 24px;
    color: var(--secondary-color);
    margin: 25px 0 15px;
    font-weight: 600;
}

.content-section h4 {
    font-size: 20px;
    color: var(--secondary-color);
    margin: 20px 0 10px;
    font-weight: 600;
}

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

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

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

.content-section img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 30px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.content-section strong {
    color: var(--primary-color);
    font-weight: 600;
}

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

.feature-card {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    margin-top: 0;
}

/* Stats Section */
.stats-section {
    background: var(--secondary-color);
    color: var(--white);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item h3 {
    font-size: 48px;
    color: var(--accent-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.stat-item p {
    font-size: 18px;
    margin: 0;
}

/* Footer Styles */
.site-footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 40px 0 20px;
}

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

.footer-section h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-section p {
    line-height: 1.8;
    margin-bottom: 15px;
}

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

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

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

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

.footer-bottom p {
    margin: 5px 0;
    font-size: 14px;
}

/* Posts List */
.posts-list {
    display: grid;
    gap: 30px;
}

.post-item {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    transition: box-shadow 0.3s ease;
}

.post-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.entry-title {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.entry-title a {
    color: inherit;
}

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

.entry-meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

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

.entry-content {
    line-height: 1.8;
}

.read-more {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary-color);
    font-weight: 600;
}

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

.pagination a,
.pagination span {
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.pagination a:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.pagination .current {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* Breadcrumb */
.breadcrumb {
    padding: 15px 0;
    font-size: 14px;
    color: #666;
}

.breadcrumb-item {
    color: var(--text-color);
}

.breadcrumb-item a {
    color: var(--primary-color);
}

.separator {
    margin: 0 10px;
    color: #999;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.highlight {
    color: var(--primary-color);
    font-weight: bold;
}

/* Related Posts */
.related-posts {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
}

.related-posts h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

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

.related-post-item {
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    transition: box-shadow 0.3s ease;
}

.related-post-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.related-post-item h4 {
    margin: 0 0 10px;
    font-size: 18px;
}

.related-post-item h4 a {
    color: var(--secondary-color);
}

.related-post-item .date {
    font-size: 14px;
    color: #666;
}

/* Responsive Design - Mobile First */
@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }

    .menu-toggle {
        display: block;
        width: 100%;
        text-align: right;
    }

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

    .hero h1 {
        font-size: 28px;
        padding: 0 10px;
    }

    .hero p {
        font-size: 16px;
        padding: 0 15px;
    }

    .content-section h2 {
        font-size: 24px;
    }

    .content-section h3 {
        font-size: 20px;
    }

    .header-buttons {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .login-btn,
    .register-btn {
        width: 100%;
        text-align: center;
    }

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

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .hero {
        padding: 40px 0;
    }

    .content-section {
        padding: 30px 0;
    }

    .entry-title {
        font-size: 22px;
    }

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

@media (max-width: 480px) {
    .hero h1 {
        font-size: 24px;
    }

    .hero p {
        font-size: 14px;
    }

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

    .feature-card {
        padding: 20px;
    }
}

/* Print Styles */
@media print {
    .site-header,
    .site-footer,
    .nav-desktop,
    .nav-mobile,
    .menu-toggle,
    .header-buttons {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    .content-section {
        padding: 0;
    }
}
