/**
 * Premier Credit Theme Styles
 * 
 * @package Premier_Credit
 */

/* ========================================
   CSS Variables
   ======================================== */
:root {
    --pc-primary: #fff;
    --pc-primary-dark: #e08e0b;
    --pc-dark: #1a1a1a;
    --pc-green: #7b8642;
    --pc-peach: #fdf3df;
    --pc-beige: #e5e0d4;
    --pc-text: #333;
    --pc-text-light: #666;
}

/* ========================================
   Top Bar
   ======================================== */
.top-bar {
    background-color: var(--pc-dark);
    color: #ccc;
    padding: 8px 0;
    font-size: 0.85rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info a {
    color: #ccc;
    text-decoration: none;
    margin-right: 20px;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: var(--pc-primary);
}

.contact-info i {
    margin-right: 5px;
    color: var(--pc-primary);
}

.social-links a {
    color: #ccc;
    margin-left: 15px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--pc-primary);
}

/* ========================================
   Main Navigation
   ======================================== */
.main-nav {
    background-color: var(--pc-primary);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
}

.logo-text {
    color: var(--pc-dark);
}

.logo-highlight {
    color: white;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    gap: 5px;
}

.nav-menu li a {
    color: var(--pc-dark);
    text-decoration: none;
    padding: 10px 15px;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 5px;
    transition: all 0.3s;
}

.nav-menu li a:hover,
.nav-menu li.current-menu-item a {
    background-color: rgba(0, 0, 0, 0.1);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--pc-dark);
    position: relative;
    transition: background-color 0.3s;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background-color: var(--pc-dark);
    left: 0;
    transition: transform 0.3s;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

.mobile-menu-toggle.active .hamburger {
    background-color: transparent;
}

.mobile-menu-toggle.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.mobile-menu-toggle.active .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
}

/* ========================================
   Hero Widget Styles
   ======================================== */
.pc-hero {
    position: relative;
    background-size: cover;
    background-position: right center;
    min-height: 500px;
    display: flex;
    align-items: center;
    padding: 40px 0;
}

.pc-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.pc-hero-container {
    position: relative;
    z-index: 2;
    margin:0;
}

.pc-hero-card {
    background: rgba(10, 10, 10, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 40px 50px;
    max-width: 650px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.pc-hero-card h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 400;
    color: white;
    line-height: 1.2;
    margin-bottom: 20px;
}

.pc-hero-card h1 .cursive {
    font-family: 'Dancing Script', cursive;
    font-size: 1.8rem;
    color: #ddd;
    margin: 0 10px;
}

.pc-hero-card h1 .highlight {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 2.5rem;
}

.pc-hero-divider {
    width: 80px;
    height: 4px;
    margin: 15px 0;
    border-radius: 2px;
}

.pc-hero-divider-long {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
    margin: 15px 0;
}

.pc-hero-card .subtitle {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 20px;
}

.pc-hero-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pc-hero-features li {
    color: white;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

/* ========================================
   Form Widget Styles
   ======================================== */
.pc-form-wrapper {
    max-width: 350px;
    margin-bottom: 40px;
}

.pc-form-card {
    border-radius: 15px;
    overflow: hidden;
}

.pc-form-header {
    padding: 20px;
    text-align: center;
    color: white;
}

.pc-form-header h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
}

.pc-form-body {
    padding: 25px 20px 35px;
}

.pc-form-group {
    margin-bottom: 15px;
}

.pc-form-group label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 5px;
    color: #444;
    font-weight: 600;
}

.pc-form-group input {
    width: 100%;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    font-family: inherit;
    font-size: 0.9rem;
    background-color: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.pc-form-action {
    display: flex;
    justify-content: flex-end;
    margin-top: 15px;
}

.pc-btn-apply {
    color: white;
    border: none;
    padding: 10px 45px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.pc-btn-apply:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* ========================================
   Services Widget Styles
   ======================================== */
.pc-services {
    padding: 60px 0;
    border-radius:20px;
}

.pc-section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 40px;
    position: relative;
}

.pc-section-title .title-underline {
    display: block;
    width: 80px;
    height: 4px;
    margin: 10px auto 0;
    border-radius: 2px;
}

.pc-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.pc-service-item {
    text-align: center;
    padding: 30px 20px;
}

.pc-service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.pc-service-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a2a4a;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid;
    display: inline-block;
}

.pc-service-item p {
    color: var(--pc-text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ========================================
   Requirements Widget Styles
   ======================================== */
.pc-requirements {
    padding: 30px;
    background-color: var(--pc-peach);
    border-radius: 15px;
    margin-bottom: 30px;
}

.pc-requirements h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.pc-requirements ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pc-requirements li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.pc-requirements li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--bullet-color, var(--pc-primary));
    font-weight: bold;
}

/* ========================================
   Calculator Widget Styles
   ======================================== */
.pc-calculator {
    border: 2px solid;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    width: 450px;
    margin: 0 auto;
}

.pc-calculator h3 {
    font-size: 1.6rem;
    margin-bottom: 25px;
    font-weight: 800;
    text-align: center;
}

.pc-calc-group {
    margin-bottom: 25px;
}

.pc-calc-group label {
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 8px;
    display: block;
    color: #444;
}

.pc-input-suffix {
    position: relative;
    margin-bottom: 15px;
}

.pc-input-suffix input {
    width: 100%;
    padding: 10px 60px 10px 15px;
    background-color: rgba(255, 255, 255, 0.4);
    border: 1px solid #e0d0b0;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    outline: none;
}

.pc-input-suffix .suffix {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 600;
    color: #888;
    font-size: 0.9rem;
}

.pc-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    background: #cfd8dc;
    border-radius: 5px;
    outline: none;
}

.pc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: var(--pc-primary-dark);
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.pc-range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #999;
    margin-top: 5px;
}

.pc-monthly-payment {
    text-align: center;
    margin: 30px 0 20px;
    font-size: 1.2rem;
    font-weight: 700;
}

.pc-payment-kes {
    font-size: 1.5rem;
    font-weight: 800;
}

.pc-payment-text {
    font-size: 1rem;
    font-weight: 400;
    color: #444;
}

.pc-calc-footer {
    display: flex;
    justify-content: center;
}

.pc-total-box {
    border-radius: 50px;
    display: flex;
    align-items: center;
    padding: 10px 10px 10px 25px;
    width: 100%;
    justify-content: space-between;
    box-shadow: 0 5px 15px rgba(214, 137, 16, 0.3);
}

.pc-payment-amount {
    color: #5d6d7e;
    font-weight: 700;
    font-size: 1.4rem;
}

.pc-btn-calc-apply {
    background-color: #e68a2e;
    color: black;
    border: none;
    padding: 12px 35px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    margin-left: 15px;
}

/* ========================================
   Why Choose Us Widget Styles
   ======================================== */
.pc-why-choose {
    margin-top: 50px;
    padding-left: 10px;
}

.pc-why-choose h3 {
    margin-bottom: 25px;
    font-size: 1.3rem;
    font-weight: 700;
}

.pc-feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #dcc9a5;
}

.pc-icon-circle {
    width: 50px;
    height: 50px;
    border: 2px solid;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.pc-icon-circle i {
    font-size: 1.2rem;
}

.pc-feature-item span {
    font-weight: 600;
    color: var(--pc-text);
}

/* ========================================
   Footer Styles
   ======================================== */
.site-footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #252525 100%);
    color: #fff;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 20px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    display: inline-block;
    margin-bottom: 10px;
}

.footer-logo .logo-text {
    color: #fff;
}

.footer-logo .logo-highlight {
    color: var(--pc-primary);
}

.footer-tagline {
    color: #888;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--pc-primary);
    border-color: var(--pc-primary);
    color: var(--pc-dark);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: #666;
    font-size: 0.85rem;
}

/* ========================================
   Mobile Responsive - Premium Menu
   ======================================== */
@media (max-width: 900px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
        transform: translateY(20px);
        opacity: 0;
        transition: all 0.3s ease;
    }

    .nav-menu.active li {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-menu.active li:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav-menu.active li:nth-child(2) {
        transition-delay: 0.15s;
    }

    .nav-menu.active li:nth-child(3) {
        transition-delay: 0.2s;
    }

    .nav-menu.active li:nth-child(4) {
        transition-delay: 0.25s;
    }

    .nav-menu.active li:nth-child(5) {
        transition-delay: 0.3s;
    }

    .nav-menu.active li:nth-child(6) {
        transition-delay: 0.35s;
    }

    .nav-menu li a {
        display: block;
        padding: 20px 30px;
        font-size: 1.5rem;
        font-weight: 700;
        color: white;
        text-transform: uppercase;
        letter-spacing: 2px;
    }

    .nav-menu li a:hover {
        color: var(--pc-primary);
        background: transparent;
    }

    .pc-services-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        display: none;
    }
}

@media (max-width: 600px) {
    .pc-hero-card {
        padding: 30px 25px;
    }

    .pc-hero-card h1 {
        font-size: 2rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .top-bar {
        display: none;
    }

    .logo {
        font-size: 1.4rem;
    }
}