/* 
====================================
Tema2 - Custom Styles for Modules
====================================
*/

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

body {
    font-family: 'Inter', sans-serif;
}

/* General Layout */
.premium-page-wrapper {
    background-color: #FFFFFF;
    overflow-x: hidden;
}

.bg-light-gray {
    background-color: #F9FAFB;
}

.rounded-xl {
    border-radius: 24px !important;
}

.mb-40 {
    margin-bottom: 40px;
}

.mt-50 {
    margin-top: 50px;
}

.mt-80 {
    margin-top: 80px;
}

.mb-60 {
    margin-bottom: 60px;
}

.rounded-lg {
    border-radius: 12px;
}

/* Hero Section */
.premium-hero {
    position: relative;
    padding: 160px 0 140px;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.premium-title {
    font-size: 3.8rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 25px;
    text-transform: capitalize;
}

.premium-subtitle {
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.divider-center {
    width: 70px;
    height: 4px;
    background: #ff5e14;
    margin: 0 auto 30px;
    border-radius: 2px;
}

/* Breadcrumbs */
.premium-breadcrumb .breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 0;
}

.premium-breadcrumb .breadcrumb-item,
.premium-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none !important;
}

.premium-breadcrumb .breadcrumb-item a:hover {
    color: #fff;
}

.premium-breadcrumb .breadcrumb-item.active {
    color: #ff5e14;
}

.premium-breadcrumb .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.4);
    content: "/";
}

/* Grid Cards */
.premium-card {
    background: #FFFFFF;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
}

.premium-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.card-img-wrapper {
    position: relative;
    overflow: hidden;
}

.card-img-wrapper img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.premium-card:hover .card-img-wrapper img {
    transform: scale(1.1);
}

.card-hover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 94, 20, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.premium-card:hover .card-hover-overlay {
    opacity: 1;
}

.btn-view-modern {
    width: 60px;
    height: 60px;
    background: #fff;
    color: #ff5e14;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transform: scale(0.5);
    transition: all 0.4s ease;
    text-decoration: none !important;
}

.premium-card:hover .btn-view-modern {
    transform: scale(1);
}

.card-content {
    padding: 40px 35px 35px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a1a1a;
    line-height: 1.25;
}

.card-excerpt {
    color: #64748b;
    line-height: 1.8;
    flex-grow: 1;
    margin-bottom: 25px;
    font-size: 1.05rem;
}

.read-more-link {
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    color: #1a1a1a;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    transition: color 0.3s;
    text-decoration: none !important;
}

.read-more-link i {
    margin-left: 10px;
    transition: transform 0.3s;
    color: #ff5e14;
    font-size: 1.1rem;
}

.read-more-link:hover {
    color: #ff5e14;
}

.read-more-link:hover i {
    transform: translateX(8px);
}

/* Show Page Specifics */
.case-study-single {
    padding: 100px 0;
}

.page-title-4 {
    padding-top: 150px;
    padding-bottom: 120px;
}

.image-wrapper {
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    border: 10px solid #fff;
    margin-top: -100px;
    position: relative;
    z-index: 10;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 650px;
}

.premium-content-section {
    padding: 80px 0;
}

.premium-content {
    font-size: 1.25rem;
    line-height: 1.95;
    color: #2d3748;
}

.premium-content p {
    margin-bottom: 25px;
}

.premium-content h2,
.premium-content h3 {
    color: #0f172a;
    margin-top: 1.5em;
    margin-bottom: 0.8em;
    font-weight: 800;
}

/* Sidebar Widgets */
.sidebar-case-study .widget {
    margin-bottom: 40px;
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.widget-case-study-info ul li {
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
}

/* Sidebar Widgets Extra Styles if needed */
.widget-case-study-info ul li:last-child {
    border: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.widget-case-study-info ul li strong {
    color: #1b1a1a;
    font-weight: 700;
}

/* Gallery Slider */
.premium-detail-slider .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.premium-detail-slider .owl-nav button {
    pointer-events: all;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.95) !important;
    color: #1a1a1a !important;
    border-radius: 50% !important;
    margin: 0 -22px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.slide-img-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 94, 20, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.4s;
}

.slide-img-container:hover .slide-overlay {
    opacity: 1;
}

/* Related Content */
.related-project-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: 0.4s;
    background: #fff;
}

.rel-box {
    position: relative;
    overflow: hidden;
}

.rel-box img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: 0.6s;
}

.related-project-card:hover .rel-box img {
    transform: scale(1.1);
}

.rel-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 94, 20, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.4s;
}

.related-project-card:hover .rel-overlay {
    opacity: 1;
}

.btn-rel-link {
    width: 50px;
    height: 50px;
    background: #fff;
    color: #ff5e14;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-decoration: none !important;
}

/* Pagination Override */
.premium-pagination .page-item .page-link {
    border: none;
    padding: 12px 20px;
    margin: 0 5px;
    border-radius: 12px;
    font-weight: 700;
    color: #475569;
    background: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.premium-pagination .page-item.active .page-link {
    background: #ff5e14;
    color: #fff;
    box-shadow: 0 10px 15px rgba(255, 94, 20, 0.2);
}

