/*
Theme Name: IPTV USA M3U Minimal Theme
Description: A fast, clean, conversion-focused custom theme for iptvusam3u.com.
Author: Antigravity
Version: 1.0.0
*/

:root {
    --primary-color: #e50914; /* Example red for CTA */
    --hover-color: #f40612;
    --text-color: #333333;
    --bg-color: #ffffff;
    --light-bg: #f9f9f9;
    --header-bg: #ffffff;
    --font-family: 'Ubuntu', sans-serif;
}

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

body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--primary-color);
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}
.btn-cta {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s ease;
}
.btn-cta:hover {
    background-color: var(--hover-color);
    text-decoration: none;
    color: #fff;
}
.text-center {
    text-align: center;
}
.section {
    padding: 4rem 0;
}
.section.light {
    background-color: var(--light-bg);
}

/* Header */
.site-header {
    background: var(--header-bg);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}
.site-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}
.main-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
}
.nav-links a {
    color: var(--text-color);
    font-weight: 500;
}
.nav-links a:hover {
    color: var(--primary-color);
    text-decoration: none;
}
.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: var(--text-color);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--header-bg);
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        padding: 1rem 0;
    }
    .nav-links.active {
        display: flex;
    }
    .hamburger {
        display: block;
    }
}

/* Hero Section */
.hero {
    margin-top: 80px; /* offset for sticky header */
    padding: 5rem 1rem;
    background: linear-gradient(135deg, #111, #333);
    color: #fff;
    text-align: center;
}
.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}
.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Tables / Playlists */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}
th, td {
    padding: 1rem;
    border: 1px solid #ddd;
    text-align: left;
}
th {
    background-color: var(--light-bg);
    font-weight: 700;
}

/* Search bar */
.search-form {
    margin: 2rem 0;
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}
.search-form input[type="search"] {
    padding: 0.5rem 1rem;
    width: 100%;
    max-width: 300px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.search-form button {
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* SEO Pages specific */
.page-content {
    margin-top: 100px;
    min-height: 60vh;
}
.page-title {
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

/* Footer */
.site-footer {
    background: #111;
    color: #fff;
    padding: 2rem 1rem;
    text-align: center;
}
.footer-links {
    margin-bottom: 1rem;
}
.footer-links a {
    color: #ccc;
    margin: 0 0.5rem;
}
.footer-links a:hover {
    color: #fff;
}

/* Cookies popup */
.cookie-consent {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: rgba(0,0,0,0.9);
    color: #fff;
    text-align: center;
    padding: 1rem;
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}
.cookie-consent button {
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}
