/*
Theme Name: Al Marwa Foodstuff
Theme URI: https://almarwafoodstuff.com/
Author: Antigravity
Author URI: https://almarwafoodstuff.com/
Description: A custom WordPress theme for Al Marwa Foodstuff, inspired by Arham Foodstuff but tailored natively for Al Marwa. Organic tones mapped to luxury grid designs.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: almarwa
Tags: custom-background, custom-logo, custom-menu, featured-images, full-width-template
*/

/* 
 * Variables mimicking AVAS Elementor Builder Output
 */
:root {
    --wp--preset--color--black: #000000;
    --primary: #CDB07E;
    --primary-hover: #CDB083;
    --avas-heading-dark: #383838;
    --avas-section-gray: #f9f9f9;
}

body {
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    color: #666;
    margin: 0;
    padding: 0;
    background-color: #fff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: #000;
    font-weight: 400;
    margin-top: 0;
}

a { text-decoration: none; color: inherit; transition: 0.3s ease; }
a:hover { color: var(--primary-hover); }

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Base Columns scaffolding */
.e-row { display: flex; flex-wrap: wrap; margin-left: -15px; margin-right: -15px; }
.e-col { padding: 0 15px; }
.e-col-100 { width: 100%; }
.e-col-50 { width: 50%; }
.e-col-33 { width: 33.3333%; }
.e-col-25 { width: 25%; }

@media(max-width: 991px) {
    .e-col-33, .e-col-25 { width: 50%; }
}
@media(max-width: 768px) {
    .e-col-50, .e-col-33, .e-col-25 { width: 100%; }
    .mobile-nav-container { 
        display: none; width: 100%; position: absolute; 
        top: 100%; left: 0; background: rgba(0,0,0,0.95); 
        padding: 20px 0; z-index: 1000;
    }
    .mobile-nav-container.active { display: block; }
    .mobile-toggle { display: block !important; }
    .main-menu { flex-direction: column; text-align: center; }
    .main-menu li { margin: 15px 0; }
    .slider-title { font-size: 38px; line-height: 1.2; }
    .slider-subtitle { font-size: 16px; margin-bottom: 20px; text-align: center; }
}

/* WhatsApp Floating Action Button */
.whatsapp-float {
    position: fixed; width: 60px; height: 60px; bottom: 30px; right: 30px;
    background-color: #25d366; color: #FFF; border-radius: 50px;
    text-align: center; font-size: 35px; box-shadow: 2px 2px 15px rgba(0,0,0,0.2);
    z-index: 9999; display: flex; align-items: center; justify-content: center;
    transition: all 0.3s ease;
}
.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: #fff;
}

/* Header */
.main-header {
    position: absolute;
    left: 0; right: 0; top: 0;
    z-index: 999;
    background-color: rgba(0,0,0,0.8);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.header-wrap { display: flex; justify-content: space-between; align-items: center; }

.site-logo, .custom-logo {
    max-height: 60px;
    width: auto;
    display: block;
}

.main-menu { display: flex; list-style: none; margin: 0; padding: 0; }
.main-menu li { margin: 0 15px; position: relative; }
.main-menu li a {
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    padding: 10px 0;
    display: inline-block;
}
.main-menu li:hover a { color: var(--primary-hover); }
.mobile-toggle { font-size: 24px; color: #fff; cursor: pointer; }

/* Sections */
.elementor-section { padding: 90px 0; }
.section-bg-gray { background-color: var(--avas-section-gray); }

/* Typography blocks */
.wp-block-text { text-align: center; max-width: 900px; margin: 0 auto 50px; }
.wp-block-text h2 { font-size: 32px; margin-bottom: 15px; }
.wp-block-text h3 { font-size: 24px; margin-top: 30px; margin-bottom: 15px; }
.wp-block-text p { font-size: 16px; margin-bottom: 20px; color: #666; }
.wp-block-text a { color: var(--primary); }

/* Buttons */
.creative-btn {
    border: 1px solid var(--primary);
    color: var(--primary);
    background: transparent;
    padding: 15px 45px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 14px;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
}
.creative-btn:hover { background: var(--primary); color: #fff; }
.creative-btn.solid { background: var(--primary); color: #fff; border: none; padding: 12px 30px; border-radius: 3px; }

/* AVAS Headings */
.tx-hd-wrap { text-align: left; margin-bottom: 30px; }
.tx-hd-wrap.center { text-align: center; }
.tx-hd-sub {
    font-family: 'Lato', sans-serif;
    font-size: 13px;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.tx-hd-title { font-size: 40px; font-weight: 700; margin-bottom: 20px; }
.tx-hd-desc p { color: #666; margin-bottom: 25px; }

/* Slider Section */
.slider-section {
    height: 100vh;
    min-height: 600px;
    background-image: url('../../uploads/2026/03/almarwa_hero_bg_1773262617610.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.slider-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
}
.slider-content { position: relative; z-index: 10; text-align: center; }
.slider-title { color: #fff; font-size: 65px; line-height: 1.1; margin-bottom: 25px; }
.slider-subtitle {
    color: var(--primary);
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 22px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 40px;
}

/* Video Placeholder */
.video-widget { position: relative; cursor: pointer; }
.video-overlay-play {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 70px; height: 70px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    font-size: 24px; color: #000;
    transition: 0.3s;
}
.video-widget:hover .video-overlay-play { transform: translate(-50%, -50%) scale(1.1); }

/* Counters */
.counter-section { background-color: #1f1d24; padding: 70px 0; }
.counter-item { text-align: center; padding: 20px; }
.counter-item i { font-size: 45px; color: var(--primary); margin-bottom: 15px; display: block; }
.counter-item .number { font-size: 48px; font-weight: 700; color: #fff; line-height: 1; margin-bottom: 10px; }
.counter-item .title { font-family: 'Playfair Display', serif; color: #a3a3a3; font-size: 18px; }

/* Icon Boxes */
.tx-icon-box {
    text-align: center; background: #fff; padding: 40px 20px;
    box-shadow: 0 0 15px rgba(0,0,0,0.04);
    margin-bottom: 30px; transition: 0.3s; height: 100%;
}
.tx-icon-box:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.08); }
.tx-icon-box i { font-size: 50px; color: var(--primary); margin-bottom: 20px; display: block; }
.tx-icon-box h4 { font-size: 22px; font-weight: bold; margin-bottom: 15px; }

/* Portfolio Box */
.tx-portfolio-item { position: relative; overflow: hidden; margin-bottom: 30px; background: #000; }
.tx-portfolio-item img { width: 100%; transition: 0.5s ease; opacity: 0.85; }
.tx-portfolio-item:hover img { opacity: 0.4; transform: scale(1.1); }
.tx-port-content { position: absolute; bottom: -50px; left: 20px; right: 20px; opacity: 0; transition: 0.4s ease; }
.tx-portfolio-item:hover .tx-port-content { bottom: 20px; opacity: 1; }
.tx-port-content h4 { color: #fff; font-size: 20px; margin-bottom: 5px; }
.tx-port-content p { color: #ccc; font-size: 14px; margin-bottom: 15px; }
.tx-port-btn {
    display: inline-flex; width: 40px; height: 40px;
    background: var(--primary); color: #fff;
    align-items: center; justify-content: center; border-radius: 50%;
}
.tx-port-btn:hover { background: #fff; color: var(--primary); }

/* Spices Custom Content Layer */
.spices-box-section {
    background-color: #f6f5f1;
    background-image: url('../../uploads/2026/03/almarwa_hero_bg_1773262617610.png');
    background-size: cover;
    padding: 100px 0;
}
.spices-box-inner {
    background: #fff; padding: 50px; max-width: 500px;
    border-left: 5px solid var(--primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Team Profile Box */
.tx-team-card {
    text-align: center; background: #fff; padding-bottom: 20px;
    margin-bottom: 30px; box-shadow: 0 0 15px rgba(0,0,0,0.04);
}
.tx-team-card img { width: 100%; margin-bottom: 20px; }
.tx-team-name { font-size: 20px; font-weight: 700; margin-bottom: 5px; }
.tx-team-role { color: var(--primary); font-size: 13px; font-weight: 700; text-transform: uppercase; margin-bottom: 15px; }
.tx-team-desc { padding: 0 20px; font-size: 14px; margin-bottom: 20px; }
.tx-team-social a {
    display: inline-flex; width: 35px; height: 35px; border: 1px solid #eee;
    align-items: center; justify-content: center; margin: 0 3px; border-radius: 50%; color: #333;
}
.tx-team-social a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Footer */
#footer {
    background-color: #1A1A1A; border-top: 1px solid #454545;
    padding: 70px 0 20px; color: #a3a3a3;
}
.footer-widget-title { color: #fff; font-size: 20px; margin-bottom: 30px; position: relative; padding-bottom: 15px; }
.footer-widget-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 2px; background: #333; }
.footer-logo { display: block; margin-bottom: 20px; }
.footer-site-logo { max-height: 70px; width: auto; opacity: 0.9; }
.footer-logo:hover .footer-site-logo { opacity: 1; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid #303030; margin-top: 40px; padding-top: 20px; text-align: center; font-size: 14px; }
