/*
Theme Name: Sugar Rush 1000
Theme URI: flash3on3.gr
Author: Eleni Stravridus
Author URI: flash3on3.gr
Description: A vibrant and sweet theme inspired by the Sugar Rush 1000 game
Version: 1.0.0
*/

/* Base Styles */
body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: #333333;
    background-color: #FFF0F5;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Fredoka One', cursive;
    color: #FF1493;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

a {
    color: #87CEEB;
    text-decoration: none;
}

a:hover {
    color: #FFD700;
}

/* Layout */
.site-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

.section-spacing {
    margin-bottom: 3rem;
}

/* Header */
.site-header {
    background-color: #FFFFFF;
    color: #333333;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-header .site-branding {
    display: flex;
    align-items: center;
}

.site-header nav {
    display: flex;
    align-items: center;
}

/* Footer */
.site-footer {
    background-color: #FFF8E7;
    color: #333333;
    padding: 1rem;
    text-align: center;
}

/* Buttons */
.wp-block-button.is-style-fill .wp-block-button__link {
    background-color: #9b51e0;
    color: #FFFFFF;
    border-radius: 25px;
    border: 1px solid #9b51e0;
    padding: 0.75rem 1.5rem;
    font-weight: bold;
}

.wp-block-button.is-style-fill .wp-block-button__link:hover {
    background-color: #FF69B4;
    color: #FFFFFF;
}

.wp-block-button.is-style-outline .wp-block-button__link {
    background-color: transparent;
    color: #9b51e0;
    border: 2px solid #9b51e0;
    border-radius: 25px;
    padding: 0.5rem 1rem;
    font-weight: bold;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
    background-color: #FF69B4;
    color: #FFFFFF;
}

/* Images */
.wp-block-image img {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(255, 105, 180, 0.2);
    max-width: 100%;
    height: auto;
}

/* Table of Contents */
.table-of-contents {
    background-color: #FFF5E1;
    border: 1px solid #FF69B4;
    padding: 1rem;
}

/* FAQ Accordion */
.faq-accordion .faq-item {
    border-bottom: 1px solid #FFF8E7;
}

.faq-question {
    background-color: #FFFFFF;
    color: #333333;
    cursor: pointer;
    padding: 1rem;
}

.faq-question:hover {
    background-color: #FFF5E1;
}

.faq-answer {
    display: none;
    background-color: #FFFFFF;
    color: #333333;
    padding: 1rem;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Pros/Cons Table */
.pros-cons-table .pros-header {
    background-color: #FFD700;
}

.pros-cons-table .cons-header {
    background-color: #FF4500;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 2rem;
    }
    h3 {
        font-size: 1.5rem;
    }
    .site-header {
        flex-direction: column;
    }
}

/* Exit-Intent Popup */
.exit-intent-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.exit-intent-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.exit-intent-content {
    position: relative;
    background-color: #000000;
    padding: 2rem;
    text-align: center;
    color: #FFFFFF;
    max-width: 500px;
    border-radius: 10px;
}

.exit-intent-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.exit-intent-content img {
    width: 80%;
    margin-bottom: 1rem;
}

.exit-intent-content p {
    margin: 0.5rem 0;
}

.exit-intent-content .bonus-info {
    font-size: 3rem;
    margin: 1rem 0;
}

.exit-intent-content .wp-block-button__link {
    background-color: #1a81ff;
    color: #FFFFFF;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
}

.close-popup {
    position: fixed;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: #e3e8ea;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10000;
}