/* ========================================
   OMNI NEWS LANDING PAGE - MAIN STYLES
   ======================================== */

/* CSS Variables - Brand Colors */
:root {
    --primary: #05615f;
    --primary-hover: #0a7573;
    --secondary: #e53935;
    --secondary-hover: #f75757;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --border: #e0e0e0;
    --shadow: rgba(5, 97, 95, 0.1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero .container {
    position: relative;
    z-index: 1;
}

/* Header */
.header {
    background: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 8px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    height: 40px;
    display: block;
    transition: transform 0.3s ease;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(-45deg, var(--primary), var(--primary-hover), #087270, var(--primary));
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    color: var(--white);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveBackground 20s linear infinite;
    opacity: 0.3;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes moveBackground {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 1;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Buttons */
.btn {
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

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

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(5, 97, 95, 0.3);
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 2px 8px var(--shadow);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

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

.btn-large {
    padding: 18px 40px;
    font-size: 1.125rem;
}

/* Promotions Section - Alternating Layout */
.promotions-alt {
    padding: 0;
    background: var(--white);
}

.promo-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 80px 100px;
    max-width: 100%;
    margin: 0;
    transition: background-color 0.3s ease;
}

.promo-section:hover {
    background-color: rgba(5, 97, 95, 0.02);
}

.promo-section:nth-child(even) {
    background: var(--bg-light);
}

.promo-section.left .promo-content {
    order: 1;
}

.promo-section.left .promo-mockup {
    order: 2;
}

.promo-section.right .promo-mockup {
    order: 1;
}

.promo-section.right .promo-content {
    order: 2;
}

.promo-content {
    padding: 0 40px;
}

.promo-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.promo-icon-alt {
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.promo-section:hover .promo-icon-alt {
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 8px 20px rgba(5, 97, 95, 0.25);
}

.promo-icon-alt img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.promo-title-alt {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}

.promo-description-alt {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 30px;
}

.promo-features {
    margin-bottom: 30px;
}

.feature-item {
    padding: 12px 0;
    font-size: 1rem;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
    padding-left: 0;
}

.feature-item:hover {
    padding-left: 10px;
    color: var(--primary);
}

.feature-item:last-child {
    border-bottom: none;
}

.promo-price-alt {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}

.promo-price-alt::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.promo-section:hover .promo-price-alt::after {
    transform: scaleX(1);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.125rem;
}

.promo-mockup {
    position: relative;
}

.mockup-image {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 20px;
    display: block;
    margin: 0 auto;
    transition: all 0.4s ease;
    background: transparent;
    padding-bottom: 40px;
}

.mockup-image:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 20px 50px rgba(5, 97, 95, 0.2);
}

.parallax-mockup {
    transition: transform 0.3s ease-out;
    will-change: transform;
}

/* Responsive Alternating Layout */
@media (max-width: 1024px) {
    .promo-section {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 60px 20px;
    }

    .promo-section.left .promo-content,
    .promo-section.right .promo-content {
        order: 1;
    }

    .promo-section.left .promo-mockup,
    .promo-section.right .promo-mockup {
        order: 2;
    }

    .promo-content {
        padding: 0;
        text-align: center;
    }

    .promo-header {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .promo-icon-alt {
        margin: 0 0 20px 0;
    }

    .btn-large {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .promo-title-alt {
        font-size: 2rem;
    }
    
    .promo-price-alt {
        font-size: 1.5rem;
    }
    
    .mockup-image {
        max-width: 100%;
    }
}

/* Footer */
.footer {
    background: var(--primary);
    color: var(--white);
    text-align: center;
    padding: 30px 20px;
}

.footer p {
    opacity: 0.9;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }
}

/* Disable parallax on mobile for better performance */
@media (max-width: 768px) {
    .parallax-mockup {
        transform: none !important;
    }
}
