/* Alabrar Simple Static Site - CSS */

/* Import Cairo Font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700&display=swap');

/* Al-Abrar Auto Parts Brand Colors */
/* Primary: Dark Blue/Navy (from logo background) */
/* Accent: Warm Orange (from logo motion line) */
:root {
    --primary-color: #1a365d;
    --accent-color: #f97316;
    --text-dark: #1a365d;
    --text-medium: #4a5568;
    --text-light: #718096;
    --border-light: #e2e8f0;
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    font-weight: 400;
    direction: rtl;
    text-align: right;
    background: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Cairo', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.logo img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    line-height: 1.2;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav a {
    font-family: 'Cairo', sans-serif;
    text-decoration: none;
    color: var(--text-medium);
    font-weight: 400;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--primary-color);
}

.whatsapp-link {
    font-family: 'Cairo', sans-serif;
    background: #25D366;
    color: white;
    padding: 8px 16px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
}

.whatsapp-link:hover {
    background: #20ba5a;
}

/* Main Content */
main {
    min-height: calc(100vh - 200px);
    padding: 40px 0;
}

/* Home Page */
.hero {
    text-align: center;
    padding: 60px 0;
}

.hero h1 {
    font-family: 'Cairo', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.hero p {
    font-family: 'Cairo', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: var(--text-medium);
    margin-bottom: 30px;
}

.btn {
    font-family: 'Cairo', sans-serif;
    display: inline-block;
    padding: 12px 30px;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background 0.3s;
}

.btn:hover {
    background: #ea580c;
}

/* Visual Section - Images & Video */
.visual-section {
    margin: 60px 0;
    padding: 40px 0;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.media-item {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.media-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.media-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.media-item video {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .media-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .media-item img,
    .media-item video {
        height: 200px;
    }
}

.trust-section {
    margin-top: 60px;
    padding: 40px 0;
    background: var(--bg-light);
}

.trust-points {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.trust-point {
    text-align: center;
    flex: 1;
    min-width: 200px;
}

.trust-point h3 {
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Shop Page */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: box-shadow 0.3s;
}

.product-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.product-card h3 {
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 20px;
}

.product-card p {
    font-family: 'Cairo', sans-serif;
    font-weight: 400;
    color: var(--text-medium);
    font-size: 14px;
    margin-bottom: 15px;
}

.product-price {
    font-family: 'Cairo', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.product-card .btn {
    width: 100%;
}

/* Order Page */
.order-form {
    max-width: 600px;
    margin: 40px auto;
    background: var(--bg-white);
    padding: 30px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    font-family: 'Cairo', sans-serif;
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    font-family: 'Cairo', sans-serif;
    font-weight: 400;
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-light);
    border-radius: 5px;
    font-size: 16px;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.order-summary {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.confirmation-message {
    text-align: center;
    padding: 40px;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    color: #155724;
    margin-top: 30px;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: white;
    text-align: center;
    padding: 30px 0;
    margin-top: 60px;
}

footer p {
    font-family: 'Cairo', sans-serif;
    font-weight: 400;
    margin: 5px 0;
}

.footer-logo {
    margin-bottom: 15px;
}

.footer-logo img {
    height: 35px;
    width: auto;
    object-fit: contain;
    opacity: 0.9;
}

/* Ensure all headings use Cairo */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    color: var(--primary-color);
}
