/*
 * Saratha Electricals - Custom Styles
 * Brand Colors: Dark Red (#8B0000), Red (#B22222), Gold Accent
 */

/* ========================================
   Brand Colors
   ======================================== */
:root {
    --saratha-red: #B22222;
    --saratha-dark-red: #8B0000;
    --saratha-maroon: #6B0F0F;
    --saratha-gold: #DAA520;
    --saratha-dark: #2C2C2C;
}

/* ========================================
   Logo Styling
   ======================================== */
.logo-text {
    display: inline-block;
    padding: 10px 0;
}

.logo-main {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: #B22222;
    letter-spacing: 8px;
    line-height: 1.2;
}

.logo-sub {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #8B0000;
    letter-spacing: 2px;
    line-height: 1.4;
}

.logo-sub2 {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: #444;
    letter-spacing: 1px;
}

#logo h1 {
    margin: 0;
}

#logo a {
    text-decoration: none;
}

/* ========================================
   Top Bar & Header
   ======================================== */
.top-info {
    background: #8B0000;
}

.top-info li:first-child a:hover,
.top-info li:nth-child(2) a:hover,
.top-info li:nth-child(3) a:hover,
.top-info li:nth-child(4) a:hover {
    background: #B22222;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    background: #2C2C2C;
}

.navbar-default .navbar-nav > li {
    border-left: 1px solid #1a1a1a;
    border-right: 1px solid #404040;
}

.navbar-nav > li > a:hover,
.navbar-nav > li > a:focus,
.navbar-nav > li.active > a,
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus,
.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:focus {
    background: #B22222 !important;
    color: #fff !important;
}

.navbar-nav .dropdown-menu > li > a:hover {
    color: #B22222;
}

/* ========================================
   Buttons
   ======================================== */
.btn-default {
    background: #B22222;
    border: none;
    border-bottom: 3px solid #8B0000;
}

.btn-default:hover,
.btn-default:focus,
.btn-default:active {
    background: #8B0000 !important;
    border-bottom-color: #6B0F0F;
}

/* ========================================
   Links & Accents
   ======================================== */
a {
    color: #B22222;
}

a:hover {
    color: #8B0000;
}

a.read:hover {
    color: #B22222;
}

/* ========================================
   Service Boxes
   ======================================== */
.hover-icon i:after {
    background: #B22222;
}

.serviceBox_1:hover .hover-icon i,
.serviceBox_2:hover .hover-icon i {
    color: #B22222;
    box-shadow: 0px 0px 1px 3px #B22222;
}

/* ========================================
   Divider Headings
   ======================================== */
.dividerHeading h4,
.widget_title h4 {
    border-bottom: 1px solid #B22222;
    color: #B22222;
}

.footer .widget_title h4 {
    border-color: #fff;
    color: #fff;
}

/* ========================================
   List Styles
   ======================================== */
.list_style li a:hover {
    color: #B22222;
}

.list_style.circle li a i {
    background: #B22222;
}

/* ========================================
   Promo Box
   ======================================== */
.promo_content {
    border-left: 5px solid #B22222;
}

.promo_box a {
    border-bottom: 3px solid #8B0000;
}

/* ========================================
   Product Boxes
   ======================================== */
.product-box {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 30px 20px;
    text-align: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.product-box:hover {
    border-color: #B22222;
    box-shadow: 0 5px 20px rgba(178, 34, 34, 0.15);
    transform: translateY(-3px);
}

.product-box i {
    color: #B22222;
    margin-bottom: 15px;
}

.product-box h5 {
    margin: 0;
    font-weight: 600;
    color: #333;
}

/* ========================================
   Dealer & Customer Logos
   ======================================== */
.dealer-logo,
.customer-box {
    background: #fff;
    border: 1px solid #ddd;
    padding: 20px 15px;
    text-align: center;
    font-weight: 700;
    color: #B22222;
    font-size: 14px;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.dealer-logo:hover,
.customer-box:hover {
    border-color: #B22222;
    background: #B22222;
    color: #fff;
}

.customer-box {
    font-size: 12px;
    padding: 15px 10px;
}

/* ========================================
   Contact Box
   ======================================== */
.contact-box-home {
    background: #f9f9f9;
    padding: 20px;
    border-left: 4px solid #B22222;
}

.contact-box-home p {
    margin-bottom: 10px;
    font-size: 13px;
}

.contact-box-home i {
    color: #B22222;
    width: 20px;
    margin-right: 5px;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: #2C2C2C;
}

.footer_bottom {
    background: #1a1a1a;
}

.footer a:hover {
    color: #B22222;
}

.footbot_social li a.fb:hover {
    background: #2f5a9a;
}

.footbot_social li a.twtr:hover {
    background: #3abdd1;
}

.footbot_social li a.linkedin:hover {
    background: #0077b5;
}

.footbot_social li a.skype:hover {
    background: #00aff0;
}

/* ========================================
   Slider Styles
   ======================================== */
.slide .s1a {
    background: rgba(139, 0, 0, 0.9) !important;
}

.slide .s1b {
    background: rgba(178, 34, 34, 0.9) !important;
}

.slider-read {
    background: #B22222 !important;
}

.slider-read:hover {
    background: #8B0000 !important;
}

/* ========================================
   Page Header
   ======================================== */
.page_head {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #ddd;
}

.page_head h2 {
    color: #B22222;
}

#breadcrumbs ul li:last-child a,
#breadcrumbs ul li a {
    color: #B22222;
}

/* ========================================
   Progress Bars
   ======================================== */
.progress_skill .bar {
    background: #B22222 !important;
}

.progress_skill:hover {
    border-color: #8B0000;
}

.progress_skill:hover .bar {
    background: #8B0000 !important;
}

/* ========================================
   Tabs & Accordions
   ======================================== */
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
    color: #B22222;
    border-top: 1px solid #B22222;
}

.panel.active_acc,
.panel:hover {
    border-top-color: #B22222;
}

.active_acc .panel-title a,
.active_acc .accordian-icon,
.panel-heading:hover a,
.panel-heading:hover .accordian-icon {
    color: #B22222;
}

/* ========================================
   Pagination
   ======================================== */
.pagination > .active > a,
.pagination > .active > span {
    background: #B22222;
    border-color: #B22222;
}

.pagination > .active > a:hover,
.pagination > .active > span:hover {
    background: #8B0000;
    border-color: #8B0000;
}

/* ========================================
   Testimonials
   ======================================== */
.testimonial-item blockquote {
    border-top: 3px solid #B22222;
}

.testimonial-review > img {
    border: 2px solid #B22222;
}

.testimonial-review small {
    color: #B22222;
}

/* ========================================
   Image Overlays
   ======================================== */
.skin-overlay {
    background: rgba(178, 34, 34, 0.6);
}

.touching.medium a.hover-zoom,
.touching.medium a.hover-link {
    color: #B22222;
}

/* ========================================
   Filter & Portfolio
   ======================================== */
#filter li.selected a,
#filter li a:hover {
    border-bottom: 2px solid #B22222;
}

#filter li.selected a:before {
    background: #B22222;
}

.carousel-pagination li.active {
    background: #B22222;
}

/* ========================================
   Blog Styles
   ======================================== */
.blogTitle > a:hover h2 {
    color: #B22222;
}

.blogMeta a:hover,
.blogTitle span:hover {
    color: #B22222;
}

.blog_large .day,
.blog_medium .day,
.blog_single .day {
    background: #B22222;
}

/* ========================================
   404 Page
   ======================================== */
a.back_home {
    background: #B22222;
}

a.back_home:hover {
    background: #8B0000;
}

/* ========================================
   Forms
   ======================================== */
.form-control:focus,
#site-searchform #s:focus {
    border-color: #B22222;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(178, 34, 34, 0.6);
}

#site-searchform #searchsubmit {
    background: #B22222 url(../images/search-icon.png) no-repeat center 14px;
}

#site-searchform #searchsubmit:hover {
    background: #8B0000 url(../images/search-icon.png) no-repeat center 14px;
}

/* ========================================
   Tags
   ======================================== */
.tags li a:hover {
    background-color: #B22222;
}

/* ========================================
   Icon List
   ======================================== */
.icon_lists .fa-hover a:hover {
    background-color: #B22222;
}

/* ========================================
   Pricing Tables
   ======================================== */
.table-fix {
    border-top: 4px solid #B22222;
}

.table-categories span.price-duration,
.table-categories strong,
.table-categories h2 {
    color: #B22222;
}

.table-buy-button {
    background: #B22222;
}

.table-buy-button:hover {
    background: #8B0000 !important;
}

#theme-colored-table {
    background: #B22222;
}

/* ========================================
   Swipe Slider
   ======================================== */
.swipe-navi .swipe-left,
.swipe-navi .swipe-right {
    background: #B22222;
}

.swipe-navi .swipe-left:hover,
.swipe-navi .swipe-right:hover {
    background: #8B0000 !important;
}

/* ========================================
   Back to Top
   ======================================== */
.btntoTop {
    background-color: #B22222;
}

.btntoTop:hover {
    background-color: #8B0000;
}

/* ========================================
   About Page Styles
   ======================================== */
.about-section {
    padding: 50px 0;
}

.mission-vision-box {
    background: #f9f9f9;
    padding: 25px;
    border-left: 4px solid #B22222;
    margin-bottom: 20px;
}

.mission-vision-box h4 {
    color: #B22222;
    margin-bottom: 15px;
}

/* ========================================
   Services Page Styles
   ======================================== */
.service-detail-box {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 25px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.service-detail-box:hover {
    border-color: #B22222;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.service-detail-box i {
    font-size: 40px;
    color: #B22222;
    margin-bottom: 15px;
}

.service-detail-box h4 {
    color: #333;
    margin-bottom: 10px;
}

/* ========================================
   Products Page Styles
   ======================================== */
.product-category {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 30px;
    text-align: center;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.product-category:hover {
    border-color: #B22222;
    box-shadow: 0 10px 30px rgba(178, 34, 34, 0.15);
    transform: translateY(-5px);
}

.product-category i {
    font-size: 50px;
    color: #B22222;
    margin-bottom: 20px;
}

.product-category h4 {
    color: #333;
    margin-bottom: 10px;
}

.product-category p {
    font-size: 13px;
    color: #666;
}

/* ========================================
   Contact Page Styles
   ======================================== */
.contact-info-box {
    background: #f9f9f9;
    padding: 30px;
    border-left: 4px solid #B22222;
    margin-bottom: 30px;
}

.contact-info-box h4 {
    color: #B22222;
    margin-bottom: 20px;
}

.contact-info-box p {
    margin-bottom: 15px;
}

.contact-info-box i {
    color: #B22222;
    width: 25px;
    margin-right: 10px;
}

/* ========================================
   Responsive Adjustments
   ======================================== */
@media (max-width: 767px) {
    .logo-main {
        font-size: 24px;
        letter-spacing: 4px;
    }
    
    .logo-sub {
        font-size: 10px;
    }
    
    .logo-sub2 {
        font-size: 9px;
    }
    
    .dealer-logo,
    .customer-box {
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .logo-main {
        font-size: 20px;
        letter-spacing: 2px;
    }
}
