/* =========================================================
   RK THEME — PASTEL BLUE + GOLD (PREMIUM)
   Single shared stylesheet — link this file from every page:
   <link rel="stylesheet" href="css/rk-theme.css">
   ========================================================= */

/* ======================
   RESET
====================== */

html,
body {
    width: 100%;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}


/* ======================
   COLOR SYSTEM
====================== */

:root {
    --theme-primary:        #AEC6CF;  /* pastel blue — main brand color   */
    --theme-primary-mid:    #8FB4C1;  /* mid pastel blue — gradients       */
    --theme-primary-pale:   #DCEEF2;  /* pale pastel blue — light accents  */
    --theme-primary-deep:   #3E5560;  /* deep blue-teal — buttons/topbar   */
    --theme-primary-darker: #26343C;  /* charcoal-blue — headings/text     */

    --theme-gold:           #D4AF37;
    --theme-gold-light:     #F0C75E;
    --theme-gold-deep:      #B8860B;

    --theme-ivory:          #FFF8E7;
    --theme-white:          #FFFFFF;
    --theme-accent-red:     #C65B4E;  /* sparing accent only */
}


body {
    background: #F7FAFB;
}


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

#navbarstyle {
    position: sticky !important;
    top: 0;
    z-index: 1020;

    background: linear-gradient(
        135deg,
        var(--theme-primary-pale) 0%,
        var(--theme-primary) 35%,
        var(--theme-primary-mid) 70%,
        var(--theme-primary) 100%
    ) !important;

    border-bottom: 3px solid var(--theme-gold);
    box-shadow: 0 8px 20px rgba(38, 52, 60, .12);

    overflow: hidden;
}

#navbarstyle::before {
    content: "";
    position: absolute;
    inset: 0;

    background-image: radial-gradient(rgba(212, 175, 55, .22) 1px, transparent 1px);
    background-size: 22px 22px;
    opacity: .7;
}

#navbarstyle::after {
    content: "";
    position: absolute;
    inset: 0;

    background-image: repeating-linear-gradient(
        45deg,
        transparent 0px,
        transparent 90px,
        rgba(38, 52, 60, 0.06) 91px,
        rgba(38, 52, 60, 0.06) 93px,
        transparent 94px,
        transparent 180px
    );

    pointer-events: none;
    z-index: 0;
}

#navbarstyle .navbar-brand,
#navbarstyle .navbar-toggler,
#navbarstyle #navbarCollapse {
    position: relative;
    z-index: 2;
}

#navbarstyle .navbar-brand {
    padding-top: 5px;
    padding-bottom: 5px;
    display: flex;
    align-items: center;
}


/* TOP BAR (contact strip) */

.rk-topbar {
    background: linear-gradient(
        90deg,
        var(--theme-primary-darker) 0%,
        var(--theme-primary-deep) 50%,
        var(--theme-primary-darker) 100%
    ) !important;

    color: var(--theme-ivory) !important;
    border-bottom: 2px solid var(--theme-gold);
    box-shadow: 0 3px 10px rgba(38, 52, 60, 0.3);

    min-height: 38px;
    display: flex;
    align-items: center;

    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.4px;
}

.rk-topbar .fa-phone-alt {
    width: 25px;
    height: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: rgba(212, 175, 55, 0.18);
    border: 1px solid var(--theme-gold);
    border-radius: 50%;
    color: var(--theme-gold-light) !important;
    font-size: 12px;
    margin-right: 8px !important;
}

.rk-topbar span,
.rk-topbar i {
    color: var(--theme-ivory) !important;
}

.rk-topbar .h-100 {
    transition: transform 0.3s ease;
}

.rk-topbar .h-100:hover {
    transform: translateY(-1px);
}


/* LOGO + SHOP NAME */

#logo-txt,
.brand-title {
    color: var(--theme-primary-darker) !important;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 1px rgba(212, 175, 55, 0.25);
    display: flex;
    align-items: center;
    margin: 0;
}

#logo {
    object-fit: contain;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

#logo:hover {
    transform: scale(1.05);
}


/* NAV LINKS */

#navbarstyle .nav-link {
    color: var(--theme-primary-darker) !important;
    font-weight: 600;
    font-size: 16px;
    padding-left: 15px;
    padding-right: 15px;
    position: relative;
    transition: color 0.3s ease, transform 0.3s ease;
}

#navbarstyle .nav-link:hover {
    color: var(--theme-accent-red) !important;
    background: transparent !important;
    transform: translateY(-1px);
}

#navbarstyle .nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 12px;
    width: 0;
    height: 2px;
    background: var(--theme-gold);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

#navbarstyle .nav-link:hover::after {
    width: 45%;
}

#navbarstyle .nav-link.active {
    color: var(--theme-primary-darker) !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
}

#navbarstyle .nav-link.active::after {
    width: 45%;
}


/* TOGGLER */

.navbar-toggler {
    border: 1px solid var(--theme-gold) !important;
    background-color: var(--theme-primary-deep) !important;
    padding: 7px 9px;
    position: relative;
    z-index: 3;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.3);
}

.navbar-toggler-icon {
    filter: brightness(0) invert(1);
}


/* MOBILE NAVBAR COLLAPSE */

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

    #logo {
        width: 70px;
        height: 70px;
        margin-left: -10px;
        object-fit: contain;
    }

    #logo-txt {
        font-size: 20px;
        font-weight: 700;
        line-height: 1.1;
        white-space: nowrap;
    }

    #navbarstyle .navbar-brand {
        padding-left: 10px !important;
        padding-right: 5px !important;
    }

    #navbarCollapse {
        background: linear-gradient(135deg, var(--theme-gold-light), var(--theme-ivory));
        border-top: 1px solid var(--theme-gold);
    }

    #navbarstyle .nav-link {
        padding: 10px 15px;
        margin-bottom: 3px;
        color: var(--theme-primary-darker) !important;
    }

    #navbarstyle .nav-link::after {
        left: 15px;
        bottom: 5px;
        transform: none;
    }

    #navbarstyle .nav-link:hover::after,
    #navbarstyle .nav-link.active::after {
        width: 35px;
    }

    .rk-topbar {
        min-height: 32px;
        font-size: 12px;
    }

    .rk-topbar .fa-phone-alt {
        width: 22px;
        height: 22px;
        font-size: 10px;
    }

    #navbarstyle::before {
        background-image: repeating-linear-gradient(
            135deg,
            transparent 0px,
            transparent 28px,
            rgba(212, 175, 55, 0.16) 29px,
            rgba(212, 175, 55, 0.16) 31px,
            transparent 32px,
            transparent 60px
        );
    }
}

@media screen and (max-width: 380px) {
    #logo {
        width: 60px;
        height: 60px;
    }

    #logo-txt {
        font-size: 15px;
    }
}

@media screen and (min-width: 761px) {
    #logo {
        width: 110px;
        height: 110px;
        object-fit: contain;
    }

    #logo-txt {
        font-size: 30px;
        font-weight: 700;
        line-height: 1;
        white-space: nowrap;
    }

    #navbarstyle .navbar-brand {
        min-height: 115px;
        padding-left: 30px !important;
    }
}

@media screen and (min-width: 1400px) {
    #logo {
        width: 100px;
        height: 100px;
    }

    #logo-txt {
        font-size: 32px;
        margin-left: 19px;
    }

    #navbarstyle .navbar-brand {
        min-height: 125px;
    }
}

@media (max-width: 760px) {
    #navbarstyle {
        position: relative;
    }

    .navbar-brand {
        flex: 1;
        display: flex;
        align-items: center;
        padding-left: 10px !important;
        margin: 0;
    }

    #logo {
        width: 55px;
        height: 55px;
        flex-shrink: 0;
    }

    #logo-txt {
        position: absolute;
        left: 60%;
        transform: translateX(-50%);
        font-size: 22px;
        font-weight: 900;
        white-space: nowrap;
        text-align: center;
        margin: 0;
    }

    .navbar-toggler {
        margin-right: 10px;
        z-index: 10;
    }
}


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

.btn-primary {
    background: linear-gradient(180deg, var(--theme-gold), var(--theme-gold-deep)) !important;
    border: none !important;
    color: var(--theme-primary-darker) !important;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(212, 175, 55, .35);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background: linear-gradient(180deg, var(--theme-gold-light), var(--theme-gold)) !important;
    color: var(--theme-primary-darker) !important;
}


/* BACKGROUNDS / TEXT UTILITIES */

.bg-primary {
    background: linear-gradient(
        135deg,
        var(--theme-primary-pale),
        var(--theme-primary),
        var(--theme-primary-mid)
    ) !important;
}

.text-primary {
    color: var(--theme-primary-deep) !important;
}

.border-primary {
    border-color: var(--theme-gold) !important;
}


/* PAGE HEADER */

.page-header {
    position: relative;
    background: linear-gradient(
        135deg,
        var(--theme-primary-deep),
        var(--theme-primary-mid),
        var(--theme-primary)
    );
}

.page-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(212, 175, 55, .2), transparent 60%);
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    color: var(--theme-ivory) !important;
    font-weight: 800;
    text-shadow: 0 3px 10px rgba(0, 0, 0, .3);
}

.page-header .breadcrumb-item a {
    color: var(--theme-gold-light) !important;
}

.page-header .breadcrumb-item.active {
    color: var(--theme-ivory) !important;
}


/* HEADINGS */

h1, h2, h3, h4, h5, h6 {
    color: var(--theme-primary-darker);
}


/* =========================================================
   CARDS — elegant, contrasty against the pastel background
   ========================================================= */

.card {
    background: linear-gradient(180deg, #FFFFFF 0%, #F6FAFB 100%);
    border: 1px solid rgba(212, 175, 55, .45);
    border-top: 4px solid var(--theme-gold);
    border-radius: 16px;
    overflow: hidden;

    box-shadow:
        0 6px 18px rgba(38, 52, 60, .12),
        0 2px 6px rgba(38, 52, 60, .06);

    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.card:hover {
    transform: translateY(-4px);
    border-top-color: var(--theme-gold-light);
    box-shadow:
        0 14px 28px rgba(38, 52, 60, .18),
        0 4px 10px rgba(38, 52, 60, .08);
}

.card .card-title,
.card h5 {
    color: var(--theme-primary-darker);
    font-weight: 700;
}

.card .card-text {
    color: #4A5A62;
}


/* ICON BOXES */

.service-item .service-icon,
.feature-icon {
    background: linear-gradient(180deg, var(--theme-gold), var(--theme-gold-deep)) !important;
    color: var(--theme-primary-darker) !important;
}


/* LINKS */

a {
    color: var(--theme-primary-deep);
}

a:hover {
    color: var(--theme-accent-red);
}


/* BACK TO TOP */

.back-to-top {
    background: linear-gradient(180deg, var(--theme-gold), var(--theme-gold-deep)) !important;
    color: var(--theme-primary-darker) !important;
    border: 1px solid var(--theme-gold) !important;
}


/* =========================================================
   ORDER PAGE ELEMENTS
   ========================================================= */

.product-youtube-icon {
    color: var(--theme-gold);
    transition: 0.3s ease;
}

.product-youtube-icon:hover {
    color: var(--theme-gold-deep);
    transform: scale(1.15);
}

.amt_txt {
    background: rgba(62, 85, 96, 0.92) !important;
    color: var(--theme-ivory) !important;
    box-shadow: 0 3px 10px rgba(38, 52, 60, 0.18);
}

#cart-fixed .btn {
    background: var(--theme-primary-deep);
    color: var(--theme-ivory);
    border: 2px solid var(--theme-gold);
    border-radius: 30px;
    padding: 8px 20px;
    font-weight: bold;
}

#cart-fixed .btn:hover {
    background: var(--theme-primary-darker);
    color: var(--theme-gold-light);
}

#cart-btn,
#category-btn {
    background: #fff;
    color: var(--theme-primary-deep);
    border: none;
    border-radius: 8px;
    padding: 8px 18px;
    font-weight: 600;
    line-height: 1.2;
}

#cart-btn i,
#category-btn i {
    color: var(--theme-primary-deep);
}

#cart-btn:hover,
#category-btn:hover {
    background: var(--theme-gold-light);
    color: var(--theme-primary-darker);
}

#cart-btn:hover i,
#category-btn:hover i {
    color: var(--theme-primary-darker);
}

.navbar-link:hover {
    color: var(--theme-primary-darker);
}
