/*
Theme Name: GadgetZen
Theme URI: https://gadgetzen.com
Author: Aman Kushwaha 1100
Author URI: https://yourwebsite.com
Description: A fast and responsive blog theme for modern websites. Perfect for gadget reviews, tech blogs, mobile reviews, TV reviews, and bike reviews.
Tags: blog, news, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, custom-header, custom-background
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gadgetzen
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #05080f;
    color: #eef2ff;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

:root {
    --primary-gradient: linear-gradient(135deg, #00c6fb 0%, #005bea 100%);
    --card-bg: rgba(18, 22, 28, 0.85);
    --glass-border: rgba(255, 255, 255, 0.08);
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0a0f17; }
::-webkit-scrollbar-thumb { background: #2c3e66; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #00a6e0; }

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* WordPress Required Classes */
.wp-caption {
    max-width: 100%;
    margin-bottom: 20px;
}
.wp-caption-text {
    font-size: 0.8rem;
    color: #8da0c0;
    text-align: center;
}
.sticky {
    border-left: 4px solid #00c6fb;
    padding-left: 15px;
}
.gallery-caption {
    font-size: 0.75rem;
    color: #8da0c0;
}
.bypostauthor {
    background: #0a1018;
    padding: 15px;
    border-radius: 16px;
}
.alignright {
    float: right;
    margin-left: 20px;
    margin-bottom: 10px;
}
.alignleft {
    float: left;
    margin-right: 20px;
    margin-bottom: 10px;
}
.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal;
}

/* ========== PREMIUM STICKY HEADER ========== */
.premium-header {
    background: rgba(5, 8, 15, 0.95);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 198, 251, 0.2);
    padding: 8px 0;
    transition: all 0.3s ease;
}

.premium-header.scrolled {
    padding: 4px 0;
    background: rgba(3, 6, 12, 0.98);
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
}

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

.logo-area .custom-logo {
    max-height: 50px;
    width: auto;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(130deg, #FFFFFF, #80d8ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-decoration: none;
}

.logo span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    color: #cdd9ff;
    text-decoration: none;
    transition: 0.3s;
    font-weight: 500;
}

.nav-links a:hover {
    color: #00c6fb;
}

.cta-btn {
    background: var(--primary-gradient);
    padding: 10px 24px;
    border-radius: 40px;
    font-weight: 600;
    color: white !important;
}

.mobile-menu-icon {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #00c6fb;
}

/* Hero Slider */
.hero-slider-section {
    margin: 50px 0 60px;
    border-radius: 48px;
    overflow: hidden;
    box-shadow: 0 25px 40px -14px rgba(0,0,0,0.6);
}

.hero-slide {
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: 48px;
    display: flex;
    align-items: flex-end;
}

.hero-overlay {
    background: linear-gradient(0deg, #03060cee 0%, #03060c99 50%, transparent 100%);
    width: 100%;
    padding: 50px 60px;
    border-radius: 48px;
}

.hero-tag {
    background: rgba(0,198,251,0.2);
    backdrop-filter: blur(6px);
    display: inline-block;
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 0.8rem;
    margin-bottom: 16px;
    border: 1px solid #00c6fb60;
}

.hero-overlay h2 {
    font-size: 2.6rem;
    font-weight: 800;
    max-width: 600px;
    margin-bottom: 12px;
}

.hero-overlay p {
    max-width: 550px;
    color: #ccdeff;
    margin-bottom: 24px;
}

.hero-btn {
    background: white;
    color: #001e3c;
    padding: 12px 30px;
    border-radius: 40px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: 0.2s;
}

.hero-btn:hover {
    background: #00c6fb;
    color: white;
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 80px 0 20px;
}

.section-sub {
    text-align: center;
    color: #8ca3cf;
    margin-bottom: 60px;
    font-size: 1.1rem;
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.cat-card {
    background: var(--card-bg);
    backdrop-filter: blur(4px);
    border-radius: 36px;
    padding: 32px 28px;
    transition: 0.35s ease;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 15px 30px -12px rgba(0,0,0,0.3);
}

.cat-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0,198,251,0.4);
}

.cat-icon {
    font-size: 2.6rem;
    background: #111a24;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 28px;
    margin-bottom: 28px;
    color: #00c6fb;
}

.cat-card h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.cat-card p {
    color: #b0c4f0;
    margin-bottom: 24px;
}

.review-link {
    color: #00c6fb;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.review-link i {
    transition: transform 0.2s;
}

.review-link:hover i {
    transform: translateX(5px);
}

/* Recent Slider */
.recent-slider-section {
    margin: 80px 0 50px;
}

.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.section-header-flex h2 {
    font-size: 2rem;
    font-weight: 700;
}

.recent-card {
    background: #0f151f;
    border-radius: 32px;
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid #1e2a3a;
    box-shadow: 0 12px 24px -12px rgba(0,0,0,0.4);
}

.recent-card:hover {
    transform: translateY(-8px);
    border-color: #00c6fb80;
}

.card-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.card-cat {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #00c6fbdd;
    backdrop-filter: blur(4px);
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #011;
}

.card-content {
    padding: 22px;
}

.card-content h4 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.card-content h4 a {
    color: white;
    text-decoration: none;
}

.card-meta {
    display: flex;
    gap: 16px;
    color: #8da0c0;
    font-size: 0.8rem;
    margin: 12px 0;
}

/* Info Highlight */
.info-highlight {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    background: rgba(5, 12, 22, 0.7);
    border-radius: 60px;
    padding: 60px 40px;
    margin: 70px 0;
    border: 1px solid rgba(0,198,251,0.2);
}

.info-card {
    text-align: center;
}

.info-card i {
    font-size: 3rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 20px;
}

.info-card h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

/* Comparison Table */
.comparison-table {
    background: #0c111b;
    border-radius: 48px;
    padding: 40px;
    margin: 60px 0;
    border: 1px solid #1e2a3a;
    overflow-x: auto;
}

.comparison-table h3 {
    font-size: 1.8rem;
    margin-bottom: 24px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

td, th {
    padding: 16px 12px;
    border-bottom: 1px solid #1f2a36;
    text-align: left;
}

th {
    color: #00c6fb;
    font-weight: 600;
}

/* Trust Badges */
.trust-badge {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 40px 0;
}

.badge-item {
    background: #0f1722;
    padding: 12px 28px;
    border-radius: 100px;
    font-weight: 500;
}

/* Newsletter */
.newsletter-box {
    background: linear-gradient(112deg, #001c2f, #03060c);
    border-radius: 56px;
    padding: 50px 30px;
    margin: 40px 0;
    text-align: center;
    border: 1px solid #00c6fb30;
}

.newsletter-box h2 {
    font-size: 2rem;
}

.newsletter-box input {
    padding: 14px 24px;
    border-radius: 60px;
    border: none;
    background: #141e2c;
    color: white;
    width: 280px;
    outline: none;
}

/* Single Post Page */
.single-post-wrapper {
    max-width: 1000px;
    margin: 60px auto;
    background: #0f151f;
    border-radius: 48px;
    overflow: hidden;
    border: 1px solid #1e2a3a;
    box-shadow: 0 20px 40px -15px rgba(0,0,0,0.5);
}

.single-post-header {
    position: relative;
    padding: 40px 40px 0 40px;
}

.single-post-header .post-category {
    display: inline-block;
    background: #00c6fb20;
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 0.8rem;
    margin-bottom: 20px;
    border: 1px solid #00c6fb40;
}

.single-post-header h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.single-post-meta {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    color: #8da0c0;
    padding-bottom: 20px;
    border-bottom: 1px solid #1e2a3a;
}

.single-post-thumbnail {
    margin: 30px 0 0 0;
}

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

.single-post-content {
    padding: 40px;
    line-height: 1.8;
    font-size: 1.1rem;
    color: #e0e8ff;
}

.single-post-content h2, 
.single-post-content h3 {
    margin: 30px 0 15px;
    color: #00c6fb;
}

.single-post-content img {
    max-width: 100%;
    border-radius: 24px;
    margin: 20px 0;
}

.single-post-footer {
    padding: 30px 40px;
    border-top: 1px solid #1e2a3a;
    background: #0a1018;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

/* Footer */
.premium-footer {
    margin-top: 80px;
    padding: 50px 0 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    text-align: center;
}

.social-icons a {
    color: #8ba1cc;
    margin: 0 15px;
    font-size: 1.5rem;
    transition: 0.2s;
    display: inline-block;
}

.social-icons a:hover {
    color: #00c6fb;
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 850px) {
    .container {
        padding: 0 24px;
    }
    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 20px;
        padding: 20px 0;
    }
    .nav-links.show {
        display: flex;
    }
    .mobile-menu-icon {
        display: block;
    }
    .hero-overlay {
        padding: 30px 30px;
    }
    .hero-overlay h2 {
        font-size: 1.8rem;
    }
    .single-post-header h1 {
        font-size: 1.8rem;
    }
    .single-post-content {
        padding: 24px;
    }
}

/* ===========================================
   COPYRIGHT NOTICE - Required for GPL License
   =========================================== */
/*
   Copyright (c) 2025 Aman Kushwaha
   This program is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation, either version 2 of the License, or
   (at your option) any later version.
   
   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
   GNU General Public License for more details.
   
   You should have received a copy of the GNU General Public License
   along with this program. If not, see <http://www.gnu.org/licenses/>.
*/