/* ========================================
   Prime Choice Trading - Maat.ae Theme
   ======================================== */

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

/* Note: Geom Graphic is a premium font. Using Montserrat as alternative */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

/* ========================================
   CSS Variables - Maat.ae Color Scheme
   ======================================== */
:root {
    /* Colors */
    --primary-text: rgb(45, 45, 45);
    --heading-color: rgb(0, 0, 0);
    --accent-orange: #f0ad4e;
    --accent-blue: rgb(0, 85, 185);
    --light-grey: rgb(236, 236, 236);
    --white: rgb(255, 255, 255);
    --bg-light: #f8f9fa;

    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Buenard', sans-serif;
    --font-heading: 'Montserrat', sans-serif;

    /* Spacing */
    --section-padding: 80px 0;
    --container-padding: 0 20px;
}

/* ========================================
   Reset & Base Styles
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 400;
    color: var(--primary-text);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* ========================================
   Typography
   ======================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--heading-color);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 20px;
}

h1 {
    font-size: 46px;
    font-weight: 700;
}

h2 {
    font-size: 36px;
    font-weight: 600;
}

h3 {
    font-size: 24px;
    font-weight: 600;
}

h4 {
    font-size: 20px;
    font-weight: 500;
}

p {
    font-family: var(--font-secondary);
    margin-bottom: 15px;
}

/* ========================================
   Container & Layout
   ======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

.section {
    padding: var(--section-padding);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    color: var(--accent-orange);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title h3 {
    font-size: 36px;
    color: var(--heading-color);
}

/* ========================================
   Buttons - Maat.ae Style
   ======================================== */
.btn {
    display: inline-block;
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
}

/* Primary Button (Shop Now style) */
.btn-primary {
    background: var(--accent-blue);
    color: var(--white);
    padding: 16px 55px;
    border-radius: 100px;
}

.btn-primary:hover {
    background: #004fa3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 85, 185, 0.3);
}

/* Secondary Button (Learn More style) */
.btn-secondary {
    background: transparent;
    color: var(--heading-color);
    padding: 15px 30px;
    border-radius: 50px;
    border: 2px solid var(--heading-color);
}

.btn-secondary:hover {
    background: var(--heading-color);
    color: var(--white);
}

/* Accent Button (Details style) */
.btn-accent {
    background: var(--accent-orange);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 500;
}

.btn-accent:hover {
    background: #d89537;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(240, 173, 78, 0.3);
}

/* Top Bar */
.top-bar {
    background-color: var(--heading-color);
    color: var(--white);
    padding: 8px 0;
    font-size: 13px;
    position: relative;
    z-index: 1001;
}

.top-bar-container {
    padding: 0 20px;
    display: flex;
    justify-content: flex-end;
    /* Align contact info to right */
    align-items: center;
}

.top-contact {
    display: flex;
    gap: 20px;
    align-items: center;
}

.top-contact a {
    color: var(--light-grey);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s;
}

.top-contact a:hover {
    color: var(--accent-orange);
}

.email-icon {
    font-size: 18px;
    /* Increase icon size */
    margin-right: 2px;
}

.top-contact .divider {
    color: rgba(255, 255, 255, 0.2);
}

/* Sticky Header Wrapper */
.sticky-header-wrapper {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

/* ========================================
   Header & Navigation
   ======================================== */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    /* Position sticky moved to wrapper */
    padding: 20px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--accent-orange);
}

.nav-menu {
    display: flex;
    gap: 35px;
    align-items: center;
    justify-content: flex-end;
    /* Align menu items to the right */
}

.nav-menu a {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 500;
    /* Increased weight slightly */
    color: var(--primary-text);
    position: relative;
    text-transform: uppercase;
    /* Make menu items stand out */
    font-size: 14px;
    /* Adjust size for uppercase */
    letter-spacing: 0.5px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-orange);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--accent-orange);
}



/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--heading-color);
    transition: all 0.3s ease;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    /* Smooth transition */
}

.slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Dark overlay for text readability */
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 3;
    /* Content above slider and overlay */
    width: 100%;
}

.hero-content {
    max-width: 600px;
}

.hero-content h1 {
    color: var(--white);
    font-size: 46px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--light-grey);
}

/* ========================================
   Product Grid
   ======================================== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: var(--bg-light);
    padding: 20px;
}

.product-info {
    padding: 25px;
}

.product-info h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--heading-color);
}

.product-info p {
    font-size: 14px;
    color: var(--primary-text);
    margin-bottom: 20px;
}

/* ========================================
   Category Section
   ======================================== */
.category-section {
    background: var(--bg-light);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.category-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.category-card:hover {
    border-color: var(--accent-orange);
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(240, 173, 78, 0.2);
}

.category-icon {
    font-size: 48px;
    color: var(--accent-orange);
    margin-bottom: 20px;
}

.category-card h4 {
    font-size: 20px;
    margin-bottom: 15px;
}

.category-card p {
    font-size: 14px;
    color: var(--primary-text);
}

/* ========================================
   Contact Section
   ======================================== */
.contact-section {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.contact-card {
    text-align: center;
    padding: 30px;
}

.contact-icon {
    font-size: 40px;
    color: var(--accent-orange);
    margin-bottom: 20px;
}

.contact-card h4 {
    font-size: 20px;
    margin-bottom: 15px;
}

.contact-card p {
    font-size: 16px;
    color: var(--primary-text);
    line-height: 1.8;
}

.contact-card a {
    color: var(--accent-blue);
    font-weight: 500;
}

.contact-card a:hover {
    color: var(--accent-orange);
}

/* ========================================
   Footer
   ======================================== */
footer {
    background: var(--heading-color);
    color: var(--light-grey);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 20px;
}

.footer-section p,
.footer-section a {
    font-size: 14px;
    color: var(--light-grey);
    line-height: 1.8;
    display: block;
    margin-bottom: 10px;
}

.footer-section a:hover {
    color: var(--accent-orange);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(236, 236, 236, 0.1);
    font-size: 14px;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 768px) {

    /* Typography */
    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 28px;
    }

    h3 {
        font-size: 20px;
    }

    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 70%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        padding: 40px 20px;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        align-items: flex-start;
        justify-content: flex-start;
        /* Reset alignment for mobile */
    }

    .top-bar {
        display: none;
        /* Hide top bar on mobile */
    }

    .nav-menu.active {
        right: 0;
    }

    .menu-toggle {
        display: flex;
    }

    /* Hero */
    .hero {
        height: 400px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

    /* Sections */
    .section {
        padding: 50px 0;
    }

    /* Product Grid */
    .product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Category Grid */
    .category-grid {
        grid-template-columns: 1fr;
    }

    /* Contact Grid */
    .contact-grid {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .btn-primary {
        padding: 14px 40px;
    }

    .hero {
        height: 350px;
    }

    .hero-content h1 {
        font-size: 28px;
    }
}