/*
Theme Name: Adimark Digital Marketing
Description: Professional digital marketing agency WordPress theme inspired by Gesto design with comprehensive SEO features and modern aesthetics.
Version: 1.2
Author: Adimark
Author URI: https://adimark.in
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: adimark
Tags: business, marketing, seo, agency, responsive, custom-post-types
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
*/

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #2d3748;
  background: #faf7f2;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header Styles */
.site-header {
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  min-height: 80px;
}

.logo {
  display: flex;
  align-items: center;
}

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

.main-navigation {
  display: none;
}

.main-navigation ul {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.main-navigation a {
  text-decoration: none;
  color: #2d3748;
  font-weight: 500;
  font-size: 16px;
  transition: color 0.3s;
  position: relative;
}

.main-navigation a:hover,
.main-navigation a.current {
  color: #ff5722;
}

.header-actions {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #2d3748;
  text-decoration: none;
  font-weight: 500;
}

.header-phone:hover {
  color: #ff5722;
}

.search-icon,
.cart-icon {
  width: 24px;
  height: 24px;
  color: #2d3748;
  cursor: pointer;
  transition: color 0.3s;
}

.search-icon:hover,
.cart-icon:hover {
  color: #ff5722;
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background: white;
  z-index: 60;
  padding: 2rem;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu ul {
  list-style: none;
  margin-top: 2rem;
}

.mobile-menu li {
  margin-bottom: 1.5rem;
}

.mobile-menu a {
  text-decoration: none;
  color: #2d3748;
  font-size: 1.2rem;
  font-weight: 600;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: #ff5722;
  color: white;
}

.btn-primary:hover {
  background: #e64a19;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 87, 34, 0.3);
}

.btn-outline {
  background: transparent;
  color: #ff5722;
  border: 2px solid #ff5722;
}

.btn-outline:hover {
  background: #ff5722;
  color: white;
}

/* Hero Section */
.hero-section {
  background: #faf7f2;
  padding: 4rem 0 6rem;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

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

.hero-text {
  order: 2;
}

.hero-image {
  order: 1;
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  color: #2d3748;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.badge::before {
  content: "✦";
  color: #ff5722;
  font-size: 16px;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: #2d3748;
}

.gradient-text {
  background: linear-gradient(135deg, #ff5722, #ff9800);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.125rem;
  color: #718096;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-features {
  list-style: none;
  margin-bottom: 2.5rem;
}

.hero-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-weight: 500;
  color: #2d3748;
}

.hero-features li::before {
  content: "✓";
  background: #ff5722;
  color: white;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.community-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.community-avatars {
  display: flex;
  margin-right: 0.5rem;
}

.community-avatars img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid white;
  margin-left: -8px;
}

.community-avatars img:first-child {
  margin-left: 0;
}

.community-text {
  font-size: 14px;
  color: #2d3748;
}

.community-text strong {
  display: block;
  font-weight: 600;
}

/* Stats Section */
.stats-section {
  padding: 6rem 0;
  background: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.stat-item {
  text-align: center;
  padding: 2rem;
  border-radius: 20px;
  background: #faf7f2;
  transition: transform 0.3s;
}

.stat-item:hover {
  transform: translateY(-5px);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: #ff5722;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: #2d3748;
  font-weight: 600;
  font-size: 1.1rem;
}

/* Services Section */
.services-section {
  padding: 6rem 0;
  background: #faf7f2;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #2d3748;
}

.section-description {
  font-size: 1.125rem;
  color: #718096;
  max-width: 48rem;
  margin: 0 auto;
  line-height: 1.7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.service-card {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ff5722, #ff9800);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, #ff5722, #ff9800);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #2d3748;
}

.service-description {
  color: #718096;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.service-features {
  list-style: none;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: #2d3748;
}

.service-features li::before {
  content: "✓";
  background: #10b981;
  color: white;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: bold;
}

/* Footer */
.site-footer {
  background: #2d3748;
  color: white;
  padding: 4rem 0 2rem;
}

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

.footer-section h3 {
  margin-bottom: 1.5rem;
  font-weight: 700;
  color: white;
}

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

.footer-section li {
  margin-bottom: 0.75rem;
}

.footer-section a {
  color: #a0aec0;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: #ff5722;
}

.footer-bottom {
  border-top: 1px solid #4a5568;
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  color: #a0aec0;
  font-size: 0.875rem;
}

/* Responsive Design */
@media (min-width: 768px) {
  .main-navigation {
    display: block;
  }

  .header-actions {
    display: flex;
  }

  .mobile-menu-toggle {
    display: none;
  }

  .hero-content {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .hero-text {
    order: 1;
  }

  .hero-image {
    order: 2;
  }

  .hero-title {
    font-size: 3.5rem;
  }

  .logo img {
    height: 50px;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }

  .header-content {
    padding: 1.5rem 0;
  }

  .hero-title {
    font-size: 4rem;
  }
}

/* WordPress specific styles */
.wp-block-image {
  margin: 2rem 0;
}

.aligncenter {
  text-align: center;
}

.alignleft {
  float: left;
  margin-right: 1rem;
}

.alignright {
  float: right;
  margin-left: 1rem;
}

/* Animation classes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Admin bar compatibility */
.admin-bar .site-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

/* Additional WordPress compatibility */
.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 !important;
  width: 1px;
  word-wrap: normal !important;
}

.sticky {
  position: relative;
}

.bypostauthor {
  background: #f8f9fa;
}
