/* ======================
   NEWS & MEDIA PAGE STYLESHEET
   LyfeLine Technologies
   ====================== */

/* --- CSS Variables --- */
:root {
    --primary-black: #000000;
    --primary-white: #FFFFFF;
    --text-light-gray: #CCCCCC;
    --color-deep-red: #9E2A1B;
    --color-bright-redorange: #E64A19;
    --color-vibrant-orange: #F57C00;
    --color-golden-yellow: #FFA726;
    --accent-gradient: linear-gradient(90deg, #9E2A1B, #E64A19, #F57C00, #FFA726);
    --card-bg: #0f0f0f;
    --footer-dark-gray: #1a1a1a;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--primary-black);
    color: var(--primary-white);
    line-height: 1.6;
    overflow-x: hidden;
}

img,
picture,
video,
iframe {
    max-width: 100%;
    height: auto;
}

/* --- Header & Navigation --- */
.main-header {
    background-color: var(--primary-black);
    padding: 15px 5vw;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-white);
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.header-logo-icon {
    height: 35px;
    margin-right: 10px;
    filter: drop-shadow(0 0 8px rgba(255, 196, 0, 0.5));
}

.btn-signin {
    border: 1px solid var(--text-light-gray);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 500;
    color: var(--primary-white);
    transition: all 0.3s ease;
    background-color: transparent;
    text-decoration: none;
    display: inline-block;
}

.btn-signin:hover {
    background: var(--accent-gradient);
    border-color: transparent;
    box-shadow: 0 0 15px rgba(255, 196, 0, 0.4);
    transform: translateY(-2px);
}

/* --- Hero Section --- */
.news-hero {
    padding: 80px 20px;
    text-align: center;
    background: linear-gradient(135deg, var(--color-deep-red) 0%, var(--color-bright-redorange) 60%);
    position: relative;
    overflow: hidden;
}

.news-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M0 50h100M50 0v100" stroke="%23ffffff" stroke-width="0.3" opacity="0.1" /></svg>');
    background-size: 50px 50px;
    opacity: 0.3;
}

.news-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.news-hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 1;
}

/* --- Main Container --- */
.news-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 80px 20px;
}

.news-section {
    margin-bottom: 80px;
}

.news-section-heading {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.news-section-heading h2 {
    font-size: 1.8rem;
    color: var(--primary-white);
}

.news-section-heading span {
    color: var(--color-vibrant-orange);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- Featured Video Card --- */
.video-card {
    background: var(--card-bg);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.video-embed {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #000;
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-card-body {
    padding: 2rem;
}

.video-card-body h3 {
    font-size: 1.35rem;
    color: var(--primary-white);
    margin-bottom: 0.75rem;
}

.video-card-body p {
    color: var(--text-light-gray);
    margin-bottom: 1.25rem;
}

/* --- Press Card --- */
.press-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 0;
    background: var(--card-bg);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.press-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-vibrant-orange);
    box-shadow: 0 15px 35px rgba(246, 124, 0, 0.15);
}

.press-card-image {
    background-size: cover;
    background-position: center;
    min-height: 200px;
}

.press-card-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.press-card-outlet {
    color: var(--color-vibrant-orange);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.press-card-body h3 {
    font-size: 1.4rem;
    color: var(--primary-white);
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.press-card-body p {
    color: var(--text-light-gray);
    margin-bottom: 1.25rem;
}

.press-card .read-more {
    color: var(--color-vibrant-orange);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.press-card:hover .read-more {
    gap: 1rem;
}

.press-card .read-more i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.press-card:hover .read-more i {
    transform: translateX(5px);
}

/* --- Contact Section --- */
.contact-section {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 3rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-white);
}

.contact-section p {
    color: var(--text-light-gray);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-link {
    color: var(--color-vibrant-orange);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-link:hover {
    color: var(--color-golden-yellow);
    transform: translateY(-2px);
}

/* --- Footer --- */
.site-footer {
    background-color: var(--footer-dark-gray);
    color: var(--text-light-gray);
    padding: 4rem 5vw 2rem 5vw;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 80px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    color: var(--primary-white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

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

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

.footer-section ul li a {
    color: var(--text-light-gray);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-section ul li a:hover {
    color: var(--color-golden-yellow);
    transform: translateX(5px);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-light-gray);
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .btn-signin {
        width: 100%;
        text-align: center;
    }

    .news-container {
        padding: 60px 20px;
    }

    .press-card {
        grid-template-columns: 1fr;
    }

    .press-card-image {
        min-height: 160px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .news-hero {
        padding: 48px 16px;
    }

    .news-hero h1 {
        font-size: 1.8rem;
    }

    .news-hero p {
        font-size: 1rem;
    }

    .video-card-body,
    .press-card-body,
    .contact-section {
        padding: 1.5rem;
    }

    .contact-links {
        flex-direction: column;
        gap: 1rem;
    }
}
