/* ==============================================
   COMBINED CUSTOM STYLES FROM ALL TEMPLATES
   ============================================== */

/* ===== IBRAHIM IPEK STYLE - HEADER ===== */

/* Eski header stillerini devre disi birak */
.ibrahim-ipek-style.ep-header-section .top-header { display: none !important; }
.ibrahim-ipek-style.ep-header-section .navbar.navbar-expand-xl.d-none.d-xl-flex { display: none !important; }
.ibrahim-ipek-style .navbar .navbar-brand { position: static !important; bottom: auto !important; display: inline-flex !important; align-items: center !important; padding: 0 !important; background: transparent !important; margin: 0 !important; z-index: auto !important; }
.ibrahim-ipek-style .navbar .navbar-brand::after { display: none !important; }
.ibrahim-ipek-style .navbar .navbar-brand img { height: auto !important; width: auto !important; position: static !important; top: auto !important; left: auto !important; filter: none !important; }
.ibrahim-ipek-style .navbar .navbar-nav { padding-left: 0 !important; }

/* Mobile Topbar Logo - devre disi */
.mobile-menu-area .mobile-topbar .logo { display: none !important; }
.mobile-menu-area .mobile-topbar .logo a { display: none !important; }
.mobile-menu-area .mobile-topbar .logo a::after { display: none !important; }
.mobile-menu-area .mobile-topbar .logo::before { display: none !important; }
.mobile-menu-area .mobile-topbar .logo img { display: none !important; }
.footer-widget .logo { display: none !important; }

/* Header Container */
.ibrahim-ipek-style { position: relative !important; width: 100% !important; z-index: 999 !important; background: #ffffff !important; overflow: visible !important; }

/* Top Header */
.top-header-ibrahim { background: linear-gradient(135deg, #1A1A2E 0%, #16213E 100%) !important; padding: 0 !important; border-bottom: 2px solid rgba(184, 134, 11, 0.3) !important; width: 100% !important; position: relative !important; z-index: 1000 !important; }
.contact-info-ibrahim { gap: 30px !important; margin: 0 !important; padding: 0 !important; }
.contact-info-ibrahim li { margin-bottom: 0 !important; padding: 0 !important; list-style: none !important; }
.contact-info-ibrahim li a { color: #ffffff !important; font-size: 14px !important; font-weight: 400 !important; text-decoration: none !important; transition: all 0.3s ease !important; display: flex !important; align-items: center !important; }
.contact-info-ibrahim li a:hover { color: #B8860B !important; }
.contact-info-ibrahim li a span { margin-right: 5px !important; font-weight: 500 !important; }
.social-icon-ibrahim ul { gap: 10px !important; margin: 0 !important; padding: 0 !important; }
.social-icon-ibrahim ul li { list-style: none !important; margin-bottom: 0 !important; }
.social-icon-ibrahim ul li a { width: 32px !important; height: 32px !important; display: flex !important; align-items: center !important; justify-content: center !important; background: rgba(255, 255, 255, 0.15) !important; border-radius: 50% !important; color: #ffffff !important; font-size: 14px !important; transition: all 0.3s ease !important; text-decoration: none !important; }
.social-icon-ibrahim ul li a:hover { background: #B8860B !important; color: #fff !important; transform: translateY(-2px) !important; }

/* Main Navbar */
.navbar-ibrahim { background: #ffffff !important; padding: 15px 0 !important; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important; width: 100% !important; position: relative !important; z-index: 999 !important; transition: all 0.3s ease !important; overflow: visible !important; }
.navbar-ibrahim .container { overflow: visible !important; }
.logo-area-ibrahim { flex: 0 0 auto !important; }
.navbar-brand-ibrahim { text-decoration: none !important; transition: all 0.3s ease !important; }
.logo-icon-ibrahim { width: 60px !important; height: 60px !important; background: linear-gradient(135deg, #1A1A2E 0%, #16213E 100%) !important; border-radius: 8px !important; display: flex !important; align-items: center !important; justify-content: center !important; padding: 8px !important; }
.logo-icon-ibrahim img { max-width: 100% !important; max-height: 100% !important; object-fit: contain !important; }
.logo-text-ibrahim { line-height: 1.2 !important; }
.logo-title-ibrahim { font-size: 22px !important; font-weight: 700 !important; color: #1A1A2E !important; margin-bottom: 3px !important; text-transform: uppercase !important; letter-spacing: 0.5px !important; }
.logo-subtitle-ibrahim { font-size: 11px !important; font-weight: 500 !important; color: #B8860B !important; text-transform: uppercase !important; letter-spacing: 1px !important; margin-bottom: 0 !important; }

/* Menu Area */
.menu-area-ibrahim { flex: 1 1 auto !important; display: flex !important; justify-content: flex-end !important; overflow: visible !important; }
.navbar-nav-ibrahim { list-style: none !important; padding: 0 !important; gap: 5px !important; margin: 0 !important; overflow: visible !important; }
.nav-item-ibrahim { position: relative !important; margin-bottom: 0 !important; list-style: none !important; }
.nav-link-ibrahim { color: #333 !important; font-size: 13px !important; font-weight: 600 !important; text-transform: uppercase !important; text-decoration: none !important; padding: 12px 18px !important; display: flex !important; align-items: center !important; transition: all 0.3s ease !important; border-radius: 4px !important; letter-spacing: 0.3px !important; }
.nav-link-ibrahim:hover, .nav-link-ibrahim.active { color: #B8860B !important; background: rgba(184, 134, 11, 0.08) !important; }
.nav-link-ibrahim i { font-size: 10px !important; transition: transform 0.3s ease !important; }
.dropdown-ibrahim:hover .nav-link-ibrahim i { transform: rotate(180deg) !important; }

/* Dropdown Menu */
.dropdown-menu-ibrahim { position: absolute !important; top: 100% !important; left: 0 !important; background: #ffffff !important; min-width: 220px !important; box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15) !important; border-radius: 4px !important; padding: 8px 0 !important; margin-top: 8px !important; opacity: 0 !important; visibility: hidden !important; transform: translateY(-10px) !important; transition: all 0.3s ease !important; z-index: 9999 !important; list-style: none !important; border: 1px solid rgba(0, 0, 0, 0.08) !important; }
.dropdown-ibrahim:hover .dropdown-menu-ibrahim { opacity: 1 !important; visibility: visible !important; transform: translateY(0) !important; }
.dropdown-menu-ibrahim li { margin-bottom: 0 !important; list-style: none !important; }
.dropdown-menu-ibrahim li a { display: block !important; padding: 10px 20px !important; color: #333 !important; font-size: 13px !important; font-weight: 500 !important; text-decoration: none !important; transition: all 0.3s ease !important; }
.dropdown-menu-ibrahim li a:hover { background: rgba(184, 134, 11, 0.08) !important; color: #B8860B !important; padding-left: 25px !important; }

/* Sticky Header */
.ibrahim-ipek-style.sticky-menu { position: fixed !important; top: 0 !important; left: 0 !important; right: 0 !important; z-index: 9999 !important; animation: slideDown 0.3s ease !important; overflow: visible !important; }
.ibrahim-ipek-style.sticky-menu .top-header-ibrahim { display: none !important; }
.ibrahim-ipek-style.sticky-menu .navbar-ibrahim { box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15) !important; overflow: visible !important; }
.ibrahim-ipek-style.sticky-menu .navbar-ibrahim .container { overflow: visible !important; }
.ibrahim-ipek-style.sticky-menu .menu-area-ibrahim { overflow: visible !important; }
.ibrahim-ipek-style.sticky-menu .navbar-nav-ibrahim { overflow: visible !important; }
.ibrahim-ipek-style.sticky-menu .dropdown-menu-ibrahim { z-index: 99999 !important; }
@keyframes slideDown { from { transform: translateY(-100%); } to { transform: translateY(0); } }

/* Mobile Header */
.mobile-top-header-ibrahim { background: #1A1A2E !important; padding: 0 !important; border-bottom: 1px solid rgba(184, 134, 11, 0.3) !important; }
.mobile-contact-ibrahim a { color: rgba(255, 255, 255, 0.9) !important; font-size: 12px !important; text-decoration: none !important; transition: color 0.3s ease !important; }
.mobile-contact-ibrahim a:hover { color: #B8860B !important; }
.mobile-contact-ibrahim a i { color: #B8860B !important; }
.mobile-social-ibrahim a { color: rgba(255, 255, 255, 0.8) !important; font-size: 16px !important; margin-left: 12px !important; text-decoration: none !important; transition: color 0.3s ease !important; }
.mobile-social-ibrahim a:hover { color: #B8860B !important; }
.mobile-navbar-ibrahim { background: #ffffff !important; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important; }
.mobile-logo-icon-ibrahim, .menu-logo-icon-ibrahim { width: 45px !important; height: 45px !important; background: linear-gradient(135deg, #1A1A2E 0%, #16213E 100%) !important; border-radius: 8px !important; display: flex !important; align-items: center !important; justify-content: center !important; padding: 6px !important; flex-shrink: 0 !important; }
.mobile-logo-icon-ibrahim img, .menu-logo-icon-ibrahim img { max-width: 100% !important; max-height: 100% !important; object-fit: contain !important; }
.mobile-logo-title-ibrahim, .menu-logo-title-ibrahim { font-size: 16px !important; font-weight: 700 !important; color: #1A1A2E !important; line-height: 1.2 !important; }
.mobile-logo-subtitle-ibrahim, .menu-logo-subtitle-ibrahim { font-size: 9px !important; font-weight: 500 !important; color: #B8860B !important; text-transform: uppercase !important; letter-spacing: 1px !important; }
.mobile-bars-ibrahim { font-size: 24px !important; color: #1A1A2E !important; cursor: pointer !important; padding: 8px !important; transition: color 0.3s ease !important; }
.mobile-bars-ibrahim:hover { color: #B8860B !important; }
.mobile-menu-logo-ibrahim { padding: 20px 15px !important; border-bottom: 2px solid rgba(184, 134, 11, 0.2) !important; margin-bottom: 15px !important; }
.mobile-menu-main .close-mobile-menu { position: absolute !important; top: 20px !important; right: 15px !important; width: 35px !important; height: 35px !important; background: rgba(26, 26, 46, 0.1) !important; border-radius: 6px !important; display: flex !important; align-items: center !important; justify-content: center !important; cursor: pointer !important; transition: all 0.3s ease !important; z-index: 10 !important; }
.mobile-menu-main .close-mobile-menu:hover { background: #1A1A2E !important; }
.mobile-menu-main .close-mobile-menu i { color: #1A1A2E !important; font-size: 18px !important; }
.mobile-menu-main .close-mobile-menu:hover i { color: #ffffff !important; }

/* Footer Logo */
.footer-logo-ibrahim a { text-decoration: none !important; }
.footer-logo-icon-ibrahim { width: 60px !important; height: 60px !important; background: linear-gradient(135deg, #1A1A2E 0%, #16213E 100%) !important; border-radius: 8px !important; display: flex !important; align-items: center !important; justify-content: center !important; padding: 10px !important; flex-shrink: 0 !important; }
.footer-logo-icon-ibrahim img { max-width: 100% !important; max-height: 100% !important; object-fit: contain !important; }
.footer-logo-text-ibrahim { line-height: 1.2 !important; }
.footer-logo-title-ibrahim { font-size: 20px !important; font-weight: 700 !important; color: #ffffff !important; margin-bottom: 3px !important; text-transform: uppercase !important; letter-spacing: 0.5px !important; }
.footer-logo-subtitle-ibrahim { font-size: 11px !important; font-weight: 500 !important; color: rgba(255, 255, 255, 0.7) !important; text-transform: uppercase !important; letter-spacing: 1px !important; margin-bottom: 0 !important; }
@media (max-width: 767px) {
    .footer-logo-icon-ibrahim { width: 50px !important; height: 50px !important; }
    .footer-logo-title-ibrahim { font-size: 16px !important; }
    .footer-logo-subtitle-ibrahim { font-size: 9px !important; }
}

/* Footer Links */
.footer-widget .important-link li { margin-bottom: 12px !important; display: flex !important; align-items: flex-start !important; }
.footer-widget .important-link li .icon { width: 20px !important; height: 20px !important; display: flex !important; align-items: center !important; justify-content: center !important; flex-shrink: 0 !important; margin-right: 10px !important; margin-top: 3px !important; }
.footer-widget .important-link li .icon img { width: 8px !important; height: 8px !important; object-fit: contain !important; filter: brightness(0) invert(1) opacity(0.7) !important; }
.footer-widget .important-link li a { color: rgba(255, 255, 255, 0.8) !important; font-size: 14px !important; font-weight: 400 !important; line-height: 1.5 !important; text-decoration: none !important; transition: all 0.3s ease !important; flex: 1 !important; }
.footer-widget .important-link li a:hover { color: #ffffff !important; padding-left: 5px !important; }

/* Responsive */
@media (max-width: 1399px) {
    .nav-link-ibrahim { padding: 10px 12px !important; font-size: 12px !important; }
    .logo-icon-ibrahim { width: 50px !important; height: 50px !important; }
    .logo-title-ibrahim { font-size: 18px !important; }
}
@media (min-width: 576px) and (max-width: 1199px) {
    .mobile-logo-title-ibrahim { font-size: 18px !important; }
    .mobile-logo-subtitle-ibrahim { font-size: 10px !important; }
    .mobile-contact-ibrahim a { font-size: 12px !important; }
    .mobile-logo-icon-ibrahim { width: 50px !important; height: 50px !important; }
}

/* ===== END IBRAHIM IPEK STYLE ===== */

/* Footer Newsletter Styles */
#newsletter-alert .alert {
    font-size: 14px;
    padding: 10px 15px;
    margin-bottom: 0;
}

#newsletter-alert .alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-color: #c3e6cb;
    color: #155724;
}

#newsletter-alert .alert-warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border-color: #ffeaa7;
    color: #856404;
}

#newsletter-alert .alert-danger {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    border-color: #f5c6cb;
    color: #721c24;
}

#newsletter-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Contact Float Buttons */
.contact-float-buttons .float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0,0,0,0.4);
}

.contact-float-buttons .phone-btn {
    display: none !important;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #B8860B;
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-to-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: #333;
    transform: translateY(-2px);
}

/* Mobile Contact Buttons */
@media (max-width: 768px) {
    .contact-float-buttons {
        bottom: 15px !important;
        left: 15px !important;
    }
    
    .contact-float-buttons .float-btn {
        width: 50px !important;
        height: 50px !important;
    }
    
    .contact-float-buttons .whatsapp-btn i {
        font-size: 24px !important;
    }
    
    .contact-float-buttons .phone-btn {
        display: flex !important;
    }
    
    .contact-float-buttons .phone-btn i {
        font-size: 20px !important;
    }
}

/* Header Mobile Menu Styles */
.mobile-menu-area .mobile-menu-main {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100vh;
    background: #fff;
    transition: left 0.3s ease;
    z-index: 9999;
    overflow-y: auto;
}

.mobile-menu-area .mobile-menu-main.active {
    left: 0;
}

.mobile-menu-area .mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
    display: none;
}

.mobile-menu-area .has-dropdown .sub-menu {
    display: none;
    padding-left: 20px;
    background: #f8f9fa;
}

.mobile-menu-area .has-dropdown.active .sub-menu {
    display: block;
}

.mobile-menu-area .has-dropdown > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Header Search Styles */
.header-search {
    display: none;
    z-index: 9999;
    background: rgba(0,0,0,0.8);
}

.header-search.active {
    display: block;
}

/* Offcanvas Menu Styles */
.offcanvas-menu {
    right: -100%;
    transition: right 0.3s ease;
    z-index: 9999;
    background: #1A1A2E;
    padding: 20px;
}

.offcanvas-menu.active {
    right: 0;
}

.offcanvas-overlay {
    display: none;
    z-index: 9998;
    background: rgba(0,0,0,0.5);
}

/* Desktop Dropdown Menus */
@media (min-width: 1200px) {
    .navbar-nav .dropdown-menu {
        display: none;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        margin-top: 0;
    }
    
    .navbar-nav .dropdown:hover .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

/* Mobile Menu Display */
@media (max-width: 1199px) {
    .mobile-menu-area {
        display: block !important;
    }
}

/* Contact Page Styles */
.security-section {
    transition: all 0.3s ease;
}

.security-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.captcha-image-wrapper {
    transition: transform 0.2s ease;
}

.captcha-image-wrapper:hover {
    transform: scale(1.05);
}

#captcha-img {
    transition: opacity 0.2s ease;
}

#captcha-img:hover {
    opacity: 0.8;
}

.input-group .icon {
    right: 15px;
    color: #666;
    transition: color 0.2s ease;
}

.theme-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Contact Page Mobile Styles */
@media (max-width: 767px) {
    .security-section .row {
        text-align: center;
    }
    
    .captcha-container {
        margin-bottom: 20px;
    }
}

/* Homepage News Images */
.homepage-news-fixed-img {
    height: 280px !important;
    object-fit: cover;
    object-position: center;
}

.homepage-news-img {
    height: 280px;
}

.homepage-news-img .overlay-shape {
    height: 100%;
}

/* Homepage News Mobile Responsive */
@media (max-width: 992px) {
    .homepage-news-fixed-img {
        height: 250px !important;
    }
    
    .homepage-news-img {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .homepage-news-fixed-img {
        height: 220px !important;
    }
    
    .homepage-news-img {
        height: 220px;
    }
}

@media (max-width: 576px) {
    .homepage-news-fixed-img {
        height: 200px !important;
    }
    
    .homepage-news-img {
        height: 200px;
    }
}

/* Inline Editor Styles - SADECE ADMIN GİRİŞİNDE AKTİF */
body:not(.admin-logged-in) .editable-content:hover {
    background-color: transparent !important;
    box-shadow: none !important;
}

body:not(.admin-logged-in) .editable-content.editing {
    background-color: transparent !important;
    box-shadow: none !important;
}

/* Admin giriş yapmışsa normal çalış */
body.admin-logged-in .editable-content {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 3px;
    padding: 2px 4px;
    margin: -2px -4px;
}

body.admin-logged-in .editable-content:hover {
    background-color: rgba(255, 193, 7, 0.2);
    box-shadow: 0 0 0 2px rgba(255, 193, 7, 0.4);
}

body.admin-logged-in .editable-content.editing {
    background-color: rgba(40, 167, 69, 0.2);
    box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.4);
}

/* Image Editor Styles - GERÇEK DOM ELEMENTİ İLE */
.image-edit-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(0, 0, 0, 0.6) !important;
    opacity: 0 !important;
    transition: all 0.3s ease !important;
    z-index: 100 !important;
    pointer-events: none !important;
}

.image-edit-icon {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 80px !important;
    height: 80px !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border-radius: 50% !important;
    opacity: 0 !important;
    transition: all 0.4s ease !important;
    z-index: 101 !important;
    pointer-events: auto !important;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4) !important;
    border: 3px solid rgba(255, 255, 255, 0.9) !important;
    color: #ffffff !important;
    font-size: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

.image-edit-wrapper {
    position: relative !important;
    display: inline-block !important;
}

.image-edit-wrapper:hover .image-edit-overlay {
    opacity: 1 !important;
}

.image-edit-wrapper:hover .image-edit-icon {
    opacity: 1 !important;
    transform: translate(-50%, -50%) scale(1.1) !important;
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.6) !important;
}

.image-edit-wrapper.editing .image-edit-overlay {
    background: rgba(76, 175, 80, 0.7) !important;
    opacity: 1 !important;
}

.image-edit-wrapper.editing .image-edit-icon {
    opacity: 1 !important;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%) !important;
    transform: translate(-50%, -50%) scale(1) !important;
    box-shadow: 0 12px 35px rgba(76, 175, 80, 0.6) !important;
    border-color: rgba(255, 255, 255, 1) !important;
    animation: pulse 2s infinite !important;
}

/* Pulse animation */
@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1) !important;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1) !important;
    }
    100% {
        transform: translate(-50%, -50%) scale(1) !important;
    }
}

/* Link'leri devre dışı bırak */
a:has(.image-edit-wrapper) {
    pointer-events: none !important;
}

.image-edit-wrapper a {
    pointer-events: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    .image-edit-icon {
        width: 70px !important;
        height: 70px !important;
        font-size: 32px !important;
    }
}

@media (max-width: 480px) {
    .image-edit-icon {
        width: 60px !important;
        height: 60px !important;
        font-size: 28px !important;
    }
}

/* Eski CSS kurallarını temizle */
img[data-image]::before,
img[data-image]::after {
    display: none !important;
}

.editable-image::before,
.editable-image::after {
    display: none !important;
}

/* Header logolarını image editor'den tamamen hariç tut */
.navbar-brand .image-edit-wrapper,
.navbar .image-edit-wrapper,
.ep-header-section .image-edit-wrapper,
.mobile-menu-area .image-edit-wrapper,
.offcanvas-menu .image-edit-wrapper,
header .image-edit-wrapper {
    display: contents !important;
}

.navbar-brand .image-edit-wrapper .image-edit-overlay,
.navbar-brand .image-edit-wrapper .image-edit-icon,
.navbar .image-edit-wrapper .image-edit-overlay,
.navbar .image-edit-wrapper .image-edit-icon,
.ep-header-section .image-edit-wrapper .image-edit-overlay,
.ep-header-section .image-edit-wrapper .image-edit-icon,
header .image-edit-wrapper .image-edit-overlay,
header .image-edit-wrapper .image-edit-icon {
    display: none !important;
}

/* Header logoları için özel hover efekti */
body.admin-logged-in .navbar-brand img[data-image]:hover,
body.admin-logged-in .navbar img[data-image]:hover,
body.admin-logged-in .ep-header-section img[data-image]:hover,
body.admin-logged-in header img[data-image]:hover,
body.admin-logged-in .logo[data-image]:hover {
    filter: brightness(0.8) !important;
    transform: scale(1.05) !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5) !important;
}

/* General Utility Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

.slide-up {
    animation: slideUp 0.5s ease-in-out;
}

.zoom-in {
    animation: zoomIn 0.3s ease-in-out;
}

/* Animation Keyframes */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(30px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from { 
        opacity: 0;
        transform: scale(0.9);
    }
    to { 
        opacity: 1;
        transform: scale(1);
    }
}

/* Loading States */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Print Styles */
@media print {
    .no-print,
    .contact-float-buttons,
    .scroll-to-top,
    .mobile-menu-area,
    .header-search,
    .offcanvas-menu,
    .editable-content:hover,
    .editable-image:hover {
        display: none !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .editable-content:hover {
        background-color: rgba(255, 255, 0, 0.5);
        box-shadow: 0 0 0 3px rgba(255, 255, 0, 0.8);
    }
    
    .editable-image:hover::before {
        background: rgba(255, 255, 0, 0.7);
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus Styles for Accessibility */
.editable-content:focus,
.editable-image:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/* Products Section - Homepage product grid */
.ep-products-section .product-card {
    display: block;
    border-radius: 15px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    text-decoration: none;
}
.ep-products-section .product-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}
.ep-products-section .product-card .product-img {
    width: 100%;
    height: 280px;
    overflow: hidden;
}
.ep-products-section .product-card .product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.ep-products-section .product-card:hover .product-img img {
    transform: scale(1.08);
}
.ep-products-section .product-card .product-title {
    text-align: center;
    padding: 18px 15px;
    margin: 0;
    color: var(--bs-primary-color, #B8860B);
    font-size: 1.1rem;
    font-weight: 600;
}

/* Service Section - Full width images & equal height */
.ep-service-section .service-item > a.d-block {
    display: block !important;
    width: 100% !important;
}
.ep-service-section .service-item > a > .img {
    width: 100% !important;
    height: 220px !important;
    overflow: hidden !important;
    border-radius: 10px 10px 0 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}
.ep-service-section .service-item > a > .img > img {
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
}

/* Page Header - Avize background visible */
.ep-page-header-section {
    position: relative;
    background-color: #1A1A2E;
}

.ep-page-header-section > .overlay {
    background-color: rgba(26, 26, 46, 0.75) !important;
    background-blend-mode: multiply;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .editable-content:hover {
        background-color: rgba(255, 193, 7, 0.3);
    }
    
    .editable-image:hover::before {
        background: rgba(0, 0, 0, 0.7);
    }
}