/*
Theme Name: Elnour Marketing Theme
Theme URI: http://elnourmarketing.com
Description: Custom Bootstrap 5 Theme for Elnour Marketing
Version: 1.3
Author: Elnour Marketing
*/

:root {
    --primary-color: #f39c12; /* Golden/Orange */
    --secondary-color: #1a1a1a; /* Black */
    --light-bg: #f8f9fa;
    --text-color: #333;
    --hero-overlay: rgba(0, 0, 0, 0.7);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    padding: 10px 0; /* Reduced padding */
}

.navbar-brand img {
    max-height: 45px; /* Control header logo size */
    width: auto;
}

.nav-link {
    color: var(--secondary-color) !important;
    font-weight: 600;
    margin: 0 8px;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
}

/* Buttons */
.btn-main {
    background-color: var(--primary-color);
    color: white !important;
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    border: none;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    display: inline-block;
    font-size: 0.9rem;
}

.btn-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(243, 156, 18, 0.4);
    background-color: #e67e22;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(var(--hero-overlay), var(--hero-overlay)), url('https://images.unsplash.com/photo-1551434678-e076c223a692?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    padding: 120px 0; /* Slightly reduced */
    color: white;
    text-align: center;
}

.hero-content h1 {
    font-weight: 800;
    font-size: 3rem;
    margin-bottom: 15px;
}

.hero-content span {
    color: var(--primary-color);
}

/* Services */
.service-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    border-bottom-color: var(--primary-color);
}

.service-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Zeus Card */
.zeus-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    color: white;
}
.zeus-card h3, .zeus-card p, .zeus-card li, .zeus-card .service-icon {
    color: white;
}

/* Footer - Optimized & Compact */
footer {
    background-color: var(--secondary-color);
    color: #ddd; /* Softer white for text */
    padding: 40px 0 15px; /* Significantly reduced padding */
    font-size: 0.9rem; /* Smaller font size for compact look */
}

/* Control Footer Logo Size */
.footer-logo img {
    max-width: 140px; /* Limit width */
    max-height: 50px; /* Limit height */
    width: auto;
    height: auto;
    margin-bottom: 15px;
}

footer h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px; /* Reduced spacing */
    margin-top: 5px;
}

footer ul {
    list-style: none;
    padding: 0;
    margin-bottom: 0;
}

footer ul li {
    margin-bottom: 8px; /* Compact list items */
}

footer ul li a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s;
}

footer ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px; /* Small hover effect */
}

footer p {
    margin-bottom: 10px;
    line-height: 1.5;
}

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 32px; /* Smaller social icons */
    height: 32px;
    background: rgba(255,255,255,0.1);
    color: white;
    border-radius: 50%;
    margin-right: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.3s;
}

.social-links a:hover {
    background: var(--primary-color);
}

footer .copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 30px;
    padding-top: 15px;
    font-size: 0.8rem;
    color: #888;
}

/* Responsive Fixes */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.2rem; }
    footer { text-align: center; }
    .social-links { justify-content: center; display: flex; margin-top: 15px; }
    footer h4 { margin-top: 25px; }
}