/*
Theme Name: Pro Marketing Solution
Theme URI: https://promarketingsolution.com
Author: Pro Marketing Solution
Author URI: https://promarketingsolution.com
Description: Professional digital marketing agency theme with Google Ads, Meta Ads, and analytics services showcase
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pro-marketing-solution
Domain Path: /languages
Requires at least: 5.0
Requires PHP: 7.4
*/

/* ============================================
   RESET & BASE STYLES
   ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #7C3AED;
  --primary-light: #a78bfa;
  --secondary: #FBBF24;
  --secondary-light: #fcd34d;
  --accent: #06b6d4;
  --dark: #1f2937;
  --light: #f9fafb;
  --border: #e5e7eb;
  --text: #374151;
  --text-light: #6b7280;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background-color: #fff;
}

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

a:hover {
  color: var(--primary-light);
}

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.row-2 {
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: bold;
  color: var(--primary);
}

.logo img {
  height: 40px;
  width: auto;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

nav a {
  color: var(--text);
  font-weight: 500;
}

nav a:hover {
  color: var(--primary);
}

.header-buttons {
  display: flex;
  gap: 15px;
}

.btn {
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-light);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.btn-secondary {
  background: var(--secondary);
  color: #000;
}

.btn-secondary:hover {
  background: var(--secondary-light);
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

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

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

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(251, 191, 36, 0.1) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 30px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hero img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2.5rem;
  }
}

/* ============================================
   SECTION STYLES
   ============================================ */

section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--dark);
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services {
  background: #f9fafb;
}

.service-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-card-content {
  padding: 30px;
}

.service-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--dark);
}

.service-card p {
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.7;
}

.service-card a {
  color: var(--primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.features {
  background: #fff;
}

.feature-item {
  padding: 30px;
  background: #f9fafb;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: var(--primary);
  color: #fff;
}

.feature-item h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-item p {
  color: var(--text-light);
  line-height: 1.6;
}

.feature-item:hover p {
  color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   PORTFOLIO SECTION
   ============================================ */

.portfolio {
  background: #f9fafb;
}

.case-study {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.case-study:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.case-study img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.case-study-content {
  padding: 30px;
}

.case-study h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--dark);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 20px;
}

.stat-box {
  background: #f9fafb;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-light);
}

.case-study p {
  color: var(--text-light);
  margin-bottom: 15px;
  line-height: 1.7;
}

.portfolio-stats {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(251, 191, 36, 0.1) 100%);
  border-radius: 12px;
  padding: 50px 30px;
  margin-top: 60px;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  text-align: center;
}

.stat-item h4 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
}

.stat-item p {
  color: var(--text);
  font-weight: 600;
}

/* ============================================
   CONSULTATION SECTION
   ============================================ */

.consultation {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff;
  padding: 60px 0;
}

.consultation-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.consultation h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.consultation p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  opacity: 0.95;
}

.consultation ul {
  list-style: none;
  margin-bottom: 30px;
}

.consultation li {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 1rem;
}

.consultation li:before {
  content: "✓";
  font-weight: bold;
  font-size: 1.3rem;
  color: var(--secondary);
}

.consultation-box {
  background: #fff;
  color: var(--text);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.consultation-box h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
}

.consultation-item {
  padding: 15px;
  background: #f9fafb;
  border-radius: 8px;
  margin-bottom: 15px;
}

.consultation-item h4 {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

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

@media (max-width: 768px) {
  .consultation-content {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff;
  text-align: center;
  padding: 80px 0;
}

.cta h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.cta p {
  font-size: 1.1rem;
  margin-bottom: 40px;
  opacity: 0.95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  background: #1f2937;
  color: #fff;
  padding: 50px 0 20px;
}

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

.footer-section h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-section p {
  color: #d1d5db;
  line-height: 1.7;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 12px;
}

.footer-section a {
  color: #d1d5db;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 30px;
  text-align: center;
  color: #9ca3af;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
  nav ul {
    display: none;
  }

  .header-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  section {
    padding: 50px 0;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .row {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons .btn {
    width: 100%;
  }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-center {
  text-align: center;
}

.mt-20 {
  margin-top: 20px;
}

.mb-20 {
  margin-bottom: 20px;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
