/* =========================================================
   PSK ROOFING V2 - COMPONENTS CSS
========================================================= */


/* =========================================================
   BUTTONS
========================================================= */

.btn-custom {

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 16px 32px;

    border-radius: var(--radius-md);

    font-size: 15px;
    font-weight: var(--fw-semibold);

    transition: var(--transition);

    cursor: pointer;
}

.btn-primary-custom {

    background-color: var(--accent-color);
    color: var(--white-color);

    border: none;
}

.btn-primary-custom:hover {

    background-color: var(--accent-hover);
    color: var(--white-color);

    transform: translateY(-2px);
}

.btn-outline-custom {

    background: transparent;

    border: 1px solid rgba(255,255,255,0.2);

    color: var(--white-color);
}

.btn-outline-custom:hover {

    background-color: var(--white-color);
    color: var(--primary-color);
}


/* =========================================================
   NAVBAR
========================================================= */

.main-navbar {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 999;

    background-color: rgba(15, 23, 42, 0.95);

    backdrop-filter: blur(10px);

    padding-top: 20px;
    padding-bottom: 20px;

    transition: var(--transition);
}

.navbar-wrapper {

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-logo img {

    width: 170px;
}

.navbar-menu {

    display: flex;
    align-items: center;
    gap: 35px;
}

.navbar-menu li a {

    position: relative;

    color: var(--white-color);

    font-size: 15px;
    font-weight: var(--fw-medium);

    transition: var(--transition);
}

.navbar-menu li a:hover {
    color: var(--accent-color);
}

/* ACTIVE NAV LINK */

.navbar-menu li a.active {
    color: var(--accent-color);
}

.navbar-menu li a.active::after {
    width: 100%;
}

.navbar-menu li a::after {

    content: '';

    position: absolute;

    left: 0;
    bottom: -8px;

    width: 0%;
    height: 2px;

    background-color: var(--accent-color);

    transition: var(--transition);
}

.navbar-menu li a:hover::after {
    width: 100%;
}


/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.menu-toggle {

    display: none;

    width: 45px;
    height: 45px;

    border: none;
    background: transparent;

    cursor: pointer;
}

.menu-toggle span {

    display: block;

    width: 28px;
    height: 2px;

    margin: 6px auto;

    background-color: var(--white-color);

    transition: var(--transition);
}


/* =========================================================
   SERVICE CARD
========================================================= */

.service-card {

    position: relative;

    background-color: var(--white-color);

    border-radius: var(--radius-lg);

    padding: 40px;

    overflow: hidden;

    box-shadow: var(--shadow-sm);

    transition: var(--transition);

    height: 100%;
}

.service-card:hover {

    transform: translateY(-10px);

    box-shadow: var(--shadow-lg);
}

.service-icon {

    width: 70px;
    height: 70px;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: rgba(249, 115, 22, 0.1);

    border-radius: var(--radius-md);

    margin-bottom: 30px;
}

.service-icon i {

    font-size: 30px;

    color: var(--accent-color);
}

.service-title {

    font-size: 24px;

    margin-bottom: 20px;
}

.service-description {

    margin-bottom: 25px;
}

.service-link {

    color: var(--primary-color);

    font-weight: var(--fw-semibold);

    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.service-link:hover {
    color: var(--accent-color);
}


/* =========================================================
   PROJECT CARD
========================================================= */

.project-card {

    position: relative;

    overflow: hidden;

    border-radius: var(--radius-lg);

    background-color: var(--white-color);

    box-shadow: var(--shadow-sm);

    transition: var(--transition);
}

.project-card:hover {

    transform: translateY(-8px);

    box-shadow: var(--shadow-lg);
}

.project-image {

    position: relative;

    overflow: hidden;
}

.project-image img {

    height: 300px;

    object-fit: cover;

    transition: var(--transition);
}

.project-card:hover .project-image img {

    transform: scale(1.08);
}

.project-content {

    padding: 30px;
}

.project-category {

    display: inline-block;

    font-size: 13px;
    font-weight: var(--fw-semibold);

    text-transform: uppercase;
    letter-spacing: 1px;

    color: var(--accent-color);

    margin-bottom: 15px;
}

.project-title {

    font-size: 24px;

    margin-bottom: 15px;
}


/* =========================================================
   INDUSTRY CARD
========================================================= */

.industry-card {

    position: relative;

    background-color: var(--white-color);

    border-radius: var(--radius-lg);

    padding: 40px 30px;

    text-align: center;

    box-shadow: var(--shadow-sm);

    transition: var(--transition);
}

.industry-card:hover {

    transform: translateY(-8px);

    box-shadow: var(--shadow-lg);
}

.industry-icon {

    width: 80px;
    height: 80px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 25px;

    border-radius: 50%;

    background-color: rgba(249, 115, 22, 0.1);
}

.industry-icon i {

    font-size: 34px;

    color: var(--accent-color);
}

/* =========================================================
   FEATURE ICON
========================================================= */

.feature-icon {

    min-width: 55px;
    width: 55px;
    height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background-color: rgba(249, 115, 22, 0.1);

    flex-shrink: 0;
}

.feature-icon i {

    font-size: 18px;

    color: var(--accent-color);
}

/* =========================================================
   STATS CARD
========================================================= */

.stats-card {

    background-color: var(--white-color);

    border-radius: var(--radius-lg);

    padding: 40px;

    box-shadow: var(--shadow-sm);

    text-align: center;
}

.stats-number {

    font-size: 52px;
    font-weight: var(--fw-extrabold);

    color: var(--primary-color);

    line-height: 1;
}

.stats-label {

    margin-top: 15px;

    color: var(--text-light);

    font-weight: var(--fw-medium);
}


/* =========================================================
   FORM STYLING
========================================================= */

.form-control-custom {

    width: 100%;

    height: 60px;

    border: 1px solid var(--border-color);

    border-radius: var(--radius-md);

    padding: 0 20px;

    font-size: 15px;

    transition: var(--transition);

    outline: none;
}

textarea.form-control-custom {

    height: 180px;

    padding-top: 20px;

    resize: none;
}

.form-control-custom:focus {

    border-color: var(--accent-color);

    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.1);
}


/* =========================================================
   FOOTER
========================================================= */

.main-footer {

    position: relative;

    background-color: var(--primary-color);

    padding-top: 100px;

    overflow: hidden;
}

.footer-logo img {

    width: 180px;

    margin-bottom: 25px;
}

.footer-about {

    max-width: 350px;
}

.footer-about p {

    color: rgba(255,255,255,0.7);
}

.footer-title {

    color: var(--white-color);

    font-size: 20px;

    margin-bottom: 30px;
}

.footer-links li {

    margin-bottom: 15px;
}

.footer-links li a {

    color: rgba(255,255,255,0.7);

    transition: var(--transition);
}

.footer-links li a:hover {

    color: var(--accent-color);

    padding-left: 5px;
}

.footer-contact li {

    color: rgba(255,255,255,0.7);

    margin-bottom: 15px;
}

.footer-bottom {

    margin-top: 80px;

    padding-top: 30px;
    padding-bottom: 30px;

    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-bottom p {

    margin-bottom: 0;

    color: rgba(255,255,255,0.6);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media screen and (max-width: 991px) {

    .navbar-menu {

        position: fixed;

        top: 85px;
        left: -100%;

        width: 100%;
        height: calc(100vh - 85px);

        background-color: var(--primary-color);

        flex-direction: column;

        justify-content: flex-start;

        padding-top: 60px;

        transition: var(--transition);
    }

    .navbar-menu.active {
        left: 0;
    }

    .menu-toggle {
        display: block;
    }

    .service-card,
    .industry-card,
    .stats-card {
        padding: 30px;
    }

}

@media screen and (max-width: 767px) {

    .btn-custom {

        width: 100%;

        justify-content: center;
    }

    .hero-title {
        font-size: 38px;
    }

    .service-title,
    .project-title {
        font-size: 22px;
    }

}

/* =========================================================
   FLOATING WHATSAPP
========================================================= */

.floating-whatsapp {

    position: fixed;

    right: 25px;
    bottom: 25px;

    width: 65px;
    height: 65px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background-color: #25D366;

    color: #FFFFFF;

    font-size: 30px;

    box-shadow: var(--shadow-lg);

    z-index: 9999;

    transition: var(--transition);
}

.floating-whatsapp:hover {

    transform: translateY(-5px) scale(1.05);

    color: #FFFFFF;
}


/* =========================================================
   MOBILE
========================================================= */

@media screen and (max-width: 767px) {

    .floating-whatsapp {

        width: 58px;
        height: 58px;

        right: 18px;
        bottom: 80px;

        font-size: 26px;
    }

}

/* =========================================================
   STICKY MOBILE CTA
========================================================= */

.mobile-cta-bar {

    position: fixed;

    left: 0;
    bottom: 0;

    width: 100%;

    background-color: var(--primary-color);

    display: none;

    z-index: 9998;

    box-shadow: 0 -5px 20px rgba(0,0,0,0.15);
}

.mobile-cta-wrapper {

    display: grid;

    grid-template-columns: repeat(3, 1fr);
}

.mobile-cta-btn {

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 5px;

    padding: 12px 8px;

    color: var(--white-color);

    font-size: 12px;
    font-weight: var(--fw-medium);

    border-right: 1px solid rgba(255,255,255,0.08);

    transition: var(--transition);
}

.mobile-cta-btn:last-child {
    border-right: none;
}

.mobile-cta-btn i {

    font-size: 18px;
}

.mobile-cta-btn:hover {

    background-color: rgba(255,255,255,0.06);

    color: var(--white-color);
}


/* =========================================================
   MOBILE ONLY
========================================================= */

@media screen and (max-width: 767px) {

    .mobile-cta-bar {
        display: block;
    }

    body {
        padding-bottom: 80px;
    }

}

/* =========================================================
   ALERT MESSAGES
========================================================= */

.success-message {

    background-color: rgba(22, 163, 74, 0.1);

    color: var(--success-color);

    padding: 18px 22px;

    border-radius: var(--radius-md);

    border-left: 4px solid var(--success-color);
}

.error-message {

    background-color: rgba(220, 38, 38, 0.1);

    color: var(--danger-color);

    padding: 18px 22px;

    border-radius: var(--radius-md);

    border-left: 4px solid var(--danger-color);
}