/*
Theme Name: Thomson Park Tennis Club
Theme URI: 
Author: Antigravity
Author URI: 
Description: Custom theme for Thomson Park Tennis Club, optimized for Spectra and FooGallery.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tptc-theme
*/

:root {
    --tptc-purple: #4A148C;
    --tptc-green: #DFFF00;
    --tptc-blue: #2E86C1;
    --tptc-yellow: #FFD700;
    --tptc-bg: #FFFFFF;
    --tptc-text: #333333;
    --tptc-font: 'Inter', sans-serif;
}

body {
    font-family: var(--tptc-font);
    color: var(--tptc-text);
    background-color: var(--tptc-bg);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Header & Nav */
.site-header {
    background-color: var(--tptc-purple);
    color: white;
    padding: 15px 30px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 15px;
}

.site-branding img.custom-logo {
    max-height: 50px;
    width: auto;
}

.site-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.site-title a {
    color: white;
    text-decoration: none;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
    align-items: center;
}

.main-navigation a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.main-navigation a:hover {
    color: var(--tptc-yellow);
}

.btn-login {
    background-color: var(--tptc-green);
    color: var(--tptc-purple);
    padding: 10px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s;
}

.btn-login:hover {
    background-color: var(--tptc-yellow);
}

/* Main Content */
.site-main {
    min-height: 60vh;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Footer */
.site-footer {
    background-color: #1a1a1a;
    color: #cccccc;
    padding: 40px 30px;
    text-align: center;
    border-top: 5px solid var(--tptc-blue);
}

.footer-links nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.footer-links nav a {
    color: var(--tptc-blue);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links nav a:hover {
    color: var(--tptc-yellow);
}

/* Base Typography Elements */
h1, h2, h3, h4, h5, h6 {
    color: var(--tptc-purple);
    margin-top: 0;
    font-family: var(--tptc-font);
}

a {
    color: var(--tptc-blue);
}

a:hover {
    color: var(--tptc-purple);
}

/* Gutenberg Palette Classes */
.has-tptc-purple-color { color: var(--tptc-purple); }
.has-tptc-purple-background-color { background-color: var(--tptc-purple); }
.has-tptc-green-color { color: var(--tptc-green); }
.has-tptc-green-background-color { background-color: var(--tptc-green); }
.has-tptc-blue-color { color: var(--tptc-blue); }
.has-tptc-blue-background-color { background-color: var(--tptc-blue); }
.has-tptc-yellow-color { color: var(--tptc-yellow); }
.has-tptc-yellow-background-color { background-color: var(--tptc-yellow); }

/* Responsive adjustments */
@media (max-width: 768px) {
    .site-header {
        flex-direction: column;
        gap: 20px;
    }
    
    .header-right {
        flex-direction: column;
        gap: 15px;
    }

    .main-navigation ul {
        flex-direction: column;
        text-align: center;
    }
}
