/* Blog Page Styles */

/* Header Styles - Same as Homepage */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    padding: 1rem 2rem;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: #2563eb;
    margin: 0;
    text-decoration: none;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

nav ul li a {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    position: relative;
}

nav ul li a:hover {
    color: #2563eb;
    background: #f3f4f6;
}

nav ul li a.active {
    color: #2563eb;
    background: #eff6ff;
    font-weight: 600;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-actions a {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s;
}

.header-actions a:hover {
    background: #f3f4f6;
    color: #2563eb;
}

.login, .register {
    text-decoration: none;
    font-weight: 500;
}

.login {
    color: #4b5563;
}

.register {
    color: #667eea;
}

.login:hover, .register:hover {
    background: #f3f4f6;
}

.cart {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #f3f4f6;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.cart:hover {
    background: #e5e7eb;
}

.cart-count {
    background: #ef4444;
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dark Mode Toggle */
.dark-mode-toggle {
    position: relative;
    background: var(--card-bg, white);
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 25px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer !important;
    transition: all 0.1s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    user-select: none;
    pointer-events: auto !important;
    white-space: nowrap;
    min-width: 80px;
}

.dark-mode-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.toggle-switch {
    position: relative;
    width: 50px;
    height: 25px;
    background: #e5e7eb;
    border-radius: 25px;
    transition: background 0.3s ease;
    cursor: pointer !important;
    pointer-events: auto !important;
}

.toggle-switch.active {
    background: #3b82f6 !important;
}

.toggle-slider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 21px;
    height: 21px;
    background: white;
    border-radius: 50%;
    transition: transform 0.1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.toggle-switch.active .toggle-slider {
    transform: translateX(25px);
}

.toggle-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary, #374151);
    user-select: none;
    min-width: 35px;
    text-align: left;
}

/* Blog Content Styles */
.blog-content {
    padding: 100px 0; /* Increased padding for more vertical space */
    background: var(--bg-primary); /* Use primary background variable */
    min-height: 70vh; /* Ensure it takes up more vertical space */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Modern Coming Soon Section */
.modern-coming-soon-center {
    text-align: center;
    width: 100%; /* Ensure it takes full width */
    margin: 0 auto;
    padding: 80px 40px; /* Increased padding for more internal space */
    background: var(--card-bg); /* Use card background variable */
    border-radius: 0; /* Remove border-radius for full width */
    box-shadow: none; /* Remove shadow for full width */
    border: none; /* Remove border for full width */
}

.coming-soon-icon {
    margin-bottom: 2rem;
}

.icon-circle {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    animation: pulse 2s infinite;
}

.main-emoji {
    font-size: 3rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    }
}

.coming-soon-content h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color, #1f2937);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.coming-soon-content p {
    font-size: 1.2rem;
    color: var(--text-secondary, #6b7280);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.coming-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.feature-tag {
    background: var(--card-bg, white);
    color: var(--text-color, #1f2937);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 2px solid var(--border-color, #e5e7eb);
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.feature-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
    border-color: #667eea;
}

.countdown-wrapper {
    background: var(--card-bg, white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color, #e5e7eb);
    max-width: 400px;
    margin: 0 auto;
}

.countdown-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color, #1f2937);
    margin-bottom: 1rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--border-color, #e5e7eb);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
    animation: progress 3s ease-in-out infinite;
    width: 75%;
}

@keyframes progress {
    0% {
        width: 60%;
    }
    50% {
        width: 85%;
    }
    100% {
        width: 60%;
    }
}

/* Footer Layout Styles */
footer {
    background: #1a202c;
    color: #e5e7eb;
    padding: 4rem 0 2rem;
    margin-top: auto;
}

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

.footer-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: #9ca3af;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-contact {
    margin-top: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #9ca3af;
}

.contact-icon {
    font-size: 1.1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #667eea;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
}

/* Dark Mode Styles */
[data-theme="dark"] .blog-content {
    background: var(--bg-primary, #1a1a2e);
}

[data-theme="dark"] .coming-soon-content h3 {
    color: var(--text-primary, #e2e8f0);
}

[data-theme="dark"] .coming-soon-content p {
    color: var(--text-secondary, #cbd5e1);
}

[data-theme="dark"] .feature-tag {
    background: var(--card-bg, #1a1a2e);
    color: var(--text-primary, #e2e8f0);
    border-color: var(--border-color, #334155);
}

[data-theme="dark"] .feature-tag:hover {
    border-color: #60a5fa;
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.2);
}

[data-theme="dark"] .countdown-wrapper {
    background: var(--card-bg, #1a1a2e);
    border-color: var(--border-color, #334155);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .countdown-text {
    color: var(--text-primary, #e2e8f0);
}

[data-theme="dark"] .progress-bar {
    background: var(--border-color, #334155);
}

[data-theme="dark"] .progress-fill {
    background: linear-gradient(90deg, #60a5fa 0%, #a78bfa 100%);
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        padding: 1rem;
        height: auto;
        flex-wrap: wrap;
    }
    
    .header-left {
        gap: 1.5rem;
    }
    
    nav ul {
        gap: 1rem;
    }
    
    .blog-content {
        padding: 60px 0;
        min-height: 50vh;
    }
    
    .modern-coming-soon-center {
        padding: 40px 20px;
        border-radius: 0;
    }
    
    .icon-circle {
        width: 100px;
        height: 100px;
    }
    
    .main-emoji {
        font-size: 2.5rem;
    }
    
    .coming-soon-content h3 {
        font-size: 2rem;
    }
    
    .coming-soon-content p {
        font-size: 1rem;
    }
    
    .coming-features {
        gap: 0.8rem;
    }
    
    .feature-tag {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .countdown-wrapper {
        padding: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .dark-mode-toggle {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .toggle-switch {
        width: 40px;
        height: 20px;
    }
    
    .toggle-slider {
        width: 16px;
        height: 16px;
        font-size: 10px;
    }
    
    .toggle-switch.active .toggle-slider {
        transform: translateX(20px);
    }
}

@media (max-width: 480px) {
    .coming-soon-content h3 {
        font-size: 1.8rem;
    }
    
    .icon-circle {
        width: 80px;
        height: 80px;
    }
    
    .main-emoji {
        font-size: 2rem;
    }
    
    .coming-features {
        flex-direction: column;
        align-items: center;
    }
    
    .countdown-wrapper {
        padding: 1rem;
    }
    
    footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        gap: 1rem;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    nav ul {
        gap: 0.5rem;
    }
    
    nav ul li a {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
}
