/* ==========================================================================
   MYROCKET.GR – CUSTOM CSS THEME (PROFESSIONAL VERSION)
   Paste into: Cassiopeia Extended → Custom CSS field
   
   Brand colors: Cyan #00c4cd · Yellow #e8a93e · Blue #067ac2
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* -- COLOR VARIABLES ------------------------------------------------------ */
:root {
    /* Primary – Blue */
    --dn-primary:          #067ac2;
    --dn-primary-dark:     #055a91;
    --dn-primary-darker:   #044270;
    --dn-primary-deep:     #03335a;
    --dn-primary-light:    #3a9ad9;

    /* Secondary – Cyan */
    --dn-secondary:        #00c4cd;
    --dn-secondary-dark:   #009aa1;
    --dn-secondary-light:  #40d4db;
    --dn-secondary-deep:   #00757a;

    /* Accent – Yellow-Orange */
    --dn-accent:           #e8a93e;
    --dn-accent-dark:      #c98c2e;
    --dn-accent-light:     #f0c06a;
    --dn-accent-deep:      #a6711f;

    /* Text */
    --dn-text-dark:        #1a202c;
    --dn-text-body:        #2d3748;
    --dn-text-muted:       #4a5568;
    --dn-text-white:       #ffffff;

    /* Surfaces */
    --dn-surface:          rgba(255,255,255,.98);
    --dn-surface-footer-top:    #f7fafc;
    --dn-surface-footer-bottom: #edf2f7;

    /* Overlays */
    --dn-overlay-25:       rgba(0,196,205,.25);
    --dn-overlay-15:       rgba(0,196,205,.15);
    --dn-overlay-12:       rgba(0,196,205,.12);
    --dn-overlay-10:       rgba(0,196,205,.10);
    --dn-overlay-08:       rgba(0,196,205,.08);
    --dn-overlay-04:       rgba(0,196,205,.04);

    /* Font */
    --dn-font:             'Outfit', system-ui, -apple-system, sans-serif;
}

.brand-logo{
    display: flex;
    align-items: center;
}

a {
    text-decoration: unset !important;
}

.alert-wrapper {
  color: #333 !important;
}

/* -- BODY & PAGE BACKGROUND - BRIGHT & ENERGETIC ------------------------- */
/* Chrome below is intentionally unscoped: this file only loads for the
   cassiopeia_extended template, so it applies to every page of that template
   (homepages, privacy, support, error pages) - not just article views. */
body {
    background: linear-gradient(160deg, #067ac2 0%, #009aa1 25%, #00c4cd 50%, #b8e9da 75%, #b9e9ec 100%) !important;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 600px 600px at 15% 20%, rgba(232,169,62,.12), transparent),
        radial-gradient(ellipse 500px 500px at 85% 75%, rgba(0,196,205,.12), transparent),
        radial-gradient(ellipse 400px 300px at 50% 50%, rgba(255,255,255,.08), transparent);
    animation: dn-drift 25s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes dn-drift {
    0%, 100% { transform: translateY(0) scale(1); }
    50%      { transform: translateY(-30px) scale(1.02); }
}

body .site-grid,
body > header,
body > footer {
    position: relative;
    z-index: 1;
}

/* -- HEADER - SEMI-TRANSPARENT FOR BRIGHT BACKGROUND --------------------- */
body header.header {
    background: rgba(255,255,255,.15) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 2px solid rgba(0,196,205,.2);
    box-shadow: 0 4px 30px rgba(0,0,0,.08);
    display: flex;
}

body .navbar-brand,
body .container-search,
body .mod-languages {
    display: flex;
    align-items: center;
}

body .container-nav {
    padding: 1em 0.5em !important;
}

body .container-search {
    margin: 0 !important;
}

body header.header .brand-logo img {
    transition: transform .3s ease;
}

body header.header .brand-logo:hover img {
    transform: scale(1.05);
}

body header.header .mod-languages .btn {
    background: rgba(0,196,205,.12) !important;
    border: 1px solid rgba(0,196,205,.25) !important;
    color: var(--dn-text-dark) !important;
    backdrop-filter: blur(10px);
    border-radius: 12px !important;
    transition: all .3s ease;
}

body header.header .mod-languages .btn:hover {
    background: rgba(0,196,205,.2) !important;
    transform: translateY(-1px);
}

body header.header {
    z-index: 100;
}

body header.header .dropdown-menu {
    z-index: 101;
}

div.mod-languages ul.lang-block li {
    padding: 0;
}

div.mod-languages ul.lang-block li a {
    display: block;
    width: 100%;
    color: black;
}

/* -- MAIN CONTAINER ------------------------------------------------------- */
body.com_content.view-article .com-content-article__body .container {
    max-width: 1100px;
    padding-top: 3rem;
    padding-bottom: 4rem;
    animation: dn-slideUp .8s cubic-bezier(.22,1,.36,1) both;
}

@keyframes dn-slideUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* -- CARDS - WITH VIBRANT SHADOWS ---------------------------------------- */
body.com_content.view-article .com-content-article__body .card {
    border: none !important;
    border-radius: 24px !important;
    overflow: hidden;
    background: var(--dn-surface) !important;
    box-shadow:
        0 20px 60px rgba(6,122,194,.12),
        0 0 0 1px rgba(255,255,255,.5) inset;
    transition: transform .45s cubic-bezier(.22,1,.36,1),
                box-shadow .45s cubic-bezier(.22,1,.36,1);
}

body.com_content.view-article .com-content-article__body .card:hover {
    transform: translateY(-12px) scale(1.015);
    box-shadow:
        0 35px 80px rgba(0,196,205,.2),
        0 0 0 1px rgba(255,255,255,.6) inset,
        0 0 80px rgba(232,169,62,.1);
}

body.com_content.view-article .col-lg-6:first-child .card {
    animation: dn-cardIn .7s cubic-bezier(.22,1,.36,1) .2s both;
}
body.com_content.view-article .col-lg-6:last-child .card {
    animation: dn-cardIn .7s cubic-bezier(.22,1,.36,1) .45s both;
}

@keyframes dn-cardIn {
    from { opacity: 0; transform: translateY(50px) scale(.95); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* -- CARD HEADERS - PROFESSIONAL SINGLE COLOR GRADIENTS ------------------ */
body.com_content.view-article .card-header {
    padding: 2.2rem 2rem 2rem !important;
    position: relative;
    overflow: hidden;
    border-bottom: none !important;
}

/* Card 1 header – Clean Blue gradient (single color family) */
body.com_content.view-article .card-header.bg-primary {
    background: linear-gradient(135deg, #055a91 0%, #067ac2 50%, #3a9ad9 100%) !important;
}

/* Card 2 header – Clean Cyan gradient (single color family) */
body.com_content.view-article .card-header.bg-warning {
    background: linear-gradient(135deg, #009aa1 0%, #00c4cd 50%, #40d4db 100%) !important;
}

/* Glowing orbs on headers */
body.com_content.view-article .card-header::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -15%;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(255,255,255,.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

body.com_content.view-article .card-header::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 170px;
    height: 170px;
    background: radial-gradient(circle, rgba(255,255,255,.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* -- CARD TITLE - WHITE TEXT ON BOTH ------------------------------------- */
body.com_content.view-article .card-title {
    font-family: var(--dn-font);
    font-size: 1.65rem !important;
    font-weight: 700 !important;
    letter-spacing: -.01em;
    text-shadow: 0 2px 12px rgba(0,0,0,.15);
    position: relative;
    z-index: 1;
    color: var(--dn-text-white) !important;
}

/* -- CARD BODY ------------------------------------------------------------ */
body.com_content.view-article .card-body {
    padding: 1.5rem 2rem 1.2rem !important;
}

body.com_content.view-article .card-body .card-text {
    font-family: var(--dn-font);
    font-size: 1.02rem;
    line-height: 1.55;
    color: var(--dn-text-body) !important;
    margin-bottom: .6rem;
}

/* List items in two columns */
body.com_content.view-article .card-body ul {
    columns: 2;
    -webkit-columns: 2;
    column-gap: 1.5rem;
    margin-bottom: .6rem;
}

body.com_content.view-article .card-body .card-text strong {
    color: var(--dn-primary-darker) !important;
    font-weight: 600;
}

body.com_content.view-article .border-warning .card-body .card-text strong,
body.com_content.view-article .card-header.bg-warning ~ .card-body .card-text strong {
    color: var(--dn-secondary-deep) !important;
}

/* -- CARD FOOTER ---------------------------------------------------------- */
body.com_content.view-article .card-footer {
    padding: 1.5rem 2rem 2rem !important;
    background: linear-gradient(180deg, var(--dn-surface-footer-top) 0%, var(--dn-surface-footer-bottom) 100%) !important;
    border-top: 1px solid rgba(0,0,0,.04) !important;
}

body.com_content.view-article .card-footer p {
    font-family: var(--dn-font);
    color: var(--dn-text-muted);
    font-weight: 500;
}

body.com_content.view-article .card-footer ul:empty {
    display: none;
}

/* -- PRIMARY BUTTON - PROFESSIONAL SOLID COLOR WITH ACCENT HOVER --------- */
/* Unscoped so the contact form submit matches the article card buttons.
   The arrow (::after) stays card-footer-only - it suits an email link,
   not a submit button. */
body .btn-primary {
    background: #067ac2 !important;
    border: none !important;
    border-radius: 14px !important;
    padding: .9rem 2.2rem !important;
    font-family: var(--dn-font);
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    letter-spacing: .02em;
    color: var(--dn-text-white) !important;
    box-shadow: 0 10px 30px rgba(6,122,194,.3) !important;
    transition: all .35s cubic-bezier(.22,1,.36,1) !important;
    text-decoration: none !important;
    position: relative;
    overflow: hidden;
}

body.com_content.view-article .card-footer .btn-primary::after {
    content: '→';
    margin-left: .5rem;
    display: inline-block;
    transition: transform .3s ease;
}

body .btn-primary:hover {
    transform: translateY(-3px) scale(1.03) !important;
    background: #00c4cd !important;
    box-shadow: 0 18px 45px rgba(0,196,205,.4) !important;
}

body.com_content.view-article .card-footer .btn-primary:hover::after {
    transform: translateX(4px);
}

body.com_content.view-article .card-footer .btn-primary a:hover{
    color: #f1f1f1;
}

/* -- FOOTER - LIGHTER ----------------------------------------------------- */
body footer.container-footer {
    background: rgba(255,255,255,.15) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 2px solid rgba(0,196,205,.15);
    text-align: center;
}

body footer.container-footer a {
    color: rgba(26,32,44,.8) !important;
    text-decoration: none !important;
    font-family: var(--dn-font);
    transition: color .3s ease;
}

body footer.container-footer a:hover {
    color: #067ac2 !important;
}

body footer.container-footer .grid-child {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer .grid-child {
  justify-content: space-between;
  align-items: center;
  padding: 2.5rem .5em .5em .5em;

}

.copyrights{
    width: 100%;
}

.copyrights > .custom{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-top:20px;
}

/* -- RESPONSIVE ----------------------------------------------------------- */
@media (max-width: 991px) {
    body.com_content.view-article .com-content-article__body .container {
        padding-top: 2rem;
        padding-bottom: 3rem;
    }

    .copyrights > .custom{
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap:15px;
    }

    body.com_content.view-article footer.container-footer {
        text-align: center;
    }
}

@media (max-width: 575px) {
    body.com_content.view-article .card-header {
        padding: 1.5rem !important;
    }
    body.com_content.view-article .card-body {
        padding: 1.5rem !important;
    }
    body.com_content.view-article .card-footer {
        padding: 1.25rem 1.5rem 1.5rem !important;
    }
    body.com_content.view-article .card-title {
        font-size: 1.3rem !important;
    }
    body.com_content.view-article .com-content-article__body .card {
        border-radius: 18px !important;
    }
}

/* -- SCROLLBAR ------------------------------------------------------------ */
body::-webkit-scrollbar {
    width: 8px;
}
body::-webkit-scrollbar-track {
    background: #b8e9ec;
}
body::-webkit-scrollbar-thumb {
    background: rgba(0,196,205,.4);
    border-radius: 4px;
}
body::-webkit-scrollbar-thumb:hover {
    background: rgba(0,196,205,.6);
}