/*
Theme Name: WPDevDuo Portfolio
Description: A modern portfolio theme for WordPress developers, featuring animated backgrounds, responsive design, and custom post types for portfolio management.
Version: 1.0
Author: WPDevDuo
Text Domain: wpdevduo
*/

:root {
  --primary: #a4004f;
  --primary-light: #c60061;
  --primary-dark: #8a0043;
  --secondary: #230011;
  --secondary-light: #3a001c;
  --tertiary: #f5f5f5;
  --accent: #ff6b6b;
  --accent-light: #ff8e8e;
  --light: #ffffff;
  --dark: #1a1a1a;
  --text: #333333;
  --text-light: #666666;
  --background: #ffffff;
  --success: #48bb78;
  --gradient-1: linear-gradient(135deg, #a4004f 0%, #230011 100%);
  --gradient-2: linear-gradient(135deg, #a4004f 0%, #ff6b6b 100%);
  --gradient-3: linear-gradient(135deg, #230011 0%, #3a001c 100%);
  --gradient-bg: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
}

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

body {
  font-family: "Open Sans", sans-serif;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--background);
  overflow-x: hidden;
  cursor: default;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Animated Background Bubbles */
.bubbles {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  background: rgba(164, 0, 79, 0.1);
  opacity: 0;
  animation: float 15s infinite;
}

@keyframes float {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 0.5;
  }
  90% {
    opacity: 0.3;
  }
  100% {
    transform: translateY(-100vh) scale(1);
    opacity: 0;
  }
}

/* Fairy Dust Cursor Effect */
#fairy-dust {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
}

.cursor-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  animation: fadeOut 1s forwards;
}

@keyframes fadeOut {
  to {
    opacity: 0;
  }
}

/* Header Styles */
header {
  background-color: rgba(245, 245, 245, 0.95);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
}

header.scrolled {
  padding: 5px 0;
  background-color: rgba(245, 245, 245, 0.98);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  transition: all 0.4s ease;
}

.logo {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo span {
  color: var(--secondary);
  margin-left: 4px;
}

.logo-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--gradient-2);
  border-radius: 50%;
  margin-left: 5px;
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-item {
  margin-left: 30px;
  position: relative;
}

.nav-link {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
  font-size: 16px;
  position: relative;
  padding: 5px 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--gradient-2);
  border-radius: 10px;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

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

.hamburger {
  display: none;
  cursor: pointer;
  background: var(--gradient-1);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: white;
  margin: 2px 0;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  padding: 180px 0 100px;
  background: var(--gradient-bg);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: var(--gradient-1);
  opacity: 0.1;
  animation: float 8s ease-in-out infinite;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: var(--gradient-2);
  opacity: 0.1;
  animation: float 10s ease-in-out infinite;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  color: var(--primary);
  margin-bottom: 20px;
  line-height: 1.2;
  animation: fadeInUp 1s ease;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--secondary);
  margin-bottom: 30px;
  animation: fadeInUp 1s ease 0.2s;
  animation-fill-mode: both;
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 40px;
  color: var(--text);
  animation: fadeInUp 1s ease 0.4s;
  animation-fill-mode: both;
}

.hero-btns {
  display: flex;
  justify-content: center;
  gap: 20px;
  animation: fadeInUp 1s ease 0.6s;
  animation-fill-mode: both;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(164, 0, 79, 0.3);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
  z-index: 1;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(164, 0, 79, 0.4);
  background-color: var(--primary-light);
}

.btn i {
  margin-left: 8px;
  transition: transform 0.3s;
}

.btn:hover i {
  transform: translateX(4px);
}

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

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

/* Services Section */
.services {
  padding: 100px 0;
  background-color: var(--tertiary);
  position: relative;
}

.section-title {
  text-align: center;
  font-size: 2.8rem;
  color: var(--primary);
  margin-bottom: 60px;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-2);
  border-radius: 10px;
}

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

.service-card {
  background-color: white;
  border-radius: 15px;
  padding: 40px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: var(--gradient-1);
  opacity: 0.05;
  transition: height 0.5s ease;
  z-index: -1;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.service-card:hover::before {
  height: 100%;
}

.service-icon {
  font-size: 2.8rem;
  margin-bottom: 25px;
  display: inline-block;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.service-description {
  margin-bottom: 20px;
  color: var(--text-light);
}

.service-time {
  display: flex;
  align-items: center;
  color: var(--primary);
  font-weight: 600;
}

.service-time i {
  margin-right: 8px;
}

/* Process Section */
.process {
  padding: 100px 0;
  background: white;
}

.process-steps {
  display: flex;
  justify-content: space-between;
  margin-top: 50px;
  flex-wrap: wrap;
  position: relative;
}

.process-steps::before {
  content: "";
  position: absolute;
  top: 50px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--primary-light), var(--primary));
  z-index: 1;
}

.step {
  flex: 1;
  min-width: 250px;
  text-align: center;
  padding: 20px;
  position: relative;
  z-index: 2;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--gradient-1);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.step-title {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--primary);
}

/* Portfolio Section */
.portfolio {
  padding: 100px 0;
  background-color: var(--tertiary);
}

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

.portfolio-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transform: scale(1);
  transition: all 0.4s ease;
}

.portfolio-item:hover {
  transform: scale(1.03);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.portfolio-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.5s;
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(164, 0, 79, 0.8), rgba(35, 0, 17, 0.8));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.4s;
  padding: 20px;
  text-align: center;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-item:hover .portfolio-img {
  transform: scale(1.1);
}

.portfolio-title {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 10px;
  transform: translateY(20px);
  transition: transform 0.4s;
}

.portfolio-category {
  color: white;
  transform: translateY(20px);
  transition: transform 0.4s 0.1s;
}

.portfolio-item:hover .portfolio-title,
.portfolio-item:hover .portfolio-category {
  transform: translateY(0);
}

/* About Section */
.about {
  padding: 100px 0;
  background: white;
}

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

.about-text h3 {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 20px;
  line-height: 1.3;
}

.about-text p {
  margin-bottom: 20px;
  color: var(--text-light);
  line-height: 1.8;
}

.team-members {
  display: flex;
  gap: 30px;
  margin-top: 30px;
}

.team-member {
  text-align: center;
  background: var(--tertiary);
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.member-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid var(--primary);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.member-name {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 5px;
}

.member-role {
  color: var(--secondary);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 10px;
}

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

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stat {
  background: var(--tertiary);
  padding: 25px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.stat:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  background: var(--gradient-1);
  color: white;
}

.stat:hover h3 {
  color: white;
}

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

/* Stats Section */
.stats {
  padding: 80px 0;
  background: var(--gradient-1);
  color: white;
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2000 1500'%3E%3Cdefs%3E%3CradialGradient id='a' gradientUnits='objectBoundingBox'%3E%3Cstop offset='0' stop-color='%23FFFFFF'/%3E%3Cstop offset='1' stop-color='%23FFFFFF' stop-opacity='0'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cpath fill='url(%23a)' d='M1400,750h500C1871,344,1647,28,1400,750z' opacity='0.05'/%3E%3C/svg%3E");
  animation: rotate 30s linear infinite;
  opacity: 0.1;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.stat-item {
  padding: 20px;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: white;
}

.stat-title {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* CTA Section */
.cta {
  padding: 100px 0;
  background: var(--gradient-2);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2000 1500'%3E%3Cdefs%3E%3CradialGradient id='a' gradientUnits='objectBoundingBox'%3E%3Cstop offset='0' stop-color='%23FFFFFF'/%3E%3Cstop offset='1' stop-color='%23FFFFFF' stop-opacity='0'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cpath fill='url(%23a)' d='M1400,750h500C1871,344,1647,28,1400,750z' opacity='0.1'/%3E%3C/svg%3E");
  animation: rotate 30s linear infinite;
  opacity: 0.2;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-title {
  font-size: 2.8rem;
  margin-bottom: 20px;
  line-height: 1.3;
}

.cta-description {
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 1.2rem;
  opacity: 0.9;
}

.cta .btn {
  background: white;
  color: var(--primary);
  font-weight: 700;
}

.cta .btn:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  background: var(--tertiary);
}

/* Contact Section */
.contact {
  padding: 100px 0;
  background-color: var(--tertiary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-1);
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-input {
  padding: 15px 20px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(164, 0, 79, 0.1);
}

textarea.form-input {
  min-height: 150px;
  resize: vertical;
}

/* Footer */
footer {
  background-color: var(--secondary);
  color: white;
  padding: 70px 0 20px;
  position: relative;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
  text-align: center;
}

.footer-column {
  flex: 1;
  min-width: 200px;
}

.footer-title {
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: var(--primary-light);
}

.footer-links {
  list-style: none;
}

.footer-link {
  margin-bottom: 12px;
}

.footer-link a {
  color: #ddd;
  text-decoration: none;
  transition: color 0.3s;
  display: inline-block;
}

.footer-link a:hover {
  color: var(--primary-light);
  transform: translateX(5px);
}

.social-links {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.social-link {
  width: 45px;
  height: 45px;
  border: 1px solid #555;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  color: #ddd;
  text-decoration: none;
  font-size: 1.1rem;
}

.social-link:hover {
  background: var(--gradient-1);
  border-color: transparent;
  color: white;
  transform: translateY(-3px);
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #444;
  color: #aaa;
  font-size: 0.9rem;
}

/* Animations */
@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

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

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 3rem;
  }

  .section-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 992px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .section-title {
    font-size: 2.2rem;
  }

  .process-steps::before {
    display: none;
  }

  .step {
    margin-bottom: 30px;
  }

  .team-members {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: white;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 60px;
    transition: left 0.4s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-item {
    margin: 15px 0;
    text-align: center;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .hero {
    padding: 150px 0 80px;
  }

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

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .process-steps {
    flex-direction: column;
  }

  .step {
    margin-bottom: 40px;
  }

  .hero-btns {
    flex-direction: column;
    align-items: center;
  }

  .section-title {
    font-size: 1.8rem;
    margin-bottom: 40px;
  }

  .services,
  .process,
  .portfolio,
  .about,
  .stats,
  .cta,
  .contact {
    padding: 70px 0;
  }

  .service-card,
  .stat,
  .team-member,
  .contact-item {
    padding: 25px 20px;
  }

  .about-stats {
    grid-template-columns: 1fr;
    gap: 15px;
  }

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

  .stat-number {
    font-size: 2.5rem;
  }

  .cta-title {
    font-size: 2rem;
  }

  .cta-description {
    font-size: 1rem;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .social-links {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .container {
    width: 95%;
    padding: 0 10px;
  }

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

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-btns {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
    justify-content: center;
    margin-bottom: 10px;
  }

  .services-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .section-title::after {
    width: 60px;
    bottom: -10px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .stat-item {
    padding: 15px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .cta-title {
    font-size: 1.8rem;
  }

  .contact-form {
    padding: 20px 15px;
  }

  .form-input {
    padding: 12px 15px;
  }

  .footer-column {
    min-width: 100%;
  }
}

@media (max-width: 400px) {
  .hero-title {
    font-size: 1.6rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .service-title,
  .step-title,
  .portfolio-title {
    font-size: 1.3rem;
  }

  .service-icon {
    font-size: 2.2rem;
  }

  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .member-img {
    width: 100px;
    height: 100px;
  }

  .stat h3 {
    font-size: 2rem;
  }

  .cta-title {
    font-size: 1.6rem;
  }
}

/* Touch device optimizations */
@media (hover: none) {
  .service-card:hover,
  .portfolio-item:hover,
  .team-member:hover,
  .stat:hover,
  .contact-item:hover,
  .social-link:hover {
    transform: none;
  }

  .portfolio-overlay {
    opacity: 1;
    background: linear-gradient(rgba(164, 0, 79, 0.7), rgba(35, 0, 17, 0.7));
  }

  .portfolio-title,
  .portfolio-category {
    transform: translateY(0);
  }

  .nav-link::after {
    display: none;
  }
}

/* Reduced motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .bubble,
  .cursor-dot {
    display: none;
  }
}

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

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

.alignwide {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.alignfull {
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* WordPress admin bar adjustment */
body.admin-bar header {
  top: 32px;
}

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