/**
 * Main Styles - WOD v4 Theme
 */

/* Typography */
body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    background-color: #ffffff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 15px;
    color: #222;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 15px;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #4ECDC4 0%, #44A08D 100%);
    color: #ffffff;
}

.btn-primary:hover {
    border-color: rgba(255, 190, 77, 0.3);
    /* background: linear-gradient(135deg, #44A08D 0%, #4ECDC4 100%); */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 190, 77, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #4ECDC4;
    border: 2px solid #4ECDC4;
}

.btn-secondary:hover {
    border-color: rgba(255, 190, 77, 0.3);
    background: rgba(255, 190, 77, 0.1);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(255, 190, 77, 0.3);
}

.btn-large {
    padding: 16px 40px;
    font-size: 16px;
}

/* Content Area */
.content-area {
    padding: 60px 0;
}

/* Posts Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

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

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.post-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-content {
    padding: 25px;
}

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

.post-title a {
    color: #222;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: #4ECDC4;
}

.post-meta {
    font-size: 0.875rem;
    color: #888;
    margin-bottom: 15px;
}

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

.post-excerpt {
    color: #666;
    margin-bottom: 20px;
}

.read-more-btn {
    display: inline-block;
    color: #4ECDC4;
    font-weight: 500;
    transition: color 0.3s ease;
}

.read-more-btn:hover {
    color: #44A08D;
}

/* Pagination */
.pagination {
    margin-top: 50px;
    text-align: center;
}

.pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 10px 18px;
    background: #f5f5f5;
    border-radius: 8px;
    color: #333;
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination .current {
    background: #4ECDC4;
    color: #ffffff;
}

/* No Posts */
.no-posts {
    text-align: center;
    padding: 80px 20px;
}

.no-posts h2 {
    margin-bottom: 10px;
}

.no-posts p {
    color: #666;
}

/* Homepage Styles */
.homepage-content {
    overflow: hidden;
}

/* Hero Section */
.hero-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.hero-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-content {
    flex: 1;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 30px;
}

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

.hero-wheel {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wheel-container {
    max-width: 400px;
    width: 100%;
}

.wheel-placeholder {
    width: 100%;
    padding-bottom: 100%;
    position: relative;
}

.demo-wheel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: slowRotate 20s linear infinite;
}

@keyframes slowRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: #ffffff;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

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

.feature-card {
    text-align: center;
    padding: 40px 30px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #4ECDC4 0%, #44A08D 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 35px;
    height: 35px;
    fill: #ffffff;
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.feature-description {
    color: #666;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #4ECDC4 0%, #44A08D 100%);
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.cta-section .btn-primary {
    background: #ffffff;
    color: #4ECDC4;
}

.cta-section .btn-primary:hover {
    background: #f8f9fa;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Page Content Section */
.page-content-section {
    padding: 60px 0;
}

/* Footer Styles */
.site-footer {
    background: #222;
    color: #ffffff;
    padding: 60px 0 0;
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

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

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

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

.footer-menu li a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-menu li a:hover {
    color: #4ECDC4;
}

.footer-bottom {
    padding: 25px 0;
    text-align: center;
}

.copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    margin: 0;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .hero-section .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-wheel {
        margin-top: 40px;
    }

    .wheel-container {
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

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

    .section-title {
        font-size: 2rem;
    }

    .cta-title {
        font-size: 2rem;
    }

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

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

    .hero-section,
    .features-section,
    .cta-section {
        padding: 50px 0;
    }

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

    .btn-large {
        padding: 14px 32px;
    }
}

/* ==========================================================================
   DARK MODE STYLES
   ========================================================================== */

/* Smooth transition for theme changes - targeted to avoid interfering with animations */
/* body {
    transition: background-color 0.3s ease, color 0.3s ease;
} */

body h1,
body h2,
body h3,
body h4,
body h5,
body h6,
body p,
body a,
body span,
body .post-card,
body .feature-card,
body .pagination a,
body .pagination span,
body input,
body textarea,
body select,
body table,
body th,
body td,
body pre,
body code,
body blockquote,
body .hero-section,
body .features-section,
body .cta-section,
body .page-content-section {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Body & Typography */
body.dark-mode {
    background-color: #040405 !important;
    color: #e0e0e0;
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6 {
    color: #ffffff;
}

body.dark-mode p {
    color: #b0b0b0;
}

/* body.dark-mode a {
    color: #4ECDC4;
}

body.dark-mode a:hover {
    color: #6ee7df;
} */

/* Buttons */
/* body.dark-mode .btn-secondary {
    color: #4ECDC4;
    border-color: #4ECDC4;
}

body.dark-mode .btn-secondary:hover {
    background: #4ECDC4;
    color: #0a0a0b;
} */

/* Post Cards */
body.dark-mode .post-card {
    background: #1a1a1b;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

body.dark-mode .post-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

body.dark-mode .post-title a {
    color: #ffffff;
}

body.dark-mode .post-title a:hover {
    color: #4ECDC4;
}

body.dark-mode .post-meta {
    color: #888;
}

body.dark-mode .post-excerpt {
    color: #a0a0a0;
}

/* Pagination */
body.dark-mode .pagination a,
body.dark-mode .pagination span {
    background: #1a1a1b;
    color: #e0e0e0;
}

body.dark-mode .pagination a:hover,
body.dark-mode .pagination .current {
    background: #4ECDC4;
    color: #0a0a0b;
}

/* No Posts */
body.dark-mode .no-posts p {
    color: #a0a0a0;
}

/* Hero Section */
body.dark-mode .hero-section {
    background: linear-gradient(135deg, #1a1a1b 0%, #0a0a0b 100%);
}

body.dark-mode .hero-title {
    color: #ffffff;
}

body.dark-mode .hero-subtitle {
    color: #a0a0a0;
}

/* Features Section */
body.dark-mode .features-section {
    background: #0a0a0b;
}

body.dark-mode .feature-card {
    background: #1a1a1b;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

body.dark-mode .feature-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

body.dark-mode .feature-title {
    color: #ffffff;
}

body.dark-mode .feature-description {
    color: #a0a0a0;
}

/* CTA Section - Keep gradient but adjust */
body.dark-mode .cta-section {
    background: linear-gradient(135deg, #3ba89f 0%, #2d7a6d 100%);
}

/* Page Content */
body.dark-mode .page-content-section {
    background: #0a0a0b;
}

/* Forms */
body.dark-mode input,
body.dark-mode textarea,
body.dark-mode select {
    background: #141421;
    border-color: rgba(255, 255, 255, 0.05);
    color: #e0e0e0;
}

body.dark-mode input:focus,
body.dark-mode textarea:focus,
body.dark-mode select:focus {
    border-color: #4ECDC4;
    outline: none;
}

body.dark-mode input::placeholder,
body.dark-mode textarea::placeholder {
    color: #666;
}

/* Tables */
body.dark-mode table {
    border-color: #333;
}

body.dark-mode th {
    background: #1a1a1b;
    color: #ffffff;
}

body.dark-mode td {
    border-color: #333;
    color: #e0e0e0;
}

body.dark-mode tr:hover {
    background: rgba(78, 205, 196, 0.1);
}

/* Code blocks */
body.dark-mode pre,
body.dark-mode code {
    background: #1a1a1b;
    color: #4ECDC4;
}

/* Blockquotes */
body.dark-mode blockquote {
    border-left-color: #4ECDC4;
    background: #1a1a1b;
    color: #b0b0b0;
}

/* HR */
body.dark-mode hr {
    border-color: #333;
}

/* Selection */
body.dark-mode ::selection {
    background: #4ECDC4;
    color: #0a0a0b;
}

/* Scrollbar */
body.dark-mode::-webkit-scrollbar {
    width: 10px;
}

body.dark-mode::-webkit-scrollbar-track {
    background: #1a1a1b;
}

body.dark-mode::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 5px;
}

body.dark-mode::-webkit-scrollbar-thumb:hover {
    background: #4ECDC4;
}