/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

/* Links */
a {
    text-decoration: none;
    color: inherit;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #333;
    color: white;
}

header .logo img {
    height: 120px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-list {
    display: flex;
    gap: 20px;
    list-style: none;
}

.nav-list li a {
    color: white;
    text-transform: uppercase;
    font-weight: bold;
    padding: 0.5rem 1rem;
    transition: background-color 0.3s;
}

.nav-list li a:hover {
    background-color: #555;
    border-radius: 5px;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 25px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero Section */
.hero {
    background: url('../assets/images/hero-bg.jpg') center/cover no-repeat;
    text-align: center;
    color: white;
    padding: 150px 20px;
}

.hero h1 {
    font-size: 3em;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
}

.hero p {
    font-size: 1.2em;
    margin: 20px 0 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.cta-button {
    background-color: #007BFF;
    color: white;
    padding: 12px 25px;
    font-size: 1.2em;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #0056b3;
}

/* Featured Brands Section */
.featured-brands {
    background-color: #f8f8f8;
    padding: 50px 0;
    text-align: center;
}

.featured-brands h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: #333;
}

.brand-logos {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.brand-logos img {
    width: 120px;
    transition: transform 0.3s ease;
}

.brand-logos img:hover {
    transform: scale(1.05);
}

/* About Section */
.about {
    padding: 50px 20px;
    text-align: center;
}

.about h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.about h2 {
    font-size: 2em;
    margin: 30px 0 10px;
}

.about p {
    font-size: 1.1em;
    line-height: 1.8;
}

.about ul {
    list-style: none;
    padding: 0;
}

.about ul li {
    font-size: 1.1em;
    margin-bottom: 10px;
}

/* Footer */
footer {
    background-color: #222;
    color: white;
    text-align: center;
    padding: 20px;
}

/* Language Selector */
.language-selector {
    display: flex;
    gap: 15px;
    align-items: center;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.language-option img {
    width: 30px;
    height: auto;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.language-option img:hover {
    transform: scale(1.1);
}

/* Responsive Styles */
@media (max-width: 768px) {
    header .logo img {
        height: 120px;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: 0;
        background: #333;
        width: 100%;
        z-index: 1000;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-list {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .hamburger {
        display: flex;
    }

    .hero h1 {
        font-size: 2.5em;
    }

    .hero p {
        font-size: 1em;
    }
}
/* Add to your styles.css */
.brand-list {
    display: grid; /* Create a grid layout */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive columns */
    gap: 20px; /* Space between grid items */
    margin: 20px;
}

.brand-item {
    background: #222; /* Card background */
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.brand-item:hover {
    transform: scale(1.05); /* Add hover effect */
}

.brand-item img {
    max-width: 100%; /* Prevent oversizing */
    height: auto; /* Maintain aspect ratio */
    max-height: 100px; /* Limit height for consistency */
    margin-bottom: 10px;
}

.brand-item p {
    color: #ccc; /* Text color */
    font-size: 0.9rem;
    line-height: 1.4;
}

h1#brands-title {
    text-align: center;
    margin-bottom: 30px;
    color: #f1f1f1;
}
/* About Page Specific Styles */
.about-page .about {
    padding: 50px 20px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-page .about h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.about-page .about p {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Our Mission Section */
.about-page .mission {
    padding: 50px 20px;
    background-color: #f9f9f9;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-page .mission h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.about-page .mission p {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Our Values Section */
.about-page .values {
    padding: 50px 20px;
    background-color: #fff;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-page .values h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
}

.about-page .value-list {
    list-style-type: none;
    padding: 0;
}

.about-page .value-list li {
    font-size: 1.2em;
    margin-bottom: 10px;
    text-align: left;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.about-page .value-list li i {
    margin-right: 10px;
}

/* Hero Section */
.about-page .hero {
    background: url('../assets/images/hero-bg.jpg') center/cover no-repeat;
    color: white;
    text-align: center;
    padding: 150px 20px;
    position: relative;
}

.about-page .hero h1 {
    font-size: 3em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6); /* Improve text visibility */
}

.about-page .hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6); /* Improve text visibility */
}

/* Footer */
.about-page footer {
    background-color: #222;
    color: #fff;
    text-align: center;
    padding: 20px;
}

/* Media Queries for smaller screens (About page only) */
@media (max-width: 768px) {
    .about-page .hero h1, 
    .about-page .hero p {
        font-size: 2rem;
    }

    .about-page .about,
    .about-page .mission,
    .about-page .values {
        padding: 40px 20px;
    }

    .about-page .about p, 
    .about-page .mission p, 
    .about-page .values p {
        font-size: 1rem;
    }

    .about-page .value-list {
        grid-template-columns: 1fr 1fr;
    }

    .about-page .value-list li {
        font-size: 1em;
    }
}

/* Language switcher styles */
#lang-switcher {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-left: auto;
}
.lang-flag {
  width: 24px;
  height: auto;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s, transform 0.2s;
}
.lang-flag.active,
.lang-flag:hover {
  opacity: 1;
  transform: scale(1.1);
}
