/* Holol AlMasarat Custom Styles with Dropdown Menu */

/* Logo Styling - SMALL */
.custom-logo-link img,
.site-header img.custom-logo,
.site-logo img,
header .custom-logo,
header img {
    max-width: 80px !important;
    width: 80px !important;
    height: auto !important;
    max-height: 40px !important;
}

.site-title {
    font-size: 16px !important;
    font-weight: 700;
    color: white;
    margin: 0;
}

.site-title a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}

/* Compact Header */
.site-header {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    padding: 8px 20px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
    min-height: 60px;
    position: relative;
}

header .site-branding,
.site-header .site-branding {
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}

/* Dropdown Menu Styles */
.dropdown-menu-container {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}

.dropdown-toggle {
    background: rgba(255,255,255,0.1);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.dropdown-toggle:hover {
    background: rgba(255,255,255,0.2);
}

.dropdown-toggle .menu-icon {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.dropdown-toggle .menu-icon span {
    display: block;
    width: 18px;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 10px;
    background: white;
    min-width: 200px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    border-radius: 10px;
    overflow: hidden;
    z-index: 1001;
}

.dropdown-content.show {
    display: block;
}

.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background: #f8fafc;
    color: #1e3a8a;
    padding-left: 20px;
}

.dropdown-content a.active {
    background: #1e3a8a;
    color: white;
}

/* Body Typography */
body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* Page Content Styles */
.page-content {
    padding: 20px;
}

/* Footer */
.site-footer {
    background: #0f172a;
    color: white;
    padding: 30px 0;
    text-align: center;
}

/* Cards Enhancement */
.entry-content div[style*="background: white"] {
    border-radius: 10px;
    transition: all 0.3s ease;
}

.entry-content div[style*="background: white"]:hover {
    transform: translateY(-3px);
}

/* Mobile */
@media (max-width: 768px) {
    .custom-logo-link img,
    .site-header img.custom-logo {
        max-width: 60px !important;
        width: 60px !important;
    }
    
    .site-title a {
        font-size: 14px;
    }
    
    .site-header {
        padding: 5px 15px;
        min-height: 50px;
    }
    
    .dropdown-menu-container {
        right: 15px;
    }
    
    .dropdown-content {
        min-width: 180px;
    }
}

/* GA4 Tracking - added via hook */
