/* 4thewin - Tool Reviews Site Styles */

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

:root {
    --primary: #e67e22;
    --secondary: #252d3d;
    --background: #1e2530;
    --surface: #252d3d;
    --text: #d4dae3;
    --text-muted: #8a95a8;
    --text-dim: #5a6577;
    --border: #3a4556;
    --hover: #2a3342;
}

body {
    font-family: 'Karla', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
}

/* Header & Navigation */
header {
    background: var(--secondary);
    border-bottom: 2px solid var(--primary);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-wrap {
    max-width: 1600px;
    margin: 0 auto;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Archivo', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: -1px;
    text-decoration: none;
}

nav {
    display: flex;
    gap: 0.5rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.7rem 1.2rem;
    display: block;
    transition: all 0.3s;
}

.nav-link:hover {
    color: var(--primary);
    background: rgba(230, 126, 34, 0.1);
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--hover);
    border: 1px solid var(--border);
    min-width: 200px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.nav-item:hover .dropdown {
    display: block;
}

.dropdown a {
    color: var(--text-muted);
    text-decoration: none;
    padding: 0.8rem 1.2rem;
    display: block;
    font-size: 0.85rem;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.dropdown a:hover {
    background: var(--secondary);
    color: var(--primary);
    border-left-color: var(--primary);
}

/* Container */
.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 4rem 3rem;
}

/* Hero Section */
.hero {
    margin-bottom: 3rem;
}

.hero h1 {
    font-family: 'Archivo', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #fff;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
}

/* Search Section */
.search-section {
    background: var(--secondary);
    border: 1px solid var(--border);
    padding: 2rem;
    margin-bottom: 3rem;
}

.search-bar {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.search-input {
    flex: 1;
    background: var(--background);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 0.9rem 1.2rem;
    font-size: 1rem;
    font-family: inherit;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
}

.search-btn {
    background: var(--primary);
    color: var(--background);
    border: none;
    padding: 0.9rem 2rem;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
    font-family: inherit;
}

.search-btn:hover {
    background: #f39c12;
}

.filter-tabs {
    display: flex;
    gap: 1rem;
}

.filter-tab {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border);
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.filter-tab:hover,
.filter-tab.active {
    background: var(--primary);
    color: var(--background);
    border-color: var(--primary);
}

/* Video List */
.content-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.content-item {
    background: var(--secondary);
    border-left: 4px solid var(--primary);
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 2.5rem;
    padding: 2rem;
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.content-item:hover {
    background: var(--hover);
    transform: translateX(8px);
}

.item-visual {
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--hover) 0%, var(--background) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    position: relative;
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.8);
    color: #fff;
    padding: 0.3rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.item-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.item-label {
    font-size: 0.8rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.item-heading {
    font-family: 'Archivo', sans-serif;
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: #fff;
    line-height: 1.3;
}

.item-text {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.item-time {
    font-size: 0.85rem;
    color: var(--text-dim);
}

.item-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.6rem 1.3rem;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s;
    display: inline-block;
}

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

.btn-primary:hover {
    background: #f39c12;
}

.btn-secondary {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Footer */
footer {
    background: var(--secondary);
    border-top: 2px solid var(--primary);
    padding: 3rem;
    margin-top: 6rem;
}

.footer-content {
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
}

.footer-section h3 {
    font-family: 'Archivo', sans-serif;
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section p,
.footer-section a {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.8;
    text-decoration: none;
}

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

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-bottom {
    max-width: 1600px;
    margin: 2rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-dim);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 1200px) {
    .content-item {
        grid-template-columns: 300px 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .header-wrap {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .content-item {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}


/* Social Media Icons */
.social-icon {
    font-size: 1.2rem;
    padding: 0.5rem !important;
}

.social-icon i {
    transition: transform 0.2s ease;
}

.social-icon:hover i {
    transform: scale(1.2);
}

.fa-youtube {
    color: #FF0000;
}

.fa-facebook {
    color: #1877F2;
}

.fa-instagram {
    color: #E4405F;
}
