/*
Theme Name: AdPulse Media
Theme URI: https://adpulse.com
Author: AdPulse
Author URI: https://adpulse.com
Description: A premium digital agency theme for AdPulse Media Agency.
Version: 1.0.0
Text Domain: adpulse
*/

:root {
  --primary-red: #E61A23;
  --dark-bg: #111111;
  --dark-gray: #333333;
  --bg-light: #F9F9F9;
  --white: #FFFFFF;
  --border-color: #EEEEEE;
  --text-light: #555555;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Outfit', -apple-system, sans-serif; background: linear-gradient(135deg, #ffffff 0%, #f4f6f8 100%); color: var(--dark-bg); overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.text-center { text-align: center; }
.section-subtitle { color: var(--primary-red); font-weight: 700; letter-spacing: 2px; font-size: 0.9rem; text-transform: uppercase; margin-bottom: 10px; display: block; }
.section-title { font-size: 2.5rem; font-weight: 800; color: var(--dark-bg); margin-bottom: 40px; }
.btn-primary { background-color: var(--primary-red); color: white; padding: 12px 28px; border-radius: 30px; font-weight: 600; transition: all 0.3s ease; border: none; display: inline-flex; align-items: center; gap: 8px; }
.btn-primary:hover { background-color: #c9161e; transform: translateY(-2px); box-shadow: 0 10px 20px rgba(230, 26, 35, 0.2); }
.btn-outline { background-color: transparent; color: var(--dark-bg); padding: 12px 28px; border-radius: 30px; font-weight: 600; border: 2px solid var(--dark-bg); transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 8px; }
.btn-outline:hover { background-color: var(--dark-bg); color: white; }

/* Header */
.header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; padding: 20px 0; transition: all 0.3s ease; background-color: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-color); }
.navContainer { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.5rem; color: var(--dark-bg); line-height: 1.1; }
.logoIcon { width: 40px; height: 40px; border-radius: 50%; background: radial-gradient(circle, #333 0%, #111 100%); color: var(--primary-red); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 900; border: 1px solid var(--primary-red); }
.navLinks { display: flex; gap: 30px; }
.navLinks a { font-weight: 600; font-size: 0.9rem; color: var(--dark-bg); transition: color 0.3s ease; letter-spacing: 0.5px; }
.navLinks a:hover { color: var(--primary-red); }

/* Hero */
.heroSection { padding: 160px 0 100px; background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%); min-height: 90vh; display: flex; align-items: center; position: relative; overflow: hidden; }
.heroBg1 { position: absolute; top: -10%; right: -5%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(230, 26, 35, 0.05) 0%, rgba(255,255,255,0) 70%); border-radius: 50%; z-index: 0; }
.heroContainer { display: flex; flex-direction: column; align-items: center; text-align: center; justify-content: center; position: relative; z-index: 1; width: 100%; gap: 3rem;}
.heroContent { width: 100%; max-width: 800px; display: flex; flex-direction: column; align-items: center; }
.heroTitle { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; line-height: 1.1; margin-bottom: 1.5rem; color: var(--dark-bg); text-transform: uppercase; }
.heroSubtitle { font-size: clamp(1.2rem, 3vw, 1.5rem); font-weight: 600; margin-bottom: 1rem; color: var(--dark-gray); }
.heroDesc { font-size: 1.1rem; color: var(--text-light); margin-bottom: 2.5rem; line-height: 1.6; max-width: 600px; }
.ctaGroup { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.heroImage { display: flex; justify-content: center; align-items: center; width: 100%; }
.logoBig { position: relative; width: 100%; max-width: 400px; aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.logoCircle { width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, #333 0%, #111 100%); position: relative; display: flex; align-items: center; justify-content: center; box-shadow: 0 20px 40px rgba(230, 26, 35, 0.2); margin-bottom: 2rem; overflow: hidden; }
@media (min-width: 768px) { .logoCircle { width: 250px; height: 250px; } }
.logoLines { position: absolute; inset: 0; background: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255,255,255,0.05) 10px, rgba(255,255,255,0.05) 20px); }
.logoA { font-size: 6rem; font-weight: 900; color: var(--primary-red); z-index: 2; font-family: 'Outfit', sans-serif; text-shadow: 0 10px 20px rgba(0,0,0,0.5); }
@media (min-width: 768px) { .logoA { font-size: 8rem; } }
.logoTextBig { text-align: center; }
.logoTextBig h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); color: var(--primary-red); letter-spacing: 2px; margin-bottom: 5px; }
.logoTextBig p { font-size: clamp(0.8rem, 2vw, 1rem); letter-spacing: 3px; color: var(--dark-gray); font-weight: 600; }
.badge { background-color: #2D6A4F; color: white; padding: 5px 15px; border-radius: 20px; font-size: 0.9rem; font-weight: 600; margin-top: 10px; display: inline-block; }

/* Services Carousel */
.services-carousel-container { width: 100%; overflow: hidden; position: relative; padding: 20px 0; margin-top: 3rem; margin-bottom: 5rem; }
.services-carousel-container::before, .services-carousel-container::after { content: ''; position: absolute; top: 0; width: 100px; height: 100%; z-index: 2; pointer-events: none; }
.services-carousel-container::before { left: 0; background: linear-gradient(to right, #f8f9fa, transparent); }
.services-carousel-container::after { right: 0; background: linear-gradient(to left, #f8f9fa, transparent); }
.servicesGrid { display: flex; width: max-content; animation: scrollCarousel 25s linear infinite; gap: 20px; padding-left: 20px; }
.servicesGrid:hover { animation-play-state: paused; }
@keyframes scrollCarousel {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 10px)); }
}
.serviceCard { width: 300px; flex-shrink: 0; text-align: center; padding: 2.5rem 1.5rem; border-radius: 12px; border: 1px solid var(--border-color); background-color: var(--white); transition: all 0.3s ease; cursor: pointer; display: flex; flex-direction: column; align-items: center; }
.serviceCard { text-align: center; padding: 2.5rem 1.5rem; border-radius: 12px; border: 1px solid var(--border-color); background-color: var(--white); transition: all 0.3s ease; cursor: pointer; display: flex; flex-direction: column; align-items: center; height: 100%; }
.serviceCard:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.05); border-color: rgba(230, 26, 35, 0.3); }
.iconWrapper { width: 60px; height: 60px; margin: 0 auto 1.5rem; display: flex; align-items: center; justify-content: center; color: var(--primary-red); }
.serviceTitle { font-size: 1.2rem; margin-bottom: 1rem; color: var(--dark-bg); }
.serviceDesc { font-size: 0.9rem; color: var(--text-light); margin-bottom: 1.5rem; flex-grow: 1; }
.learnMore { color: var(--primary-red); font-weight: 600; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }

/* Stats */
.statsSection { display: flex; justify-content: center; align-items: center; padding: 3rem 0; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); flex-wrap: wrap; gap: 3rem; margin-bottom: 2rem; text-align: center;}
.statItem { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.statIcon { color: var(--primary-red); }
.statValue { font-size: 2.5rem; font-weight: 800; color: var(--dark-bg); line-height: 1.1; }
.statLabel { font-size: 0.85rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }

/* Process */
.processTimeline { display: flex; flex-direction: column; align-items: center; gap: 3rem; margin-top: 4rem; position: relative; }
@media (min-width: 768px) { .processTimeline { flex-direction: row; justify-content: space-between; gap: 0; } .processTimeline::before { content: ''; position: absolute; top: 45px; left: 10%; right: 10%; height: 2px; background-color: rgba(230, 26, 35, 0.2); z-index: 0; } }
.processStep { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; z-index: 1; padding: 0 1rem; width: 100%; max-width: 300px; }
.processIconContainer { width: 90px; height: 90px; margin: 0 auto 1.5rem; background-color: var(--white); border: 2px solid var(--primary-red); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary-red); box-shadow: 0 0 0 10px var(--white); position: relative; }
.stepNumber { font-size: 1.5rem; font-weight: 800; color: var(--primary-red); margin-bottom: 0.5rem; }
.stepTitle { font-size: 1.2rem; color: var(--dark-bg); margin-bottom: 0.5rem; text-transform: uppercase; }
.stepDesc { font-size: 0.9rem; color: var(--text-light); max-width: 200px; margin: 0 auto; }

.ctaBanner { background: linear-gradient(135deg, rgba(230, 26, 35, 0.1) 0%, rgba(255,255,255,0) 100%); border-radius: 12px; padding: 3rem; display: flex; flex-direction: column; text-align: center; justify-content: center; align-items: center; gap: 2rem; margin-top: 5rem; border-top: 4px solid var(--primary-red); }
.ctaText h2 { font-size: clamp(1.5rem, 4vw, 2rem); color: var(--dark-bg); margin-bottom: 0.5rem; text-transform: uppercase; }
.ctaText p { color: var(--text-light); font-size: 1.1rem; }

/* Footer */
.footer { background-color: var(--white); padding: 80px 0 30px; border-top: 1px solid var(--border-color); text-align: center; }
.footerTop { display: grid; grid-template-columns: 1fr; gap: 40px; margin-bottom: 60px; justify-items: center; align-items: start; }
@media (min-width: 768px) { .footerTop { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footerTop { grid-template-columns: 2fr 1fr 1fr 1fr; text-align: center; justify-items: center; } }

.footerBrand { display: flex; flex-direction: column; align-items: center; max-width: 300px; }
.logo { display: flex; flex-direction: column; align-items: center; gap: 10px; font-weight: 800; font-size: 1.5rem; color: var(--dark-bg); line-height: 1.1; }
.brandDesc { color: var(--text-light); font-size: 0.9rem; line-height: 1.6; margin-top: 1rem;}
.footerLinks h4, .footerServices h4, .footerContact h4 { font-size: 1.1rem; color: var(--dark-bg); margin-bottom: 1.5rem; text-transform: uppercase; }
.footerLinks ul, .footerServices ul { list-style: none; padding: 0; }
.footerLinks li, .footerServices li { margin-bottom: 0.8rem; }
.footerLinks a, .footerServices a { color: var(--text-light); font-size: 0.9rem; transition: color 0.3s; }
.footerLinks a:hover, .footerServices a:hover { color: var(--primary-red); }
.footerContact { display: flex; flex-direction: column; align-items: center; }
.contactItem { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-bottom: 1.5rem; color: var(--text-light); font-size: 0.9rem; }
.contactItem i { color: var(--primary-red); margin-bottom: 5px; }
.socialIcons { display: flex; justify-content: center; gap: 15px; margin-top: 1.5rem; }
.socialIcon { width: 40px; height: 40px; border-radius: 50%; background-color: var(--bg-light); display: flex; align-items: center; justify-content: center; color: var(--dark-gray); transition: all 0.3s ease; }
.socialIcon:hover { background-color: var(--primary-red); color: white; transform: translateY(-3px); }
.footerBottom { display: flex; flex-direction: column; justify-content: center; align-items: center; padding-top: 30px; border-top: 1px solid var(--border-color); color: var(--text-light); font-size: 0.85rem; gap: 15px; }
.bottomLinks { display: flex; justify-content: center; gap: 20px; }

@media (max-width: 992px) {
  .navLinks { display: none; }
  .navAction { display: none; }
  .header .logo { flex-direction: row; }
}
