/* 
 * BingoPlus Mini Website Styles
 * A modern, responsive design for online gaming website
 */

/* ---------- VARIABLES & FONTS ---------- */
:root {
    /* Primary color palette - tropical/vibrant theme for Philippines */
    --color-primary: #FF6B35;      /* Vibrant orange */
    --color-secondary: #4A8FE7;    /* Blue */
    --color-accent: #FFD166;       /* Gold */
    --color-dark: #2A2D34;         /* Dark gray */
    --color-light: #F7F7F9;        /* Light gray */
    --color-success: #06D6A0;      /* Green */
    --color-warning: #FFD166;      /* Yellow */
    --color-danger: #EF476F;       /* Red */
    
    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;
    
    /* Borders & Shadows */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --box-shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Montserrat:wght@400;500;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css');

/* ---------- RESET & BASE STYLES ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: var(--line-height-base);
    color: var(--color-dark);
    background-color: var(--color-light);
    overflow-x: hidden;
}

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

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

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

ul, ol {
    list-style: none;
}

/* ---------- UTILITIES ---------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--spacing-md);
    color: var(--color-dark);
    position: relative;
    padding-bottom: var(--spacing-sm);
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--color-primary);
    border-radius: var(--border-radius-sm);
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
    color: var(--color-dark);
    opacity: 0.8;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-align: center;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
}

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

.btn-primary:hover {
    background-color: #e85a24;
    box-shadow: var(--box-shadow-hover);
    color: white;
}

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

.btn-secondary:hover {
    background-color: #3a7fd7;
    box-shadow: var(--box-shadow-hover);
    color: white;
}

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

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

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* ---------- HEADER ---------- */
.site-header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: var(--spacing-sm) 0;
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: block;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: var(--spacing-md);
}

.nav-list a {
    color: var(--color-dark);
    font-weight: 500;
    position: relative;
}

.nav-list a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

.nav-list a:hover:after,
.nav-list a.active:after {
    width: 100%;
}

.header-buttons {
    display: flex;
    gap: var(--spacing-sm);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--color-dark);
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

/* ---------- HERO SECTION ---------- */
.hero {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, #2A2D34 0%, #1a1c21 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/hero-pattern.svg');
    background-size: cover;
    opacity: 0.05;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: white;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    max-width: 500px;
}

/* ---------- FEATURES SECTION ---------- */
.features {
    padding: var(--spacing-xl) 0;
    background-color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.feature-card {
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: all 0.3s ease;
}

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

.feature-icon {
    margin: 0 auto var(--spacing-sm);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 107, 53, 0.1);
    border-radius: 50%;
    margin-bottom: var(--spacing-sm);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-dark);
}

.feature-card p {
    color: var(--color-dark);
    opacity: 0.8;
}

/* ---------- POPULAR GAMES SECTION ---------- */
.popular-games {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-light);
}

.games-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.game-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
}

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

.game-image {
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.game-card:hover .game-image img {
    transform: scale(1.05);
}

.game-info {
    padding: var(--spacing-md);
    text-align: center;
}

.game-info h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
    color: var(--color-dark);
}

.game-info p {
    margin-bottom: var(--spacing-sm);
    color: var(--color-dark);
    opacity: 0.8;
}

/* ---------- PARTNERS SECTION ---------- */
.partners-section {
    padding: var(--spacing-xl) 0;
    background-color: white;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.partner-item {
    padding: var(--spacing-md);
    background-color: var(--color-light);
    border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.partner-item p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.partner-item a {
    font-weight: 600;
    color: var(--color-secondary);
}

.partner-item a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

/* ---------- TESTIMONIALS SECTION ---------- */
.testimonials {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, #4A8FE7 0%, #2a7ad7 100%);
    color: white;
}

.testimonials .section-title {
    color: white;
}

.testimonials .section-title:after {
    background-color: var(--color-accent);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(10px);
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.testimonial-content {
    margin-bottom: var(--spacing-md);
    font-style: italic;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid white;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-weight: 600;
    font-size: 1.1rem;
}

.author-info p {
    opacity: 0.9;
    font-size: 0.9rem;
}

/* ---------- CTA SECTION ---------- */
.cta-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, #E85A24 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.cta-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto var(--spacing-md);
    opacity: 0.9;
}

/* ---------- FOOTER ---------- */
.site-footer {
    background-color: var(--color-dark);
    color: white;
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-logo p {
    opacity: 0.8;
    font-size: 0.95rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.footer-column h4 {
    color: white;
    margin-bottom: var(--spacing-sm);
    font-size: 1.2rem;
    position: relative;
    padding-bottom: var(--spacing-xs);
}

.footer-column h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--color-primary);
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer-column a:hover {
    color: var(--color-primary);
}

.footer-contact p {
    margin-bottom: var(--spacing-xs);
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--color-primary);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-md);
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.8;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.footer-logo-small {
    margin-bottom: var(--spacing-xs);
}

.disclaimer {
    font-style: italic;
    font-size: 0.85rem;
    margin-top: 5px;
}

/* ---------- RESPONSIVE STYLES ---------- */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-contact {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        margin-bottom: var(--spacing-lg);
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .header-buttons {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-list {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        gap: 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav-list.active {
        max-height: 300px;
    }
    
    .nav-list li {
        width: 100%;
    }
    
    .nav-list a {
        display: block;
        padding: 15px var(--spacing-md);
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .nav-list a:hover {
        background-color: rgba(0, 0, 0, 0.02);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .footer-links {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    :root {
        --font-size-base: 15px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .features-grid,
    .games-slider,
    .partners-grid,
    .testimonials-slider {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .btn-lg {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}
