/* --- NORD NUR Global Styles --- */
:root {
    --color-bg-main: #0A1A2F; /* Deep Midnight Fjord */
    --color-bg-secondary: #0F2540; /* Slightly lighter for cards/footer */
    --color-gold: #C5A358; /* Nordic Gold */
    --color-aurora-start: #00C9B7; /* Cyan */
    --color-aurora-end: #66FF66; /* Neon Green */
    --color-text-light: #F0F4F8; /* Glacial White */
    --font-heading: 'Montserrat', sans-serif; /* Placeholder for premium font */
    --font-body: 'Inter', sans-serif; /* Placeholder for clean body font */
}

/* Basic Reset to make things look consistent across browsers */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--color-bg-main);
    color: var(--color-text-light);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden; /* Prevents horizontal scrolling */
}

a {
    text-decoration: none;
    color: var(--color-gold);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-aurora-start);
}

h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Utility Classes --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.text-gold { color: var(--color-gold); }
.text-center { text-align: center; }

/* --- The Halal Top Banner (Prominent & Fixed) --- */
.halal-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(90deg, var(--color-bg-secondary) 0%, var(--color-bg-main) 100%);
    border-bottom: 1px solid var(--color-gold);
    padding: 8px 0;
    z-index: 1000; /* Ensures it stays on top of everything */
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.halal-icon {
    color: var(--color-aurora-start);
    margin-right: 10px;
}

/* --- Navigation Bar --- */
.main-header {
    position: absolute; /* Sits on top of hero image */
    top: 40px; /* Pushes down below the fixed Halal banner */
    width: 100%;
    z-index: 900;
    padding: 20px 0;
    background: transparent;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-placeholder img {
    height: 100px; /* This controls the logo's size. Adjust as needed. */
    width: auto; /* This keeps the logo's proportions correct */
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
}

/* --- Hero Section (The Cinematic Top) --- */
.hero-section {
    position: relative;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* The fix: Add this line */
    background-color: var(--color-bg-main); 
    /* Placeholder background image */
    background-image: linear-gradient(rgba(10, 26, 47, 0.6), rgba(10, 26, 47, 0.8)), url('https://images.unsplash.com/photo-1531366936337-7c912a4589a7?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    margin-top: 40px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    /* The glowing text effect */
    background: linear-gradient(to right, var(--color-aurora-start), var(--color-text-light), var(--color-aurora-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(0, 201, 183, 0.5);
}

.hero-tagline {
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.btn-gold {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--color-gold);
    color: var(--color-bg-main);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    background-color: var(--color-aurora-start);
    color: var(--color-bg-main);
    box-shadow: 0 0 15px var(--color-aurora-start);
}

/* --- Featured Products Grid --- */
.featured-products {
    padding: 80px 0;
    background-color: var(--color-bg-main);
}

.section-title {
    margin-bottom: 50px;
    font-size: 2rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive grid */
    gap: 30px;
}

.product-card {
    background-color: var(--color-bg-secondary);
    padding: 20px;
    text-align: center;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.product-card:hover {
    border-color: var(--color-aurora-start);
    box-shadow: 0 5px 15px rgba(0, 201, 183, 0.2);
}

/* Styling for product images */
.product-image {
    width: 100%; /* Makes the image fill the card width */
    height: 250px; /* Sets a fixed height for uniformity */
    object-fit: cover; /* Ensures the image crops nicely without stretching */
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(197, 163, 88, 0.1); /* Optional subtle gold line */
}

.product-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.price {
    display: block;
    font-size: 1.2rem;
    color: var(--color-text-light);
    margin-bottom: 15px;
}

/* --- Footer --- */
footer {
    background-color: var(--color-bg-secondary);
    padding: 50px 0 20px;
    text-align: center;
    border-top: 1px solid rgba(197, 163, 88, 0.2); /* Subtle gold border */
}

.footer-links {
    margin-bottom: 30px;
}

.footer-links a {
    margin: 0 15px;
    font-size: 0.9rem;
}

.copyright {
    font-size: 0.8rem;
    opacity: 0.6;
}

/* --- Legal Page Styles --- */
.legal-content {
    padding: 180px 0 180px; /* Extra padding for fixed header */
    min-height: 60vh;
}

.legal-content h1 {
    margin-bottom: 30px;
}

.legal-content p {
    margin-bottom: 20px;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
    }
    .nav-links {
        margin-top: 20px;
        gap: 15px;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .halal-banner {
        font-size: 0.8rem;
    }
}