/*
 * Stylesheet for the WagiBet Philippines landing page.
 * This file defines a modern, mobile‑friendly layout with alternating
 * section backgrounds, responsive navigation and clear typography.
 */

:root {
    --primary-color: #0d1b2a; /* deep navy for backgrounds */
    --secondary-color: #f0a500; /* golden accent for buttons and highlights */
    --light-bg: #f8f9fa; /* light section background */
    --dark-bg: #e5eef7; /* alternate light blue section background */
    --text-color: #222;
    --heading-color: #0d1b2a;
    --link-color: #0d6efd;
    --container-width: 1200px;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-bg);
}

/* Container to limit content width and centre align */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and navigation */
.header {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: var(--primary-color);
    color: #fff;
    z-index: 999;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 15px;
}

.nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.nav a:hover {
    opacity: 0.8;
}

/* Hero section */
.hero {
    position: relative;
    min-height: 60vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: #fff;
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13,27,42,0.65); /* dark overlay */
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

.btn-primary:hover {
    background-color: #d18e00;
    color: #fff;
}

/* Sections */
.section {
    padding: 60px 0;
    background-color: var(--light-bg);
}

.section.alt {
    background-color: var(--dark-bg);
}

.section h2 {
    color: var(--heading-color);
    margin-bottom: 20px;
    font-size: 2rem;
    text-align: center;
}

.section h3 {
    color: var(--heading-color);
    margin-top: 40px;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.section-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    margin-top: 20px;
}

.section-content .text {
    flex: 1 1 55%;
    min-width: 280px;
}

.section-content .image {
    flex: 1 1 40%;
    min-width: 260px;
    text-align: center;
}

.section-content img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Lists */
ol, ul {
    padding-left: 20px;
}

ol li, ul li {
    margin-bottom: 8px;
}

.pros-cons {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 20px;
}

.pros, .cons {
    flex: 1 1 300px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.pros h3, .cons h3 {
    margin-top: 0;
}

/* FAQ */
.faq h3 {
    margin-top: 30px;
    font-size: 1.3rem;
    color: var(--heading-color);
}

.faq p {
    margin-bottom: 20px;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
}

.footer-links {
    margin-top: 20px;
    text-align: center;
}

.footer-links a {
    color: var(--link-color);
    text-decoration: none;
    margin: 0 8px;
    font-size: 0.9rem;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        align-items: flex-start;
    }
    .nav ul {
        flex-wrap: wrap;
        gap: 10px;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .section-content {
        flex-direction: column;
    }
    .section-content .image, .section-content .text {
        flex: 1 1 100%;
    }
    .section h2 {
        font-size: 1.7rem;
    }
    .section h3 {
        font-size: 1.3rem;
    }
}