/*
Theme Name: PRO GROOMING Сайт
Theme URI: https://progrooming.com.ua
Author: PRO GROOMING
Author URI: https://progrooming.com.ua
Description: WordPress тема для блога PRO GROOMING UNIVERSITY BY ALINA PAPIAN
Version: 1.0
Text Domain: progrooming-blog
*/

/* Font Face Declarations */
/* Fonts are loaded via inline styles in functions.php with correct paths */
/* These declarations are fallback - actual paths are set via PHP */
@font-face {
    font-family: 'FixelDisplay';
    src: url('fonts/FixelDisplay-Font/FixelDisplay-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'FixelDisplay';
    src: url('fonts/FixelDisplay-Font/FixelDisplay-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'FixelDisplay';
    src: url('fonts/FixelDisplay-Font/FixelDisplay-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'FixelDisplay';
    src: url('fonts/FixelDisplay-Font/FixelDisplay-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'FixelDisplay', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #000000;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

/* Global Link Styles - Remove blue color */
a,
a:link,
a:visited,
a:active {
    color: #e4a8a8 !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #ffffff !important;
}

a:focus {
    color: #e4a8a8 !important;
    outline: 2px solid #e4a8a8;
    outline-offset: 2px;
}

/* Remove any blue links from WordPress default styles */
a[href],
a[href]:link,
a[href]:visited {
    color: #e4a8a8 !important;
}

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

/* Header Styles */
.header {
    background: #000000;
    padding: 1.5rem 0;
    border-bottom: 1px solid #2d2d2d;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

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

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

.nav {
    display: block;
}

.nav__list {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav__item {
    margin: 0;
}

.nav__link {
    color: #e6e6e6;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
    display: block;
}

.nav__link:hover {
    color: #e4a8a8;
}

/* Main Content */
.site-main {
    padding: 3rem 0;
    min-height: 60vh;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.content-area {
    max-width: 800px;
    margin: 0 auto;
}

/* Post Styles */
.post {
    background: #1e1e1e;
    border-radius: 12px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    border: 1px solid #2d2d2d;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(228, 168, 168, 0.1);
    border-color: #e4a8a8;
}

.post-header {
    margin-bottom: 1.5rem;
}

.post-title {
    font-size: 2rem;
    font-weight: 700;
    color: #e4a8a8;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.post-title a {
    color: #e4a8a8 !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: #ffffff !important;
}

.post-meta {
    display: flex;
    gap: 1.5rem;
    color: #b3b3b3;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-meta a {
    color: #e4a8a8 !important;
    text-decoration: none;
}

.post-meta a:hover {
    color: #ffffff !important;
}

.post-meta time {
    color: #e4a8a8 !important;
}

.post-meta .author a {
    color: #e4a8a8 !important;
}

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

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content h2,
.post-content h3,
.post-content h4 {
    color: #e4a8a8;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.post-content h2 {
    font-size: 1.75rem;
}

.post-content h3 {
    font-size: 1.5rem;
}

.post-content h4 {
    font-size: 1.25rem;
}

.post-content ul,
.post-content ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.post-content li {
    margin-bottom: 0.5rem;
    color: #e6e6e6;
}

.post-content a {
    color: #e4a8a8 !important;
    text-decoration: underline;
}

.post-content a:hover {
    color: #ffffff !important;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.post-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #2d2d2d;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.post-categories,
.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.post-categories a,
.post-tags a {
    background: #2d2d2d;
    color: #e4a8a8 !important;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.85rem;
    transition: background 0.3s ease, color 0.3s ease;
}

.post-categories a:hover,
.post-tags a:hover {
    background: #e4a8a8;
    color: #000000 !important;
}

.read-more {
    color: #e4a8a8 !important;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #ffffff !important;
}

/* Single Post */
.single-post .post {
    max-width: 900px;
    margin: 0 auto;
}

/* Archive Page */
.archive-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.archive-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #e4a8a8;
    margin-bottom: 1rem;
}

.archive-description {
    color: #b3b3b3;
    font-size: 1.1rem;
}

/* Post Navigation (Previous/Next) */
.post-navigation {
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 1px solid #2d2d2d;
    border-bottom: 1px solid #2d2d2d;
}

.post-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
    flex: 1;
    min-width: 200px;
}

.post-navigation a {
    color: #e4a8a8 !important;
    text-decoration: none;
    display: block;
    transition: color 0.3s ease;
}

.post-navigation a:hover {
    color: #ffffff !important;
}

.post-navigation .nav-subtitle {
    display: block;
    color: #b3b3b3;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.post-navigation .nav-title {
    display: block;
    color: #e4a8a8;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    padding: 0.75rem 1.25rem;
    background: #1e1e1e;
    color: #e6e6e6 !important;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid #2d2d2d;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background: #e4a8a8;
    color: #000000 !important;
    border-color: #e4a8a8;
}

.pagination .current {
    background: #e4a8a8;
    color: #000000 !important;
    border-color: #e4a8a8;
}

/* Footer */
.footer {
    background: #000000;
    color: white;
    padding: 3rem 0 1rem;
    border-top: 1px solid #1e1e1e;
    margin-top: 4rem;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

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

.footer__section h3 {
    color: #e4a8a8;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer__section p {
    color: #e6e6e6;
    margin-bottom: 0.5rem;
}

.footer__section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer__section ul li {
    margin-bottom: 0.5rem;
    color: #e6e6e6;
}

.footer__section ul li a {
    color: #e6e6e6 !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer__section ul li a:hover {
    color: #e4a8a8 !important;
}

.footer__bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #1e1e1e;
}

.footer__bottom p {
    color: #e6e6e6;
    margin: 0.5rem 0;
}

/* Sidebar */
.sidebar {
    max-width: 300px;
    margin-left: 2rem;
}

.widget {
    background: #1e1e1e;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid #2d2d2d;
}

.widget-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #e4a8a8;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #2d2d2d;
}

.widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #2d2d2d;
}

.widget li:last-child {
    border-bottom: none;
}

.widget a {
    color: #e6e6e6 !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.widget a:hover {
    color: #e4a8a8 !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header__content {
        flex-direction: column;
        gap: 1rem;
    }

    .nav__list {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer__content {
        grid-template-columns: 1fr;
    }

    .post {
        padding: 1.5rem;
    }

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

    .post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .post-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .archive-title {
        font-size: 2rem;
    }

    .sidebar {
        margin-left: 0;
        margin-top: 3rem;
    }
}

/* WordPress Core Styles */
.wp-block-image {
    margin: 1.5rem 0;
}

.wp-block-image img {
    border-radius: 8px;
}

.wp-block-quote {
    border-left: 4px solid #e4a8a8;
    padding-left: 1.5rem;
    margin: 2rem 0;
    color: #b3b3b3;
    font-style: italic;
}

.wp-block-code {
    background: #1e1e1e;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #2d2d2d;
    overflow-x: auto;
}

/* Ensure all WordPress content links are styled */
.wp-block-button__link,
.wp-element-button {
    color: #e4a8a8 !important;
}

.wp-block-button__link:hover,
.wp-element-button:hover {
    color: #ffffff !important;
}

/* Page Links (wp_link_pages) */
.page-links {
    margin: 2rem 0;
    padding: 1rem 0;
    border-top: 1px solid #2d2d2d;
    border-bottom: 1px solid #2d2d2d;
}

.page-links a {
    color: #e4a8a8 !important;
    text-decoration: none;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border: 1px solid #2d2d2d;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.page-links a:hover {
    color: #ffffff !important;
    border-color: #e4a8a8;
}

.page-links > span {
    color: #e4a8a8;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border: 1px solid #e4a8a8;
    border-radius: 4px;
}

/* Comments */
.comments-area {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid #2d2d2d;
}

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

.comment {
    background: #1e1e1e;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    border: 1px solid #2d2d2d;
}

.comment-author {
    color: #e4a8a8;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.comment-author a {
    color: #e4a8a8 !important;
    text-decoration: none;
}

.comment-author a:hover {
    color: #ffffff !important;
}

.comment-meta {
    color: #b3b3b3;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.comment-meta a {
    color: #e4a8a8 !important;
    text-decoration: none;
}

.comment-meta a:hover {
    color: #ffffff !important;
}

.comment-content {
    color: #e6e6e6;
    line-height: 1.8;
}

.comment-content a {
    color: #e4a8a8 !important;
    text-decoration: underline;
}

.comment-content a:hover {
    color: #ffffff !important;
}

.comment-reply-link {
    color: #e4a8a8 !important;
    text-decoration: none;
    font-size: 0.9rem;
    margin-top: 1rem;
    display: inline-block;
}

.comment-reply-link:hover {
    color: #ffffff !important;
}

