/*
 * OnePress Black & White Color Scheme
 * Custom CSS for black and white styling
 */

/* ========================================
   PRIMARY COLORS OVERRIDE
======================================== */

:root {
    --onepress-primary: #000000;
    --onepress-secondary: #ffffff;
    --onepress-accent: #333333;
    --onepress-light-gray: #f8f8f8;
    --onepress-dark-gray: #666666;
    --onepress-border: #e0e0e0;
    
    /* Font Variables */
    --font-heading: 'Roboto', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

/* ========================================
   GLOBAL STYLES
======================================== */

/* Import Roboto fonts from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

body {
    color: #333333;
    background-color: #ffffff;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    line-height: 1.6;
}

/* Typography - Headings */
h1, h2, h3, h4, h5, h6,
.section-title,
.hero-large-text,
.news-title,
.blog-title,
.feature-title,
.service-title,
.team-member-name,
.counter-number {
    font-family: 'Roboto', sans-serif;
    font-weight: 700; /* Roboto Bold */
    line-height: 1.2;
}

/* Typography - Body Text */
p, div, span, a, li, td, th,
.section-desc,
.hero-small-text,
.feature-desc,
.service-desc,
.team-member-desc,
.news-meta,
.blog-meta,
.contact-info-item {
    font-family: 'Roboto', sans-serif;
    font-weight: 400; /* Roboto Regular */
}

/* Typography - Navigation */
.navbar-nav .nav-link,
.site-title,
.site-description {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
}

/* Typography - Buttons */
.btn {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Typography - Specific Elements */
.site-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
}

.site-description {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 0.9rem;
}

.hero-large-text {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 3rem;
    line-height: 1.1;
}

.hero-small-text {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 1.1rem;
    line-height: 1.5;
}

.section-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    line-height: 1.2;
}

.section-subtitle {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-desc {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.6;
}

/* Typography - Form Elements */
.form-control,
input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 1rem;
}

/* Typography - Menu Items */
.navbar-nav .nav-link {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========================================
   HEADER & NAVIGATION
======================================== */

.site-header,
#header-section,
.header-section {
    background-color: #ffffff !important;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
    z-index: 1000;
    width: 100%;
    display: block !important;
}

.site-header.transparent,
#header-section.is-transparent {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
}

/* Ensure header is always visible */
#header-section {
    min-height: 70px;
}

#header-section .container {
    position: relative;
    z-index: 1001;
}

.navbar-brand,
.site-title a {
    color: #000000 !important;
}

.site-description {
    color: #666666 !important;
}

/* Navigation Menu */
.navbar,
.navbar-nav,
.navbar-nav .nav-link {
    display: flex !important;
    align-items: center;
}

.navbar-nav .nav-link {
    color: #333333 !important;
    padding: 0.5rem 1rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: #000000 !important;
}

.navbar-nav .nav-link.active {
    color: #000000 !important;
    font-weight: 600;
}

/* Navbar Brand */
.navbar-brand {
    display: flex !important;
    align-items: center;
    font-weight: 700;
    text-decoration: none;
}

.navbar-brand:hover {
    text-decoration: none;
}

/* Mobile Menu */
.navbar-toggler {
    border-color: #000000;
    display: block !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-collapse {
    display: flex !important;
}

.navbar-collapse.collapse {
    display: none !important;
}

.navbar-collapse.collapse.show {
    display: flex !important;
}

/* Ensure header structure is correct */
#header-section .navbar {
    padding: 1rem 0;
}

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

/* Logo area */
#header-section .navbar-brand,
#header-section .site-branding {
    display: flex;
    align-items: center;
}

/* Navigation area */
#header-section .navbar-nav {
    margin-left: auto;
}

/* ========================================
   HERO SECTION
======================================== */

.hero-slideshow-wrapper {
    background-color: #000000;
    color: #ffffff;
}

.hero-large-text {
    color: #ffffff !important;
}

.hero-small-text {
    color: #ffffff !important;
    opacity: 0.9;
}

/* Hero Buttons */
.btn-theme-primary {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 2px solid #ffffff !important;
}

.btn-theme-primary:hover {
    background-color: #f0f0f0 !important;
    color: #000000 !important;
    border-color: #f0f0f0 !important;
}

.btn-secondary-outline {
    background-color: transparent !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
}

.btn-secondary-outline:hover {
    background-color: #ffffff !important;
    color: #000000 !important;
    border-color: #ffffff !important;
}

/* Hero Overlay */
.hero-slideshow-wrapper::before {
    background-color: rgba(0, 0, 0, 0.4) !important;
}

/* ========================================
   SECTIONS
======================================== */

.section-padding {
    background-color: #ffffff;
}

.section-title {
    color: #000000 !important;
}

.section-subtitle {
    color: #666666 !important;
}

.section-desc {
    color: #666666 !important;
}

/* Inverted Sections */
.section-padding.inverted {
    background-color: #000000 !important;
    color: #ffffff;
}

.section-padding.inverted .section-title {
    color: #ffffff !important;
}

.section-padding.inverted .section-subtitle {
    color: #cccccc !important;
}

.section-padding.inverted .section-desc {
    color: #cccccc !important;
}

/* ========================================
   FEATURES SECTION
======================================== */

.feature-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
}

.feature-item:hover {
    border-color: #000000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    color: #000000 !important;
}

.feature-title {
    color: #000000 !important;
}

.feature-desc {
    color: #666666 !important;
}

/* ========================================
   ABOUT SECTION
======================================== */

.about-image img {
    border: 2px solid #e0e0e0;
}

.about-image img:hover {
    border-color: #000000;
}

/* ========================================
   SERVICES SECTION
======================================== */

.service-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
}

.service-item:hover {
    border-color: #000000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.service-icon {
    color: #000000 !important;
}

.service-title {
    color: #000000 !important;
}

.service-desc {
    color: #666666 !important;
}

/* ========================================
   GALLERY SECTION
======================================== */

.gallery-item {
    border: 2px solid #e0e0e0;
}

.gallery-item:hover {
    border-color: #000000;
}

/* ========================================
   TEAM SECTION
======================================== */

.team-member {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
}

.team-member:hover {
    border-color: #000000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.team-member-name {
    color: #000000 !important;
}

.team-member-position {
    color: #666666 !important;
}

.team-member-desc {
    color: #666666 !important;
}

/* ========================================
   NEWS/BLOG SECTION
======================================== */

.news-item,
.blog-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
}

.news-item:hover,
.blog-item:hover {
    border-color: #000000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.news-title,
.blog-title {
    color: #000000 !important;
}

.news-title a,
.blog-title a {
    color: #000000 !important;
}

.news-title a:hover,
.blog-title a:hover {
    color: #333333 !important;
}

.news-meta,
.blog-meta {
    color: #666666 !important;
}

/* ========================================
   WOOCOMMERCE CATEGORIES SECTION
======================================== */

.wc-category-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.wc-category-item:hover {
    border-color: #000000;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.category-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 200px;
    background-color: #f8f8f8;
}

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

.wc-category-item:hover .category-image-wrapper img {
    transform: scale(1.05);
}

.category-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0;
    color: #666666;
    font-size: 3rem;
}

.category-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.category-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: #000000 !important;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

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

.category-title a:hover {
    color: #333333 !important;
}

/* ========================================
   NEWS SECTION WITH WOOCOMMERCE CATEGORIES
======================================== */

/* Стили для кликабельной ссылки категории */
.section-news .wc-category-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.section-news .wc-category-link:hover {
    text-decoration: none;
    color: inherit;
}

/* Стили для секции news, которая теперь показывает категории WooCommerce */
.section-news .wc-category-item {
    background: linear-gradient(145deg, #ffffff, #f8f8f8);
    border: 2px solid transparent;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    cursor: pointer;
}

.section-news .wc-category-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.02), rgba(0,0,0,0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 16px;
    z-index: 1;
}

.section-news .wc-category-link:hover .wc-category-item {
    border-color: #000000;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-8px) scale(1.02);
}

.section-news .wc-category-link:hover .wc-category-item::before {
    opacity: 1;
}

.section-news .category-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 200px;
    background: linear-gradient(135deg, #f5f5f5, #e8e8e8);
    border-bottom: 2px solid #000000;
}

.section-news .category-image-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #000000, #333333, #000000);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.section-news .wc-category-link:hover .category-image-wrapper::after {
    transform: scaleX(1);
}

.section-news .category-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
    filter: grayscale(20%) contrast(1.1);
}

.section-news .wc-category-link:hover .category-image-wrapper img {
    transform: scale(1.08) rotate(1deg);
    filter: grayscale(0%) contrast(1.2);
}

.section-news .category-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #000000 0%, #333333 50%, #000000 100%);
    color: #ffffff;
    font-size: 3.5rem;
    position: relative;
    overflow: hidden;
}

.section-news .category-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.section-news .category-content {
    padding: 1.8rem 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
    background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(248,248,248,0.9));
}

.section-news .category-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: #000000 !important;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    position: relative;
}

.section-news .category-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #000000, #666666);
    transition: width 0.3s ease;
}

.section-news .wc-category-link:hover .category-title::after {
    width: 80px;
}

.section-news .category-title a {
    color: #000000 !important;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.section-news .category-title a:hover {
    color: #333333 !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.section-news .category-desc {
    color: #555555;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.2rem;
    flex-grow: 1;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    position: relative;
}

.section-news .category-count {
    font-size: 0.85rem;
    color: #000000;
    font-weight: 600;
    margin-top: auto;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
    border-radius: 20px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-news .wc-category-link:hover .category-count {
    background: linear-gradient(135deg, #000000, #333333);
    color: #ffffff;
    border-color: #000000;
    transform: scale(1.05);
}

.section-news .all-categories {
    margin-top: 50px;
    text-align: center;
}

.section-news .all-categories .btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    border: 3px solid #000000;
    background: transparent;
    color: #000000;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.section-news .all-categories .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #000000, #333333);
    transition: left 0.4s ease;
    z-index: -1;
}

.section-news .all-categories .btn:hover {
    color: #ffffff;
    border-color: #000000;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.section-news .all-categories .btn:hover::before {
    left: 0;
}

/* Дополнительные эффекты для категорий */
.section-news .wc-category-item {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.section-news .wc-category-item:nth-child(1) { animation-delay: 0.1s; }
.section-news .wc-category-item:nth-child(2) { animation-delay: 0.2s; }
.section-news .wc-category-item:nth-child(3) { animation-delay: 0.3s; }
.section-news .wc-category-item:nth-child(4) { animation-delay: 0.4s; }
.section-news .wc-category-item:nth-child(5) { animation-delay: 0.5s; }
.section-news .wc-category-item:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Эффект параллакса для изображений */
.section-news .category-image-wrapper {
    transform: perspective(1000px) rotateX(0deg);
    transition: transform 0.4s ease;
}

.section-news .wc-category-item:hover .category-image-wrapper {
    transform: perspective(1000px) rotateX(5deg);
}

/* Стилизация для пустых категорий */
.section-news .no-categories {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f8f8f8, #e8e8e8);
    border-radius: 16px;
    border: 2px dashed #cccccc;
}

.section-news .no-categories p {
    font-size: 1.1rem;
    color: #666666;
    margin: 0;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
}

/* Улучшенные стили для заголовка секции */
.section-news .section-title {
    position: relative;
    margin-bottom: 1rem;
}

.section-news .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #000000, #333333, #000000);
    border-radius: 2px;
}

/* Адаптивность для секции news - оптимизировано для отображения в одну строку */
@media (max-width: 1200px) {
    .section-news .wc-category-item {
        margin-bottom: 15px;
    }
    
    .section-news .category-image-wrapper {
        height: 160px;
    }
    
    .section-news .category-content {
        padding: 1.2rem 1rem;
    }
    
    .section-news .category-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 992px) {
    .section-news .wc-category-item {
        margin-bottom: 15px;
    }
    
    .section-news .category-image-wrapper {
        height: 150px;
    }
    
    .section-news .category-content {
        padding: 1rem 0.8rem;
    }
    
    .section-news .category-title {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }
    
    .section-news .category-desc {
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
    }
    
    .section-news .category-count {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }
}

@media (max-width: 768px) {
    .section-news .wc-category-item {
        margin-bottom: 15px;
        border-radius: 10px;
    }
    
    .section-news .category-image-wrapper,
    .section-news .category-placeholder {
        height: 140px;
    }
    
    .section-news .category-title {
        font-size: 0.95rem;
        letter-spacing: 0.2px;
        margin-bottom: 0.5rem;
    }
    
    .section-news .category-content {
        padding: 1rem 0.8rem;
    }
    
    .section-news .category-desc {
        font-size: 0.75rem;
        margin-bottom: 0.6rem;
        line-height: 1.4;
    }
    
    .section-news .category-count {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
    }
    
    .section-news .all-categories .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .section-news .wc-category-item {
        margin-bottom: 15px;
        border-radius: 10px;
    }
    
    .section-news .category-image-wrapper,
    .section-news .category-placeholder {
        height: 160px;
    }
    
    .section-news .category-title {
        font-size: 1rem;
    }
    
    .section-news .category-content {
        padding: 1rem 0.8rem;
    }
    
    .section-news .category-desc {
        font-size: 0.85rem;
    }
    
    .section-news .category-count {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }
    
    .section-news .all-categories {
        margin-top: 30px;
    }
    
    .section-news .all-categories .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
        letter-spacing: 0.5px;
    }
}

.category-desc {
    color: #666666;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.category-count {
    color: #000000;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: auto;
}

.all-categories {
    margin-top: 3rem;
}

.all-categories .btn {
    padding: 12px 30px;
    font-size: 1rem;
}

.no-categories {
    text-align: center;
    padding: 3rem 1rem;
    color: #666666;
}

.no-categories p {
    font-size: 1.1rem;
    margin: 0;
}

/* ========================================
   CONTACT SECTION
======================================== */

.contact-info {
    background-color: #f8f8f8;
    border: 1px solid #e0e0e0;
}

.contact-info-item {
    color: #333333;
}

.contact-info-item i {
    color: #000000;
}

/* Contact Form */
.form-control {
    border: 1px solid #e0e0e0;
    background-color: #ffffff;
    color: #333333;
}

.form-control:focus {
    border-color: #000000;
    box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.25);
}

.btn-primary {
    background-color: #000000 !important;
    border-color: #000000 !important;
    color: #ffffff !important;
}

.btn-primary:hover {
    background-color: #333333 !important;
    border-color: #333333 !important;
}

/* ========================================
   FOOTER
======================================== */

.site-footer {
    background-color: #000000 !important;
    color: #ffffff;
}

.footer-widget .widget-title {
    color: #ffffff !important;
}

.footer-widget {
    color: #cccccc;
}

.footer-widget a {
    color: #cccccc;
}

.footer-widget a:hover {
    color: #ffffff;
}

.footer-social a {
    color: #ffffff;
    border: 1px solid #ffffff;
}

.footer-social a:hover {
    background-color: #ffffff;
    color: #000000;
}

.site-info {
    color: #cccccc;
    border-top: 1px solid #333333;
}

.site-info a {
    color: #ffffff;
}

.site-info a:hover {
    color: #cccccc;
}

/* ========================================
   COUNTER SECTION
======================================== */

.counter-item {
    color: #000000;
}

.counter-number {
    color: #000000 !important;
}

.counter-label {
    color: #666666 !important;
}

/* ========================================
   BUTTONS
======================================== */

.btn {
    border-radius: 0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-lg {
    padding: 12px 30px;
    font-size: 14px;
}

/* ========================================
   LINKS
======================================== */

a {
    color: #000000;
    transition: color 0.3s ease;
}

a:hover {
    color: #666666;
}

/* ========================================
   BORDERS & DIVIDERS
======================================== */

hr {
    border-color: #e0e0e0;
}

/* ========================================
   RESPONSIVE ADJUSTMENTS
======================================== */

@media (max-width: 768px) {
    .hero-large-text {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .section-title {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-small-text {
        font-size: 1rem;
    }
    
    .site-title {
        font-size: 1.5rem;
    }
    
    .btn-lg {
        padding: 10px 25px;
        font-size: 13px;
    }
    
    .navbar-nav .nav-link {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-large-text {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .site-title {
        font-size: 1.3rem;
    }
}

/* ========================================
   ACCESSIBILITY
======================================== */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles */
.btn:focus,
.form-control:focus,
.nav-link:focus {
    outline: 2px solid #000000;
    outline-offset: 2px;
}

/* ========================================
   ADDITIONAL BLACK & WHITE OVERRIDES
======================================== */

/* WooCommerce Integration */
.woocommerce .product .price {
    color: #000000 !important;
}

.woocommerce .button {
    background-color: #000000 !important;
    color: #ffffff !important;
    border-color: #000000 !important;
}

.woocommerce .button:hover {
    background-color: #333333 !important;
    border-color: #333333 !important;
}

/* Dots Navigation */
.onepress-sections-navigation .nav-dot {
    background-color: #cccccc !important;
    border-color: #cccccc !important;
}

.onepress-sections-navigation .nav-dot.active {
    background-color: #000000 !important;
    border-color: #000000 !important;
}

/* Scroll to Top Button */
.scroll-to-top {
    background-color: #000000 !important;
    color: #ffffff !important;
}

.scroll-to-top:hover {
    background-color: #333333 !important;
}

/* Search Form */
.search-form .search-field {
    border-color: #e0e0e0;
    background-color: #ffffff;
}

.search-form .search-field:focus {
    border-color: #000000;
}

.search-form .search-submit {
    background-color: #000000;
    color: #ffffff;
    border-color: #000000;
}

.search-form .search-submit:hover {
    background-color: #333333;
    border-color: #333333;
}

/* Comments */
.comment-content {
    background-color: #f8f8f8;
    border-left: 3px solid #000000;
}

.comment-meta {
    color: #666666;
}

.comment-meta a {
    color: #000000;
}

/* Breadcrumbs */
.breadcrumb {
    background-color: #f8f8f8;
}

.breadcrumb a {
    color: #000000;
}

.breadcrumb a:hover {
    color: #666666;
}

/* Pagination */
.pagination .page-numbers {
    color: #000000;
    border-color: #e0e0e0;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background-color: #000000;
    color: #ffffff;
    border-color: #000000;
}

/* ========================================
   PRINT STYLES
======================================== */

/* ========================================
   CRITICAL HEADER FIXES
======================================== */

/* Ensure header is never hidden */
body .site-header,
body #header-section,
body .header-section,
body .navbar {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Override any potential hiding */
body .site-header.hidden,
body #header-section.hidden {
    display: block !important;
    visibility: visible !important;
}

/* ========================================
   PRINT STYLES
======================================== */

@media print {
    .site-header,
    .site-footer,
    .btn {
        display: none !important;
    }
    
    body {
        color: #000000 !important;
        background: #ffffff !important;
    }
    
    .section-title,
    .news-title,
    .blog-title {
        color: #000000 !important;
    }
}
