/* Custom styles for Sami Mini Servis */

/* Mercedes brand colors */
:root {
    --mercedes-silver: #C5C5C5;
    --mercedes-dark: #1F1F1F;
    --mercedes-blue: #002C5F;
    --mercedes-gold: #D4AF37;
}

/* Custom button styles for Mercedes theme */
.main-btn {
    background: linear-gradient(45deg, var(--mercedes-blue), var(--mercedes-dark));
    border: none;
    transition: all 0.3s ease;
}

.main-btn:hover {
    background: linear-gradient(45deg, var(--mercedes-dark), var(--mercedes-blue));
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 44, 95, 0.3);
}

/* Service icons customization */
.h5-service-items .icon {
    color: var(--mercedes-gold);
}

.home-02-our-service-items .icon {
    color: var(--mercedes-gold);
}

/* Header logo enhancement */
.logo-area img {
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
}

.logo-area img:hover {
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2));
    transform: scale(1.05);
}

.mercedes-logo-area img {
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
	width: 70px;
}
.mercedes-logo-area img:hover {
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2));
    transform: scale(1.05);
}

/* Navigation enhancement */
.navbar-nav li a {
    font-weight: 500;
    transition: all 0.3s ease;
}

.navbar-nav li a:hover {
    color: var(--mercedes-gold) !important;
}

/* Center the navbar menu for style-02 */
.navbar-area.style-02 .nav-container .navbar-collapse .navbar-nav {
    justify-content: center !important;
}

/* Service section cards */
.h5-service-items {
    transition: all 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
}

.h5-service-items:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Counter section enhancement */
.single-couterup {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px 20px;
    margin: 10px;
    transition: all 0.3s ease;
}

.single-couterup:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

/* Footer social icons */
.footer-social-icon ul li a {
    background: var(--mercedes-blue);
    transition: all 0.3s ease;
}

.footer-social-icon ul li a:hover {
    background: var(--mercedes-gold);
    transform: scale(1.1);
}

/* Testimonial section */
.testimonial-content .items {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

/* Blog section cards */
.latest-news-slider-items .cards {
    transition: all 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
}

.latest-news-slider-items .cards:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Form styling */
.contact-form-wrap input,
.contact-form-wrap textarea {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-form-wrap input:focus,
.contact-form-wrap textarea:focus {
    border-color: var(--mercedes-blue);
    box-shadow: 0 0 10px rgba(0, 44, 95, 0.1);
}

/* Responsive improvements */
@media (max-width: 768px) {
    .slider-content-inner h1 {
        font-size: 1.8rem;
    }
    
    .section-title h2 {
        font-size: 1.6rem;
    }
    
    .single-couterup {
        margin: 10px 0;
    }
}

/* Loading animation for template loading */
#header-placeholder,
#footer-placeholder {
    min-height: 60px;
    position: relative;
}

/* Loading spinner */
.template-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-family: Arial, sans-serif;
    color: var(--mercedes-blue);
}

.template-loading i {
    margin-right: 10px;
    animation: spin 1s linear infinite;
}

.template-error {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #ffe6e6;
    border: 1px solid #ff9999;
    border-radius: 5px;
    color: #cc0000;
    font-family: Arial, sans-serif;
}

#header-placeholder.loaded,
#footer-placeholder.loaded {
    min-height: auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}