/*
Theme Name: Gates of Olympus
Theme URI: https://classicolympics.gr/
Author: Eleni Stravridus
Author URI: https://classicolympics.gr/
Description: A vibrant and sweet theme inspired by the Gates of Olympus game.
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gates-of-olympus
*/
/*
Theme Name: Gates of Olympus
Theme URI: https://classicolympics.gr/
Author: Eleni Stravridus
Author URI: https://classicolympics.gr/
Description: A vibrant and sweet theme inspired by the Gates of Olympus game.
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gates-of-olympus
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    color: #333333;
    background-color: #FDFBF5;
    line-height: 1.6;
}

a {
    color: #3A5FCD;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #FFC300;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
    color: #111111;
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.8rem; }

.site-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.site-header {
    background-color: #FFFFFF;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.site-header.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-branding {
    display: flex;
    align-items: center;
}

.custom-logo {
    max-height: 60px;
    width: auto;
}

.site-title a {
    color: #111111;
    font-size: 1.5rem;
    text-decoration: none;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.main-navigation li {
    margin-left: 1.5rem;
}

.main-navigation a {
    color: #333333;
    text-decoration: none;
    font-weight: bold;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
.entry-content p {
    margin-bottom: 1.5rem;
}

.entry-content ul, .entry-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.wp-block-image, .wp-block-buttons {
    text-align: center;
    margin-bottom: 1.5rem;
}

.wp-block-image img {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(255, 195, 0, 0.2);
}

/*--------------------------------------------------------------
# Buttons
--------------------------------------------------------------*/
.wp-block-button {
    text-align: center;
}

.wp-block-button__link {
    background-color: #FFC300;
    color: #FFFFFF;
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    font-weight: bold;
    border: 1px solid #DAA520;
    transition: background-color 0.3s;
    display: inline-block;
}

.wp-block-button__link:hover {
    background-color: #E6B800;
    color: #FFFFFF;
}

.wp-block-button.is-style-outline .wp-block-button__link {
    background-color: transparent;
    color: #FFC300;
    border: 2px solid #FFC300;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
    background-color: #FFC300;
    color: #FFFFFF;
}

/*--------------------------------------------------------------
# Tables
--------------------------------------------------------------*/
.wp-block-table {
    margin-bottom: 2rem;
}

.wp-block-table table {
    width: 100%;
    border-collapse: collapse;
}

.wp-block-table th, .wp-block-table td {
    padding: 0.75rem;
    border: 1px solid #ddd;
}

.wp-block-table th {
    background-color: #FFF8E7;
}

.pros-cons-table .pros-header {
    background-color: #FFC300;
    color: white;
}

.pros-cons-table .cons-header {
    background-color: #A52A2A;
    color: white;
}

/*--------------------------------------------------------------
# FAQ Accordion
--------------------------------------------------------------*/
.faq-item {
    border: 1px solid #FFF8E7;
    margin-bottom: 0.5rem;
}

.faq-question {
    background-color: #FFFFFF;
    color: #333333;
    padding: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #FFF5E1;
}

.faq-answer {
    display: none;
    padding: 1rem;
    background-color: #FFFFFF;
    color: #333333;
}

.faq-item.active .faq-answer {
    display: block;
}

/*--------------------------------------------------------------
# Exit Intent Popup
--------------------------------------------------------------*/
#exit-intent-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.exit-intent-popup-content {
    background-color: black;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    position: relative;
    max-width: 500px;
    color: white;
}

.exit-intent-popup-content h2 {
    color: white;
}

.exit-intent-popup-content img {
    max-width: 80%;
    height: auto;
    margin-bottom: 1rem;
}

.exit-intent-popup-content p {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.exit-intent-popup-content small {
    color: white;
}

.exit-intent-popup-content .close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2rem;
    color: white;
    cursor: pointer;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.site-footer {
    background-color: #FFF8E7;
    padding: 2rem;
    text-align: center;
    color: #333333;
}

.footer-navigation a {
    margin: 0 1rem;
}