:root {
  /* Colors */
  --bg-color: #ffffff;
  --text-primary: #000000;
  --text-secondary: #4a4a4a;
  --accent-color: #000000;
  --border-color: #eeeeee;
  --shadow-subtle: 0 4px 12px rgba(0, 0, 0, 0.05);

  /* Typography */
  --font-serif: "Cormorant Garamond", serif;
  --font-sans: "Inter", sans-serif;

  /* Spacing */
  --section-padding: 100px 5%;
  --container-max-width: 1200px;
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.2;
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  width: 100%;
}

.section {
  padding: var(--section-padding);
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 3rem;
  text-align: center;
}

/* Header & Nav */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

header.scrolled {
  padding: 0.8rem 0;
  box-shadow: var(--shadow-subtle);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-link:hover {
  opacity: 0.6;
}

.cta-button {
  background: var(--text-primary);
  color: #fff;
  padding: 0.8rem 1.6rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid var(--text-primary);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.cta-button:hover {
  background: transparent;
  color: var(--text-primary);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  padding: 0.8rem 1.6rem;
  border: 1px solid var(--text-primary);
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

/* Hero Section */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  position: relative;
  overflow: hidden;
}

.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: 50%;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: absolute;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  opacity: 0;
  animation: float-particle 10s infinite ease-in-out;
}

@keyframes float-particle {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  20% {
    opacity: 0.3;
  }
  80% {
    opacity: 0.3;
  }
  100% {
    transform: translateY(-100px) translateX(20px);
    opacity: 0;
  }
}

.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-title {
  font-size: clamp(3.5rem, 8vw, 5rem);
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  max-width: 500px;
  color: var(--text-secondary);
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
}

.hero-visual img {
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

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

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.service-card {
  padding: 2.5rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  text-align: center;
  transition: var(--transition-smooth);
}

.service-card:hover {
  border-color: var(--text-primary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-subtle);
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

/* Portfolio Section */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.portfolio-img-wrapper {
  aspect-ratio: 4/5;
  overflow: hidden;
}

.portfolio-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.portfolio-item:hover {
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.portfolio-item:hover img {
  transform: scale(1.08); /* Slight zoom-in */
}

.portfolio-label {
  margin-top: 1rem;
  text-align: center;
  font-weight: 500;
  font-size: 0.95rem;
}

/* Process Section */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}

.process-step {
  text-align: center;
}

.step-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #ccc;
}

.process-step h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

/* Founder Section */
.founder {
  background: #fafafa;
}

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

.founder-name {
  font-size: 2rem;
  margin-bottom: 0.2rem;
}

.founder-role {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2rem;
}

/* Contact Section Improved */
.contact-info-display {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.contact-card {
  padding: 3rem 2rem;
  background: #fafafa;
  border-radius: 12px;
  text-align: center;
  transition: var(--transition-smooth);
  border: 1px solid var(--border-color);
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-subtle);
  border-color: var(--text-primary);
}

.contact-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.contact-card p {
  font-size: 1.1rem;
  font-weight: 500;
}

.contact-card a:hover {
  opacity: 0.7;
}

.whatsapp-link i {
  color: #25D366;
  margin-left: 5px;
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .contact-info-display {
    grid-template-columns: 1fr;
  }
}

/* Footer */
.footer {
  padding: 6rem 0 3rem;
  border-top: 1px solid var(--border-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-logo {
  margin-bottom: 1.5rem;
}

.footer h4 {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-contact p {
  margin-bottom: 0.8rem;
}

.footer-bottom {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-secondary);
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
}

/* Responsive */
@media (max-width: 991px) {
  .hero-container, .about-grid, .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-primary);
  z-index: 1001;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--bg-color);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    transition: right 0.4s ease;
    z-index: 1000;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links .nav-link {
    font-size: 1.2rem;
    display: block;
    padding: 1rem;
  }

  .cta-button {
    display: none; /* Hide top CTA on mobile to keep it clean */
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}
