/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/
Description: Child theme for Hello Elementor
Author: Your Name
Template: hello-elementor
Version: 1.0.0
*/

/* Your custom CSS below */

/* GHRP WordPress page adjustments */
/* =========================================
   GHRP HEADER — HELLO ELEMENTOR / WORDPRESS
   ========================================= */

.ghrp-site .ghrp-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 99999 !important;

    background: linear-gradient(
        100deg,
        rgba(28, 16, 54, 0.94),
        rgba(58, 20, 74, 0.94)
    ) !important;

    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;

    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;

    width: 100%;
}


/* Navigation container */

.ghrp-site .nav {
    min-height: 78px !important;

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

    gap: 30px;

    width: min(1180px, calc(100% - 40px));
    margin-left: auto;
    margin-right: auto;
}


/* Brand */

.ghrp-site .brand {
    display: flex !important;
    align-items: center !important;

    gap: 12px;

    text-decoration: none !important;
    color: #ffffff !important;

    flex-shrink: 0;
}


/* Logo */

.ghrp-site .brand-mark {
    width: 46px !important;
    height: 46px !important;

    min-width: 46px;
    min-height: 46px;

    flex-shrink: 0;

    border-radius: 12px !important;
    overflow: hidden;

    background: #ffffff !important;

    padding: 3px;

    box-shadow:
        0 6px 18px -6px rgba(217, 31, 166, 0.5);

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


/* Logo image */

.ghrp-site .brand-mark img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    display: block;
}


/* Brand text */

.ghrp-site .brand-word {
    color: #ffffff !important;

    font-size: 18px;
    font-weight: 800;

    line-height: 1.2;

    white-space: nowrap;
}

.ghrp-site .brand-word span {
    color: #dba9ff !important;
}


/* Navigation links */

.ghrp-site .nav-links {
    display: flex !important;
    align-items: center !important;

    gap: 27px;

    margin: 0;
    padding: 0;
}

.ghrp-site .nav-links a {
    color: rgba(255,255,255,.78) !important;

    font-size: 14px;
    font-weight: 600;

    text-decoration: none !important;

    transition:
        color .2s ease,
        opacity .2s ease;
}

.ghrp-site .nav-links a:hover {
    color: #ffffff !important;
}


/* Header buttons */

.ghrp-site .nav-actions {
    display: flex !important;
    align-items: center !important;

    gap: 10px;

    flex-shrink: 0;
}


/* Prevent Elementor button styling from changing them */

.ghrp-site .nav-actions .btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    text-decoration: none !important;

    margin: 0 !important;
}


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

@media (max-width: 900px) {

    .ghrp-site .nav {
        min-height: 72px !important;
        gap: 15px;
    }

    .ghrp-site .nav-links {
        display: none !important;
    }

    .ghrp-site .brand-word {
        font-size: 16px;
    }

}


/* Small mobile */

@media (max-width: 600px) {

    .ghrp-site .nav {
        width: calc(100% - 30px);
        min-height: 68px !important;
    }

    .ghrp-site .brand-mark {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px;
        min-height: 40px;
    }

    .ghrp-site .brand-word {
        font-size: 14px;
    }

    .ghrp-site .nav-actions .btn-outline {
        display: none !important;
    }

}


/* Very small phones */

@media (max-width: 400px) {

    .ghrp-site .brand-word {
        display: none;
    }

}

/* Home page - remove remaining top gap */
body.home .site-header {
    display: none !important;
}

body.home .site-main {
    margin: 0 !important;
    padding: 0 !important;
}

body.home .elementor {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Home page: remove Hello Elementor header + footer */
body.home .site-header {
    display: none !important;
}

body.home .site-footer {
    display: none !important;
}

body.home .site-main {
    margin: 0 !important;
    padding: 0 !important;
}

body.home .elementor-85 {
    margin: 0 !important;
    padding: 0 !important;
}