/* ===================================
   Global Compact Styles
   =================================== */

html,
body,
.body,
#header {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

#header .header-body {
    margin-top: 0 !important;
    padding-top: 0 !important;
    border-top: 0 !important;
    border-top-width: 0 !important;
}

#header .header-top {
    margin-top: 0 !important;
    padding-top: 0 !important;
    min-height: 0 !important;
}

#header .header-top.header-top-small-minheight {
    min-height: 0 !important;
}

.body {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.main {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

h2 {
    font-size: 25px !important;
}

/* Tüm section padding/margin kompakt */
.section {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
}

/* Başlık ve paragraf aralıkları kompakt */
h1,
h2,
h3,
h4,
h5,
h6 {
    margin-bottom: 0.4rem;
}

p {
    margin-bottom: 0.6rem;
}

/* Divider aralığı azalt */
.divider-small {
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
}

/* Container iç boşlukları azalt */
.my-3 {
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
}

.mb-5 {
    margin-bottom: 1.5rem !important;
}

.pb-4 {
    padding-bottom: 1rem !important;
}

.vehicle-group-circle:hover {
    border-color: #e8a917 !important;
    transform: scale(1.08);
    box-shadow: 0 4px 15px rgba(232, 169, 23, 0.3);
}

/* ===================================
   Service Card - Icon Based
   =================================== */

.service-card-custom {
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
    height: 100%;
}

.service-card-custom:hover {
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.service-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card-title {
    font-size: 15px !important;
    font-weight: 600;
    color: #222;
    margin-bottom: 5px;
    text-transform: none !important;
}

.service-card-title strong {
    color: #e8a917;
}

.service-card-text {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* ===================================
   Product Card - Modern Design
   =================================== */

.product-card-custom {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 100%;
}

.product-card-custom:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.product-card-img {
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.product-card-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.product-card-custom:hover .product-card-img img {
    transform: scale(1.05);
}

.product-card-body {
    padding: 10px 10px 14px;
    text-align: center;
}

.product-card-title {
    font-size: 14px !important;
    font-weight: 600;
    color: #222;
    line-height: 1.3;
    margin: 0;
    text-transform: none !important;
}

.product-card-title strong {
    color: #e8a917;
    display: block;
    font-size: 15px;
    margin-bottom: 1px;
    text-transform: none !important;
}

/* ===================================
   Blog Card - Modern Compact Design
   =================================== */

.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Card Image */
.blog-card-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.08);
}

/* Gradient Overlay */
.blog-card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 100%);
    pointer-events: none;
}

/* Date Badge */
.blog-card-date {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #e8a917;
    color: #fff;
    border-radius: 8px;
    padding: 8px 12px;
    text-align: center;
    line-height: 1;
    z-index: 2;
    box-shadow: 0 3px 10px rgba(232, 169, 23, 0.4);
}

.blog-card-date .day {
    display: block;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.blog-card-date .month {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 2px;
    letter-spacing: 0.5px;
}

/* Category Tag */
.blog-card-category {
    position: absolute;
    bottom: 12px;
    left: 16px;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 5px 12px;
    border-radius: 20px;
    z-index: 2;
    backdrop-filter: blur(4px);
}

/* Card Body */
.blog-card-body {
    padding: 22px 20px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-title {
    font-size: 17px;
    font-weight: 700;
    color: #222;
    line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.blog-card:hover .blog-card-title {
    color: #e8a917;
}

.blog-card-excerpt {
    font-size: 13.5px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

/* Card Footer */
.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid #eee;
}

.blog-card-author {
    font-size: 12px;
    color: #999;
    font-weight: 500;
}

.blog-card-author i {
    margin-right: 5px;
    color: #ccc;
}

.blog-card-readmore {
    font-size: 12px;
    font-weight: 600;
    color: #e8a917;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.blog-card-readmore i {
    margin-left: 4px;
    font-size: 10px;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-readmore i {
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 767px) {
    .blog-card-image {
        height: 200px;
    }

    .blog-card-title {
        font-size: 16px;
    }

    .blog-card-body {
        padding: 18px 16px 14px;
    }
}

@media (max-width: 575px) {
    .blog-card-image {
        height: 180px;
    }
}