/*
Theme Name: TRWAGA Official
Theme URI: https://example.com/
Author: TRWAGA
Description: TRWAGA static site converted to WordPress theme (keeps original design).
Version: 1.0.0
Text Domain: trwaga
*/

/* This file intentionally minimal. Main styles are loaded from /css/style.css to preserve original structure. */


.nav-order-btn {
  background: #e10600;
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: bold;
  text-decoration: none;
  margin-right: 12px;
  transition: 0.3s ease;
}

.nav-order-btn:hover {
  background: #ff2a1a;
  transform: scale(1.05);
}
/* =========================
   Mobile Header Fix
========================= */

/* بالجوال: نخفي زر الاتصال من الهيدر */
@media (max-width: 768px){
  .nav-call-btn,
  .header-call,
  .call-btn {
    display: none !important;
  }
}

/* نتأكد اللوقو ما ينضغط */
@media (max-width: 768px){
  .header-logo,
  .site-logo,
  .logo {
    position: relative;
    z-index: 5;
    max-width: 140px;
  }
}


/* أزرار داخل قائمة الجوال */
.mobile-only{
  display: none;
}

@media (max-width: 768px){
  .mobile-only{
    display: flex;
    justify-content: center;
    align-items: center;

    margin: 10px 16px;
    padding: 12px;
    border-radius: 12px;

    font-weight: 800;
    text-align: center;
  }

  .mobile-only.nav-order-btn{
    background: #e10600;
    color: #fff;
  }

  .mobile-only.nav-call-btn{
    background: #111;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
  }
}


/* =========================
   Mobile Header CTA Fix
========================= */

/* اخفاء زر الاتصال في الهيدر على الجوال */
@media (max-width: 768px){
  .nav-cta .nav-call-btn{
    display: none !important;
  }
}

/* أزرار داخل قائمة الموبايل */
.mobile-only{
  display: none;
}

@media (max-width: 768px){
  .mobile-only{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 16px;
    padding: 12px 14px;
    border-radius: 14px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    gap: 8px;
  }

  .mobile-only.nav-order-btn{
    background: #e10600;
    color: #fff;
  }

  .mobile-only.nav-call-btn{
    background: rgba(0,0,0,0.55);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.22);
    backdrop-filter: blur(10px);
  }
}




/* Base button */

/* ===== Floating actions (bottom-left) ===== */
.floating-actions{
  position: fixed;
  left: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 99999;
}

/* IMPORTANT: target only our buttons to avoid FontAwesome .fab conflict */
.floating-actions > a.fab{
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: block;              /* avoid inherited flex rules */
  position: relative;          /* for absolute centering of icon */
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(0,0,0,.25);
}

/* Force icon/text to be perfectly centered مهما كانت أي ستايلات ثانية */
.floating-actions > a.fab > i,
.floating-actions > a.fab > span{
  position: absolute !important;
  inset: 0 !important;         /* top/right/bottom/left = 0 */
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  color: #fff !important;
}

/* sizes */
.floating-actions > a.fab > i{ font-size: 26px !important; }
.floating-actions > a.fab > span{
  font-size: 26px !important;
  font-weight: 800 !important;
  font-family: Arial, sans-serif !important;
}

/* colors */
.fab-whatsapp{ background:#25D366; }
.fab-call{ background:#E53935; }
.fab-deliverena{ background:#FF6A00; }

/* hover */
.floating-actions > a.fab:hover{
  transform: scale(1.06);
  transition: transform .15s ease;
}


/* ===== Franchise form: make selects/options readable ===== */
.trw-inv select,
.trw-inv option{
  color:#111 !important;
  background:#fff !important;
}

.trw-inv select{
  border: 1px solid rgba(255,255,255,.18) !important;
  border-radius: 14px;
}
.trw-inv select:focus{
  outline: none;
  box-shadow: 0 0 0 3px rgba(255,255,255,.10);
}


/* ===== Navbar spacing + prevent stacked items ===== */
header .nav,
header nav,
header .nav-links{
  display: flex;
  align-items: center;
  gap: 14px;
}

header .nav a,
header nav a{
  white-space: nowrap; /* يمنع كلمة "من نحن" تصير سطرين */
}

/* CTA buttons spacing */
header .nav-order-btn,
header .nav-cta{
  margin-inline-start: 12px !important;
  padding: 10px 16px;
}

/* إذا عندك كبسات داخل nav على شكل أزرار */
header .nav-order-btn{
  line-height: 1.2;
}
