/* ==========================================================================
   Fury & Steel: Pacific Theatre of Operations - Main Stylesheet
   ========================================================================== */

/* ==========================================================================
   Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    background: linear-gradient(135deg, #1e3a5f 0%, #2c4f73 50%, #1e3a5f 100%);
    color: #ecf0f1;
    min-height: 100vh;
    position: relative;
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../Assets/Main-Background.png') center/cover no-repeat;
    opacity: 0.1;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container.post-page {
    max-width: 900px;
}

/* ==========================================================================
   Header Styles
   ========================================================================== */
header {
    padding: 40px 0;
    text-align: center;
    border-bottom: 3px solid #C1A35E;
    margin-bottom: 60px;
    background: rgba(13, 23, 44,0.6);
    
    backdrop-filter: blur(10px);
}

.logo {
    max-height: 120px;
    width: auto;
    margin-bottom: 10px;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.8));
}

.tagline {
    font-size: 1.2rem;
    color: #C1A35E;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    text-align: center;
    margin-bottom: 80px;
}

.hero h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: #ecf0f1;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.hero p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #bdc3c7;
    max-width: 600px;
    margin: 0 auto 40px;
}

/* ==========================================================================
   Button Styles
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(45deg, #1e3a5f, #2c4f73);
    color: white;
    border: 2px solid #1e3a5f;
}

.btn-secondary {
    background: transparent;
    color: #C1A35E;
    border: 2px solid #C1A35E;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(45deg, #162d47, #1e3a5f);
}

.btn-secondary:hover {
    background: rgba(193, 163, 94, 0.1);
    border-color: #ecf0f1;
    color: #ecf0f1;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.back-to-home {
    text-align: center;
    margin-bottom: 40px;
}

/* ==========================================================================
   Features Section (Homepage)
   ========================================================================== */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.feature-card {
    
     background: rgba(13, 23, 44,0.6);
    
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #34495e;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: #1e3a5f;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #1e3a5f, #2c4f73);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.feature-card h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #ecf0f1;
}

.feature-card p {
    color: #bdc3c7;
    line-height: 1.5;
}

/* ==========================================================================
   Naval Accent (Homepage)
   ========================================================================== */
.naval-accent {
    text-align: center;
    margin-bottom: 60px;
}

.compass {
    width: 100px;
    height: 100px;
    border: 3px solid #C1A35E;
    border-radius: 50%;
    margin: 0 auto 20px;
    position: relative;
    background: rgba(0, 0, 0, 0.5);
}

.compass::before,
.compass::after {
    content: '';
    position: absolute;
    background: #C1A35E;
}

.compass::before {
    width: 2px;
    height: 80px;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.compass::after {
    width: 80px;
    height: 2px;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
}

/* ==========================================================================
   FAQ Styles
   ========================================================================== */
.faq-section {
    margin-bottom: 80px;
}

.faq-item {
    background: rgba(0, 0, 0, 0.4);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #34495e;
    backdrop-filter: blur(10px);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    border-color: #1e3a5f;
}

.faq-question {
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #C1A35E;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    color: #bdc3c7;
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.active {
    max-height: 200px;
    margin-top: 15px;
}

/* ==========================================================================
   News/Blog Styles
   ========================================================================== */
.news-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.blog-post {
    background: rgba(0, 0, 0, 0.4);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #34495e;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-post:hover {
    transform: translateY(-5px);
    border-color: #1e3a5f;
}

.post-date {
    color: #C1A35E;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.post-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #ecf0f1;
    line-height: 1.3;
}

.post-author {
    color: #95a5a6;
    font-size: 0.9rem;
    margin-bottom: 15px;
    font-style: italic;
}

.post-excerpt {
    color: #bdc3c7;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 20px;
}

.read-more {
    color: #C1A35E;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #ecf0f1;
}

.post-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 20px;
    border: 1px solid #34495e;
}

.post-content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.loading {
    text-align: center;
    color: #bdc3c7;
    font-size: 1.2rem;
    margin: 60px 0;
}

.no-posts {
    text-align: center;
    color: #95a5a6;
    font-size: 1.1rem;
    margin: 60px 0;
    background: rgba(0, 0, 0, 0.4);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid #34495e;
}

/* ==========================================================================
   Post/Article Styles (post.php)
   ========================================================================== */
.post-container {
    background: rgba(13, 23, 44, 0.6);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid #34495e;
    backdrop-filter: blur(10px);
    margin-bottom: 80px;
}

.post-meta {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #34495e;
}

.post-title {
    font-family: 'Oswald', sans-serif;
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: #ecf0f1;
    line-height: 1.3;
}

.post-author {
    color: #95a5a6;
    font-size: 1rem;
    font-style: italic;
}

.post-content {
    color: #ecf0f1;
    line-height: 1.8;
    font-size: 1.1rem;
}

.post-content p {
    margin-bottom: 20px;
}

.post-content h2 {
    font-family: 'Oswald', sans-serif;
    color: #C1A35E;
    margin: 30px 0 15px;
    font-size: 1.6rem;
}

.post-content h3 {
    font-family: 'Oswald', sans-serif;
    color: #ecf0f1;
    margin: 25px 0 12px;
    font-size: 1.3rem;
}

.post-content ul, .post-content ol {
    margin: 15px 0 15px 30px;
}

.post-content li {
    margin-bottom: 8px;
}

.post-content blockquote {
    border-left: 4px solid #C1A35E;
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: #bdc3c7;
}

.post-thumbnail {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
    border: 1px solid #34495e;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   Footer Styles
   ========================================================================== */
footer {
    background: rgba(0, 0, 0, 0.6);
    padding: 40px 0;
    text-align: center;
    border-top: 3px solid #C1A35E;
    margin-top: 60px;
}

footer p {
    color: #95a5a6;
    font-size: 0.9rem;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */
@media (max-width: 768px) {
    .logo {
        max-height: 80px;
        max-width: 90%;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 250px;
    }

    .faq-question {
        font-size: 1.2rem;
    }

    .news-container {
        grid-template-columns: 1fr;
    }

    .post-container {
        padding: 20px;
    }

    .post-title {
        font-size: 1.8rem;
    }
}