/**
 * Eho - Demo Styles and Typography
 * Social buttons, RokAjaxSearch, and special typography classes
 */

/* Demo Typography */
.promo1, .promo2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    text-transform: uppercase;
}

.promo1 {
    font-size: 48px;
    margin: 0 0 15px 0;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.5);
}

.promo2 {
    font-size: 32px;
    margin: 0 0 20px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.rt-large-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(to bottom,
        color-mix(in srgb, var(--main-accent, #E37C00) 85%, white),
        var(--main-accent, #E37C00));
    color: #fff !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
    border: 0 none;
    cursor: pointer;
}

.rt-large-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.rt-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0 5px 5px 0;
    transition: all 0.3s;
}

.rt-tag:hover {
    background: var(--main-accent, #E37C00);
    color: #fff;
    border-color: var(--main-accent, #E37C00);
}

/* Featured Articles */
.fp-featured-article {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 30px;
    margin: 20px 0;
    transition: all 0.3s;
}

.fp-featured-article:hover {
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transform: translateY(-3px);
}

.fp-featured-article h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 600;
    margin: 0 0 15px 0;
    color: var(--body-title, #fff);
}

.fp-featured-article .article-info {
    font-size: 13px;
    color: var(--body-text, #777);
    margin-bottom: 15px;
}

.fp-featured-article .article-info span {
    margin-right: 15px;
}

.fp-featured-article .article-info span:before {
    font-family: 'FontAwesome';
    margin-right: 5px;
}

.fp-featured-article .article-info .date:before {
    content: "\f017";
}

.fp-featured-article .article-info .author:before {
    content: "\f007";
}

.fp-featured-article .article-info .category:before {
    content: "\f07b";
}

/* Social Buttons */
.social-buttons {
    display: flex;
    gap: 12px;
    margin: 20px 0;
}

.social-buttons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff !important;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.social-buttons a:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.social-buttons a.facebook:hover {
    background: #3b5998;
}

.social-buttons a.twitter:hover {
    background: #1da1f2;
}

.social-buttons a.google-plus:hover {
    background: #dd4b39;
}

.social-buttons a.linkedin:hover {
    background: #0077b5;
}

.social-buttons a.pinterest:hover {
    background: #bd081c;
}

.social-buttons a.youtube:hover {
    background: #ff0000;
}

.social-buttons a.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-buttons a.github:hover {
    background: #333;
}

/* RokAjaxSearch */
.roksearch {
    position: relative;
    margin: 15px 0;
}

.roksearch-wrapper {
    position: relative;
}

.roksearch .inputbox {
    width: 100%;
    padding: 12px 45px 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 25px;
    color: #fff;
    font-size: 14px;
    transition: all 0.3s;
}

.roksearch .inputbox:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--main-accent, #E37C00);
    outline: none;
    box-shadow: 0 0 15px rgba(227, 124, 0, 0.3);
}

.roksearch .inputbox::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.roksearch .button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    background: var(--main-accent, #E37C00);
    border: 0 none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.roksearch .button:hover {
    background: color-mix(in srgb, var(--main-accent, #E37C00) 85%, white);
    transform: translateY(-50%) scale(1.1);
}

.roksearch .button:before {
    font-family: 'FontAwesome';
    content: "\f002";
    font-size: 14px;
}

.roksearch-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 10px;
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.roksearch-results.active {
    display: block;
}

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

.roksearch-results li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.roksearch-results li:last-child {
    border-bottom: 0 none;
}

.roksearch-results a {
    display: block;
    padding: 12px 15px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
}

.roksearch-results a:hover {
    background: var(--main-accent, #E37C00);
}

.roksearch-results .result-title {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 5px;
}

.roksearch-results .result-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

/* Footer Logo */
.footer-logo {
    text-align: center;
    padding: 20px 0;
}

.footer-logo img {
    max-height: 60px;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.footer-logo:hover img {
    opacity: 1;
}

/* Demo Blocks */
.demo-block {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 25px;
    margin: 20px 0;
}

.demo-block-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--main-accent, #E37C00);
}

.demo-block-content {
    line-height: 1.8;
}

/* Icon Lists */
.icon-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.icon-list li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
}

.icon-list li:before {
    font-family: 'FontAwesome';
    content: "\f00c";
    position: absolute;
    left: 0;
    color: var(--main-accent, #E37C00);
    font-size: 16px;
}

/* Testimonials */
.testimonial {
    background: rgba(0, 0, 0, 0.2);
    border-left: 4px solid var(--main-accent, #E37C00);
    padding: 25px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
    position: relative;
}

.testimonial:before {
    font-family: 'FontAwesome';
    content: "\f10d";
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 40px;
    color: var(--main-accent, #E37C00);
    opacity: 0.2;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.8;
    font-style: italic;
    margin: 0 0 15px 0;
    padding-left: 60px;
}

.testimonial-author {
    font-weight: 600;
    color: var(--main-accent, #E37C00);
    text-align: right;
}

/* Light Theme Adjustments */
.main-body-style-light .roksearch .inputbox {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.15);
    color: #333;
}

.main-body-style-light .roksearch .inputbox::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.main-body-style-light .demo-block {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.main-body-style-light .testimonial {
    background: rgba(255, 255, 255, 0.5);
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    .promo1 {
        font-size: 32px;
    }
    
    .promo2 {
        font-size: 24px;
    }
    
    .rt-large-button {
        padding: 12px 30px;
        font-size: 16px;
    }
    
    .social-buttons {
        justify-content: center;
    }
    
    .fp-featured-article {
        padding: 20px;
    }
}
