/*
Theme Name: British TV Theme
Description: Custom WordPress theme for british-tv.shop
Author: Antigravity
Version: 1.1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --color-bg: #f8fafc; /* Soft off-white */
    --color-bg-alt: #f1f5f9; /* Slightly darker grey for alternating sections */
    --color-bg-card: #ffffff; /* Pure white */
    --color-accent: #4f46e5; /* Vibrant Indigo */
    --color-accent-hover: #4338ca; 
    --color-accent-secondary: #f43f5e; /* Coral */
    --color-text: #334155; /* Slate */
    --color-text-heading: #0f172a; /* Deep Slate */
    --color-text-muted: #64748b; 
    --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --border-radius: 16px;
    --border-radius-lg: 24px;
    --container-width: 1200px;
    --box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    --box-shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-main);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-accent-hover);
}

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

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 800;
    color: var(--color-text-heading);
    letter-spacing: -0.02em;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; margin-bottom: 40px; }
h3 { font-size: 1.5rem; }

/* Global Section Spacing */
.section-spacing {
    padding: 100px 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-accent);
    color: #ffffff;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.4);
}

.btn:hover {
    background-color: var(--color-accent-hover);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.5);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-accent);
    border: 2px solid var(--color-accent);
    box-shadow: none;
}

.btn-outline:hover {
    background-color: var(--color-accent);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.4);
}

/* Header */
.site-header {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 80px;
}

.site-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-text-heading);
    cursor: pointer;
    letter-spacing: -0.05em;
}

.site-logo span {
    color: var(--color-accent-secondary);
}

.nav-menu {
    display: flex;
    gap: 35px;
    list-style: none;
}

.nav-menu a {
    color: var(--color-text);
    font-weight: 600;
    font-size: 1rem;
}

.nav-menu a:hover {
    color: var(--color-accent);
}

.header-buttons {
    display: flex;
    gap: 15px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--color-text-heading);
    border-radius: 2px;
    transition: 0.3s;
}

/* Two Column Layout (Text + Image) */
.two-column-section {
    display: flex;
    align-items: center;
    gap: 80px;
}

.two-column-section.reverse {
    flex-direction: row-reverse;
}

.two-column-text, .two-column-image {
    flex: 1;
}

.two-column-image img {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
}

/* Grid Layouts */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

/* Cards */
.card {
    background-color: var(--color-bg-card);
    border-radius: var(--border-radius);
    padding: 40px;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: var(--box-shadow);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-hover);
}

/* Pricing Cards */
.pricing-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.pricing-card.best-value {
    border: 2px solid var(--color-accent);
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.best-value-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background-color: var(--color-accent-secondary);
    color: #ffffff;
    padding: 5px 30px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    transform: rotate(45deg);
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    margin: 20px 0;
    color: var(--color-text-heading);
    letter-spacing: -0.05em;
}

.pricing-features {
    list-style: none;
    margin: 30px 0;
    text-align: left;
    flex-grow: 1;
}

.pricing-features li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    color: var(--color-text);
    font-weight: 500;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
    background: rgba(79, 70, 229, 0.1);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    top: 3px;
}

/* Features Grid */
.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
}
.feature-card p {
    color: var(--color-text-muted);
    font-size: 1rem;
}

/* Devices Section */
.devices-grid {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}
.device-item {
    text-align: center;
    color: var(--color-text-muted);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Accordion FAQ */
.faq-item {
    background-color: var(--color-bg-card);
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0,0,0,0.02);
}
.faq-question {
    padding: 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--color-text-heading);
}
.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--color-text);
}
.faq-item.active .faq-answer {
    padding: 0 25px 25px;
    max-height: 500px;
}
.faq-item.active .faq-question {
    color: var(--color-accent);
}

/* Footer */
.site-footer {
    background-color: #0f172a;
    color: #cbd5e1;
    padding: 100px 0 40px;
    margin-top: 80px;
}

.site-footer h4 {
    color: #ffffff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-widget h4 {
    margin-bottom: 25px;
    font-size: 1.2rem;
}

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

.footer-widget ul li {
    margin-bottom: 15px;
}

.footer-widget ul a {
    color: #94a3b8;
}

.footer-widget ul a:hover {
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #64748b;
    font-size: 0.95rem;
}

/* Content Pages & Blog */
.page-content, .single-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.15rem;
    color: var(--color-text);
}
.page-content h2, .single-content h2 {
    margin-top: 50px;
    margin-bottom: 25px;
}
.page-content p, .single-content p {
    margin-bottom: 25px;
}
.page-content ul, .single-content ul {
    margin-bottom: 25px;
    padding-left: 20px;
}

/* Packages Layout */
.packages-layout {
    max-width: 1200px;
    margin: 0 auto;
    font-size: 1.15rem;
    color: var(--color-text);
}
.packages-layout > h1, 
.packages-layout > h2, 
.packages-layout > p,
.packages-layout > ol,
.packages-layout > ul {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.packages-layout > h1,
.packages-layout > h2 {
    text-align: center;
}
.packages-layout h2 {
    margin-top: 50px;
    margin-bottom: 25px;
}
.packages-layout p {
    margin-bottom: 25px;
}
.packages-layout ul, .packages-layout ol {
    margin-bottom: 25px;
    padding-left: 20px;
}

/* Blog Grid */
.blog-card-img {
    height: 220px;
    overflow: hidden;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    margin: -40px -40px 25px -40px;
}
.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.card:hover .blog-card-img img {
    transform: scale(1.05);
}
.blog-meta {
    font-size: 0.9rem;
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.blog-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    line-height: 1.3;
}

/* Trust Bar */
.trust-bar {
    background-color: var(--color-bg-card);
    padding: 35px 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    margin-bottom: 0;
    position: relative;
    z-index: 10;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .two-column-section, .two-column-section.reverse {
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .section-spacing {
        padding: 60px 0;
    }
    
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.85rem; margin-bottom: 30px; }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 30px 20px;
        text-align: center;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .header-buttons {
        display: none;
    }
    .header-buttons.mobile-show {
        display: flex;
        flex-direction: column;
        margin-top: 20px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .two-column-section, .two-column-section.reverse {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-features {
        text-align: left;
    }
}

@media (max-width: 576px) {
    .grid-3, .grid-4, .grid-2 {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}
