/**
 * Techmeya - Main Stylesheet
 * 
 * A flat, aesthetic design system for Techmeya running gear and services website
 */

/* Variables */
:root {
  /* Colors */
  --techmeya-navy: #1b3c53;
  --techmeya-blue: #456882;
  --techmeya-beige: #d2c1b6;
  --techmeya-cream: #f9f3ef;
  --techmeya-white: #ffffff;

  /* Spacing */
  --techmeya-space-xs: 0.5rem;
  --techmeya-space-sm: 1rem;
  --techmeya-space-md: 2rem;
  --techmeya-space-lg: 4rem;
  --techmeya-space-xl: 8rem;

  /* Typography */
  --techmeya-font-heading: 'Space Grotesk', sans-serif;
  --techmeya-font-body: 'Outfit', sans-serif;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--techmeya-font-body);
  color: var(--techmeya-navy);
  background-color: var(--techmeya-white);
  line-height: 1.5;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--techmeya-font-heading);
  font-weight: 600;
  margin-bottom: var(--techmeya-space-sm);
}

a {
  color: var(--techmeya-blue);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--techmeya-navy);
}

img {
  max-width: 100%;
  height: auto;
}

/* Layout */
.techmeya-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--techmeya-space-sm);
}

.techmeya-section {
  padding: var(--techmeya-space-lg) 0;
}

.techmeya-section-title {
  font-size: 2.5rem;
  margin-bottom: var(--techmeya-space-md);
  text-align: center;
  position: relative;
}

.techmeya-section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background-color: var(--techmeya-beige);
  margin: var(--techmeya-space-sm) auto 0;
}

/* Header Styles */
.techmeya-header {
  position: absolute;
  width: 100%;
  z-index: 100;
  height: 100px;
  overflow: visible;
}

.techmeya-header-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  transform-origin: top center;
  transform: scaleY(0);
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.techmeya-header.scrolled .techmeya-header-backdrop {
  transform: scaleY(1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.techmeya-header-diagonal {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--techmeya-beige);
  clip-path: polygon(0 0, 40% 0, 35% 100%, 0% 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.techmeya-header.scrolled .techmeya-header-diagonal {
  opacity: 0.2;
}

.techmeya-header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  height: 100%;
}

.techmeya-header-left,
.techmeya-header-right {
  flex: 0;
}

.techmeya-header-center {
  flex: 2;
  display: flex;
  align-items: center;
  position: relative;
}

.techmeya-header-line {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: rgba(27, 60, 83, 0.1);
  z-index: -1;
}

.techmeya-logo {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 101;
}

.techmeya-logo-shape {
  width: 36px;
  height: 36px;
  background-color: var(--techmeya-navy);
  border-radius: 8px;
  transform: rotate(45deg);
  margin-right: 12px;
  position: relative;
  overflow: hidden;
}

.techmeya-logo-shape::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  width: 16px;
  height: 16px;
  background-color: var(--techmeya-beige);
  border-radius: 50%;
}

.techmeya-logo-text {
  font-family: var(--techmeya-font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--techmeya-navy);
  margin-right: 20px;
}

.techmeya-logo-text span {
  color: var(--techmeya-beige);
}

.techmeya-nav-primary,
.techmeya-nav-secondary {
  display: flex;
  gap: 32px;
  background-color: var(--techmeya-white);
  padding: 0 24px;
  border-radius: 30px;
  height: 44px;
  align-items: center;
  box-shadow: 0 4px 20px rgba(27, 60, 83, 0.08);
}

.techmeya-nav-primary {
  justify-content: center;
}

.techmeya-nav-secondary {
  justify-content: flex-end;
}

.techmeya-nav-primary a,
.techmeya-nav-secondary a {
  color: var(--techmeya-navy);
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.techmeya-nav-primary a:hover,
.techmeya-nav-secondary a:hover {
  color: var(--techmeya-blue);
}

.techmeya-contact-button {
  background-color: var(--techmeya-navy);
  color: var(--techmeya-white) !important;
  padding: 8px 16px;
  border-radius: 20px;
}

.techmeya-contact-button:hover {
  background-color: var(--techmeya-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(27, 60, 83, 0.2);
}

.techmeya-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 101;
  width: 44px;
  height: 44px;
  position: relative;
}

.techmeya-menu-toggle span {
  position: absolute;
  left: 12px;
  width: 20px;
  height: 2px;
  background-color: var(--techmeya-navy);
  transition: all 0.3s ease;
}

.techmeya-menu-toggle span:nth-child(1) {
  top: 16px;
}

.techmeya-menu-toggle span:nth-child(2) {
  top: 22px;
}

.techmeya-menu-toggle span:nth-child(3) {
  top: 28px;
}

.techmeya-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 22px;
}

.techmeya-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.techmeya-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 22px;
}

.techmeya-mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: var(--techmeya-navy);
  z-index: 100;
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.techmeya-mobile-menu.active {
  right: 0;
}

.techmeya-mobile-menu-inner {
  text-align: center;
  padding: 40px;
  width: 100%;
  max-width: 400px;
}

.techmeya-mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.techmeya-mobile-nav a {
  color: var(--techmeya-white);
  font-size: 1.8rem;
  font-weight: 600;
  font-family: var(--techmeya-font-heading);
  transition: all 0.3s ease;
  transform: translateY(20px);
  opacity: 0;
}

.techmeya-mobile-menu.active .techmeya-mobile-nav a {
  transform: translateY(0);
  opacity: 1;
  transition-delay: calc(0.1s * var(--index, 0));
}

.techmeya-mobile-nav a:hover {
  color: var(--techmeya-beige);
}

.techmeya-mobile-menu-footer {
  margin-top: 60px;
}

.techmeya-mobile-social {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.techmeya-mobile-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--techmeya-white);
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.techmeya-mobile-social a:hover {
  background-color: var(--techmeya-beige);
  color: var(--techmeya-navy);
  transform: translateY(-3px);
}

/* Hero Section */
.techmeya-hero {
  height: 100vh;
  background-color: var(--techmeya-cream);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.techmeya-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--techmeya-navy) 0%, transparent 50%);
  opacity: 0.7;
}

.techmeya-hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.techmeya-hero-title {
  font-size: 4rem;
  margin-bottom: var(--techmeya-space-md);
  color: var(--techmeya-white);
  line-height: 1.1;
}

.techmeya-hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: var(--techmeya-space-md);
  color: var(--techmeya-cream);
}

.techmeya-hero-cta {
  display: inline-block;
  background-color: var(--techmeya-beige);
  color: var(--techmeya-navy);
  padding: var(--techmeya-space-sm) var(--techmeya-space-md);
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.techmeya-hero-cta:hover {
  background-color: var(--techmeya-navy);
  color: var(--techmeya-white);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(27, 60, 83, 0.3);
}

.techmeya-hero-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Footer */
.techmeya-footer {
  background-color: var(--techmeya-cream);
  padding: var(--techmeya-space-md) 0;
}

.techmeya-footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.techmeya-footer-logo {
  font-family: var(--techmeya-font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--techmeya-navy);
}

.techmeya-footer-logo span {
  color: var(--techmeya-blue);
}

.techmeya-footer-nav {
  display: flex;
  gap: var(--techmeya-space-md);
}

.techmeya-footer-nav a {
  color: var(--techmeya-navy);
  font-size: 0.9rem;
}

.techmeya-footer-nav a:hover {
  color: var(--techmeya-blue);
}

.techmeya-footer-copyright {
  font-size: 0.8rem;
  color: var(--techmeya-blue);
  text-align: center;
  margin-top: var(--techmeya-space-sm);
}

/* Privacy Policy Popup */
.techmeya-privacy-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--techmeya-navy);
  color: var(--techmeya-white);
  padding: var(--techmeya-space-md);
  z-index: 1000;
  display: none;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
}

.techmeya-privacy-popup.active {
  display: block;
}

.techmeya-privacy-popup-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--techmeya-space-md);
}

.techmeya-privacy-popup-text {
  flex: 1;
}

.techmeya-privacy-popup-title {
  font-size: 1.2rem;
  margin-bottom: var(--techmeya-space-xs);
  color: var(--techmeya-beige);
}

.techmeya-privacy-popup-description {
  font-size: 0.9rem;
}

.techmeya-privacy-popup-buttons {
  display: flex;
  gap: var(--techmeya-space-sm);
}

.techmeya-privacy-popup-button {
  padding: var(--techmeya-space-xs) var(--techmeya-space-sm);
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.techmeya-privacy-popup-accept {
  background-color: var(--techmeya-beige);
  color: var(--techmeya-navy);
}

.techmeya-privacy-popup-accept:hover {
  background-color: var(--techmeya-cream);
}

.techmeya-privacy-popup-more {
  background-color: transparent;
  color: var(--techmeya-beige);
  border: 1px solid var(--techmeya-beige);
}

.techmeya-privacy-popup-more:hover {
  background-color: rgba(210, 193, 182, 0.1);
}

/* Form Elements */
.techmeya-form-group {
  margin-bottom: var(--techmeya-space-sm);
}

.techmeya-form-label {
  display: block;
  margin-bottom: var(--techmeya-space-xs);
  font-weight: 500;
  color: var(--techmeya-navy);
}

.techmeya-form-input,
.techmeya-form-textarea {
  width: 100%;
  padding: var(--techmeya-space-sm);
  border: 1px solid rgba(27, 60, 83, 0.1);
  border-radius: 4px;
  background-color: var(--techmeya-white);
  color: var(--techmeya-navy);
  font-family: var(--techmeya-font-body);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.techmeya-form-input:focus,
.techmeya-form-textarea:focus {
  outline: none;
  border-color: var(--techmeya-blue);
  box-shadow: 0 0 0 3px rgba(69, 104, 130, 0.1);
}

.techmeya-form-textarea {
  min-height: 150px;
  resize: vertical;
}

.techmeya-form-button {
  display: inline-block;
  background-color: var(--techmeya-navy);
  color: var(--techmeya-white);
  padding: var(--techmeya-space-sm) var(--techmeya-space-md);
  border: none;
  border-radius: 4px;
  font-family: var(--techmeya-font-body);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.techmeya-form-button:hover {
  background-color: var(--techmeya-blue);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(27, 60, 83, 0.2);
}

/* FAQ Accordion */
.techmeya-faq-item {
  margin-bottom: var(--techmeya-space-sm);
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--techmeya-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.techmeya-faq-question {
  padding: var(--techmeya-space-sm);
  background-color: var(--techmeya-white);
  color: var(--techmeya-navy);
  font-weight: 600;
  font-family: var(--techmeya-font-heading);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.techmeya-faq-icon {
  transition: all 0.3s ease;
}

.techmeya-faq-question.active .techmeya-faq-icon {
  transform: rotate(45deg);
}

.techmeya-faq-answer {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.techmeya-faq-answer-content {
  padding: 0 var(--techmeya-space-sm) var(--techmeya-space-sm);
  color: var(--techmeya-blue);
}

.techmeya-faq-question.active + .techmeya-faq-answer {
  max-height: 300px;
}

/* Privacy Policy Page */
.techmeya-privacy-policy {
  padding-top: 120px;
  padding-bottom: var(--techmeya-space-lg);
}

.techmeya-privacy-content {
  max-width: 800px;
  margin: 0 auto;
}

.techmeya-privacy-content h2 {
  color: var(--techmeya-navy);
  margin-top: var(--techmeya-space-md);
  margin-bottom: var(--techmeya-space-sm);
  font-size: 1.5rem;
}

.techmeya-privacy-content h3 {
  color: var(--techmeya-blue);
  margin-top: var(--techmeya-space-sm);
  margin-bottom: var(--techmeya-space-xs);
  font-size: 1.2rem;
}

.techmeya-privacy-content p {
  margin-bottom: var(--techmeya-space-sm);
}

.techmeya-privacy-content ul {
  margin-bottom: var(--techmeya-space-sm);
  padding-left: var(--techmeya-space-md);
}

.techmeya-privacy-content li {
  margin-bottom: var(--techmeya-space-xs);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Utility Classes */
.techmeya-text-center {
  text-align: center;
}

.techmeya-text-left {
  text-align: left;
}

.techmeya-text-right {
  text-align: right;
}

.techmeya-margin-bottom-xs {
  margin-bottom: var(--techmeya-space-xs);
}

.techmeya-margin-bottom-sm {
  margin-bottom: var(--techmeya-space-sm);
}

.techmeya-margin-bottom-md {
  margin-bottom: var(--techmeya-space-md);
}

.techmeya-margin-bottom-lg {
  margin-bottom: var(--techmeya-space-lg);
}

/* Responsive Styles */
@media (max-width: 992px) {
  :root {
    --techmeya-space-lg: 3rem;
    --techmeya-space-xl: 6rem;
  }

  .techmeya-section-title {
    font-size: 2rem;
  }

  .techmeya-hero-title {
    font-size: 3rem;
  }

  .techmeya-hero-subtitle {
    font-size: 1.2rem;
  }

  .techmeya-header-center {
    display: none;
  }

  .techmeya-nav-secondary {
    display: none;
  }

  .techmeya-menu-toggle {
    display: block;
  }

  .techmeya-header-inner {
    justify-content: space-between;
    padding: 10px 0;
  }
}

@media (max-width: 768px) {
  :root {
    --techmeya-space-lg: 3rem;
    --techmeya-space-xl: 6rem;
  }

  .techmeya-section-title {
    font-size: 2rem;
  }

  .techmeya-hero-title {
    font-size: 2.5rem;
  }

  .techmeya-hero-subtitle {
    font-size: 1.1rem;
  }

  .techmeya-hero-image {
    width: 100%;
    opacity: 0.3;
  }

  .techmeya-footer-container {
    flex-direction: column;
    text-align: center;
    gap: var(--techmeya-space-sm);
  }

  .techmeya-footer-nav {
    justify-content: center;
  }

  .techmeya-privacy-popup-container {
    flex-direction: column;
    text-align: center;
  }

  .techmeya-privacy-popup-buttons {
    width: 100%;
    justify-content: center;
  }

  .techmeya-header {
    height: 80px;
  }

  body.menu-open {
    overflow: hidden;
  }
}

@media (max-width: 480px) {
  :root {
    --techmeya-space-md: 1.5rem;
    --techmeya-space-lg: 2.5rem;
  }

  .techmeya-hero-title {
    font-size: 2rem;
  }

  .techmeya-hero-subtitle {
    font-size: 1rem;
  }

  .techmeya-section-title {
    font-size: 1.8rem;
  }

  .techmeya-logo-shape {
    width: 30px;
    height: 30px;
  }

  .techmeya-logo-text {
    font-size: 1.5rem;
  }
}
