/*
Theme Name: WP Corporaty
Theme URI: https://example.com/wp-corporate-template
Author: Theme Developer
Author URI: https://example.com
Description: A modern corporate WordPress theme with responsive design and customizable features.
Version: 1.0.0
License: MIT
License URI: https://opensource.org/licenses/MIT
Text Domain: wp-corporate
Tags: corporate, business, responsive, clean, modern, blog, e-commerce
*/

/* ========================================
   WordPress Theme: WP Corporate Template
   ======================================== */

/* CSS Variables */
:root {
    --color-primary: #2c3e50;
    --color-secondary: #34495e;
    --color-link: #3498db;
    --color-link-hover: #2980b9;
    --color-text-primary: #2c3e50;
    --color-text-secondary: #7f8c8d;
    --color-white: #ffffff;
    --color-light-gray: #f8f9fa;
    --color-light-navy: #ecf0f1;
    --color-navy-medium: #bdc3c7;
    --color-navy-dark: #2c3e50;
    --color-red: #e74c3c;
    --color-border: #dee2e6;
    --color-bg-light: #f8f9fa;
    --color-success: #27ae60;
    --color-warning: #f39c12;
    --color-info: #3498db;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--color-text-primary);
    background-color: var(--color-white);
}

img {
    max-width: 100%;
    height: auto;
}

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

/* Header */
.site-header {
    background-color: var(--color-white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-branding {
    display: flex;
    align-items: center;
    padding: 20px 0;
}

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

.site-branding h1 a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-branding h1 a:hover {
    color: var(--color-link);
}

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

.site-navigation {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu li a {
    color: var(--color-text-primary);
    text-decoration: none;
    font-weight: 500;
    padding: 10px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.nav-menu li a:hover {
    color: var(--color-link);
    border-bottom-color: var(--color-link);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-text-primary);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: var(--color-white);
    padding: 100px 0;
    text-align: center;
    margin-bottom: 60px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-button {
    display: inline-block;
    background-color: var(--color-white);
    color: var(--color-primary);
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.hero-button:hover {
    background-color: var(--color-light-gray);
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* Site Content */
.site-content {
    padding: 60px 0;
}

/* Page Section */
.page-section {
    margin-bottom: 60px;
}

.page-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--color-text-primary);
}

.page-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
}

/* Cover Block Styles */
.cover {
    position: relative;
    width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.cover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.cover-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
    text-align: center;
}

.cover-content h2 {
    color: var(--color-white);
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.cover-content p {
    color: var(--color-white);
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.cover-button {
    display: inline-block;
    background-color: var(--color-link);
    color: var(--color-white);
    padding: 15px 40px;
    font-size: 1.1rem;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.cover-button:hover {
    background-color: var(--color-link-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(52, 152, 219, 0.3);
}

/* Post Slider Styles */
.post-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 40px 0;
}

.post-slider-container {
    display: flex;
    transition: transform 0.5s ease;
    gap: 20px;
}

.post-slide {
    min-width: calc(33.333% - 14px);
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.post-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.post-slide-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: var(--color-bg-light);
}

.post-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-slide:hover .post-slide-image img {
    transform: scale(1.05);
}

.post-slide-content {
    padding: 20px;
}

.post-slide-title {
    margin: 0 0 15px;
    font-size: 1.8rem;
    color: var(--color-text-primary);
    line-height: 1.3;
}

.post-slide-title a {
    color: var(--color-text-primary);
    border-bottom: none;
    padding: 0;
}

.post-slide-title a:hover {
    background-color: transparent;
    color: var(--color-link);
}

.post-slide-excerpt {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin-bottom: 15px;
    line-height: 1.6;
}

.post-slide-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    padding-top: 12px;
    border-top: 1px solid var(--color-border);
}

.post-slide-date {
    display: flex;
    align-items: center;
    gap: 4px;
}

.post-slide-category {
    background-color: #e8f0f7;
    color: var(--color-link);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    text-decoration: none;
    border-bottom: none;
    transition: all 0.3s ease;
}

.post-slide-category:hover {
    background-color: var(--color-link);
    color: var(--color-white);
}

/* Post Slider Navigation */
.post-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    pointer-events: none;
    z-index: 10;
}

.post-slider-prev,
.post-slider-next {
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--color-border);
    color: var(--color-navy-dark);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    font-size: 16px;
}

.post-slider-prev:hover,
.post-slider-next:hover {
    background-color: var(--color-navy-dark);
    color: var(--color-white);
}

/* Post Slider Indicators */
.post-slider-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    padding: 5px 0px;
}

.post-slider-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--color-border);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.post-slider-indicator.active {
    background-color: var(--color-link);
    transform: scale(1.2);
}

/* Footer */
.site-footer {
    background-color: var(--color-navy-dark);
    color: var(--color-white);
    padding: 60px 0 30px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: var(--color-white);
}

.footer-section p,
.footer-section a {
    color: var(--color-light-gray);
    text-decoration: none;
    line-height: 1.6;
}

.footer-section a:hover {
    color: var(--color-white);
}

.footer-menu {
    list-style: none;
    padding: 0;
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    color: var(--color-light-gray);
    font-size: 0.9rem;
}

.copyright a {
    color: var(--color-light-gray);
    text-decoration: none;
}

.copyright a:hover {
    color: var(--color-white);
}

/* Blog Post Styles */
.post {
    background: var(--color-white);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin-bottom: 40px;
}

.post-header {
    margin-bottom: 30px;
}

.entry-title {
    font-size: 2rem;
    color: var(--color-text-primary);
    margin-bottom: 20px;
    line-height: 1.3;
}

.entry-title a {
    color: var(--color-text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.entry-title a:hover {
    color: var(--color-link);
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

.post-date,
.post-author,
.post-categories {
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-thumbnail {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.post-excerpt {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-primary);
    margin-bottom: 40px;
}

.post-footer {
    padding-top: 30px;
    border-top: 1px solid var(--color-border);
}

.read-more {
    display: inline-block;
    background-color: var(--color-link);
    color: var(--color-white);
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.read-more:hover {
    background-color: var(--color-link-hover);
    transform: translateX(3px);
}

/* Posts Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

/* Page Styles */
.page {
    background: var(--color-white);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin-bottom: 40px;
}

.page-header {
    margin-bottom: 40px;
}

.page-title {
    font-size: 2.5rem;
    color: var(--color-text-primary);
    margin-bottom: 20px;
    line-height: 1.3;
}

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

.page-navigation {
    margin-top: 40px;
    text-align: center;
}

.page-links {
    font-size: 1rem;
}

.page-link {
    margin: 0 10px;
}

.page-link a {
    color: var(--color-link);
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid var(--color-link);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.page-link a:hover {
    background-color: var(--color-link);
    color: var(--color-white);
}

/* Pagination */
.pagination-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 40px 0;
}

.pagination-nav .nav-links {
    display: flex;
    gap: 10px;
}

.pagination-nav a {
    color: var(--color-link);
    text-decoration: none;
    padding: 10px 16px;
    border: 1px solid var(--color-border);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.pagination-nav a:hover {
    background-color: var(--color-link);
    color: var(--color-white);
}

/* Error 404 */
.error-404 {
    text-align: center;
    padding: 60px 0;
}

.error-title {
    font-size: 4rem;
    color: var(--color-text-primary);
    margin-bottom: 30px;
}

.error-content {
    max-width: 600px;
    margin: 0 auto;
}

.error-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
    margin-bottom: 40px;
}

.error-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.error-button {
    display: inline-block;
    background-color: var(--color-link);
    color: var(--color-white);
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.error-button:hover {
    background-color: var(--color-link-hover);
    transform: translateY(-2px);
}

/* Comments */
.comments-area {
    margin-top: 60px;
}

.comments-title {
    font-size: 1.8rem;
    color: var(--color-text-primary);
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--color-border);
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

.comment-list li {
    margin-bottom: 30px;
    padding: 20px;
    background: var(--color-light-gray);
    border-radius: 8px;
}

.comment-reply-title {
    font-size: 1.4rem;
    color: var(--color-text-primary);
    margin-bottom: 20px;
}

.comment-notes {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
}

.comment-form-comment {
    margin-bottom: 20px;
}

.comment-form-comment label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--color-text-primary);
}

.comment-form-comment textarea {
    width: 100%;
    min-height: 120px;
    padding: 15px;
    border: 1px solid var(--color-border);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    resize: vertical;
}

.comment-form-submit {
    margin-top: 20px;
}

.comment-form-submit .submit {
    background-color: var(--color-link);
    color: var(--color-white);
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.comment-form-submit .submit:hover {
    background-color: var(--color-link-hover);
    transform: translateY(-2px);
}

/* No Posts */
.no-posts {
    text-align: center;
    padding: 60px 0;
}

.no-posts p {
    font-size: 1.2rem;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .cover-content {
        padding: 60px 15px;
    }
    
    .cover-content h2 {
        font-size: 2rem;
    }
    
    .cover-content p {
        font-size: 1rem;
    }
    
    .post-slide {
        min-width: calc(33.333% - 14px);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
    }
    
    .cover-content {
        padding: 40px 15px;
    }
    
    .cover-content h2 {
        font-size: 1.8rem;
    }
    
    .cover-content p {
        font-size: 0.95rem;
    }
    
    .post-slide {
        min-width: calc(50% - 10px);
    }
    
    .post-slider-nav {
        display: block;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 0.85rem;
    }
    
    .hero-button {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .cover-content {
        padding: 30px 10px;
    }
    
    .cover-content h2 {
        font-size: 1.5rem;
    }
    
    .cover-content p {
        font-size: 0.85rem;
    }
    
    .cover-button {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
    
    .post-slider {
        padding: 0 10px;
    }
    
    .post-slide {
        min-width: 100%;
    }
    
    .post-slide-image {
        height: 200px;
    }
    
    .post-slide-content {
        padding: 15px;
    }
    
    .post-slide-title {
        font-size: 1.2rem;
    }
    
    .post-slide-excerpt {
        font-size: 0.9rem;
    }
    
    .post-slider-nav {
        display: flex;
        position: static;
        transform: none;
        justify-content: center;
        gap: 20px;
        margin-top: 20px;
        padding: 0;
    }
    
    .post-slider-prev,
    .post-slider-next {
        width: 50px;
        height: 50px;
        font-size: 18px;
        background-color: var(--color-navy-dark);
        color: var(--color-white);
        border: none;
    }
    
    .post-slider-prev:hover,
    .post-slider-next:hover {
        background-color: var(--color-link);
        transform: scale(1.1);
    }
    
    .site-footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .post {
        padding: 20px;
    }
    
    .entry-title {
        font-size: 1.5rem;
    }
    
    .post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .post-body {
        font-size: 1rem;
    }
}

/* Margin Utilities */
.mt-xs { margin-top: 10px; }
.mt-sm { margin-top: 20px; }
.mt-md { margin-top: 30px; }
.mt-lg { margin-top: 40px; }
.mt-xl { margin-top: 60px; }
.mt-2xl { margin-top: 80px; }
.mt-3xl { margin-top: 100px; }

.mb-xs { margin-bottom: 10px; }
.mb-sm { margin-bottom: 20px; }
.mb-md { margin-bottom: 30px; }
.mb-lg { margin-bottom: 40px; }
.mb-xl { margin-bottom: 60px; }
.mb-2xl { margin-bottom: 80px; }
.mb-3xl { margin-bottom: 100px; }

.my-xs { margin-top: 10px; margin-bottom: 10px; }
.my-sm { margin-top: 20px; margin-bottom: 20px; }
.my-md { margin-top: 30px; margin-bottom: 30px; }
.my-lg { margin-top: 40px; margin-bottom: 40px; }
.my-xl { margin-top: 60px; margin-bottom: 60px; }
.my-2xl { margin-top: 80px; margin-bottom: 80px; }
.my-3xl { margin-top: 100px; margin-bottom: 100px; }

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.my-0 { margin-top: 0; margin-bottom: 0; }
