/* Modern Design Based on Promotional Image - Shared Styles */
:root {
  /* Primary Colors from Image */
  --dark-gray: #1a1a1a;
  --black: #0f0f0f;
  --orange-gradient-start: #ff6b35;
  --orange-gradient-end: #f7931e;
  --yellow-gradient-start: #ffd700;
  --yellow-gradient-end: #ffed4e;

  /* Supporting Colors */
  --white: #ffffff;
  --light-gray: #f5f5f5;
  --medium-gray: #666666;
  --text-dark: #333333;

  /* Legacy colors for compatibility */
  --gold: #ff6b35;
  --dark-gold: #e55a2b;
  --cream: #ffffff;
  --dark-navy: #0f0f0f;
  --light-navy: #1a1a1a;
  --pearl: #f8f6f0;
  --charcoal: #222222;
  --accent-gold: #ffd700;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: linear-gradient(
    180deg,
    var(--black) 0%,
    var(--dark-gray) 50%,
    var(--orange-gradient-start) 100%
  );
  color: var(--white);
  margin: 0;
  padding: 0;
  line-height: 1.6;
  min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  margin: 0 0 1rem 0;
}

/* Modern Header Based on Image */
.gatsby-header {
  background: linear-gradient(180deg, var(--black) 0%, var(--dark-gray) 100%);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: translateY(0);
  opacity: 1;
}

.gatsby-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--gold) 50%,
    transparent 100%
  );
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  font-family: "Poppins", sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--orange-gradient-start);
  transform: translateY(-2px);
}

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

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

/* Hero Section - Split Design Like Image */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    var(--black) 0%,
    var(--dark-gray) 40%,
    rgba(255, 107, 53, 0.1) 80%,
    var(--orange-gradient-start) 100%
  );
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 30% 20%,
      rgba(255, 107, 53, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 80%,
      rgba(255, 215, 0, 0.05) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.hero-content {
  max-width: 800px;
  padding: 0 2rem;
  position: relative;
  z-index: 5;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: linear-gradient(
    135deg,
    var(--white) 0%,
    var(--orange-gradient-start) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Buttons - Orange/Yellow Theme */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  background: linear-gradient(
    135deg,
    var(--orange-gradient-start) 0%,
    var(--yellow-gradient-start) 100%
  );
  color: var(--white);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 107, 53, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--orange-gradient-start);
  border: 2px solid var(--orange-gradient-start);
}

.btn-secondary:hover {
  background: var(--orange-gradient-start);
  color: var(--white);
}

/* Sections */
.section {
  padding: 5rem 0;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

.section h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--orange-gradient-start);
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: 2rem;
}

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

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Cards - Updated for New Theme */
.card {
  background: rgba(26, 26, 26, 0.8);
  border: 1px solid rgba(255, 107, 53, 0.2);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--orange-gradient-start);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card h3 {
  color: var(--orange-gradient-start);
  margin-bottom: 1rem;
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--cream);
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem;
  background: rgba(26, 26, 26, 0.8);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 8px;
  color: var(--cream);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

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

/* Footer */
.footer {
  background: linear-gradient(180deg, var(--black) 0%, var(--dark-gray) 100%);
  border-top: 1px solid rgba(255, 107, 53, 0.3);
  padding: 3rem 0 2rem;
  margin-top: 5rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.footer p {
  margin-bottom: 1rem;
  opacity: 0.8;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.footer-links a {
  color: var(--cream);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--orange-gradient-start);
}

/* Tablet Optimizations */
@media (min-width: 769px) and (max-width: 1023px) {
  .services-section {
    padding: 3rem 0;
  }

  .services-section::before {
    height: 70px;
    top: -70px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 140'%3E%3Cpath d='M0,112L33.3,117.3C66.7,123,133,133,200,128C266.7,123,333,101,400,96C466.7,91,533,101,600,106.7C666.7,112,733,112,800,106.7C866.7,101,933,91,966.7,85.3L1000,80L1000,140L966.7,140C933,140,867,140,800,140C733,140,667,140,600,140C533,140,467,140,400,140C333,140,267,140,200,140C133,140,67,140,33,140L0,140Z' fill='%23ff6b35'/%3E%3C/svg%3E");
  }

  .price-box {
    font-size: 1.375rem;
    padding: 1.125rem 2.25rem;
    margin: 2.5rem 0;
  }

  .free-consultation {
    padding: 1.5rem 2.25rem;
    margin: 1.5rem 0;
    min-width: 200px;
  }

  .free-consultation div:first-child {
    font-size: 1.375rem;
  }

  .free-consultation div:last-child {
    font-size: 0.95rem;
  }

  .star {
    font-size: 1.375rem;
  }
}

/* Desktop Optimizations */
@media (min-width: 1024px) {
  .services-section {
    padding: 4rem 0;
  }

  .services-section::before {
    height: 90px;
    top: -90px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 180'%3E%3Cpath d='M0,144L40,149.3C80,155,160,165,240,160C320,155,400,133,480,128C560,123,640,133,720,138.7C800,144,880,144,960,138.7C1040,133,1120,123,1200,128C1280,133,1360,155,1440,160C1520,165,1600,155,1640,149.3L1680,144L1680,180L1640,180C1600,180,1520,180,1440,180C1360,180,1280,180,1200,180C1120,180,1040,180,960,180C880,180,800,180,720,180C640,180,560,180,480,180C400,180,320,180,240,180C160,180,80,180,40,180L0,180Z' fill='%23ff6b35'/%3E%3C/svg%3E");
  }

  .price-box {
    font-size: 1.5rem;
    padding: 1.25rem 2.5rem;
    margin: 3rem 0;
  }

  .free-consultation {
    padding: 1.75rem 2.75rem;
    margin: 2rem 0;
    min-width: 220px;
  }

  .free-consultation div:first-child {
    font-size: 1.5rem;
  }

  .free-consultation div:last-child {
    font-size: 1rem;
  }

  .star-rating {
    margin: 2rem 0;
  }

  .star {
    font-size: 1.5rem;
  }

  /* Desktop hero section improvements */
  .hero {
    background: linear-gradient(
      180deg,
      var(--black) 0%,
      var(--dark-gray) 30%,
      rgba(255, 107, 53, 0.05) 70%,
      rgba(255, 107, 53, 0.15) 100%
    );
  }

  /* Desktop section spacing */
  .section {
    padding: 6rem 0;
  }
}

/* Large Desktop Optimizations */
@media (min-width: 1440px) {
  .services-section::before {
    height: 110px;
    top: -110px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2000 220'%3E%3Cpath d='M0,176L50,181.3C100,187,200,197,300,192C400,187,500,165,600,160C700,155,800,165,900,170.7C1000,176,1100,176,1200,170.7C1300,165,1400,155,1500,160C1600,165,1700,187,1800,192C1900,197,2000,187,2050,181.3L2100,176L2100,220L2050,220C2000,220,1900,220,1800,220C1700,220,1600,220,1500,220C1400,220,1300,220,1200,220C1100,220,1000,220,900,220C800,220,700,220,600,220C500,220,400,220,300,220C200,220,100,220,50,220L0,220Z' fill='%23ff6b35'/%3E%3C/svg%3E");
  }

  .services-section {
    padding: 5rem 0;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-content {
    padding: 0 1rem;
    height: 60px;
  }

  .nav-links {
    gap: 1rem;
  }

  .hero-content {
    padding: 0 1rem;
  }

  .section {
    padding: 3rem 1rem;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .footer-content {
    padding: 0 1rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }

  /* Mobile adjustments for new design elements */
  .price-box {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
  }

  .free-consultation {
    padding: 1rem 1.5rem;
    min-width: 160px;
  }

  .free-consultation div:first-child {
    font-size: 1.125rem;
  }

  .free-consultation div:last-child {
    font-size: 0.8rem;
  }

  .split-layout {
    grid-template-columns: 1fr;
  }

  .services-section {
    padding: 2rem 0;
  }

  .services-section::before {
    height: 50px;
    top: -50px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 100'%3E%3Cpath d='M0,80L26.7,85.3C53.3,91,107,101,160,96C213,91,267,75,320,69.3C373,64,427,69,480,74.7C533,80,587,85,640,80C693,75,747,59,800,53.3C853,48,907,53,933,55.3L960,58L960,100L933,100C907,100,853,100,800,100C747,100,693,100,640,100C587,100,533,100,480,100C427,100,373,100,320,100C267,100,213,100,160,100C107,100,53,100,27,100L0,100Z' fill='%23ff6b35'/%3E%3C/svg%3E");
  }
}

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

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

/* Image-Inspired Design Elements */
.price-box {
  background: var(--white);
  color: var(--text-dark);
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.25rem;
  display: inline-block;
  margin: 2rem 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.services-section {
  background: linear-gradient(
    135deg,
    var(--orange-gradient-start) 0%,
    var(--yellow-gradient-start) 100%
  ) !important;
  color: var(--white);
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
}

.services-section::before {
  content: "" !important;
  position: absolute;
  top: -80px;
  left: 0;
  right: 0;
  height: 80px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 160'%3E%3Cpath d='M0,128L48,144C96,160,192,192,288,181.3C384,171,480,117,576,122.7C672,128,768,192,864,202.7C960,213,1056,171,1152,165.3C1248,160,1344,192,1392,208L1440,224L1440,160L1392,160C1344,160,1248,160,1152,160C1056,160,960,160,864,160C768,160,672,160,576,160C480,160,384,160,288,160C192,160,96,160,48,160L0,160Z' fill='%23ff6b35'/%3E%3C/svg%3E") !important;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 1;
  animation: wave-flow 20s ease-in-out infinite;
}

@keyframes wave-flow {
  0%,
  100% {
    transform: translateX(0) scaleY(1);
  }
  50% {
    transform: translateX(-2px) scaleY(1.02);
  }
}

.star-rating {
  display: flex;
  gap: 0.25rem;
  justify-content: center;
  margin: 1rem 0;
}

.star {
  color: var(--white);
  font-size: 1.25rem;
}

.free-consultation {
  background: var(--black);
  color: var(--white);
  padding: 1.25rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  text-align: center;
  display: inline-block;
  margin: 1rem 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 10;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  min-width: 180px;
}

.free-consultation:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  background: linear-gradient(135deg, var(--black) 0%, #333333 100%);
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

.dark-section {
  background: var(--black);
  color: var(--white);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.orange-section {
  background: linear-gradient(
    135deg,
    var(--orange-gradient-start) 0%,
    var(--yellow-gradient-start) 100%
  );
  color: var(--white);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Utility Classes */
.text-center {
  text-align: center;
}
.text-gold {
  color: var(--orange-gradient-start);
}
.mb-1 {
  margin-bottom: 0.5rem;
}
.mb-2 {
  margin-bottom: 1rem;
}
.mb-3 {
  margin-bottom: 1.5rem;
}
.mb-4 {
  margin-bottom: 2rem;
}
.mt-1 {
  margin-top: 0.5rem;
}
.mt-2 {
  margin-top: 1rem;
}
.mt-3 {
  margin-top: 1.5rem;
}
.mt-4 {
  margin-top: 2rem;
}
.p-1 {
  padding: 0.5rem;
}
.p-2 {
  padding: 1rem;
}
.p-3 {
  padding: 1.5rem;
}
.p-4 {
  padding: 2rem;
}
