/* VisionX Creative Agency - Unique, Distinct Styles */

:root {
  --primary-color: #1e40af; /* Deep Navy */
  --accent-color: #fde047; /* Electric Yellow */
  --bg-light: #f3f4f6; /* Light Gray */
  --text-dark: #111827; /* Soft Black */
  --hover-color: #1d4ed8; /* Rich Blue */
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: #fff;
  position: sticky;
  top: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  z-index: 1000;
}
.header h1 {
  font-size: 1.8rem;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav {
  display: flex;
  gap: 1.5rem;
}
.nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.3s;
}
.nav a:hover {
  color: var(--primary-color);
}
.header-icons {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-icons {
  display: none;
}

/* Show hamburger on small screens */
@media (max-width: 768px) {
  .nav {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 70px;
    right: 20px;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 999;
  }
  .nav.nav-open {
    display: flex;
  }
  .header-icons {
    display: flex;
    gap: 1rem;
  }
}

#light-toggle, #menu-toggle {
  font-size: 1.3rem;
  cursor: pointer;
  color: var(--text-dark);
  transition: color 0.3s;
}
#light-toggle:hover, #menu-toggle:hover {
  color: var(--primary-color);
}

/* Hero */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('https://images.unsplash.com/photo-1519389950473-47ba0277781c?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  color: #fff;
}

.hero-background {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}
.hero-content {
  position: relative;
  max-width: 800px;
  text-align: left;
  padding: 2rem 4rem;
  animation: fadeInUp 1s ease-out;
}
.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--accent-color);
}
.hero-title span {
  color: #fff;
}
.hero-description {
  font-size: 1.3rem;
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.cta-button {
  background: var(--primary-color);
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s, transform 0.3s;
  align-self: flex-start;
  margin-top: 0;
}

.cta-button:hover {
  background: var(--hover-color);
  transform: translateY(-3px);
}
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Sections */
.section {
  padding: 6rem 2rem;
  text-align: center;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s, transform 0.8s;
}
.section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.service-card {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 24px rgba(0,0,0,0.15);
}
.service-card h3 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

/* Projects */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  cursor: pointer;
}
.project-image {
  height: 0;
  padding-bottom: 62%;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s;
}
.project-card:hover .project-image {
  transform: scale(1.1);
}
.project-card h3 {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  color: #fff;
  background: rgba(0,0,0,0.6);
  padding: 0.5rem 1rem;
  border-radius: 6px;
}

.nav a.active {
    color: var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
}

.atext{
  margin-bottom: 0px;
}

/* Team */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
}
.team-card {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  max-width: 250px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}
.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.15);
}
.team-card img {
  border-radius: 50%;
  width: 120px;
  height: 120px;
  object-fit: cover;
  margin-bottom: 1rem;
}

/* Contact */
.contact-section form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.contact-section input,
.contact-section textarea {
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
}
.contact-section button {
  background: var(--accent-color);
  color: var(--text-dark);
  border: none;
  padding: 1rem;
  border-radius: 50px;
  font-weight: 600;
  transition: background 0.3s;
}
.contact-section button:hover {
  background: var(--hover-color);
  color: #fff;
}

/* Footer */
.footer {
  background: var(--primary-color);
  color: #fff;
  padding: 2rem;
  text-align: center;
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto 1rem;
}
.footer-links, .footer-socials {
  display: flex;
  gap: 1rem;
}
.footer-links a, .footer-socials a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}
.footer-links a:hover, .footer-socials a:hover {
  color: var(--accent-color);
}
