/*
Theme Name: American Brand Code
Theme URI: https://abc2host.com
Author: ABC
Author URI: https://abc2host.com
Description: A modern, single-page corporate theme for American Brand Code Company — brand identity, web infrastructure, and regional media buying across Egypt, Kuwait, Saudi Arabia, and the UAE. Built with Tailwind CSS, Oswald & Inter fonts, a sticky nav, animated client logo ticker, package/bundle pricing sections, portfolio grid, FAQ accordion, and a WordPress-native AJAX contact form that emails info@abc2host.com.
Version: 1.0
Requires at least: 6.0
Requires PHP: 7.4
Tested up to: 6.6
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: american-brand-code
Tags: one-page, custom-menu, custom-logo, translation-ready, corporate

American Brand Code is a bespoke WordPress theme converted from a static
single-page HTML site. Do not remove this header.
*/

/* ==========================================================================
   Base / smooth scroll / selection
   ========================================================================== */
html { scroll-behavior: smooth; }
body { background-color: #FFFFFF; }
::selection { background-color: #E85D0C; color: #FFFFFF; }

/* ==========================================================================
   Decorative rules
   ========================================================================== */
.rule { display: block; width: 56px; height: 3px; background-color: #E85D0C; }
.rule-gold { display: block; width: 56px; height: 3px; background-color: #B8892B; }

.foot-line {
  display: flex; align-items: center; gap: 16px;
  color: #6E6862; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
}
.foot-line::after { content: ''; flex: 1; height: 1px; background-color: #E85D0C; }

/* ==========================================================================
   FAQ accordion (native <details>)
   ========================================================================== */
details > summary { list-style: none; }
details > summary::-webkit-details-marker { display: none; }
details[open] .faq-icon { transform: rotate(45deg); }

/* ==========================================================================
   Portfolio tiles
   ========================================================================== */
.client-tile { aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.client-tile img { transition: transform 0.5s ease; }
.client-card:hover .client-tile img { transform: scale(1.08); }

/* ==========================================================================
   Our Clients — infinite RTL logo ticker
   ========================================================================== */
.clients-track-wrap {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
}
.clients-track {
  display: flex;
  width: max-content;
  animation: clients-scroll-rtl 32s linear infinite;
}
.clients-track-wrap:hover .clients-track,
.clients-track-wrap:focus-within .clients-track {
  animation-play-state: paused;
}
@keyframes clients-scroll-rtl {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.client-logo-slide {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 96px;
  margin: 0 8px;
}
@media (min-width: 640px) { .client-logo-slide { width: 200px; margin: 0 12px; } }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ==========================================================================
   Accessibility
   ========================================================================== */
a:focus-visible, button:focus-visible, summary:focus-visible, select:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid #E85D0C;
  outline-offset: 3px;
}

/* Phone/WhatsApp numbers keep a stable, non-wrapping left-to-right layout. */
.phone-number {
  unicode-bidi: isolate;
  display: inline-block;
}

#top { position: relative; background-color: #ffffff; }

/* ==========================================================================
   Contact form submit states
   ========================================================================== */
#cf-status[data-state="sending"] { color: #6E6862; }
#cf-status[data-state="success"] { color: #1c7c30; }
#cf-status[data-state="error"] { color: #c0392b; }
#contactForm button[disabled] { opacity: .6; cursor: not-allowed; }

/* ==========================================================================
   WordPress core alignment helpers (kept minimal — layout is Tailwind-driven)
   ========================================================================== */
.alignwide { max-width: 1200px; margin-left: auto; margin-right: auto; }
.alignfull { max-width: 100%; }
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute;
  width: 1px; word-wrap: normal !important;
}
