/* ====================================
   THABA HOTEL CUSTOM THEME STYLESHEET
   ==================================== */

/* Reset and Base Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', 'Raleway', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* ====================================
   HEADER STYLES
   ==================================== */

#siteHeader {
    position: relative;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.preHeader {
    background-color: #2c3e50 !important;
    padding: 10px 0;
    font-size: 14px;
}

.preHeader a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.preHeader a:hover {
    color: #f39c12;
}

.cartBtn {
    display: inline-block;
    margin-left: 15px;
}

.cartBtn p, .cartBtn a {
    color: #fff;
    margin: 0;
    font-size: 13px;
}

.pageHeader {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    padding: 15px 0;
}

.logo img {
    max-width: 100%;
    height: auto;
    filter: brightness(1.1);
}

/* Navigation Styles */
.navbar {
    background: transparent !important;
    border: none;
    margin: 0;
}

.navbar-nav > li > a {
    color: #fff !important;
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 15px 18px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav > li > a:hover,
.navbar-nav > li > a:focus {
    background-color: rgba(255,255,255,0.15) !important;
    color: #fff !important;
}

.navbar-nav > li > a::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #f39c12;
    transition: width 0.3s ease;
}

.navbar-nav > li > a:hover::after {
    width: 60%;
}

/* Dropdown Menu Styles */
.sub-menu {
    background: #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    border-radius: 4px;
    padding: 10px 0;
    list-style: none;
}

.sub-menu li a {
    color: #333 !important;
    padding: 10px 20px;
    display: block;
    font-size: 14px;
    transition: all 0.3s ease;
}

.sub-menu li a:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff !important;
    padding-left: 25px;
}

/* Mobile Menu Toggle */
.navbar-toggle {
    background-color: rgba(255,255,255,0.2) !important;
    border-color: #fff !important;
}

.navbar-toggle .icon-bar {
    background-color: #fff !important;
}

/* ====================================
   HERO SLIDER STYLES
   ==================================== */

.pageImage {
    position: relative;
    overflow: hidden;
}

.easingsliderpro-slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.easingsliderpro-slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 80%;
    z-index: 10;
}

.easingsliderpro-slide-content h1,
.easingsliderpro-slide-content h2 {
    color: #fff;
    font-size: 48px;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
    margin-bottom: 25px;
    animation: fadeInUp 1s ease;
}

.slider-click a,
.slider-click .btn {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: #fff !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.slider-click a:hover,
.slider-click .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
}

/* Slider Navigation Arrows */
.easingsliderpro-arrows {
    background: rgba(255,255,255,0.3) !important;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    transition: all 0.3s ease;
}

.easingsliderpro-arrows:hover {
    background: rgba(243, 156, 18, 0.8) !important;
    transform: scale(1.1);
}

/* ====================================
   HOME BOXES / SERVICES SECTION
   ==================================== */

.homeBoxes {
    padding: 60px 0;
    background: #fff;
}

.homeWidgets {
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.homeWidgets .widget {
    background: #fff !important;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
}

.homeWidgets .widget:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.homeWidgets h4 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 20px;
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.homeWidgets .img-box {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.homeWidgets .img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.homeWidgets .widget:hover .img-box img {
    transform: scale(1.15);
}

.homeWidgets .home-widget-text {
    padding: 25px 20px;
    background: #f8f8f8;
    color: #555;
    font-size: 15px;
    text-align: center;
    font-style: italic;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.homeWidgets a {
    text-decoration: none;
    color: inherit;
}

/* ====================================
   CONTENT SECTIONS
   ==================================== */

.home-content-text {
    background: #fff !important;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.home-content-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.home-content-text a {
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.home-content-text a:hover {
    color: #764ba2;
    text-decoration: underline;
}

.home-content-text img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* ====================================
   FOOTER STYLES
   ==================================== */

.sidebar_footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%) !important;
    color: #fff;
    padding: 60px 0 30px;
    margin-top: 50px;
}

.sidebar_footer .widget {
    background: transparent !important;
    margin-bottom: 30px;
}

.sidebar_footer h4 {
    color: #f39c12;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(243, 156, 18, 0.3);
}

.sidebar_footer p {
    color: #ecf0f1;
    font-size: 14px;
    line-height: 1.8;
}

.sidebar_footer a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sidebar_footer a:hover {
    color: #f39c12;
}

.sidebar_footer table td {
    padding: 5px 8px;
}

.sidebar_footer table img {
    width: 32px;
    height: 32px;
    transition: transform 0.3s ease;
}

.sidebar_footer table img:hover {
    transform: scale(1.2);
}

/* Search Form in Footer */
.searchform {
    margin-top: 15px;
}

.searchform input[type="text"] {
    width: 70%;
    padding: 10px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
}

.searchform input[type="submit"] {
    width: 28%;
    padding: 10px;
    background: #f39c12;
    color: #fff;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

.searchform input[type="submit"]:hover {
    background: #e67e22;
}

/* ====================================
   ANIMATIONS
   ==================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate(-50%, -40%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* ====================================
   RESPONSIVE DESIGN
   ==================================== */

@media (max-width: 991px) {
    .navbar-nav > li > a {
        padding: 12px 15px;
        font-size: 14px;
    }

    .easingsliderpro-slide-content h1,
    .easingsliderpro-slide-content h2 {
        font-size: 36px;
    }

    .homeWidgets .img-box {
        height: 220px;
    }
}

@media (max-width: 767px) {
    .easingsliderpro-slide-content h1,
    .easingsliderpro-slide-content h2 {
        font-size: 28px;
    }

    .slider-click a,
    .slider-click .btn {
        padding: 12px 30px;
        font-size: 14px;
    }

    .homeBoxes {
        padding: 40px 0;
    }

    .home-content-text {
        padding: 25px;
    }

    .sidebar_footer {
        padding: 40px 0 20px;
    }

    .navbar-nav {
        margin: 0;
    }

    .navbar-nav > li > a {
        color: #333 !important;
        background: #f8f8f8;
        margin: 2px 0;
    }

    .navbar-nav > li > a:hover {
        background: #667eea !important;
        color: #fff !important;
    }

    .homeWidgets .img-box {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .easingsliderpro-slide-content h1,
    .easingsliderpro-slide-content h2 {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .slider-click a,
    .slider-click .btn {
        padding: 10px 25px;
        font-size: 13px;
    }

    .homeWidgets h4 {
        font-size: 18px;
        padding: 15px;
    }
}

/* ====================================
   UTILITY CLASSES
   ==================================== */

.mainBgColor {
    background-color: #fff !important;
}

.mainColor {
    color: #667eea !important;
}

.text-center {
    text-align: center;
}

.um_shadow {
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Container Improvements */
.container {
    max-width: 1200px;
    padding: 0 15px;
}

/* Button Styles */
.btn {
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-default {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: #fff;
}

.btn-default:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Loading Animation */
.um_loading {
    display: none;
}

/* Fix for masonry layout */
.um_masonry {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.um_masonryItem {
    padding: 0 15px;
}

/* Image responsiveness */
img {
    max-width: 100%;
    height: auto;
}

/* Links */
a {
    transition: all 0.3s ease;
}

/* Print styles */
@media print {
    .navbar,
    .easingsliderpro-arrows,
    .searchform {
        display: none;
    }
}
