/*
Theme Name: Kitecx Child
Theme URI: https://adtek.rt7.media
Description: Child theme for Kitecx - ADTEK Engineers
Author: RT7 Media
Author URI: https://rt7.media
Template: kitecx
Version: 1.1.0
Text Domain: kitecx-child
*/

/* ========================================
   ADTEK Hero Section
   Replaces Revolution Slider with lightweight CSS
   ======================================== */

/* Break hero out of Elementor container constraints */
.elementor-element-765bb37c .elementor-container {
    max-width: 100% !important;
    padding: 0 !important;
}
.elementor-element-765bb37c .elementor-widget-wrap {
    padding: 0 !important;
}
.elementor-element-0ae416d .elementor-widget-container {
    overflow: visible;
}

section.adtek-hero {
    position: relative;
    width: 100%;
    height: 810px;
    background-image: url('https://adtekcdn.rt7.media/2020/12/slider-2.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

section.adtek-hero .adtek-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

section.adtek-hero .adtek-hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px 80px;
}

section.adtek-hero .adtek-hero__heading {
    font-family: 'Roboto', sans-serif !important;
    font-weight: 400 !important;
    font-size: 110px !important;
    line-height: 138px !important;
    color: #ffffff !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 30px !important;
}

section.adtek-hero .adtek-hero__heading span {
    display: block;
    opacity: 0;
    animation: adtekFadeIn 0.8s ease forwards;
}

section.adtek-hero .adtek-hero__heading span:nth-child(1) {
    animation-delay: 0.6s;
}

section.adtek-hero .adtek-hero__heading span:nth-child(2) {
    animation-delay: 1.0s;
}

section.adtek-hero .adtek-hero__heading span:nth-child(3) {
    animation-delay: 1.4s;
}

a.adtek-hero__btn {
    opacity: 0;
    animation: adtekFadeIn 0.8s ease forwards;
    animation-delay: 1.9s;
}

@keyframes adtekFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

a.adtek-hero__btn,
section.adtek-hero a.adtek-hero__btn {
    display: inline-block;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
    background: transparent !important;
    padding: 14px 36px;
    text-decoration: none !important;
    transition: background 0.3s ease, color 0.3s ease;
}

a.adtek-hero__btn:hover,
section.adtek-hero a.adtek-hero__btn:hover {
    background: #ffffff !important;
    color: #222222 !important;
}

/* ========================================
   WPForms Submit Button
   ======================================== */

div.wpforms-container-full .wpforms-form button[type="submit"],
div.wpforms-container-full .wpforms-form .wpforms-submit {
    font-family: 'Roboto', sans-serif !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    background: #c41231 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 14px 36px !important;
    cursor: pointer;
    transition: background 0.3s ease !important;
}

div.wpforms-container-full .wpforms-form button[type="submit"]:hover,
div.wpforms-container-full .wpforms-form .wpforms-submit:hover {
    background: #a00f28 !important;
}

/* Tablet */
@media (max-width: 1024px) {
    section.adtek-hero {
        height: 600px;
    }
    section.adtek-hero .adtek-hero__heading {
        font-size: 60px !important;
    }
    section.adtek-hero .adtek-hero__content {
        padding: 0 30px 60px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    section.adtek-hero {
        height: 450px;
    }
    section.adtek-hero .adtek-hero__heading {
        font-size: 42px !important;
        letter-spacing: 1px;
    }
    section.adtek-hero .adtek-hero__content {
        padding: 0 20px 40px;
    }
    a.adtek-hero__btn {
        padding: 12px 28px;
        font-size: 13px;
    }
}
