/* === Candice Lessoway — Brand Palette ===
   Dark background:  #39322c
   Sidebar panel:    rgba(0,0,0,0.75)
   Content panel:    rgba(0,0,0,0.70)
   Lime / accent:    #dcf877
   Purple heading:   #a34db9
   Footer panel:     rgba(123,123,123,0.90)
*/

/* Base ------------------------------------------------------------------- */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: Calibri, Verdana, Arial, sans-serif;
    font-size: 12pt;
    color: #fff;
    background-color: #39322c;
    background-image: url('/images/Background.jpg');
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh;
}

/* Typography ------------------------------------------------------------- */
h1 {
    color: #dcf877;
    font-size: 20pt;
    margin-bottom: 4px;
    font-family: Calibri, Verdana, Arial, sans-serif;
}

h2 {
    color: #a34db9;
    font-size: 16pt;
    margin-bottom: 4px;
    font-family: Calibri, Verdana, Arial, sans-serif;
}

h3 {
    color: #a34db9;
    font-size: 14pt;
    margin-bottom: 4px;
    font-family: Calibri, Verdana, Arial, sans-serif;
}

h4 {
    color: #a34db9;
    font-size: 18pt;
    margin-bottom: 4px;
    font-family: Calibri, Verdana, Arial, sans-serif;
}

h5 {
    color: #dcf877;
    font-size: 16pt;
    margin-bottom: 4px;
    font-family: Calibri, Verdana, Arial, sans-serif;
}

h6 {
    color: #dcf877;
    font-size: 14pt;
    margin-bottom: 4px;
    font-family: Calibri, Verdana, Arial, sans-serif;
}

hr {
    border-color: #a34db9;
    opacity: 1;
}

a {
    color: #dcf877;
    text-decoration: none;
}

    a:hover {
        color: #fff;
        text-decoration: underline;
    }

p {
    color: #fff;
}

/* Focus rings ------------------------------------------------------------ */
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus,
.form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem #fff, 0 0 0 0.25rem #a34db9;
}

/* Page wrapper ----------------------------------------------------------- */
.cl-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-bottom: 10px;
}

    .cl-page > .container-xl {
        flex: 1;
    }

.cl-welcome {
    font-size: 1.8rem;
}

.hp-image {
    float: right;
    margin-left: 10px;
    margin-bottom: 6px;
}

/* Mobile navbar ---------------------------------------------------------- */
.cl-mobile-nav {
    background: rgba(0, 0, 0, 0.88);
    border-bottom: 1px solid #dcf877;
    position: sticky;
    top: 0;
    z-index: 100;
}

.cl-mobile-logo {
    width: 80%;
}

.cl-toggler {
    border-color: #dcf877;
}

    .cl-toggler .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23dcf877' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }

.cl-brand {
    font-family: Verdana, Calibri, Arial, sans-serif;
    font-size: 1.3rem;
    font-weight: bold;
    color: #dcf877 !important;
    text-decoration: none;
}

.cl-mobile-link {
    color: #dcf877 !important;
    font-weight: bold;
    font-size: 1.05rem;
}

    .cl-mobile-link:hover {
        color: #fff !important;
    }

/* Identity links inside mobile nav */
.cl-mobile-nav .nav-link,
.cl-mobile-nav a.nav-link {
    color: #dcf877 !important;
}

/* Desktop header --------------------------------------------------------- */
.cl-header {
    height: 108px;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
}

.cl-logo {
    width: 90%;
    z-index: 2;
    margin-top: 12px;
}


.cl-header-branding {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cl-site-title {
    font-family: Verdana, Calibri, Arial, sans-serif;
    font-size: 2.6rem;
    font-weight: bold;
    color: #dcf877 !important;
    text-decoration: none !important;
    line-height: 1.1;
    display: block;
}

    .cl-site-title:hover {
        color: #fff !important;
    }

.cl-site-tagline {
    font-family: Calibri, Verdana, Arial, sans-serif;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 3px;
    text-transform: uppercase;
    padding-left: 5px;
}

/* Identity links in desktop header */
.cl-header-login a,
.cl-header-login .nav-link {
    color: #dcf877 !important;
    font-size: 0.9rem;
}

    .cl-header-login a:hover {
        color: #fff !important;
    }

/* Sidebar --------------------------------------------------------------- */
.cl-sidebar {
    background: rgba(0, 0, 0, 0.75);
    border-radius: 5px;
    box-shadow: 0 0 15px #000;
    padding: 20px 10px 20px 10px;
    min-height: 500px;
}

.cl-sidebar-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding-top: 10px;
}

.cl-nav-item {
    display: block;
    font-family: Verdana, Calibri, Arial, sans-serif;
    font-size: 2rem;
    font-weight: bold;
    color: #dcf877 !important;
    text-decoration: none !important;
    margin-bottom: 14px;
    padding: 2px 4px;
    text-align: right;
    transition: color 0.15s ease;
}

    .cl-nav-item:hover {
        color: #fff !important;
    }

/* Content panel --------------------------------------------------------- */
.cl-content {
    background: rgba(0, 0, 0, 0.70);
    border-radius: 5px;
    box-shadow: 0 0 15px #000;
    padding: 24px;
    min-height: 500px;
}

.cl-body-row {
    margin-bottom: 16px;
}

/* Footer ---------------------------------------------------------------- */
.cl-footer {
    background: rgba(123, 123, 123, 0.90);
    border-radius: 4px;
    box-shadow: 0 0 15px #000;
    margin: 0 0 10px;
}

.cl-footer-inner {
    text-align: center;
    font-family: Calibri, Verdana, Arial, sans-serif;
    font-size: 8pt;
    color: #3a3a3a;
    padding: 16px 10px;
}

.cl-footer-link {
    color: #3a3a3a;
    text-decoration: none;
}

    .cl-footer-link:hover {
        color: #000;
        text-decoration: underline;
    }

/* Gallery grid ---------------------------------------------------------- */
.modal-header {
    justify-content: space-between;
}

.btn-gallery {
    background-color: transparent !important;
    color: white;
}

.cl-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.cl-gallery-thumb {
    border-radius: 4px;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.15);
    transition: border-color 0.2s;
    cursor: pointer;
}

    .cl-gallery-thumb:hover {
        border-color: #dcf877;
    }

    .cl-gallery-thumb img {
        width: 100%;
        height: 180px;
        object-fit: contain;
        display: block;
    }

/* Contact form ---------------------------------------------------------- */
.hp-field {
    position: absolute;
    left: -5000px;
}

.cl-contact-form label {
    color: #dcf877;
    font-weight: bold;
}

.cl-contact-form .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(220, 248, 119, 0.4);
    color: #fff;
    border-radius: 3px;
}

    .cl-contact-form .form-control::placeholder {
        color: rgba(255,255,255,0.4);
    }

    .cl-contact-form .form-control:focus {
        background: rgba(255, 255, 255, 0.15);
        color: #fff;
    }

.cl-btn-primary {
    background-color: #dcf877;
    border-color: #dcf877;
    color: #39322c;
    font-weight: bold;
    padding: 6px 28px;
}

    .cl-btn-primary:hover {
        background-color: #c8e45a;
        border-color: #c8e45a;
        color: #39322c;
    }

/* Responsive ------------------------------------------------------------ */
@media (max-width: 991.98px) {
    .cl-content {
        min-height: 300px;
        border-radius: 0 0 5px 5px;
    }

    body {
        background-attachment: scroll;
    }

    .cl-page {
        padding-bottom: 0;
    }
}

@media (max-width: 599.98px) {
    .cl-welcome {
        font-size: 1.5rem;
    }

    .hp-image {
        width: 200px;
    }
}

@media (max-width: 430.98px) {
    .cl-welcome {
        font-size: 1.2rem;
    }

    .hp-image {
        width: 180px;
    }
}

@media (max-width: 390.98px) {
    .cl-welcome {
        font-size: 1.1rem;
    }

    .hp-image {
        width: 150px;
    }
}
