/* Global Design Guidelines */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', 'Cairo', 'Tajawal', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff; /* Pure White */
    color: #333333;
}

:root {
    --primary-color: #001f3f; /* Deep Navy Blue */
    --secondary-color: #808080; /* Industrial Grey */
    --accent-color: #FFD700; /* Gold */
    --text-color: #333;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: #ffffff;
    z-index: 1000;
}

.navbar .logo a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
}

.navbar .logo img {
    height: 40px; /* تحديد ارتفاع اللوجو ليتناسب مع الناف بار */
    width: auto;
    vertical-align: middle;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    transition: 0.3s;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin: 0 1rem;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
}

.nav-links a.active {
    font-weight: bold;
}

.language-switcher select {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
    padding: 0.25rem;
    margin-inline: 40px;
    border-radius: 4px;
}

/* Footer */
footer {
    background-color: #000000;
    color: #ffffff;
    padding: 2rem;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    padding-bottom: 2rem;
}

.footer-column h3 {
    color: var(--accent-color);
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul a {
    color: #ffffff;
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid var(--secondary-color);
    padding-top: 1rem;
}

/* Homepage Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://picsum.photos/seed/picsum/1600/900') no-repeat center center/cover;
    filter: brightness(0.5);
    z-index: -1;
}


.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.cta-primary, .cta-secondary {
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 4px;
    margin: 0 0.5rem;
    transition: background-color 0.3s ease;
}

.cta-primary {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.cta-primary:hover {
    background-color: #FFC107;
}

.cta-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
}

.cta-secondary:hover {
    background-color: #ffffff;
    color: var(--primary-color);
}

/* Homepage Intro Section */
.intro {
    padding: 4rem 2rem;
}

.intro-container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.intro-image {
    flex: 1;
}

.intro-image img {
    width: 100%;
    border-radius: 8px;
}

.intro-text {
    flex: 1;
}

.features {
    display: flex;
    justify-content: space-around;
    margin-top: 2rem;
}

.feature {
    text-align: center;
}

.feature img {
    width: 50px;
    height: 50px;
}

.feature svg {
    width: 50px;
    height: 50px;
    color: var(--primary-color);
}

/* About Us Page */
.page-header {
    padding-top: 100px;
    padding-bottom: 20px;
    text-align: center;
    background-color: var(--secondary-color);
    color: #ffffff;
}

.vision-mission {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 4rem 2rem;
}

.card {
    background: #f9f9f9;
    border-top: 4px solid var(--accent-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    width: 40%;
    text-align: center;
}

.card-icon img {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

.goals {
    padding: 2rem;
    text-align: center;
}

.goals ul {
    list-style: none;
    padding: 0;
    display: inline-block;
    text-align: left;
}

.goals li {
    margin: 1rem 0;
    font-size: 1.1rem;
}

.checkmark {
    color: #28a745;
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

/* Products Page */
.product-tabs {
    padding: 2rem;
}

.tabs {
    display: flex;
    justify-content: center;
    border-bottom: 2px solid var(--secondary-color);
    margin-bottom: 2rem;
}

.tab-link {
    background: none;
    border: none;
    font-size: 1.2rem;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.tab-link:hover, .tab-link.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.tab-content {
    display: none;
    padding: 2rem 0;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.spec-block {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table td {
    padding: 1rem;
    border-bottom: 1px solid #ddd;
}

.specs-table tr:nth-child(even) {
    background-color: #f2f2f2;
}

.product-card {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Contact Us Page */
.contact-section {
    padding: 4rem 2rem;
}

.contact-container {
    display: flex;
    gap: 2rem;
}

.contact-info {
    flex: 1;
}

.contact-info img {
    width: 20px;
    height: 20px;
    margin-right: 0.5rem;
}

.contact-map {
    flex: 1;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--primary-color);
        padding: 1rem 0;
        box-shadow: 0 5px 5px rgba(0,0,0,0.2);
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 1rem 0;
    }
    
    /* Hamburger Animation */
    .hamburger.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
}
