/* xiquextech - Main Stylesheet */

:root {
  /* Color palette */
  --xiquextech-primary: #384b70;
  --xiquextech-secondary: #507687;
  --xiquextech-light: #fcfaee;
  --xiquextech-accent: #b8001f;
  --xiquextech-white: #ffffff;

  /* Spacing variables */
  --xiquextech-space-xs: 0.5rem;
  --xiquextech-space-sm: 1rem;
  --xiquextech-space-md: 2rem;
  --xiquextech-space-lg: 4rem;
  --xiquextech-space-xl: 6rem;

  /* Font sizes */
  --xiquextech-font-xs: 0.875rem;
  --xiquextech-font-sm: 1rem;
  --xiquextech-font-md: 1.25rem;
  --xiquextech-font-lg: 1.75rem;
  --xiquextech-font-xl: 2.5rem;

  /* Border radius */
  --xiquextech-border-radius: 0.375rem;
}

/* Import custom fonts */
@font-face {
  font-family: 'Montserrat';
  src: url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');
}

@font-face {
  font-family: 'Playfair Display';
  src: url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&display=swap');
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--xiquextech-light);
  color: var(--xiquextech-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Playfair Display', serif;
  margin-bottom: var(--xiquextech-space-sm);
  color: var(--xiquextech-primary);
  font-weight: 600;
  line-height: 1.3;
}

h1 {
  font-size: var(--xiquextech-font-xl);
  margin-bottom: var(--xiquextech-space-md);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

h2 {
  font-size: var(--xiquextech-font-lg);
  margin-bottom: var(--xiquextech-space-md);
  position: relative;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 3.5rem;
  height: 0.15rem;
  background-color: var(--xiquextech-accent);
}

h3 {
  font-size: var(--xiquextech-font-md);
  margin-bottom: var(--xiquextech-space-sm);
}

p {
  margin-bottom: var(--xiquextech-space-md);
  font-size: var(--xiquextech-font-sm);
}

a {
  color: var(--xiquextech-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--xiquextech-accent);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.xiquextech-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--xiquextech-space-sm);
}

.xiquextech-section {
  padding: var(--xiquextech-space-lg) 0;
}

.xiquextech-text-center {
  text-align: center;
}

.xiquextech-btn {
  display: inline-block;
  background-color: var(--xiquextech-primary);
  color: var(--xiquextech-white);
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--xiquextech-border-radius);
  font-size: var(--xiquextech-font-sm);
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  font-weight: 500;
}

.xiquextech-btn:hover {
  background-color: var(--xiquextech-accent);
  color: var(--xiquextech-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.xiquextech-btn-outline {
  background-color: transparent;
  color: var(--xiquextech-primary);
  border: 2px solid var(--xiquextech-primary);
}

.xiquextech-btn-outline:hover {
  background-color: var(--xiquextech-primary);
  color: var(--xiquextech-white);
}

/* Header styles */
.xiquextech-header {
  background-color: var(--xiquextech-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.xiquextech-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--xiquextech-space-sm) 0;
}

.xiquextech-logo {
  font-family: 'Playfair Display', serif;
  font-size: var(--xiquextech-font-lg);
  font-weight: 700;
  color: var(--xiquextech-primary);
  text-decoration: none;
}

.xiquextech-logo span {
  color: var(--xiquextech-accent);
}

.xiquextech-nav-list {
  display: flex;
  list-style: none;
  gap: var(--xiquextech-space-md);
}

.xiquextech-nav-link {
  color: var(--xiquextech-primary);
  font-weight: 500;
  position: relative;
}

.xiquextech-nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--xiquextech-accent);
  transition: width 0.3s ease;
}

.xiquextech-nav-link:hover::after {
  width: 100%;
}

.xiquextech-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.xiquextech-burger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--xiquextech-primary);
  transition: all 0.3s ease;
}

/* Hero section */
.xiquextech-hero {
  background-color: var(--xiquextech-primary);
  color: var(--xiquextech-white);
  padding: var(--xiquextech-space-xl) 0;
  position: relative;
  overflow: hidden;
}

.xiquextech-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background-color: var(--xiquextech-secondary);
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
  z-index: 1;
}

.xiquextech-hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.xiquextech-hero h1 {
  color: var(--xiquextech-white);
  margin-bottom: var(--xiquextech-space-md);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.xiquextech-hero p {
  color: var(--xiquextech-light);
  margin-bottom: var(--xiquextech-space-md);
  font-size: var(--xiquextech-font-md);
}

.xiquextech-hero-btn {
  background-color: var(--xiquextech-accent);
  margin-right: var(--xiquextech-space-sm);
}

/* About section */
.xiquextech-about {
  padding: var(--xiquextech-space-xl) 0;
}

.xiquextech-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--xiquextech-space-lg);
  align-items: center;
}

.xiquextech-about-image {
  position: relative;
  border-radius: var(--xiquextech-border-radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.xiquextech-about-image img {
  transition: transform 0.5s ease;
}

.xiquextech-about-image:hover img {
  transform: scale(1.05);
}

/* Services section */
.xiquextech-services {
  background-color: var(--xiquextech-white);
  padding: var(--xiquextech-space-xl) 0;
}

.xiquextech-services-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--xiquextech-space-lg);
}

.xiquextech-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--xiquextech-space-md);
}

.xiquextech-service-card {
  background-color: var(--xiquextech-light);
  border-radius: var(--xiquextech-border-radius);
  padding: var(--xiquextech-space-md);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.xiquextech-service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.xiquextech-service-icon {
  width: 60px;
  height: 60px;
  background-color: var(--xiquextech-primary);
  color: var(--xiquextech-white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: var(--xiquextech-space-sm);
}

.xiquextech-service-icon svg {
  width: 30px;
  height: 30px;
}

/* Products section */
.xiquextech-products {
  padding: var(--xiquextech-space-xl) 0;
  background-color: var(--xiquextech-light);
}

.xiquextech-products-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--xiquextech-space-lg);
}

.xiquextech-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--xiquextech-space-md);
}

.xiquextech-pricing-card {
  background-color: var(--xiquextech-white);
  border-radius: var(--xiquextech-border-radius);
  padding: var(--xiquextech-space-md);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  position: relative;
  transition: transform 0.3s ease;
}

.xiquextech-pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.xiquextech-pricing-popular {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--xiquextech-accent);
  color: var(--xiquextech-white);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: var(--xiquextech-font-xs);
  font-weight: 600;
}

.xiquextech-pricing-header {
  padding-bottom: var(--xiquextech-space-sm);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  margin-bottom: var(--xiquextech-space-sm);
}

.xiquextech-price {
  font-size: var(--xiquextech-font-xl);
  font-weight: 700;
  color: var(--xiquextech-primary);
  margin-bottom: var(--xiquextech-space-sm);
}

.xiquextech-price span {
  font-size: var(--xiquextech-font-sm);
  font-weight: 400;
  color: var(--xiquextech-secondary);
}

.xiquextech-pricing-features {
  list-style: none;
  margin-bottom: var(--xiquextech-space-md);
  text-align: left;
}

.xiquextech-pricing-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.xiquextech-pricing-features li::before {
  content: '✓';
  color: var(--xiquextech-secondary);
  margin-right: 0.5rem;
  font-weight: bold;
}

/* Testimonials section */
.xiquextech-testimonials {
  background-color: var(--xiquextech-primary);
  color: var(--xiquextech-white);
  padding: var(--xiquextech-space-xl) 0;
}

.xiquextech-testimonials h2 {
  color: var(--xiquextech-white);
  text-align: center;
}

.xiquextech-testimonials h2::after {
  background-color: var(--xiquextech-light);
  left: 50%;
  transform: translateX(-50%);
}

.xiquextech-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--xiquextech-space-md);
  margin-top: var(--xiquextech-space-lg);
}

.xiquextech-testimonial-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: var(--xiquextech-space-md);
  border-radius: var(--xiquextech-border-radius);
  position: relative;
}

.xiquextech-testimonial-card::before {
  content: '"';
  position: absolute;
  top: -1.5rem;
  left: 1rem;
  font-size: 5rem;
  color: rgba(255, 255, 255, 0.2);
  font-family: 'Playfair Display', serif;
}

.xiquextech-testimonial-content {
  margin-bottom: var(--xiquextech-space-sm);
}

.xiquextech-testimonial-author {
  display: flex;
  align-items: center;
}

.xiquextech-author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: var(--xiquextech-space-sm);
}

.xiquextech-author-name {
  font-weight: 600;
}

.xiquextech-author-position {
  font-size: var(--xiquextech-font-xs);
  opacity: 0.8;
}

/* Projects/Gallery section */
.xiquextech-gallery {
  padding: var(--xiquextech-space-xl) 0;
}

.xiquextech-gallery-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--xiquextech-space-lg);
}

.xiquextech-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--xiquextech-space-sm);
}

.xiquextech-gallery-item {
  position: relative;
  border-radius: var(--xiquextech-border-radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.xiquextech-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.xiquextech-gallery-item:hover .xiquextech-gallery-img {
  transform: scale(1.1);
}

.xiquextech-gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(56, 75, 112, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.xiquextech-gallery-item:hover .xiquextech-gallery-overlay {
  opacity: 1;
}

.xiquextech-gallery-title {
  color: var(--xiquextech-white);
  text-align: center;
  padding: 0 var(--xiquextech-space-sm);
}

/* Modal */
.xiquextech-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.xiquextech-modal.active {
  opacity: 1;
  visibility: visible;
}

.xiquextech-modal-content {
  max-width: 80%;
  max-height: 80%;
  position: relative;
}

.xiquextech-modal-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--xiquextech-border-radius);
}

.xiquextech-modal-close {
  position: absolute;
  top: -2rem;
  right: -2rem;
  color: var(--xiquextech-white);
  font-size: 2rem;
  cursor: pointer;
}

/* Contact section */
.xiquextech-contact {
  padding: var(--xiquextech-space-xl) 0;
  background-color: var(--xiquextech-white);
}

.xiquextech-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--xiquextech-space-lg);
  align-items: start;
}

.xiquextech-contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--xiquextech-space-md);
}

.xiquextech-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--xiquextech-space-sm);
}

.xiquextech-contact-icon {
  width: 40px;
  height: 40px;
  background-color: var(--xiquextech-primary);
  color: var(--xiquextech-white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.xiquextech-contact-icon svg {
  width: 20px;
  height: 20px;
}

.xiquextech-contact-form {
  background-color: var(--xiquextech-light);
  padding: var(--xiquextech-space-md);
  border-radius: var(--xiquextech-border-radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.xiquextech-form-group {
  margin-bottom: var(--xiquextech-space-sm);
}

.xiquextech-form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.xiquextech-form-input,
.xiquextech-form-textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--xiquextech-border-radius);
  font-family: 'Montserrat', sans-serif;
  font-size: var(--xiquextech-font-sm);
}

.xiquextech-form-textarea {
  min-height: 120px;
  resize: vertical;
}

.xiquextech-form-submit {
  width: 100%;
  margin-top: var(--xiquextech-space-sm);
}

/* Footer */
.xiquextech-footer {
  background-color: var(--xiquextech-primary);
  color: var(--xiquextech-white);
  padding: var(--xiquextech-space-lg) 0 var(--xiquextech-space-md);
}

.xiquextech-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--xiquextech-space-lg);
}

.xiquextech-footer-logo {
  color: var(--xiquextech-white);
  font-family: 'Playfair Display', serif;
  font-size: var(--xiquextech-font-lg);
  font-weight: 700;
  margin-bottom: var(--xiquextech-space-sm);
}

.xiquextech-footer-logo span {
  color: var(--xiquextech-accent);
}

.xiquextech-footer-about {
  margin-bottom: var(--xiquextech-space-md);
}

.xiquextech-footer-heading {
  color: var(--xiquextech-white);
  margin-bottom: var(--xiquextech-space-sm);
  font-size: var(--xiquextech-font-md);
}

.xiquextech-footer-links {
  list-style: none;
}

.xiquextech-footer-link {
  margin-bottom: 0.5rem;
}

.xiquextech-footer-link a {
  color: var(--xiquextech-light);
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.xiquextech-footer-link a:hover {
  opacity: 1;
  color: var(--xiquextech-accent);
}

.xiquextech-copyright {
  text-align: center;
  padding-top: var(--xiquextech-space-md);
  margin-top: var(--xiquextech-space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: var(--xiquextech-font-xs);
  opacity: 0.7;
}

/* Thank You Page */
.xiquextech-thankyou {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--xiquextech-light);
}

.xiquextech-thankyou-container {
  max-width: 600px;
  text-align: center;
  padding: var(--xiquextech-space-lg);
  background-color: var(--xiquextech-white);
  border-radius: var(--xiquextech-border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.xiquextech-thankyou-icon {
  width: 80px;
  height: 80px;
  background-color: var(--xiquextech-secondary);
  color: var(--xiquextech-white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto var(--xiquextech-space-md);
}

.xiquextech-thankyou-icon svg {
  width: 40px;
  height: 40px;
}

/* Responsive Styles */
@media (max-width: 991px) {
  :root {
    --xiquextech-font-xs: 0.75rem;
    --xiquextech-font-sm: 0.875rem;
    --xiquextech-font-md: 1.125rem;
    --xiquextech-font-lg: 1.5rem;
    --xiquextech-font-xl: 2rem;

    --xiquextech-space-xs: 0.375rem;
    --xiquextech-space-sm: 0.75rem;
    --xiquextech-space-md: 1.5rem;
    --xiquextech-space-lg: 3rem;
    --xiquextech-space-xl: 4.5rem;
  }

  .xiquextech-nav-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--xiquextech-white);
    flex-direction: column;
    text-align: center;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
  }

  .xiquextech-nav-list.active {
    display: flex;
  }

  .xiquextech-burger {
    display: flex;
  }

  .xiquextech-burger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .xiquextech-burger.active span:nth-child(2) {
    opacity: 0;
  }

  .xiquextech-burger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .xiquextech-services-grid,
  .xiquextech-pricing-grid,
  .xiquextech-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .xiquextech-about-grid,
  .xiquextech-contact-grid,
  .xiquextech-footer-grid {
    grid-template-columns: 1fr;
    gap: var(--xiquextech-space-md);
  }

  .xiquextech-testimonials-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .xiquextech-services-grid,
  .xiquextech-pricing-grid,
  .xiquextech-gallery-grid {
    grid-template-columns: 1fr;
  }

  .xiquextech-hero::before {
    width: 70%;
  }
}

@media (max-width: 576px) {
  .xiquextech-section {
    padding: var(--xiquextech-space-md) 0;
  }

  .xiquextech-hero {
    padding: var(--xiquextech-space-lg) 0;
  }

  .xiquextech-hero::before {
    clip-path: polygon(50% 0, 100% 0, 100% 100%, 20% 100%);
  }
}

@media (max-width: 320px) {
  :root {
    --xiquextech-font-xs: 0.7rem;
    --xiquextech-font-sm: 0.8rem;
    --xiquextech-font-md: 1rem;
    --xiquextech-font-lg: 1.25rem;
    --xiquextech-font-xl: 1.75rem;

    --xiquextech-space-xs: 0.25rem;
    --xiquextech-space-sm: 0.5rem;
    --xiquextech-space-md: 1rem;
    --xiquextech-space-lg: 2rem;
    --xiquextech-space-xl: 3rem;
  }

  .xiquextech-container {
    width: 95%;
    padding: 0 var(--xiquextech-space-xs);
  }

  .xiquextech-btn {
    padding: 0.5rem 1rem;
  }
}
