/*
Theme Name: Sisteron Citadel Command
Theme URI: https://sisteron.online
Author: Renee
Author URI: https://sisteron.online
Description: A bespoke WordPress theme for Sisteron.online — inspired by the Sisteron Citadel. Elite, strategic, dominant.
Version: 1.3.0
License: Proprietary
Text Domain: sisteron
*/

/* Base Styles */
:root {
    --dark: #121212;
    --gold: #D4A017;
    --stone: #5C5C5C;
    --blood-red: #8B0000;
    --light: #F5F5F5;
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: var(--light);
    color: var(--dark);
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Site Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 16px 0;
    background-color: rgba(10, 10, 10, 0.92);
    border-bottom: 1px solid rgba(212, 160, 23, 0.25);
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.brand-emblem {
    height: 48px;
    width: auto;
}

.brand-wordmark {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--gold);
    letter-spacing: 2px;
}

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

.site-nav a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.site-nav a:hover {
    color: var(--gold);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 100vh;
    width: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    background-color: rgba(18, 18, 18, 0.85);
    color: var(--light);
    padding: 80px 60px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin: 0 0 30px 0;
}

.hero-content p {
    font-size: 1.2rem;
    margin: 0 0 40px 0;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--gold);
    color: var(--dark);
    text-decoration: none;
    font-weight: 700;
    border-radius: 3px;
    transition: all 0.3s ease;
    border-bottom: 3px solid rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    background-color: var(--blood-red);
    color: var(--light);
}

/* Services Section */
.services {
    padding: 120px 0;
    background-color: var(--light);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark) 50%, transparent 50%);
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
}

.services h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.services-subtitle {
    font-size: 1.1rem;
    color: var(--stone);
    margin-bottom: 60px;
    max-width: 600px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.service-card {
    background-color: var(--dark);
    color: var(--light);
    padding: 50px 30px;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--gold), var(--blood-red));
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.service-card i {
    font-size: 3rem;
    margin-bottom: 25px;
    color: var(--gold);
}

.service-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin: 0 0 15px 0;
}

.service-card p {
    margin: 0;
    font-size: 1rem;
    opacity: 0.9;
    text-align: center;
}

.service-card-link {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.service-card-link:hover {
    color: inherit;
}

/* About Section */
.about {
    padding: 120px 0;
    background-color: var(--dark);
    color: var(--light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    height: 500px;
    background-size: cover;
    background-position: center;
    border-radius: 5px;
}

.about-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    margin: 0 0 20px 0;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 25px;
    opacity: 0.9;
}

/* Dashboard Section */
.dashboard {
    padding: 120px 0;
    background-color: var(--light);
}

.dashboard h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.dashboard-subtitle {
    font-size: 1.1rem;
    color: var(--stone);
    margin-bottom: 60px;
    max-width: 600px;
}

.dashboard-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.dashboard-map {
    height: 500px;
    background-size: cover;
    background-position: center;
    border-radius: 5px;
}

.dashboard-stats {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.stat-item {
    background-color: var(--dark);
    color: var(--light);
    padding: 30px;
    border-radius: 5px;
}

.stat-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin: 0 0 10px 0;
}

.stat-item p {
    margin: 0;
    opacity: 0.9;
}

.stat-item-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.stat-item-link:hover {
    color: inherit;
}

.stat-graph {
    height: 200px;
    background-color: var(--stone);
    border-radius: 5px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
}

/* Footer */
.site-footer {
    padding: 60px 0;
    background-color: var(--dark);
    color: var(--light);
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-emblem {
    height: 40px;
    width: auto;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Page / single content styles */
.page-main {
    padding: 140px 0 100px 0;
    background-color: var(--light);
    min-height: 60vh;
}

.page-article {
    max-width: 820px;
    margin: 0 auto;
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 900;
    color: var(--dark);
    margin: 0 0 40px 0;
    line-height: 1.1;
}

.page-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark);
}

.page-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    margin: 50px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--gold);
}

.page-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--dark);
    margin: 30px 0 15px 0;
}

.page-content p {
    margin: 0 0 20px 0;
}

.page-content ul,
.page-content ol {
    margin: 0 0 25px 0;
    padding-left: 25px;
}

.page-content li {
    margin-bottom: 12px;
}

.page-content a {
    color: var(--blood-red);
    text-decoration: none;
    font-weight: 500;
}

.page-content a:hover {
    color: var(--gold);
}

.page-content .wp-block-button__link {
    display: inline-block;
    padding: 16px 44px;
    background-color: var(--blood-red);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 3px;
    border: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.page-content .wp-block-button__link:hover {
    background-color: var(--gold);
    color: var(--dark);
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        height: auto;
    }

    .hero-content {
        height: auto;
        padding: 60px 40px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .about-content,
    .dashboard-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
    }

    .page-title {
        font-size: 2.2rem;
    }

    .page-content h2 {
        font-size: 1.6rem;
    }
}
