/* JoomlaXTC Samurai Template - Style1 (Primary Theme) */
/* Restored from Wayback Machine class analysis */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&family=Montserrat:wght@400;700&display=swap');

/* === CORE LAYOUT === */
body {
    font-family: 'Open Sans', Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    background: #fff;
    margin: 0;
    padding: 0;
}

a { color: #3498db; text-decoration: none; transition: color 0.2s; }
a:hover { color: #2980b9; text-decoration: underline; }

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', 'Open Sans', sans-serif;
    color: #333;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 0;
}
h1 { font-size: 36px; }
h2 { font-size: 28px; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }

.clearfix:after { content: ''; display: table; clear: both; }

/* === HEADER === */
#headerwrap {
    background: #2c3e50;
    position: relative;
    z-index: 1000;
    width: 100%;
}
#headerwrap.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
}
#headerwrap.stickyscroll {
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
#header {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

#logo {
    float: left;
    padding: 12px 0;
}
#logo a {
    display: block;
    width: 180px;
    height: 40px;
    background: url('/images/jxtclogo1.png') no-repeat center;
    background-size: contain;
    text-indent: -9999px;
}

#menu2 { float: right; }
#menuright1 { display: flex; align-items: center; gap: 8px; padding: 8px 0; }

.hd2 { display: inline-block; vertical-align: middle; }
.hd8 { display: block; }

/* === NAVIGATION === */
#menuwrap {
    background: #34495e;
    clear: both;
}
#menu {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.xtcdefaultmenu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}
.xtcdefaultmenu > li {
    position: relative;
}
.xtcdefaultmenu > li > a,
.xtcdefaultmenu > li > span.separator {
    display: block;
    padding: 14px 20px;
    color: #ecf0f1;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.2s;
    cursor: pointer;
}
.xtcdefaultmenu > li > a:hover,
.xtcdefaultmenu > li.active > a,
.xtcdefaultmenu > li.current > a {
    background: #2c3e50;
    text-decoration: none;
    color: #fff;
}
.xtcdefaultmenu ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 220px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 0 0 4px 4px;
    z-index: 1000;
    list-style: none;
    padding: 0;
    margin: 0;
}
.xtcdefaultmenu li:hover > ul { display: block; }
.xtcdefaultmenu ul li a {
    display: block;
    padding: 10px 20px;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
}
.xtcdefaultmenu ul li a:hover {
    background: #f8f8f8;
    color: #3498db;
    text-decoration: none;
}

/* Mobile menu */
.mobilebtn { display: none; }
.mobilebtn select {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.menu-toggle {
    display: none;
    background: #3498db;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    text-align: center;
}
.mobiletools { display: none; }
.mobiletools a {
    display: inline-block;
    padding: 8px 12px;
    color: #fff;
    font-size: 18px;
}

.mobilehide { display: block; }
.mobileshow { display: none; }

/* === XTC REGIONS/LAYOUT === */
.xtc-bodygutter {
    width: 100%;
    clear: both;
}
.xtc-wrapperpad {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}
.xtc-wrapper {
    position: relative;
}

#region1wrap { background: #2c3e50; color: #fff; text-align: center; }
#region1wrap .xtc-wrapperpad { padding: 60px 20px 50px; }
#r1separator { display: none; }

#region2wrap { background: #fff; }
#region3wrap { background: #f8f8f8; }
#region4wrap { background: #fff; }
#region5wrap { background: #f8f8f8; }
#region6wrap { background: #fff; }
#region7wrap { background: #f8f8f8; }
#region8wrap { background: #ecf0f1; }
#region9wrap { background: #fff; }
#region10wrap { background: #2c3e50; color: #fff; }

/* === MODULES === */
.module { margin-bottom: 20px; }
.module.nopad { padding: 0; }
.module.nomarg { margin: 0; }
.module.title-off .moduletitle { display: none; }
.module.title-on .moduletitle { margin-bottom: 15px; }
.moduletitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}
.moduletitle .first_word { color: #3498db; }
.modulecontent { position: relative; }

/* === BOOTSTRAP GRID (XTC custom) === */
.xtcBootstrapGrid { margin-bottom: 0; }
.singlearea, .firstarea, .lastarea, .centerarea { padding: 0; }
.singlecolumn, .centercolumn { }

/* === SLIDE / HERO === */
.slidewrap {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}
.slide.text { padding: 20px 0; }
h1.slide {
    font-size: 48px;
    color: #fff;
    font-weight: 700;
    margin: 10px 0 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.insethome {
    color: rgba(255,255,255,0.85);
    font-size: 18px;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}
.slidetext { opacity: 1; }

/* === BUTTONS === */
.button, .tdemo, .tdemo2 {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none !important;
    border: none;
}
.tdemo2, .button.tdemo2 {
    background: #e74c3c;
    color: #fff !important;
}
.tdemo2:hover { background: #c0392b; }
.tdemo, .button.tdemo {
    background: #3498db;
    color: #fff !important;
}
.tdemo:hover { background: #2980b9; }
.button {
    background: #3498db;
    color: #fff !important;
}
.button:hover { background: #2980b9; }
.bluebtn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.4);
    color: #fff;
    padding: 6px 14px;
    border-radius: 3px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}
.bluebtn:hover { border-color: #fff; background: rgba(255,255,255,0.1); }

/* === WALL MODULES === */
.wallviewbootstrap { position: relative; overflow: hidden; }
.wallslider { position: relative; }
.wallsliderrow { display: flex; flex-wrap: wrap; }
.wallslidercell { flex: 1; min-width: 0; }
.wallpage { }
.wallspinner { display: none; }

/* Featured template showcase */
.featured { overflow: hidden; }
.feat-temp { position: relative; }
.feat-temp img { width: 100%; display: block; }
.feat-temp-month { font-size: 12px; color: #999; margin-bottom: 5px; text-transform: uppercase; }

/* Image hover effects */
.ImageWrapper {
    position: relative;
    overflow: hidden;
    display: block;
}
.ImageWrapper img {
    width: 100%;
    display: block;
    transition: transform 0.3s;
}
.ImageWrapper:hover img { transform: scale(1.05); }
.hover-shadow { transition: box-shadow 0.3s; }
.hover-shadow:hover { box-shadow: 0 4px 15px rgba(0,0,0,0.2); }

/* Template category display */
.temp-cat-title {
    font-size: 14px;
    font-weight: 600;
    padding: 12px 8px;
    text-align: center;
    color: #333;
}

/* === TEMPLATE FEATURES === */
.tempfeatures {
    text-align: center;
    padding: 15px 10px;
}
.tempfeatures i {
    font-size: 18px;
    color: #bbb;
    margin: 0 4px;
}
.scircle {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin: 0 2px;
}

/* === FOOTER === */
#footerwrap {
    background: #2c3e50;
    color: #ecf0f1;
}
#footerwrappad {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}
#footer {
    text-align: center;
    font-size: 13px;
    color: #95a5a6;
}
#footer a { color: #bdc3c7; }
#footer a:hover { color: #fff; }
#footerpad { padding: 20px 0; }

/* Bottom columns */
#bottom1, #bottom2, #bottom3, #bottom4,
#bottom5, #bottom6, #bottom7, #bottom8,
#bottom9, #bottom10 {
    margin-bottom: 20px;
}

/* === MERCHANT/SHOP === */
.merchant-category { margin-bottom: 30px; }
.merchant-item {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    overflow: hidden;
    transition: box-shadow 0.3s;
    margin-bottom: 20px;
}
.merchant-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
.merchant-item img { width: 100%; display: block; }
.merchant-item-title {
    padding: 12px 15px;
    font-weight: 600;
    font-size: 15px;
    color: #333;
}

/* Tags */
.tag {
    display: inline-block;
    padding: 3px 10px;
    background: #3498db;
    color: #fff;
    border-radius: 3px;
    font-size: 11px;
    text-transform: uppercase;
    margin: 2px;
}

/* === ARTICLE PAGES === */
.item { margin-bottom: 30px; }
.item-page { line-height: 1.7; }
.item-page img { margin: 10px 0; border-radius: 4px; }
.item-page h1, .item-page h2 { color: #2c3e50; }

.page-header { border-bottom: 2px solid #eee; padding-bottom: 10px; margin-bottom: 20px; }
.page-header h1, .page-header h2 {
    font-size: 32px;
    color: #2c3e50;
    margin: 0;
}

/* Pagination */
.merpage {
    text-align: center;
    padding: 20px 0;
}
.merpage .pagebutton {
    display: inline-block;
    padding: 4px;
    cursor: pointer;
    background: none;
    border: none;
}

/* === SUBSCRIBE SECTION === */
#subscribe {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}
#subscribe input[type="email"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
    margin-bottom: 10px;
    box-sizing: border-box;
}
#subscribe input[type="submit"],
#subscribe button {
    background: #e74c3c;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s;
}
#subscribe input[type="submit"]:hover,
#subscribe button:hover { background: #c0392b; }

/* === ANIMATIONS === */
.animated { animation-duration: 0.8s; animation-fill-mode: both; }
.anistyle { }
.moveit { transition: transform 0.3s; }
.moveit:hover { transform: translateY(-3px); }
.slide1 { }

/* === RATINGS === */
.star-rating { display: inline-block; }
.star-rating img { width: 16px; height: 16px; }

/* === FIXED LAYOUT === */
.fixed { position: relative; }

/* === ICONS === */
.fa { display: inline-block; }
.icon-shopping-cart:before { content: '\f07a'; font-family: FontAwesome; }

/* === SUBCOL LAYOUT === */
.subcol0, .subcol1 { }

/* === FRONTPAGE === */
body.frontpage #region1wrap .xtc-wrapperpad { padding: 80px 20px 60px; }

/* === PAGINATION === */
.pagination { text-align: center; margin: 20px 0; }
.pagination ul { list-style: none; padding: 0; display: inline-flex; gap: 5px; }
.pagination li a {
    display: block;
    padding: 8px 14px;
    background: #f5f5f5;
    color: #555;
    border-radius: 3px;
}
.pagination li.active a,
.pagination li a:hover { background: #3498db; color: #fff; text-decoration: none; }

/* === USER COLUMNS === */
[id^="user"][class*="span"] { float: left; box-sizing: border-box; }

/* === WHITE TEXT OVERRIDES === */
.white, .white a { color: #fff; }
.underlinestyle { }
.userz { }
