/*
Theme Name: Astra Child - Frame Metal
Template: astra
Version: 1.0.0
Author: Frame Metal
*/

/* ===== Base ===== */
html { scroll-behavior: smooth; }
body { margin: 0; }
a { text-decoration: none; }

/* ===== Header ===== */
.frame-header {
    position: relative;
    z-index: 9999;
    background: #be1e28;
    color: #fff;
    padding: 12px 0;
}

.frame-header-inner {
    max-width: 1600px;
    width: calc(100% - 160px);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.frame-logo img {
    display: block;
    max-height: 55px;
    width: auto;
}

.frame-main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.frame-nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
}

.frame-nav-list > li {
    position: relative;
    margin: 0 32px;
    padding: 10px 0;
}

.frame-nav-list > li > a {
    color: #fff;
    font-size: 16px;
    line-height: 30px;
    display: block;
    position: relative;
}

.frame-nav-list > li.current > a::after,
.frame-nav-list > li > a:hover::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: #fff;
}


/* Sub menus */
.frame-sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(190, 30, 40, 0.95);
    min-width: 180px;
    padding: 12px 0;
    box-shadow: 0 5px 15px rgba(68, 0, 0, 0.4);
}

.frame-nav-list > li:hover > .frame-sub-menu {
    display: block;
}

.frame-sub-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.frame-sub-menu li {
    position: relative;
    padding: 6px 22px;
}

.frame-sub-menu a {
    color: #fff;
    font-size: 15px;
    display: block;
    white-space: nowrap;
}

.frame-sub-menu-2 {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    background: rgba(190, 30, 40, 0.95);
    min-width: 220px;
    padding: 10px 0;
    box-shadow: 0 5px 15px rgba(68, 0, 0, 0.4);
}

.frame-sub-menu li:hover > .frame-sub-menu-2 {
    display: block;
}

/* Header actions */
.frame-header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.frame-search {
    position: relative;
}

.frame-search-icon {
    cursor: pointer;
    font-style: normal;
    color: #fff;
    font-size: 18px;
    border: 1px solid #fff;
    border-radius: 13px;
    width: 50px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.frame-search-form {
    display: none;
    position: absolute;
    right: 0;
    top: 140%;
    background: #fff;
    padding: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    z-index: 10000;
}

.frame-search-form.active {
    display: flex;
}

.frame-search-form input {
    border: none;
    outline: none;
    padding: 6px 10px;
    width: 180px;
    font-size: 14px;
}

.frame-search-form button {
    border: none;
    background: #be1e28;
    color: #fff;
    padding: 0 12px;
    cursor: pointer;
}

.frame-lang-btn {
    color: #fff;
    border: 1px solid #fff;
    border-radius: 13px;
    padding: 0 12px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    cursor: pointer;
}

.frame-lang-btn span {
    font-size: 10px;
}

/* Mobile toggle */
.frame-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.frame-mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
}

/* Mobile menu */
.frame-mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100%;
    background: #be1e28;
    z-index: 100000;
    padding: 70px 20px 20px;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.frame-mobile-menu.active {
    right: 0;
}

.frame-mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.frame-mobile-menu li a {
    color: #fff;
    display: block;
    padding: 12px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.5);
    font-size: 16px;
}

.frame-mobile-menu li ul {
    padding-left: 15px;
}

.frame-mobile-menu li ul a {
    font-size: 14px;
    padding: 8px 0;
    border-bottom: none;
}

.frame-mobile-search {
    display: flex;
    border: 1px solid #fff;
    margin-bottom: 20px;
}

.frame-mobile-search input {
    flex: 1;
    border: none;
    padding: 8px 10px;
    font-size: 14px;
}

.frame-mobile-search button {
    border: none;
    background: transparent;
    color: #333;
    padding: 0 10px;
    cursor: pointer;
}

/* ===== Hero Carousel ===== */
.frame-hero-carousel {
    position: relative;
    overflow: hidden;
    max-width: 1920px;
    margin: 0 auto;
}

.frame-carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.frame-carousel-slide {
    min-width: 100%;
    position: relative;
}

.frame-carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.frame-carousel-prev,
.frame-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 18px;
    color: #333;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.frame-carousel-prev { left: 20px; }
.frame-carousel-next { right: 20px; }

.frame-carousel-prev:hover,
.frame-carousel-next:hover {
    background: #fff;
}

.frame-carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.frame-carousel-dots button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: transparent;
    cursor: pointer;
}

.frame-carousel-dots button.active {
    background: #fff;
}

/* ===== WordPress Pagination Override ===== */
.fy .page-numbers.current,
.fy .page-numbers.current:hover {
    width: 29px;
    height: 29px;
    line-height: 29px;
    margin: 0 5px;
    display: inline-block;
    text-align: center;
    background-color: #c82226;
    color: #fff;
}

.fy .page-numbers {
    width: 29px;
    height: 29px;
    line-height: 29px;
    margin: 0 5px;
    display: inline-block;
    text-align: center;
    background-color: #fff;
    color: #999;
}

.fy .page-numbers:hover {
    background-color: #c82226;
    color: #fff;
}

.fy .page-numbers:hover i {
    color: #fff;
}

.fy .page-numbers i {
    font-size: 20px;
    color: #999;
}

.frame-footer {
    background: #be1e28;
    color: #fff;
}

.frame-footer-main {
    padding: 60px 0 40px;
}

.frame-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 1.2fr 1fr;
    gap: 40px;
}

.frame-footer-logo img {
    max-height: 55px;
    width: auto;
    margin-bottom: 20px;
}

.frame-copyright {
    font-size: 14px;
    line-height: 1.6;
    color: #fff;
    margin-bottom: 20px;
}

.frame-copyright a {
    color: #fff;
    text-decoration: underline;
}

.frame-social {
    display: flex;
    gap: 10px;
}

.frame-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #4267B2;
    color: #fff;
    border-radius: 3px;
    font-size: 13px;
    font-weight: bold;
}

.frame-social-instagram { background: #E1306C !important; }
.frame-social-youtube { background: #FF0000 !important; }
.frame-social-linkedin { background: #0077B5 !important; }

.frame-footer-title {
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 12px;
    color: #fff;
}

.frame-footer-title a {
    color: #fff;
}

.frame-footer-line {
    width: 30px;
    height: 2px;
    background: #fff;
    margin-bottom: 18px;
}

.frame-footer-nav p,
.frame-footer-contact li {
    margin-bottom: 8px;
    font-size: 15px;
    line-height: 1.6;
}

.frame-footer-nav a,
.frame-footer-contact a,
.frame-footer-contact li {
    color: #fff;
}

.frame-footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.frame-footer-contact li {
    display: flex;
    gap: 8px;
}

.frame-icon {
    flex-shrink: 0;
}

/* Quote form */
.frame-quote-form p {
    margin-bottom: 10px;
}

.frame-quote-form input,
.frame-quote-form textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    color: #fff;
    font-size: 14px;
}

.frame-quote-form input::placeholder,
.frame-quote-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.frame-quote-captcha {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.frame-quote-captcha input {
    flex: 1;
}

.frame-captcha-img {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    background: rgba(255, 255, 255, 0.2);
    font-size: 12px;
    letter-spacing: 2px;
    color: #fff;
}

.frame-quote-btn {
    width: 100%;
    padding: 10px;
    background: #fff;
    color: #be1e28;
    border: none;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
}

.frame-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px 0;
}

.frame-footer-links {
    font-size: 14px;
    color: #fff;
}

.frame-footer-links a {
    color: #fff;
    margin-left: 8px;
}

/* ===== Responsive ===== */
@media (max-width: 1200px) {
    .frame-header-inner {
        width: 95%;
    }
    .frame-nav-list > li {
        margin: 0 18px;
    }
    .frame-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 999px) {
    .frame-main-nav,
    .frame-search-form,
    .frame-lang {
        display: none;
    }
    .frame-mobile-toggle {
        display: flex;
    }
    .frame-header-inner {
        justify-content: space-between;
    }
    .frame-mobile-menu {
        display: block;
    }
    .frame-footer-grid {
        grid-template-columns: 1fr;
    }
}

