/* CSS Document */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap');

/* ==========================================================================
   GLOBAL THEME & BACKGROUND
   ========================================================================== */

body {
    background-image: url('../images/bckg/body-bg/The Cine Mechanist (1).jpg.jpeg') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-attachment: fixed !important;
    background-repeat: no-repeat !important;
    font-family: 'Manrope', sans-serif !important;
    color: #d1d5db !important;
}

/* Base Book Container Dimensions & Shadows */
.rm-container {
    max-width: 520px !important;
}

.rm-wrapper > div.rm-cover > div.rm-front,
.rm-wrapper > div.rm-cover > div.rm-back,
.rm-wrapper > div.rm-middle,
.rm-wrapper > div.rm-right > div.rm-front,
.rm-wrapper > div.rm-right > div.rm-back,
.page, .rm-inner {
    background-color: #13171f !important;
    color: #d1d5db !important;
    font-family: 'Manrope', sans-serif !important;
    border-radius: 3px;
}

.rm-wrapper > div {
    box-shadow: 0 14px 45px rgba(0, 0, 0, 0.75) !important;
}

/* Page inner content wrapper */
.content {
    background: #13171f !important;
    color: #d1d5db !important;
    font-family: 'Manrope', sans-serif !important;
    padding: 30px 25px !important;
}

/* ==========================================================================
   TYPOGRAPHY SYSTEM (MANROPE FONT & GOLD ACCENTS)
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Manrope', sans-serif !important;
}

/* Page Main Section Titles (H2) */
.content h2, h2 span {
    font-family: 'Manrope', sans-serif !important;
    font-weight: 800 !important;
    font-size: 20px !important;
    letter-spacing: -0.02em !important; /* (-2) letter space */
    color: #c89650 !important; /* Gold accent */
    text-transform: uppercase;
    margin-bottom: 18px !important;
    border-bottom: 2px solid rgba(200, 150, 80, 0.3) !important;
    padding-bottom: 8px !important;
    text-shadow: none !important;
}

.content h2 span:before,
.content h2 span:after {
    display: none !important; /* Remove legacy line decorations */
}

/* Subsection Titles (H3) */
.content h3, h3 span {
    font-family: 'Manrope', sans-serif !important;
    font-weight: 800 !important;
    font-size: 16px !important;
    letter-spacing: -0.02em !important; /* (-2) letter space */
    color: #c89650 !important;
    text-transform: uppercase;
    margin-top: 25px !important;
    margin-bottom: 15px !important;
    border-bottom: 1px solid rgba(200, 150, 80, 0.2) !important;
    padding-bottom: 6px !important;
    text-shadow: none !important;
}

.content h3 span:before,
.content h3 span:after {
    display: none !important;
}

/* Sub-headers (H4, H5) */
.content h4 {
    font-family: 'Manrope', sans-serif !important;
    font-weight: 700 !important;
    font-size: 14.5px !important;
    letter-spacing: -0.01em !important;
    color: #f0f4f8 !important;
}

.content h5 {
    font-family: 'Manrope', sans-serif !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    color: #c89650 !important;
}

/* Paragraphs & General Text */
p, span, li, label, div {
    font-family: 'Manrope', sans-serif !important;
    font-weight: 300 !important; /* Light text */
    letter-spacing: 0.03em !important; /* (30) letter space */
    color: #d1d5db !important;
    line-height: 1.6 !important;
}

.about-text {
    font-family: 'Manrope', sans-serif !important;
    font-weight: 400 !important;
    font-size: 14px !important;
    color: #e5e7eb !important;
    line-height: 1.6 !important;
    margin-bottom: 25px !important;
    background: rgba(200, 150, 80, 0.06);
    border-left: 3px solid #c89650;
    padding: 12px 15px;
    border-radius: 0 4px 4px 0;
}

/* ==========================================================================
   COVER PAGE STYLES
   ========================================================================== */

.cover {
    position: relative;
    width: 100%;
    height: 100%;
    background: #11151c !important;
    overflow: hidden;
    box-sizing: border-box;
    padding: 0;
    font-family: 'Manrope', sans-serif !important;
}

/* Full Cover Photo Background Graphic */
.cover-image-holder {
    display: block !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.cover-image-holder img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    object-position: center center;
    display: block;
}

/* Cover Info Text Layered Above */
.cover-info {
    position: absolute;
    top: 34%;
    left: 8%;
    z-index: 5;
    width: 48%;
    font-family: 'Manrope', sans-serif !important;
}

.info-group {
    margin-bottom: 26px;
}

.info-group:last-child {
    margin-bottom: 0;
}

.info-header {
    font-family: 'Manrope', sans-serif !important;
    font-weight: 800 !important;
    font-size: 15px !important;
    letter-spacing: -0.02em !important;
    color: #c89650 !important;
    text-transform: uppercase;
    margin: 0 0 5px 0 !important;
    line-height: 1.2 !important;
    text-shadow: 0 1px 4px rgba(0,0,0,0.8) !important;
    border: none !important;
    padding: 0 !important;
}

.info-text p, .info-text {
    font-family: 'Manrope', sans-serif !important;
    font-weight: 300 !important;
    font-size: 13.5px !important;
    letter-spacing: 0.03em !important;
    color: #d1d5db !important;
    margin: 0 0 4px 0 !important;
    line-height: 1.45 !important;
    text-shadow: 0 1px 4px rgba(0,0,0,0.8) !important;
}

/* OPEN RIBBON BUTTON */
a.rm-button-open.ribbon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -10px;
    z-index: 20;
    background: #c89650 !important;
    border-radius: 2px 0 0 2px;
    box-shadow: -2px 2px 8px rgba(0,0,0,0.5);
    text-decoration: none;
    padding: 0;
}

.ribbon strong {
    color: #1a130b !important;
    font-family: 'Manrope', sans-serif !important;
    font-weight: 800 !important;
    font-size: 12px !important;
    letter-spacing: 0.05em !important;
    text-shadow: none !important;
}

.ribbon:before {
    border-color: #c89650 !important;
    border-left-color: transparent !important;
}

.ribbon-stitches-top, .ribbon-stitches-bottom {
    border-top: 1px dashed rgba(0,0,0,0.3) !important;
}

/* ==========================================================================
   RESUME PAGE COMPONENTS (SERVICES, EXPERIENCE, SKILLS, TESTIMONIALS)
   ========================================================================== */

/* Services Grid */
.service-group {
    margin-bottom: 25px;
}

.service {
    background: #181d27 !important;
    border: 1px solid rgba(200, 150, 80, 0.18) !important;
    border-radius: 6px !important;
    padding: 16px !important;
    margin-bottom: 15px !important;
    transition: all 0.3s ease !important;
}

.service:hover {
    border-color: #c89650 !important;
    box-shadow: 0 4px 20px rgba(200, 150, 80, 0.15) !important;
    transform: translateY(-2px);
}

.service i {
    color: #c89650 !important;
    font-size: 22px !important;
    margin-bottom: 10px !important;
    display: inline-block;
    transition: all 0.3s ease !important;
}

.service:hover i {
    transform: scale(1.2) rotate(-5deg);
    text-shadow: 0 0 10px rgba(200, 150, 80, 0.4);
}

.service h4 {
    color: #c89650 !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    letter-spacing: -0.01em !important;
    margin-bottom: 6px !important;
}

.service p {
    font-size: 13px !important;
    color: #9ca3af !important;
    margin: 0 !important;
}

/* Experience / History Timeline */
.history-group {
    border-left: 2px solid rgba(200, 150, 80, 0.25) !important;
    padding-left: 15px !important;
    margin-left: 10px !important;
    margin-bottom: 25px !important;
}

.history-unit {
    position: relative;
    margin-bottom: 20px !important;
    transition: all 0.3s ease !important;
}

.history-unit:before {
    content: '';
    position: absolute;
    left: -21px;
    top: 5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #c89650;
    box-shadow: 0 0 8px rgba(200, 150, 80, 0.6);
    transition: all 0.3s ease !important;
}

.history-unit:hover:before {
    background: #e6b86a !important;
    transform: scale(1.35);
    box-shadow: 0 0 12px rgba(230, 184, 106, 0.85);
}

.work-time {
    display: inline-block;
    background: rgba(200, 150, 80, 0.12) !important;
    color: #c89650 !important;
    border: 1px solid rgba(200, 150, 80, 0.3) !important;
    padding: 3px 10px !important;
    border-radius: 12px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    margin-bottom: 8px !important;
}

.work-desc h4 {
    color: #f3f4f6 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    margin-bottom: 3px !important;
}

.work-desc h5 {
    color: #c89650 !important;
    font-size: 13px !important;
    margin-bottom: 8px !important;
}

.work-desc p {
    font-size: 13px !important;
    color: #9ca3af !important;
}

/* Skill Progress Bars */
.skill-unit {
    margin-bottom: 16px !important;
}

.skill-unit h4 {
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;
    color: #e5e7eb !important;
    margin-bottom: 6px !important;
}

.skill-unit .bar {
    background: rgba(255, 255, 255, 0.08) !important;
    border-radius: 10px !important;
    height: 8px !important;
    overflow: hidden !important;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
}

.skill-unit .progress {
    background: linear-gradient(90deg, #c89650, #e6b86a) !important;
    height: 100% !important;
    border-radius: 10px !important;
    box-shadow: 0 0 10px rgba(200, 150, 80, 0.5);
    transition: all 0.4s ease !important;
}

.skill-unit:hover .progress {
    filter: brightness(1.2);
    box-shadow: 0 0 15px rgba(200, 150, 80, 0.8);
}

/* Testimonials */
.testo-group {
    margin-bottom: 25px;
}

.testo {
    background: #181d27 !important;
    border: 1px solid rgba(200, 150, 80, 0.18) !important;
    border-radius: 6px !important;
    padding: 16px !important;
    margin-bottom: 15px !important;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease !important;
}

.testo:hover {
    border-color: rgba(200, 150, 80, 0.35) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3) !important;
    transform: translateY(-1px);
}

.testo img {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    border: 2px solid #c89650 !important;
    object-fit: cover;
}

.testo .text h4 {
    color: #c89650 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    margin-bottom: 4px !important;
}

.testo .text h4 span {
    color: #9ca3af !important;
    font-weight: 300 !important;
    font-size: 12px !important;
}

.testo .text p {
    font-size: 12.5px !important;
    color: #d1d5db !important;
    font-style: italic;
    margin: 0 !important;
}

/* ==========================================================================
   PORTFOLIO PAGE STYLES
   ========================================================================== */

#filters {
    margin-bottom: 25px !important;
    text-align: center;
    padding: 0 !important;
}

#filters li {
    display: inline-block;
    margin: 0 4px 8px 4px;
}

#filters li a {
    background: #181d27 !important;
    color: #9ca3af !important;
    border: 1px solid rgba(200, 150, 80, 0.25) !important;
    padding: 6px 16px !important;
    border-radius: 20px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.03em !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    font-family: 'Manrope', sans-serif !important;
}

#filters li.current a,
#filters li a:hover {
    background: #c89650 !important;
    color: #1a130b !important;
    border-color: #c89650 !important;
    box-shadow: 0 2px 12px rgba(200, 150, 80, 0.4) !important;
}

.hentry {
    background: #181d27 !important;
    border: 1px solid rgba(200, 150, 80, 0.18) !important;
    border-radius: 6px !important;
    transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
}

.hentry:hover {
    border-color: rgba(200, 150, 80, 0.45) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45), 0 0 15px rgba(200, 150, 80, 0.12) !important;
}

/* Hover Mask Icons Customization */
.portfolio-items .mask:before {
    background: #c89650 !important;
    color: #1a130b !important;
    border-radius: 0 0 6px 0 !important;
    font-size: 15px !important;
    padding: 12px 14px !important;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.4) !important;
    transition: all 0.3s ease !important;
}

.media-box:hover .mask:before {
    transform: scale(1.1);
}
    overflow: hidden;
    margin-bottom: 20px !important;
    padding: 10px !important;
}

.hentry .media-box {
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.hentry .media-box .mask {
    background: rgba(19, 23, 31, 0.85) !important;
}

.hentry h4 {
    color: #c89650 !important;
    font-weight: 700 !important;
    font-size: 14.5px !important;
    margin-top: 10px !important;
    margin-bottom: 2px !important;
}

.hentry p.category {
    color: #9ca3af !important;
    font-size: 12px !important;
    margin: 0 !important;
}

/* ==========================================================================
   CONTACT PAGE STYLES & FORM INPUTS
   ========================================================================== */

/* Social Links */
.social {
    padding: 0 !important;
    text-align: center;
    margin-bottom: 25px !important;
}

.social li {
    display: inline-block;
    margin: 0 6px;
}

.social li a {
    background: #181d27 !important;
    border: 1px solid rgba(200, 150, 80, 0.25) !important;
    color: #c89650 !important;
    border-radius: 50% !important;
    width: 38px;
    height: 38px;
    line-height: 36px;
    display: inline-block;
    transition: all 0.3s ease !important;
}

.social li a:hover {
    background: #c89650 !important;
    color: #1a130b !important;
    box-shadow: 0 0 12px rgba(200, 150, 80, 0.5) !important;
}

/* Contact Letter & Stamp */
.letter {
    background: #181d27 !important;
    border: 1px solid rgba(200, 150, 80, 0.2) !important;
    border-radius: 6px !important;
    padding: 18px !important;
    margin-bottom: 25px !important;
}

.letter .stamp img {
    border: 2px solid #c89650 !important;
    border-radius: 4px;
}

.letter-info h4 {
    color: #c89650 !important;
    font-weight: 700 !important;
}

.letter-info a {
    color: #e5e7eb !important;
    text-decoration: none;
}

/* Form Controls */
.contact-form input[type="text"],
.contact-form textarea {
    background: #181d27 !important;
    border: 1px solid rgba(200, 150, 80, 0.25) !important;
    color: #f0f4f8 !important;
    border-radius: 4px !important;
    padding: 10px 12px !important;
    font-family: 'Manrope', sans-serif !important;
    font-size: 13.5px !important;
    outline: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.contact-form input[type="text"]:focus,
.contact-form textarea:focus {
    border-color: #c89650 !important;
    box-shadow: 0 0 10px rgba(200, 150, 80, 0.25) !important;
}

.contact-form label {
    color: #c89650 !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    text-transform: uppercase;
    letter-spacing: -0.01em !important;
    margin-bottom: 4px !important;
    display: block;
}

/* Submit Button */
.contact-form button,
.contact-form input[type="submit"],
.btn, .button2 {
    background: #c89650 !important;
    color: #1a130b !important;
    font-family: 'Manrope', sans-serif !important;
    font-weight: 800 !important;
    font-size: 13px !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase;
    border: none !important;
    border-radius: 4px !important;
    padding: 10px 24px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(200, 150, 80, 0.3) !important;
}

.contact-form button:hover,
.contact-form input[type="submit"]:hover,
.btn:hover, .button2:hover {
    background: #d4a359 !important;
    box-shadow: 0 6px 20px rgba(200, 150, 80, 0.5) !important;
    transform: translateY(-1px);
}

/* Open ribbon hover */
a.rm-button-open.ribbon {
    transition: all 0.3s ease !important;
}

a.rm-button-open.ribbon:hover {
    right: -4px !important;
    background: #d4a359 !important;
}

/* ==========================================================================
   NAVIGATION & BOOK SPINES / OVERLAYS
   ========================================================================== */

/* Menu / Sidebar Navigation Links */
.rm-nav a {
    background: #181d27 !important;
    color: #c89650 !important;
    border: 1px solid rgba(200, 150, 80, 0.2) !important;
    font-family: 'Manrope', sans-serif !important;
    font-weight: 700 !important;
}

.rm-nav a:hover, .rm-nav a.rm-selected {
    background: #c89650 !important;
    color: #1a130b !important;
}

/* Close & Back Buttons - Stylized as Gold Ribbon */
.rm-close {
    background: #c89650 !important;
    border-left: 1px dashed rgba(26, 19, 11, 0.35) !important;
    border-right: 1px dashed rgba(26, 19, 11, 0.35) !important;
    box-shadow: 3px 0 0 #c89650, -3px 0 0 #c89650 !important;
    transition: all 0.3s ease !important;
}

.rm-close span {
    color: #1a130b !important;
}

.rm-close span:before {
    color: #1a130b !important;
}

.rm-close:after {
    border-top-color: #c89650 !important;
}

.rm-close:before {
    border-top-color: #c89650 !important;
}

/* Close Hover Push Down */
.rm-close:hover {
    background: #d4a359 !important;
    box-shadow: 3px 0 0 #d4a359, -3px 0 0 #d4a359 !important;
    top: 3px !important;
}

.rm-close:hover:after,
.rm-close:hover:before {
    border-top-color: #d4a359 !important;
}

/* Custom Scrollbars & Track */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #11151c;
}

::-webkit-scrollbar-thumb {
    background: rgba(200, 150, 80, 0.4);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #c89650;
}

/* Antiscroll Library Scrollbar Customization */
.antiscroll-scrollbar {
    background: #c89650 !important;
    box-shadow: 0 0 2px rgba(26, 19, 11, 0.8) !important;
}

.antiscroll-scrollbar-shown {
    opacity: 0.7 !important;
}

/* Book Spine Shadow */
.cover:after {
    content: '';
    position: absolute;
    top: 0;
    left: 1px;
    width: 2px;
    height: 100%;
    background: rgba(0,0,0,.3);
    box-shadow: -3px 0 6px 0 rgba(0,0,0,.2), 3px 0 6px 0 rgba(0,0,0,.2);
    z-index: 15;
}