/* Custom Variables */
:root {
  --primary-color: #6247aa;
  --primary-light: #8266d4;
  --secondary-color: #25ced1;
  --accent-color: #ff8a5b;
  --dark-color: #2d3142;
  --light-color: #f7f9f9;
  --text-color: #333333;
  --container-width: 1140px;
  --border-radius: 10px;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 4rem;
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

/* Reset */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Base Styles */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-color);
  overflow-x: hidden;
}

.wrapper {
  max-width: 100%;
  overflow: hidden;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: var(--spacing-md);
}

h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: var(--spacing-xl);
  position: relative;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--accent-color);
  border-radius: 2px;
}

p {
  margin-bottom: var(--spacing-md);
}

a {
  text-decoration: none;
  color: var(--secondary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--primary-color);
}

img, svg {
  max-width: 100%;
  display: block;
}

/* Header & Navigation */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-md) 5%;
  background-color: rgba(255, 255, 255, 0.95);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}

.logo {
  display: flex;
  align-items: center;
}

.logo h1 {
  font-size: 1.5rem;
  margin-bottom: 0;
  margin-left: var(--spacing-sm);
  color: var(--dark-color);
}

.logo h1 span {
  color: var(--primary-color);
}

.logo-icon {
  width: 40px;
  height: 40px;
}

nav ul {
  display: flex;
  list-style: none;
}

nav li {
  margin-left: var(--spacing-lg);
}

nav a {
  color: var(--dark-color);
  font-weight: 600;
  padding: 0.5rem 0;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 200;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--dark-color);
  border-radius: 3px;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
  padding: var(--spacing-xl) 5%;
  background: linear-gradient(135deg, #f5f7fa 0%, #e2e6f0 100%);
  min-height: 80vh;
}

.hero-content {
  max-width: 540px;
}

.hero h2 {
  font-size: 3rem;
  margin-bottom: var(--spacing-lg);
  text-align: left;
}

.hero h2::after {
  left: 0;
  transform: none;
}

.hero h2 em {
  color: var(--primary-color);
  font-style: normal;
  position: relative;
  display: inline-block;
}

.hero h2 em::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: rgba(255, 138, 91, 0.3);
  z-index: -1;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: var(--spacing-xl);
}

.hero-graphic {
  justify-self: center;
  width: 100%;
  max-width: 400px;
}

.cta-button {
  display: inline-block;
  background-color: var(--accent-color);
  color: white;
  font-weight: 700;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 5px 15px rgba(255, 138, 91, 0.4);
  transition: var(--transition);
}

.cta-button:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(98, 71, 170, 0.4);
}

/* Gallery Section */
.gallery {
  padding: var(--spacing-xl) 5%;
  background-color: white;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
  max-width: var(--container-width);
  margin: 0 auto;
}

.gallery-item {
  background-color: var(--light-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  padding-bottom: var(--spacing-md);
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.gallery-svg {
  width: 100%;
  height: 200px;
  margin-bottom: var(--spacing-md);
}

.gallery-item h3 {
  text-align: center;
  margin-bottom: var(--spacing-sm);
  padding: 0 var(--spacing-md);
}

.gallery-item p {
  text-align: center;
  padding: 0 var(--spacing-md);
  font-size: 0.9rem;
  color: #666;
}

/* Technology Section */
.technology {
  padding: var(--spacing-xl) 5%;
  background-color: var(--dark-color);
  color: white;
}

.technology h2 {
  color: white;
}

.tech-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-xl);
  max-width: var(--container-width);
  margin: 0 auto;
}

.feature {
  text-align: center;
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--spacing-lg);
}

.feature h3 {
  margin-bottom: var(--spacing-md);
  color: var(--secondary-color);
}

.feature p {
  color: rgba(255, 255, 255, 0.8);
}

/* Experience Section */
.experience {
  padding: var(--spacing-xl) 5%;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
  color: white;
}

.experience h2 {
  color: white;
}

.experience-text {
  max-width: 700px;
  margin: 0 auto var(--spacing-xl);
  font-size: 1.2rem;
}

.experience .cta-button {
  background-color: white;
  color: var(--primary-color);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.experience .cta-button:hover {
  background-color: var(--accent-color);
  color: white;
}

/* Footer */
footer {
  padding: var(--spacing-xl) 5% var(--spacing-lg);
  text-align: center;
  background-color: var(--dark-color);
  color: rgba(255, 255, 255, 0.8);
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-md);
}

.footer-icon {
  width: 40px;
  height: 40px;
  margin-right: var(--spacing-sm);
}

.footer-logo span {
  font-weight: 700;
  font-size: 1.2rem;
  color: white;
}

.copyright {
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 992px) {
  h2 {
    font-size: 2.2rem;
  }
  
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--spacing-lg);
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .hero h2 {
    font-size: 2.5rem;
    text-align: center;
  }
  
  .hero h2::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .hero-graphic {
    order: -1;
    max-width: 300px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  }
  
  nav.active {
    right: 0;
  }
  
  nav ul {
    flex-direction: column;
    align-items: center;
  }
  
  nav li {
    margin: var(--spacing-md) 0;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .tech-features {
    gap: var(--spacing-lg);
  }
}
