/**
 * Customizer Generated Styles
 * This file contains all dynamic styles generated from WordPress Customizer
 *
 * @package BNP_Theme
 */

/* ==========================================================================
   Base Layout & Reset
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

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

/* ==========================================================================
   Container & Grid
   ========================================================================== */

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

.bnp-container-fluid {
    width: 100%;
    padding: 0 20px;
}

.bnp-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.bnp-col {
    flex: 1;
    padding: 0 15px;
}

/* Grid System */
.bnp-grid {
    display: grid;
    gap: 30px;
    margin-bottom: 40px;
}

.bnp-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.bnp-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.bnp-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* ==========================================================================
   Header Styles
   ========================================================================== */

.bnp-site-header {
    position: relative;
    z-index: 999;
    transition: all 0.3s ease;
}

.bnp-site-header.sticky-header.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.bnp-top-bar {
    font-size: 14px;
    padding: 10px 0;
}

.bnp-header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

.bnp-site-branding {
    display: flex;
    align-items: center;
    gap: 15px;
}

.bnp-site-title {
    margin: 0;
    line-height: 1.2;
}

.bnp-site-title a {
    text-decoration: none;
}

.bnp-site-description {
    margin: 0;
    font-size: 14px;
    opacity: 0.8;
}

.custom-logo-link {
    display: inline-block;
    line-height: 0;
}

.custom-logo-link img {
    display: block;
    max-height: 80px;
    width: auto;
}

/* ==========================================================================
   Navigation
   ========================================================================== */

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

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

.bnp-nav-menu li {
    position: relative;
}

.bnp-nav-menu a {
    display: block;
    padding: 10px 0;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.bnp-nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    list-style: none;
    padding: 10px 0;
    margin: 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 999;
}

.bnp-nav-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.bnp-nav-menu .sub-menu a {
    padding: 10px 20px;
}

.bnp-mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    flex-direction: column;
    gap: 5px;
}

.bnp-mobile-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background: #333;
    transition: all 0.3s ease;
}

.bnp-mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.bnp-mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.bnp-mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ==========================================================================
   Content Area
   ========================================================================== */

.content-area {
    padding: 60px 0;
}

.bnp-article,
.bnp-page-content {
    margin-bottom: 40px;
}

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

.entry-title {
    margin: 0 0 15px 0;
}

.entry-title a {
    text-decoration: none;
}

.entry-meta {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 20px;
}

.entry-content {
    line-height: 1.8;
}

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

.entry-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.1);
    font-size: 14px;
}

.bnp-featured-image {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
}

.bnp-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.bnp-button {
    display: inline-block;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    line-height: 1.5;
}

.bnp-button-primary {
    color: #ffffff;
}

.bnp-button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.bnp-button-secondary {
    background: transparent;
    border: 2px solid currentColor;
}

/* ==========================================================================
   Card Components
   ========================================================================== */

.bnp-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.bnp-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.bnp-card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.bnp-card-content {
    padding: 25px;
}

.bnp-card-title {
    margin: 0 0 15px 0;
    font-size: 20px;
}

/* ==========================================================================
   Sidebar
   ========================================================================== */

.bnp-sidebar {
    padding: 0 0 0 40px;
}

.sidebar-left .bnp-sidebar {
    padding: 0 40px 0 0;
}

.bnp-sidebar .widget {
    margin-bottom: 40px;
}

.bnp-sidebar .widget-title {
    margin-bottom: 20px;
    font-size: 20px;
}

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

.bnp-sidebar li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.bnp-sidebar a {
    text-decoration: none;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.bnp-site-footer {
    background: #1a1a1a;
    color: #ffffff;
    padding: 60px 0 20px;
}

.bnp-footer-widgets {
    margin-bottom: 40px;
}

.bnp-footer-widget-area {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.bnp-footer-widget h3 {
    color: #ffffff;
    margin-bottom: 20px;
}

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

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

.bnp-footer-widget a {
    color: #cccccc;
    text-decoration: none;
}

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

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

.bnp-social-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.bnp-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    color: #ffffff;
}

.bnp-social-icon:hover {
    transform: translateY(-3px);
}

/* ==========================================================================
   Scroll to Top Button
   ========================================================================== */

.bnp-scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--bnp-primary, #006633);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.bnp-scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.bnp-scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

/* ==========================================================================
   Pagination
   ========================================================================== */

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

.nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.nav-links a,
.nav-links span {
    display: inline-block;
    padding: 10px 15px;
    background: #f5f5f5;
    border-radius: 5px;
    text-decoration: none;
}

.nav-links a:hover {
    background: var(--bnp-primary, #006633);
    color: #ffffff;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 1024px) {
    .bnp-grid-3,
    .bnp-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bnp-footer-widget-area {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .bnp-mobile-toggle {
        display: flex;
    }
    
    .bnp-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: #ffffff;
        padding: 80px 30px 30px;
        transition: right 0.3s ease;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        overflow-y: auto;
    }
    
    .bnp-navigation.active {
        right: 0;
    }
    
    .bnp-nav-menu {
        flex-direction: column;
        gap: 0;
    }
    
    .bnp-nav-menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 20px;
        display: none;
    }
    
    .bnp-nav-menu li.active > .sub-menu {
        display: block;
    }
    
    .bnp-grid-2,
    .bnp-grid-3,
    .bnp-grid-4 {
        grid-template-columns: 1fr;
    }
    
    .bnp-footer-widget-area {
        grid-template-columns: 1fr;
    }
    
    .bnp-sidebar {
        padding: 40px 0 0 0;
    }
    
    .content-area {
        padding: 40px 0;
    }
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}
