/* ============================================================
   Chippiconstructions - Public Stylesheet
   Theme: Dark + Gold
   ============================================================ */

:root {
    --gk-bg:       #0c0f14;
    --gk-bg-alt:   #131820;
    --gk-card:     #1a2029;
    --gk-text:     #e6e8ed;
    --gk-muted:    #fff;
    --gk-gold:     #0083f6;
    --gk-gold-2:   #f4cf6c;
    --gk-gold-dk:  #fafafa;
    --gk-border:   #232a35;
    --gk-light:    #f7f8fb;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', system-ui, -apple-system, sans-serif;
    background: var(--gk-bg);
    color: var(--gk-text);
    line-height: 1.65;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6, .display-1, .display-2, .display-3, .display-4, .display-5 {
    font-family: 'Playfair Display', Georgia, serif;
    color: #fff;
    font-weight: 700;
    letter-spacing: -0.5px;
}

a { color: var(--gk-gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gk-gold-2); }

/* ---- Top bar ----------------------------------------------------------- */
.top-bar {
    background: #07090d;
    color: var(--gk-muted);
    font-size: .85rem;
    padding: .5rem 0;
    border-bottom: 1px solid var(--gk-border);
}
.top-bar a { color: var(--gk-muted); }
.top-bar a:hover { color: var(--gk-gold); }

/* ---- Navbar ------------------------------------------------------------ */
.main-nav {
    background: #fff !important;
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--gk-border);
    padding: .75rem 0;
    z-index: 1030;
}
.navbar-brand { display: flex; align-items: center; gap: .5rem; }
.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gk-gold), var(--gk-gold-dk));
    color: #1a1a1a;
    font-weight: 800;
    width: 38px; height: 38px;
    border-radius: 6px;
    font-family: 'Playfair Display', serif;
}
.brand-text {
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.3px;
    font-size: 1.05rem;
}
.main-nav .nav-link {
    color:#1a1a1a !important;
    font-weight: 500;
    margin: 0 .25rem;
    padding: .5rem .8rem !important;
    border-radius: 4px;
    transition: color .2s, background .2s;
}
.main-nav .nav-link:hover,
.main-nav .nav-link.active {
    color: var(--gk-gold) !important;
}
.navbar-toggler {
    border-color: var(--gk-border);
}
.navbar-toggler-icon {
    filter: invert(1) grayscale(1) brightness(1.4);
}

/* Dropdowns */
.gk-dropdown {
    background: var(--gk-bg-alt);
    border: 1px solid var(--gk-border);
    border-radius: 8px;
    padding: .5rem 0;
    box-shadow: 0 20px 40px -20px rgba(0,0,0,.6);
    margin-top: .3rem !important;
    min-width: 240px;
}
.gk-dropdown .dropdown-item {
    color: var(--gk-text);
    padding: .55rem 1.1rem;
    font-size: .92rem;
    transition: background .15s, color .15s;
}
.gk-dropdown .dropdown-item:hover,
.gk-dropdown .dropdown-item:focus {
    background: rgba(212,175,55,.12);
    color: var(--gk-gold);
}
.gk-dropdown .dropdown-divider { border-color: var(--gk-border); }

.gk-dropdown-wide {
    min-width: 520px;
    max-width: 92vw;
}
.gk-dropdown-wide .dropdown-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2px;
    padding: .25rem .35rem;
}
.gk-dropdown-wide .dropdown-grid .dropdown-item {
    border-radius: 4px;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .5px;
    padding: .55rem .75rem;
}
@media (max-width: 991.98px) {
    .gk-dropdown, .gk-dropdown-wide {
        min-width: 100%;
        background: rgba(255,255,255,0.04);
        border: none;
        box-shadow: none;
    }
    .gk-dropdown-wide .dropdown-grid { grid-template-columns: 1fr 1fr; }
}

/* ---- Buttons ----------------------------------------------------------- */
.btn-gold {
    background: linear-gradient(135deg, var(--gk-gold), var(--gk-gold-dk));
    color: #1a1a1a !important;
    border: none;
    font-weight: 600;
    padding: .6rem 1.4rem;
    border-radius: 6px;
    transition: transform .2s, box-shadow .2s, filter .2s;
}
.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px -10px rgba(212, 175, 55, .55);
    filter: brightness(1.05);
}
.btn-outline-gold {
    background: transparent;
    color: var(--gk-gold) !important;
    border: 2px solid var(--gk-gold);
    font-weight: 600;
    padding: .55rem 1.3rem;
    border-radius: 6px;
}
.btn-outline-gold:hover {
    background: var(--gk-gold);
    color: #1a1a1a !important;
}

/* ---- Hero -------------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(120deg, rgba(7,9,13,.85), rgba(7,9,13,.55)),
        url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=1920&q=60') center/cover no-repeat;
}
.hero::before {
    content: "";
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(212,175,55,.15), transparent 60%),
        radial-gradient(circle at 10% 80%, rgba(212,175,55,.08), transparent 60%);
    pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero h1 {
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    line-height: 1.05;
    margin-bottom: 1.2rem;
}
.hero h1 .accent { color: var(--gk-gold); }
.hero p.lead {
    color: var(--gk-muted);
    font-size: 1.15rem;
    max-width: 640px;
    margin-bottom: 2rem;
}

/* ---- Hero Slider ------------------------------------------------------- */
.hero-slider-wrap { background: var(--gk-bg); }
.hero-slide {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    min-height: 88vh;
    display: flex;
    align-items: center;
}
.hero-slide h1 {
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    line-height: 1.05;
    margin-bottom: 1.2rem;
    color: #fff;
}
.hero-slide p.lead {
    color: var(--gk-muted);
    font-size: 1.15rem;
    max-width: 640px;
    margin-bottom: 2rem;
}
.carousel-indicators [data-bs-target] {
    width: 36px; height: 4px;
    background-color: rgba(255,255,255,.4);
    border: none;
    border-radius: 2px;
}
.carousel-indicators .active { background-color: var(--gk-gold); }
.carousel-control-prev, .carousel-control-next { width: 8%; }

/* ---- Page banner ------------------------------------------------------- */
.page-banner {
    position: relative;
    padding: 10rem 0 5rem;
    background:
        url('https://chippiconstructions.com/beta/assets/image/about.webp') center/cover;
}
.page-banner h1 { font-size: clamp(2rem, 4vw, 3rem); }
.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}
.breadcrumb a { color: var(--gk-gold); }
.breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: var(--gk-muted); }
.breadcrumb-item.active { color: var(--gk-muted); }

/* ---- Sections ---------------------------------------------------------- */
.section {
    padding: 1rem 0;
}
.section.alt {
    background: var(--gk-bg-alt);
}
.section-title {
    text-align: center;
    margin-bottom: 3rem;
}
.section-title small {
    display: inline-block;
    color: var(--gk-gold);
    letter-spacing: 3px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: .8rem;
    margin-bottom: .5rem;
}
.section-title h2 {
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    margin-bottom: .6rem;
}
.section-title p {
    color: var(--gk-muted);
    max-width: 640px;
    margin: 0 auto;
}

/* ---- Cards ------------------------------------------------------------- */
.card-gk {
    background: var(--gk-card);
    border: 1px solid var(--gk-border);
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    transition: transform .35s, border-color .35s, box-shadow .35s;
}
.card-gk:hover {
    transform: translateY(-6px);
    border-color: var(--gk-gold);
    box-shadow: 0 20px 40px -20px rgba(0,0,0,.6);
}
.card-gk .card-body { padding: 1.6rem; }
.card-gk h5 { color: #fff; margin-bottom: .6rem; }
.card-gk p { color: var(--gk-muted); margin-bottom: 0; }

.service-card .icon {
    width: 56px; height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgb(230 240 249);
    color: var(--gk-gold);
    border-radius: 10px;
    font-size: 1.6rem;
    margin-bottom: 1rem;
}
.service-card { display: flex; flex-direction: column; }
.service-card-img {
    display: block;
    aspect-ratio: 16/10;
    background-size: cover;
    background-position: center;
    background-color: #1f2733;
    transition: transform .6s;
}
.service-card:hover .service-card-img { transform: scale(1.04); }
.service-card .card-body { flex: 1; }

/* Product card */
.product-card {
    background: var(--gk-card);
    border: 1px solid var(--gk-border);
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform .35s, border-color .35s, box-shadow .35s;
}
.product-card:hover {
    transform: translateY(-6px);
    border-color: var(--gk-gold);
    box-shadow: 0 20px 40px -20px rgba(0,0,0,.6);
}
.product-card .product-img {
    aspect-ratio: 4/3;
    background-size: cover;
    background-position: center;
    background-color: #1f2733;
    position: relative;
}
.product-card .product-img .badge-featured {
    position: absolute; top: 10px; left: 10px;
    background: var(--gk-gold); color: #1a1a1a;
    padding: .2rem .55rem;
    border-radius: 4px;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
}
.product-card .product-body {
    padding: 1.1rem 1.25rem;
    display: flex; flex-direction: column;
    flex: 1;
}
.product-card .product-brand {
    color: var(--gk-gold);
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}
.product-card h6 { color: #fff; margin: .25rem 0 .4rem; }
.product-card .product-desc { color: var(--gk-muted); font-size: .85rem; flex: 1; }
.product-card .product-cta { margin-top: .9rem; }

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid var(--gk-border);
    background: var(--gk-card);
}
.project-card .project-img {
    aspect-ratio: 4/3;
    background-size: cover;
    background-position: center;
    transition: transform .6s;
}
.project-card:hover .project-img { transform: scale(1.06); }
.project-card .project-meta {
    padding: 1.25rem;
}
.project-card .badge-status {
    position: absolute;
    top: 12px; left: 12px;
    background: var(--gk-gold);
    color: #1a1a1a;
    font-weight: 600;
    padding: .25rem .65rem;
    border-radius: 4px;
    font-size: .75rem;
    text-transform: uppercase;
}

/* ---- Counters ---------------------------------------------------------- */
.counter {
    text-align: center;
    padding: 1.5rem 0;
}
.counter .count {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    font-weight: 800;
    color: var(--gk-gold);
    line-height: 1;
}
.counter .label {
    color: var(--gk-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: .8rem;
    margin-top: .4rem;
}

/* ---- Packages ---------------------------------------------------------- */
.package-card {
    background: var(--gk-card);
    border: 1px solid var(--gk-border);
    border-radius: 14px;
    padding: 2rem;
    position: relative;
    height: 100%;
    transition: transform .3s, border-color .3s;
}
.package-card.featured {
    border-color: var(--gk-gold);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -20px rgba(212,175,55,.4);
}
.package-card .tier {
    color: var(--gk-gold);
    letter-spacing: 3px;
    font-size: .8rem;
    text-transform: uppercase;
    font-weight: 600;
}
.package-card .price {
    font-family: 'Playfair Display', serif;
    font-size: 2.6rem;
    color: #fff;
    font-weight: 800;
    margin: .4rem 0 .2rem;
}
.package-card .price small {
    font-size: .9rem;
    color: var(--gk-muted);
    font-weight: 400;
}
.package-card ul {
    list-style: none;
    padding: 0;
    margin: 1.4rem 0;
}
.package-card ul li {
    padding: .45rem 0;
    color: var(--gk-muted);
    border-bottom: 1px dashed var(--gk-border);
}
.package-card ul li i { color: var(--gk-gold); margin-right: .5rem; }

/* ---- Testimonial ------------------------------------------------------- */
.testimonial-card {
    background: var(--gk-card);
    border: 1px solid var(--gk-border);
    border-radius: 12px;
    padding: 1.8rem;
    height: 100%;
}
.testimonial-card .stars { color: var(--gk-gold); margin-bottom: .5rem; }
.testimonial-card .review {
    color: var(--gk-muted);
    font-style: italic;
    margin-bottom: 1rem;
}
.testimonial-card .name {
    color: #fff;
    font-weight: 600;
}
.testimonial-card .designation {
    color: var(--gk-gold);
    font-size: .85rem;
}

/* ---- Forms ------------------------------------------------------------- */
.form-gk .form-control,
.form-gk .form-select {
    background: #0e131b;
    border: 1px solid var(--gk-border);
    color: var(--gk-text);
    padding: .75rem .9rem;
    border-radius: 6px;
}
.form-gk .form-control:focus,
.form-gk .form-select:focus {
    background: #0e131b;
    color: var(--gk-text);
    border-color: var(--gk-gold);
    box-shadow: 0 0 0 .15rem rgba(212,175,55,.18);
}
.form-gk label { color: var(--gk-muted); font-size: .9rem; margin-bottom: .35rem; }

/* ---- Blog -------------------------------------------------------------- */
.blog-card {
    background: var(--gk-card);
    border: 1px solid var(--gk-border);
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.blog-card .blog-img {
    aspect-ratio: 16/9;
    background-size: cover;
    background-position: center;
    background-color: #1f2733;
}
.blog-card .blog-body { padding: 1.4rem; flex: 1; display: flex; flex-direction: column; }
.blog-card h5 { color: #fff; }
.blog-card .meta { color: var(--gk-muted); font-size: .85rem; }

/* ---- Footer ------------------------------------------------------------ */
.site-footer {
    background: #07090d;
    color: var(--gk-text);
    padding: 4rem 0 1.5rem;
    border-top: 1px solid var(--gk-border);
    margin-top: 4rem;
}
.site-footer a { color: var(--gk-muted); }
.site-footer a:hover { color: var(--gk-gold); }
.footer-title {
    color: var(--gk-gold);
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: .85rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { padding: .35rem 0; }
.footer-divider { border-color: var(--gk-border); opacity: 1; }
.text-muted-gold { color: var(--gk-muted) !important; }
.social-icons a {
    display: inline-flex;
    width: 36px; height: 36px;
    align-items: center; justify-content: center;
    border: 1px solid var(--gk-border);
    border-radius: 50%;
    margin-right: .35rem;
    transition: all .2s;
}
.social-icons a:hover {
    background: var(--gk-gold);
    color: #1a1a1a;
    border-color: var(--gk-gold);
}

/* ---- Floating buttons -------------------------------------------------- */
.float-whatsapp, .float-call {
    position: fixed;
    bottom: 25px;
    width: 54px; height: 54px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff !important;
    z-index: 1040;
    font-size: 1.4rem;
    box-shadow: 0 10px 25px -8px rgba(0,0,0,.4);
    transition: transform .2s;
}
.float-whatsapp { right: 25px; background: #25d366; }
.float-call     { right: 90px; background: var(--gk-gold); color: #1a1a1a !important; }
.float-whatsapp:hover, .float-call:hover { transform: scale(1.08); }
@keyframes pulse-gold {
    0% { box-shadow: 0 0 0 0 rgba(37,211,102,.6); }
    70% { box-shadow: 0 0 0 18px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
.float-whatsapp { animation: pulse-gold 2s infinite; }

/* ---- Misc -------------------------------------------------------------- */
.text-gold { color: var(--gk-gold) !important; }
.bg-dark-alt { background: var(--gk-bg-alt) !important; }
.divider-gold {
    width: 60px; height: 3px;
    background: var(--gk-gold);
    margin: .8rem auto 1.4rem;
    border-radius: 2px;
}
.alert-flash {
    border-radius: 8px;
    padding: .8rem 1rem;
}

/* ---- Responsive -------------------------------------------------------- */
@media (max-width: 991.98px) {
    .main-nav .navbar-collapse {
        background: #fff;
        margin-top: .5rem;
        padding: 1rem;
        border-radius: 8px;
    }
    .float-call { right: 25px; bottom: 92px; }
    .float-whatsapp { right: 25px; bottom: 25px; }
}
