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

/* VARIABLES */
:root {
  --bg-color: #0a0a0a;
  --card-bg: #141414;
  --text-main: #e5e5e5;
  --text-muted: #a3a3a3;
  --primary: #2596be;
  /* Indigo */
  --primary-hover: #283057;
  --border-color: #262626;
  --container-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s ease;
}

ul {
  list-style: none;
}

/* UTILITIES */
.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
}

.btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  border: 1px solid transparent;
}

.btn:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* HEADER */
header {
  padding: 20px 0;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-color);
}
.logo img {
  filter: brightness(2.45) contrast(1.2);
}
.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -1px;
  color: #fff;
}

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

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

.nav-links a {
  font-size: 0.95rem;
  color: var(--text-muted);
}

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

/* HERO */
.hero {
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.1), transparent 40%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50px;
  left: -50px;
  width: 300px;
  height: 300px;
  background: var(--primary);
  filter: blur(150px);
  opacity: 0.2;
  z-index: -1;
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 20px;
  background: linear-gradient(to right, #fff, #a5a5a5);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* SERVICES */
.services {
  padding: 100px 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--card-bg);
  padding: 40px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  transition: 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--primary);
}

.service-card h3 {
  margin-bottom: 15px;
  font-size: 1.25rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ABOUT */
.about {
  padding: 100px 0;
  background: #0f0f0f;
}

.about-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.about-content p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* PROJECTS */
.projects {
  padding: 100px 0;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.project-card {
  border-radius: 16px;
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  transition: 0.3s;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: #222;
  /* Fallback */
}

.project-info {
  padding: 25px;
}

.project-info h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.project-info p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.link-btn {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.link-btn:hover {
  text-decoration: underline;
}

/* CONTACT */
.contact {
  padding: 100px 0;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-color) 0%, #0f0f0f 100%);
}

.contact-box {
  background: var(--card-bg);
  display: inline-block;
  padding: 40px 60px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
}

.contact h3 {
  margin-bottom: 20px;
}

.email-link {
  font-size: 1.2rem;
  color: var(--primary);
  font-weight: 600;
}
.phone-link {
  font-size: 1.2rem;
  color: var(--primary);
  font-weight: 600;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem; /* spacing between email and phone */
  margin-top: 1rem;
}

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

/* FOOTER */
footer {
  padding: 40px 0;
  border-top: 1px solid var(--border-color);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 50px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.8rem;
  }

  .nav-links {
    display: none;
    /* Keep it simple for now, or add mobile menu later if requested */
  }

  .nav-wrapper {
    justify-content: center;
  }
}