﻿/**
 * Website Functions Styles
 * Additional styles for notifications and enhanced UI
 */
/* Notification Styles */
.website-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    min-width: 300px;
    max-width: 500px;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s ease;
    font-size: 14px;
    line-height: 1.5;
}
.website-notification.show {
    opacity: 1;
    transform: translateX(0);
}
.website-notification-success {
    border-left: 4px solid #28a745;
    color: #155724;
    background: #d4edda;
}
.website-notification-error {
    border-left: 4px solid #dc3545;
    color: #721c24;
    background: #f8d7da;
}
.website-notification-info {
    border-left: 4px solid #17a2b8;
    color: #0c5460;
    background: #d1ecf1;
}
/* Mobile Menu Enhancements */
.mobile-sidebar {
    transition: transform 0.3s ease;
}
.mobile-sidebar.active {
    transform: translateX(0);
}
body.mobile-menu-open {
    overflow: hidden;
}
/* Dropdown Menu Active State */
.dropdown-menu-parrent.active > a {
    color: var(--primary-color, #007bff);
}
/* Active Page Highlight */
.main-menu-ex a.active,
.mobile-nav a.active {
    color: var(--primary-color, #007bff) !important;
    font-weight: 600;
}
/* Form Validation Styles */
.form-inputs input:invalid:not(:placeholder-shown),
.form-inputs textarea:invalid:not(:placeholder-shown) {
    border-color: #dc3545;
}
.form-inputs input:valid:not(:placeholder-shown),
.form-inputs textarea:valid:not(:placeholder-shown) {
    border-color: #28a745;
}
/* Loading State for Buttons */
button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
/* User Menu Styles */
.user-menu {
    display: flex;
    align-items: center;
    gap: 15px;
}
.user-menu span {
    color: #333;
    font-size: 14px;
}
.logout-btn {
    padding: 8px 15px;
    background: #dc3545;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.3s ease;
}
.logout-btn:hover {
    background: #c82333;
    color: #fff;
}
/* Smooth Page Transitions */
body {
    transition: opacity 0.3s ease;
}
/* Enhanced Form Styles */
.form-inputs .input input:focus,
.form-inputs .input textarea:focus {
    outline: none;
    border-color: var(--primary-color, #007bff);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}
/* Responsive Notification */
@media (max-width: 768px) {
    .website-notification {
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: none;
        transform: translateY(-100px);
    }
    .website-notification.show {
        transform: translateY(0);
    }
}
/* ============================================
   REMOVE HOME DROPDOWN MENU COMPLETELY
   ============================================ */
/* Hide ONLY Home link dropdowns - keep other dropdowns (Pages, Blog, Account) */
.main-menu-ex ul > li:first-child .tp-submenu {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    height: 0 !important;
    overflow: hidden !important;
    max-height: 0 !important;
}
/* ============================================
   HIDE ALL TEMPLATE SHOWCASE SECTIONS
   Hide any sections that display multiple templates (02, 03, 04, etc.)
   ============================================ */
/* Hide any sections that reference other templates */
[class*="hero-area2"],
[class*="hero-area3"],
[class*="hero-area4"],
[class*="hero-area5"],
[class*="hero-area7"],
[class*="hero-area8"],
[class*="hero-area9"],
[class*="apps8"],
[class*="apps-area"],
[class*="time-track"],
[class*="pos-software"],
[class*="password-manager"],
[class*="hr-software"],
[class*="email-marketing"],
[class*="project-management"],
[class*="seo-software"],
[class*="social-media"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}
/* Hide any sections with template numbers 02-09 */
section:has([href*="index2"]),
section:has([href*="index3"]),
section:has([href*="index4"]),
section:has([href*="index5"]),
section:has([href*="index6"]),
section:has([href*="index7"]),
section:has([href*="index8"]),
section:has([href*="index9"]),
div:has([href*="index2"]):not(.main-menu-ex),
div:has([href*="index3"]):not(.main-menu-ex),
div:has([href*="index4"]):not(.main-menu-ex),
div:has([href*="index5"]):not(.main-menu-ex),
div:has([href*="index6"]):not(.main-menu-ex),
div:has([href*="index7"]):not(.main-menu-ex),
div:has([href*="index8"]):not(.main-menu-ex),
div:has([href*="index9"]):not(.main-menu-ex) {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}
/* Hide any divs/sections containing links to other templates */
div:has(a[href*="index2.html"]):not(.main-menu-ex),
div:has(a[href*="index3.html"]):not(.main-menu-ex),
div:has(a[href*="index4.html"]):not(.main-menu-ex),
div:has(a[href*="index5.html"]):not(.main-menu-ex),
div:has(a[href*="index6.html"]):not(.main-menu-ex),
div:has(a[href*="index7.html"]):not(.main-menu-ex),
div:has(a[href*="index8.html"]):not(.main-menu-ex),
div:has(a[href*="index9.html"]):not(.main-menu-ex),
div:has(a[href*="single-index"]):not(.main-menu-ex) {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}
/* Specifically target Home link dropdowns */
.main-menu-ex ul > li:first-child .tp-submenu,
.main-menu-ex ul > li:has(> a[href="index.html"]) .tp-submenu,
.main-menu-ex ul > li:has(> a[href*="index"]) .tp-submenu,
.main-menu-ex ul > li:first-child:hover .tp-submenu,
.main-menu-ex ul > li:has(> a[href="index.html"]):hover .tp-submenu {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    height: 0 !important;
    overflow: hidden !important;
    max-height: 0 !important;
    transform: scale(0) !important;
}
/* Remove dropdown arrow icon from Home link */
.main-menu-ex ul > li:first-child > a i.fa-angle-down,
.main-menu-ex ul > li:has(> a[href="index.html"]) > a i.fa-angle-down,
.main-menu-ex ul > li:first-child > a .fa-angle-down {
    display: none !important;
    visibility: hidden !important;
}
/* Ensure Home link behaves as a simple link, not a dropdown */
.main-menu-ex ul > li:first-child {
    position: relative;
}
.main-menu-ex ul > li:first-child:hover {
    position: relative;
}
/* Hide any homemenu-thumb or all-images-menu elements */
.tp-submenu .homemenu-thumb,
.tp-submenu .all-images-menu,
.main-menu-ex ul > li:first-child .homemenu-thumb,
.main-menu-ex ul > li:first-child .all-images-menu,
.homemenu-thumb,
.all-images-menu {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}
/* Override any CSS hover effects that might show dropdown */
.main-menu-ex ul > li:first-child:hover::after,
.main-menu-ex ul > li:first-child:hover::before {
    display: none !important;
}
/* Prevent any transform or animation on Home link hover */
.main-menu-ex ul > li:first-child:hover {
    transform: none !important;
}
/* Additional safety: hide any nested dropdown structures */
.main-menu-ex ul > li:first-child .tp-submenu * {
    display: none !important;
    visibility: hidden !important;
}