/* ===================================
   LOHAKAR - CONTACT PAGE STYLES
   Breathtaking Industrial Design
   ===================================

   TABLE OF CONTENTS:
   1. Contact Hero Section - Dramatic Split Layout
   2. Contact Methods Grid
   3. Expertise Showcase
   4. Final CTA Section
   5. Responsive Design

   =================================== */

/* ===================================
   1. CONTACT HERO SECTION
   =================================== */

.contact-hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
  position: relative;
  overflow: hidden;
  margin-top: calc(var(--header-height) * -1);
  padding-top: var(--header-height);
  display: flex;
  align-items: center;
}

/* Animated steel texture background */
.contact-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(
      45deg,
      transparent 48%,
      rgba(192, 57, 43, 0.03) 49%,
      rgba(192, 57, 43, 0.03) 51%,
      transparent 52%
    ),
    linear-gradient(
      -45deg,
      transparent 48%,
      rgba(192, 57, 43, 0.03) 49%,
      rgba(192, 57, 43, 0.03) 51%,
      transparent 52%
    );
  background-size: 40px 40px;
  animation: steelPattern 20s linear infinite;
  pointer-events: none;
}

@keyframes steelPattern {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 40px 40px;
  }
}

.contact-hero__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  position: relative;
  z-index: 2;
}

.contact-hero__content {
  color: white;
}

.contact-hero__badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: rgba(192, 57, 43, 0.15);
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 2rem;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}

.contact-hero__badge::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(192, 57, 43, 0.3),
    transparent
  );
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  to {
    left: 100%;
  }
}

.contact-hero__title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  color: white;
}

.contact-hero__title-highlight {
  background: linear-gradient(
    135deg,
    var(--secondary-color),
    var(--accent-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  position: relative;
}

.contact-hero__description {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
}

.contact-hero__visual {
  position: relative;
  height: 400px;
  display: none;
  overflow: visible;
}

.contact-hero__accent-box {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
}

.contact-hero__accent-box svg,
.contact-hero__accent-box img {
  width: 100%;
  height: 100%;
  filter: brightness(0) invert(1);
  opacity: 0.6;
}

.contact-hero__accent-box--1 {
  width: 80px;
  height: 80px;
  top: 8%;
  left: 5%;
  animation: floatRandom1 8s ease-in-out infinite;
}

.contact-hero__accent-box--2 {
  width: 90px;
  height: 90px;
  top: 15%;
  left: 45%;
  animation: floatRandom2 10s ease-in-out infinite;
}

.contact-hero__accent-box--3 {
  width: 90px;
  height: 90px;
  top: 10%;
  right: 8%;
  animation: floatRandom3 12s ease-in-out infinite;
}

.contact-hero__accent-box--4 {
  width: 85px;
  height: 85px;
  top: 55%;
  left: 12%;
  animation: floatRandom4 9s ease-in-out infinite;
}

.contact-hero__accent-box--5 {
  width: 90px;
  height: 90px;
  top: 60%;
  right: 35%;
  animation: floatRandom5 11s ease-in-out infinite;
}

.contact-hero__accent-box--6 {
  width: 85px;
  height: 85px;
  bottom: 5%;
  right: 10%;
  animation: floatRandom6 13s ease-in-out infinite;
}

.contact-hero__accent-box--7 {
  width: 65px;
  height: 65px;
  top: 35%;
  left: 70%;
  animation: floatRandom7 14s ease-in-out infinite;
}

@keyframes floatRandom1 {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  15% {
    transform: translate(18px, -15px) rotate(5deg);
  }
  35% {
    transform: translate(-12px, -20px) rotate(-7deg);
  }
  55% {
    transform: translate(-20px, 12px) rotate(-8deg);
  }
  75% {
    transform: translate(15px, 18px) rotate(6deg);
  }
  90% {
    transform: translate(10px, -8px) rotate(3deg);
  }
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

@keyframes floatRandom2 {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  20% {
    transform: translate(-20px, 16px) rotate(-6deg);
  }
  40% {
    transform: translate(14px, 18px) rotate(8deg);
  }
  60% {
    transform: translate(18px, -14px) rotate(7deg);
  }
  80% {
    transform: translate(-16px, -10px) rotate(-5deg);
  }
  95% {
    transform: translate(-8px, 12px) rotate(-3deg);
  }
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

@keyframes floatRandom3 {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  18% {
    transform: translate(19px, 17px) rotate(7deg);
  }
  38% {
    transform: translate(12px, -16px) rotate(5deg);
  }
  58% {
    transform: translate(-17px, -15px) rotate(-6deg);
  }
  78% {
    transform: translate(-14px, 14px) rotate(-8deg);
  }
  92% {
    transform: translate(10px, 8px) rotate(4deg);
  }
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

@keyframes floatRandom4 {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  22% {
    transform: translate(-18px, -16px) rotate(-7deg);
  }
  42% {
    transform: translate(-10px, 14px) rotate(-5deg);
  }
  62% {
    transform: translate(20px, 13px) rotate(6deg);
  }
  82% {
    transform: translate(16px, -12px) rotate(8deg);
  }
  94% {
    transform: translate(-9px, -6px) rotate(-4deg);
  }
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

@keyframes floatRandom5 {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  17% {
    transform: translate(17px, 15px) rotate(6deg);
  }
  37% {
    transform: translate(-14px, 18px) rotate(-7deg);
  }
  57% {
    transform: translate(-19px, -13px) rotate(-8deg);
  }
  77% {
    transform: translate(12px, -16px) rotate(5deg);
  }
  91% {
    transform: translate(8px, 10px) rotate(4deg);
  }
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

@keyframes floatRandom6 {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  19% {
    transform: translate(-19px, -17px) rotate(-8deg);
  }
  39% {
    transform: translate(16px, -13px) rotate(6deg);
  }
  59% {
    transform: translate(18px, 16px) rotate(7deg);
  }
  79% {
    transform: translate(-15px, 14px) rotate(-5deg);
  }
  93% {
    transform: translate(-9px, -11px) rotate(-3deg);
  }
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

@keyframes floatRandom7 {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  16% {
    transform: translate(14px, -18px) rotate(7deg);
  }
  34% {
    transform: translate(-17px, -12px) rotate(-6deg);
  }
  54% {
    transform: translate(-13px, 19px) rotate(-8deg);
  }
  74% {
    transform: translate(19px, 11px) rotate(5deg);
  }
  89% {
    transform: translate(10px, -14px) rotate(4deg);
  }
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

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

/* ===================================
   2. CONTACT METHODS - MODERN CARD GRID
   =================================== */

.contact-methods {
  padding: 8rem 2rem;
  background: #0a0a0a;
  position: relative;
  overflow: hidden;
}

.contact-methods::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(192, 57, 43, 0.02) 2px,
      rgba(192, 57, 43, 0.02) 4px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 2px,
      rgba(192, 57, 43, 0.02) 2px,
      rgba(192, 57, 43, 0.02) 4px
    );
  pointer-events: none;
  opacity: 0.5;
}

.contact-methods__container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  position: relative;
  z-index: 2;
}

/* Contact Card Base */
.contact-card {
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.02)
  );
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.1);
  padding: 3rem;
  border-radius: 0;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 450px;
}

.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(192, 57, 43, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.6s ease;
}

.contact-card:hover {
  transform: translateY(-15px);
  border-color: var(--secondary-color);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(192, 57, 43, 0.2);
}

.contact-card:hover::before {
  opacity: 1;
}

/* Card-Specific Colors */
.contact-card--phone {
  border-color: rgba(192, 57, 43, 0.3);
}

.contact-card--phone:hover {
  border-color: var(--secondary-color);
  box-shadow: 0 25px 60px rgba(192, 57, 43, 0.3),
    0 0 0 1px var(--secondary-color);
}

.contact-card--email {
  border-color: rgba(230, 126, 34, 0.3);
}

.contact-card--email:hover {
  border-color: #e67e22;
  box-shadow: 0 25px 60px rgba(230, 126, 34, 0.3), 0 0 0 1px #e67e22;
}

.contact-card--location {
  border-color: rgba(22, 160, 133, 0.3);
}

.contact-card--location:hover {
  border-color: #16a085;
  box-shadow: 0 25px 60px rgba(22, 160, 133, 0.3), 0 0 0 1px #16a085;
}

/* Glow Effect */
.contact-card__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
  z-index: 0;
}

.contact-card--phone .contact-card__glow {
  background: radial-gradient(circle, rgba(192, 57, 43, 0.4), transparent 70%);
}

.contact-card--email .contact-card__glow {
  background: radial-gradient(circle, rgba(230, 126, 34, 0.4), transparent 70%);
}

.contact-card--location .contact-card__glow {
  background: radial-gradient(circle, rgba(22, 160, 133, 0.4), transparent 70%);
}

.contact-card:hover .contact-card__glow {
  opacity: 0.4;
}

/* Card Number */
.contact-card__number {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: clamp(6rem, 10vw, 10rem);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.03);
  line-height: 1;
  z-index: 1;
  letter-spacing: -0.05em;
  pointer-events: none;
  transition: all 0.6s ease;
}

.contact-card:hover .contact-card__number {
  color: rgba(255, 255, 255, 0.06);
}

/* Icon Wrapper */
.contact-card__icon-wrapper {
  position: relative;
  width: 120px;
  height: 120px;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-card__icon-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.1);
  transition: all 0.6s ease;
}

.contact-card--phone .contact-card__icon-wrapper::before {
  border-color: rgba(192, 57, 43, 0.3);
}

.contact-card--email .contact-card__icon-wrapper::before {
  border-color: rgba(230, 126, 34, 0.3);
}

.contact-card--location .contact-card__icon-wrapper::before {
  border-color: rgba(22, 160, 133, 0.3);
}

.contact-card:hover .contact-card__icon-wrapper {
  transform: scale(1.15) rotate(360deg);
}

.contact-card--phone:hover .contact-card__icon-wrapper::before {
  border-color: var(--secondary-color);
  box-shadow: 0 0 40px rgba(192, 57, 43, 0.5);
}

.contact-card--email:hover .contact-card__icon-wrapper::before {
  border-color: #e67e22;
  box-shadow: 0 0 40px rgba(230, 126, 34, 0.5);
}

.contact-card--location:hover .contact-card__icon-wrapper::before {
  border-color: #16a085;
  box-shadow: 0 0 40px rgba(22, 160, 133, 0.5);
}

/* Icon SVG */
.contact-card__icon {
  width: 50px;
  height: 50px;
  color: white;
  filter: drop-shadow(0 0 15px currentColor);
  transition: all 0.6s ease;
  z-index: 2;
}

.contact-card--phone .contact-card__icon {
  color: var(--secondary-color);
}

.contact-card--email .contact-card__icon {
  color: #e67e22;
}

.contact-card--location .contact-card__icon {
  color: #16a085;
}

.contact-card:hover .contact-card__icon {
  filter: drop-shadow(0 0 30px currentColor);
}

/* Content Section */
.contact-card__content {
  z-index: 2;
  width: 100%;
}

.contact-card__label {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.contact-card__label::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: var(--secondary-color);
  transition: width 0.6s ease;
}

.contact-card--email .contact-card__label::after {
  background: #e67e22;
}

.contact-card--location .contact-card__label::after {
  background: #16a085;
}

.contact-card:hover .contact-card__label::after {
  width: 80px;
}

.contact-card__value {
  display: block;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 900;
  color: white;
  line-height: 1.3;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  transition: all 0.4s ease;
  text-decoration: none;
}

.contact-card--location .contact-card__value {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

.contact-card__value:hover {
  color: var(--secondary-color);
  transform: scale(1.05);
}

.contact-card--email .contact-card__value:hover {
  color: #e67e22;
}

.contact-card--location .contact-card__value:hover {
  color: #16a085;
}

.contact-card__meta {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
  letter-spacing: 0.5px;
}

/* Responsive Breakpoints */
@media (max-width: 768px) {
  .contact-methods {
    padding: 5rem 1.5rem;
  }

  .contact-card {
    min-height: 400px;
    padding: 2.5rem 1.5rem;
  }

  .contact-card__number {
    font-size: 5rem;
    top: 1rem;
    right: 1rem;
  }

  .contact-card__icon-wrapper {
    width: 100px;
    height: 100px;
  }

  .contact-card__icon {
    width: 40px;
    height: 40px;
  }
}

@media (min-width: 769px) {
  .contact-methods__container {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-card:last-child {
    grid-column: 1 / -1;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (min-width: 1024px) {
  .contact-methods__container {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-card:last-child {
    grid-column: auto;
    max-width: none;
  }
}

/* ===================================
   4. EXPERTISE SHOWCASE
   =================================== */

.contact-expertise {
  padding: 8rem 2rem;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  position: relative;
  overflow: hidden;
}

.contact-expertise::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(to left, rgba(192, 57, 43, 0.05), transparent);
  pointer-events: none;
}

.contact-expertise__header {
  text-align: center;
  margin-bottom: 5rem;
  position: relative;
  z-index: 2;
}

.contact-expertise__title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: white;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.contact-expertise__divider {
  width: 100px;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--secondary-color),
    var(--accent-color)
  );
  margin: 0 auto;
}

.contact-expertise__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.expertise-item {
  position: relative;
  padding: 3rem 2rem 3rem 7rem;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.expertise-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(
    180deg,
    var(--secondary-color),
    var(--accent-color)
  );
  transition: height 0.5s ease;
}

.expertise-item:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(192, 57, 43, 0.3);
}

.expertise-item:hover::before {
  height: 100%;
}

.expertise-item__number {
  position: absolute;
  top: 2rem;
  left: 2rem;
  font-size: 3rem;
  font-weight: 900;
  color: var(--secondary-color);
  opacity: 0.3;
  line-height: 1;
}

.expertise-item__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.expertise-item__text {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
}

/* ===================================
   4. FINAL CTA SECTION
   =================================== */

.contact-final-cta {
  padding: 10rem 2rem;
  background: var(--bg-color);
  position: relative;
  overflow: hidden;
}

.contact-final-cta::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(192, 57, 43, 0.1), transparent 70%);
  pointer-events: none;
}

.contact-final-cta__content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.contact-final-cta__badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: rgba(192, 57, 43, 0.1);
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.contact-final-cta__title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.contact-final-cta__subtitle {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  color: var(--text-light);
  margin-bottom: 3rem;
  line-height: 1.8;
}

.btn--large {
  padding: 1.25rem 3rem;
  font-size: 1.125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}

.btn--large::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.5s, height 0.5s;
}

.btn--large:hover::before {
  width: 300px;
  height: 300px;
}

/* ===================================
   5. RESPONSIVE DESIGN
   =================================== */

/* Tablets (768px+) */
@media (min-width: 768px) {
  .contact-hero__container {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .contact-hero__visual {
    display: block;
  }

  .contact-methods__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-expertise__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

/* Desktop (992px+) */
@media (min-width: 992px) {
  .contact-hero__container {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .contact-hero__visual {
    display: block;
  }

  .contact-methods__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }

  .contact-expertise__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

/* Large Desktop (1200px+) */
@media (min-width: 1200px) {
  .contact-hero__container {
    padding: 6rem 2rem;
  }

  .contact-methods {
    padding: 10rem 2rem;
  }

  .contact-expertise {
    padding: 10rem 2rem;
  }
}

/* ===================================
   END OF CONTACT PAGE STYLES
   =================================== */
