/*
Theme Name: Zitco Trading
Theme URI: https://zitcotrading.com
Author: Zitco Trading
Author URI: https://zitcotrading.com
Description: Professional WordPress theme for Zitco Trading (part of ZITCO Group / ZITCO Private Limited, Hyderabad). Specialists in Import/Export of Medical Equipment, Dental Equipment, Instruments, Supplies and General Trading. Clean blue design. Founder & CEO: Syed Zia ur Rahman.
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zitco-trading
Tags: business, medical, trading, professional, blue, custom-menu, featured-images, responsive-layout
*/

/* ==========================================================================
   CSS Variables - Professional Blue Palette
   ========================================================================== */
:root {
  --primary: #0A2540;
  --primary-dark: #061628;
  --primary-light: #123A5C;
  --accent: #0077B6;
  --accent-hover: #00A8E8;
  --accent-light: #90E0EF;
  --secondary: #023E8A;
  --text: #1A1A2E;
  --text-light: #4A5568;
  --text-muted: #718096;
  --bg: #FFFFFF;
  --bg-alt: #F0F7FA;
  --bg-dark: #0A2540;
  --border: #E2E8F0;
  --success: #10B981;
  --white: #FFFFFF;
  --shadow: 0 4px 20px rgba(10, 37, 64, 0.08);
  --shadow-lg: 0 10px 40px rgba(10, 37, 64, 0.12);
  --radius: 8px;
  --radius-lg: 12px;
  --transition: all 0.3s ease;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --container: 1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-hover);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary);
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  margin-bottom: 0.75rem;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--accent);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

.section-title p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  line-height: 1.4;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 119, 182, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}

.btn-dark {
  background: var(--primary);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--primary-light);
  color: var(--white);
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1.5rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.site-logo-img {
  height: 48px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
}

.site-logo .logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.5px;
}

.site-logo .logo-text {
  display: flex;
  flex-direction: column;
}

.site-logo .logo-text strong {
  font-size: 1.35rem;
  color: var(--primary);
  line-height: 1.2;
  font-weight: 800;
}

.site-logo .logo-text span {
  font-size: 0.7rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.main-nav a {
  color: var(--text);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--accent);
  background: rgba(0, 119, 182, 0.08);
}

.header-cta {
  display: none;
}

@media (min-width: 992px) {
  .header-cta {
    display: block;
  }
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--primary);
}

.mobile-toggle svg {
  width: 28px;
  height: 28px;
}

@media (max-width: 991px) {
  .mobile-toggle {
    display: block;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--border);
  }
  .main-nav.open {
    display: flex;
  }
  .main-nav a {
    width: 100%;
    padding: 0.875rem 1rem;
  }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
  color: var(--white);
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0,168,232,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255,255,255,0.2);
}

.hero h1 {
  color: var(--white);
  font-size: 3rem;
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
}

.hero p {
  color: rgba(255,255,255,0.9);
  font-size: 1.2rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.stat-item {
  text-align: left;
}

.stat-item strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
}

.stat-item span {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
}

@media (max-width: 768px) {
  .hero h1 { font-size: 2.1rem; }
  .hero p { font-size: 1.05rem; }
  .hero { padding: 4rem 0 3.5rem; }
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(145deg, var(--primary), var(--accent));
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image-inner {
  text-align: center;
  color: white;
  padding: 2rem;
}

.about-image-inner .icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.about-content h2 {
  margin-bottom: 1.25rem;
}

.about-content p {
  margin-bottom: 1.25rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.feature-item .check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  margin-top: 2px;
}

.feature-item span {
  font-weight: 500;
  color: var(--text);
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-image {
    min-height: 280px;
  }
}

/* ==========================================================================
   Products / Services
   ========================================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-light);
}

.product-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(0,119,182,0.12), rgba(2,62,138,0.12));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
  color: var(--accent);
}

.product-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.product-card p {
  flex-grow: 1;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.product-card .card-link {
  font-weight: 600;
  color: var(--accent);
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.product-card .card-link:hover {
  gap: 0.6rem;
}

/* ==========================================================================
   Markets Section
   ========================================================================== */
.markets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.market-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.market-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.market-flag {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.market-card h4 {
  margin-bottom: 0.35rem;
  color: var(--primary);
}

.market-card p {
  font-size: 0.9rem;
  margin: 0;
  color: var(--text-muted);
}

/* ==========================================================================
   Why Choose Us
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.why-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.why-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: white;
  box-shadow: 0 8px 25px rgba(0, 119, 182, 0.3);
}

.why-card h3 {
  margin-bottom: 0.75rem;
}

.why-card p {
  font-size: 0.95rem;
  margin: 0;
}

/* ==========================================================================
   CTA Banner
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  color: white;
  margin-bottom: 1rem;
}

.cta-banner p {
  color: rgba(255,255,255,0.9);
  max-width: 560px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

.contact-info h3 {
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-item .icon {
  width: 44px;
  height: 44px;
  background: rgba(0,119,182,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  color: var(--primary);
  margin-bottom: 0.2rem;
}

.contact-item p, .contact-item a {
  color: var(--text-light);
  margin: 0;
  font-size: 0.95rem;
}

.contact-form {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--primary);
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
  background: var(--bg);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,119,182,0.15);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.8);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand .logo-text strong {
  color: white;
  font-size: 1.4rem;
}

.footer-brand p {
  color: rgba(255,255,255,0.7);
  margin-top: 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-col h4 {
  color: white;
  margin-bottom: 1.25rem;
  font-size: 1.1rem;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col a {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: var(--accent-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Page Content (for internal pages)
   ========================================================================== */
.page-header {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 3.5rem 0;
  text-align: center;
}

.page-header h1 {
  color: white;
  margin-bottom: 0.5rem;
}

.page-header p {
  color: rgba(255,255,255,0.85);
  margin: 0;
}

.page-content {
  padding: 4rem 0;
}

.page-content .entry-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-content .entry-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.page-content .entry-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.page-content .entry-content ul li {
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

/* ==========================================================================
   Utilities
   ========================================================================== */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; }

/* WordPress specific */
.aligncenter { display: block; margin: 1.5rem auto; }
.wp-caption { 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;
}
