/* ==== RESET & FONTS ==== */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap');

:root {
  --primary: #2d1055;
  --secondary: #d946ef;
  --accent: #00f6ff;
  --text-dark: #f8fafc;
  --text-light: #a78bfa;
  --bg-light: #160a28;
  --bg-white: #0a0514;
  --transition: all 0.3s ease;
  --shadow: 0 4px 20px rgba(217, 70, 239, 0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--bg-white);
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  background-color: var(--secondary);
  color: #fff;
  border-radius: 4px;
  font-weight: 500;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}

.btn:hover {
  background-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(126, 34, 206, 0.3);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--secondary);
  color: var(--secondary);
}

.btn-outline:hover {
  background-color: var(--secondary);
  color: #fff;
}

/* ==== HEADER ==== */
header {
  background-color: var(--bg-white);
  box-shadow: 0 2px 10px rgba(217, 70, 239, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo img {
  height: 40px;
  vertical-align: middle;
}

.logo span {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-left: 10px;
  vertical-align: middle;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links li a {
  color: var(--text-dark);
  font-weight: 500;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: var(--secondary);
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary);
}

/* ==== HERO SECTION ==== */
.hero {
  padding-top: 80px;
  background: linear-gradient(rgba(10, 5, 20, 0.8), rgba(10, 5, 20, 0.9)), url('../images/hero.png') center/cover no-repeat;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #fff;
}

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

.hero-title {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 20px;
  font-weight: 900;
}

.hero-title span {
  color: var(--accent);
}

.hero-desc {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: rgba(255,255,255,0.8);
}

/* ==== SECTIONS ==== */
.section-padding {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.section-title p {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* ==== ABOUT HOME ==== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.img-fluid {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

/* ==== SERVICES GRID ==== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--bg-white);
  padding: 40px 30px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  border-bottom: 4px solid transparent;
}

.service-card:hover {
  transform: translateY(-5px);
  border-bottom: 4px solid var(--accent);
}

.service-card i {
  font-size: 3rem;
  color: var(--secondary);
  margin-bottom: 20px;
}

.service-card h3 {
  margin-bottom: 15px;
  color: var(--primary);
}

/* ==== CONTACT ==== */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info {
  background: var(--primary);
  color: #fff;
  padding: 40px;
  border-radius: 8px;
}

.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.info-item i {
  font-size: 1.5rem;
  color: var(--accent);
  margin-right: 15px;
  width: 30px;
}

.contact-form {
  background: var(--bg-white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #4a1d7f;
  background-color: var(--bg-light);
  color: var(--text-dark);
  border-radius: 4px;
  font-family: inherit;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(126, 34, 206, 0.1);
}

textarea.form-control {
  height: 150px;
  resize: vertical;
}

/* ==== FOOTER ==== */
footer {
  background: var(--primary);
  color: #fff;
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  margin-bottom: 20px;
  font-size: 1.2rem;
  color: #fff;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

/* ==== PAGE HEADER (Inner Pages) ==== */
.page-header {
  padding-top: 140px;
  padding-bottom: 60px;
  background: linear-gradient(rgba(10, 5, 20, 0.9), rgba(10, 5, 20, 0.95)), url('../images/hero.png') center/cover;
  color: #fff;
  text-align: center;
}

.page-header h1 {
  font-size: 3rem;
}

/* ==== COOKIE BANNER ==== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--primary);
  color: var(--text-dark);
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner p {
  margin-right: 20px;
  font-size: 0.9rem;
}

.cookie-banner a {
  color: var(--accent);
  text-decoration: underline;
}

/* ==== RESPONSIVE ==== */
@media (max-width: 768px) {
  .hero-title { font-size: 2.5rem; }
  .about-grid, .contact-container { grid-template-columns: 1fr; }
  .menu-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--bg-white);
    flex-direction: column;
    gap: 0;
    box-shadow: 0 10px 10px rgba(0,0,0,0.05);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: var(--transition);
  }
  .nav-links.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
  .nav-links li {
    text-align: center;
    border-top: 1px solid #4a1d7f;
  }
  .nav-links li a {
    display: block;
    padding: 15px;
  }
}
