/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  font-family: "Courier Prime", monospace, system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: #333;
  background: white;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Typography */
.gothic-font,
.hero-title,
.clients-title,
.project-title,
.footer-brand {
  font-family: "UnifrakturCook", "Old English Text MT", "Blackletter", cursive, serif;
  font-display: swap;
}

/* Floating Navigation 
.floating-nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50px;
  padding: 12px 24px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}*/

/* Floating Navigation */
.floating-nav {
  position: fixed;
  top: 20px;
  /* Reduced margins to 20px left and right for almost full width */
  left: 20px;
  right: 20px;
  width: calc(100% - 40px);
  transform: none;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50px;
  padding: 12px 24px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-content {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-brand {
  font-weight: bold;
  font-size: 14px;
  color: #1f2937;
}

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

/* More aggressive contrast fix for navigation links */
.nav-links a,
.floating-nav a {
  color: #000000 !important;
  font-size: 14px;
  transition: color 0.3s ease;
  text-decoration: none;
  font-weight: 500;
}

.nav-links a:hover,
.floating-nav a:hover {
  color: #374151 !important;
}

/* Specific targeting for the "Let's Chat" link */
a[href="#contact"] {
  color: #000000 !important;
}

.nav-links a[href="#contact"] {
  color: #000000 !important;
}

button {
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

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

/* Hero Section */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 50%, #fbcfe8 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 60px;
  position: relative;
}

.hero-content {
  position: relative;
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.hero-title {
  font-family: "UnifrakturCook", "Old English Text MT", "Blackletter", cursive, serif;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.9;
  color: #1f2937;
  text-align: center;
  font-weight: 700;
  font-display: swap;
}

.decorative-star {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #ec4899;
  animation: twinkle 2s ease-in-out infinite alternate;
}

.star-left {
  animation-delay: 0s;
}

.star-right {
  animation-delay: 1s;
}

@keyframes twinkle {
  0% {
    opacity: 0.7;
    transform: scale(1);
  }
  100% {
    opacity: 1;
    transform: scale(1.1);
  }
}

.hero-subtitle {
  font-size: 16px;
  color: #6b7280;
  max-width: 900px;
  padding: 0 40px;
  line-height: 1.8;
}

.hero-subtitle span {
  margin: 0 8px;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-arrow {
  font-size: 24px;
  color: #9ca3af;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Clients Section */
.clients {
  padding: 80px 0;
  background: white;
  overflow: hidden;
}

.clients-title {
  font-family: "Courier Prime", monospace;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 60px;
  color: #1f2937;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 700;
  font-display: swap;
}

.clients-scroll {
  overflow: hidden;
  white-space: nowrap;
}

.clients-list {
  display: flex;
  animation: scroll 30s linear infinite;
}

.client-item {
  flex-shrink: 0;
  padding: 0 60px;
  font-size: 18px;
  color: #6b7280;
  border-right: 1px solid #e5e7eb;
}

.client-item:last-child {
  border-right: none;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* About Section 

.about {
  padding: 120px 20px;
  background: #fdf2f8;
}

.about-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 80px;
  align-items: center;
} 

.about-actions {
  display: flex;
  align-items: center;
  gap: 20px;

  .about-description {
  font-size: 16px;
  color: #6b7280;
  max-width: 400px;
  margin: 0 auto;
}
} */


/* New About Section */
.about {
  padding: 120px 20px;
  background: #fdf2f8;
}

.about-content {
  max-width: 1200px;
  margin: 0 auto;
  /* Changed to 3 equal blocks side by side */
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.about-block {
  flex: 1;
  text-align: center;
}

.about-block h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #1f2937;
  font-weight: 600;
}

.about-intro p,
.about-cta p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #374151;
}

.about-actions {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 20px 0;
}

/* end of new */


.about-text {
  flex: 1;
}

.about-text p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 40px;
  color: #374151;
}



.btn-primary,
.btn-secondary {
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn-primary {
  background: #1f2937;
  color: white;
}

.btn-primary:hover {
  background: #374151;
}

.btn-secondary {
  background: transparent;
  color: #1f2937;
  border: 2px solid #1f2937;
}

.btn-secondary:hover {
  background: #1f2937;
  color: white;
}

.about-image {
  flex: 1;
  text-align: center;
}

.image-container {
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
}

.image-container img {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.image-caption {
  position: absolute;
  top: -10px;
  right: -20px;
  background: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: rotate(15deg);
}



/* Projects Section */
.projects {
  display: flex;
  flex-direction: column;
}

.project-item {
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 60px 40px;
}

.project-motion {
  background: linear-gradient(135deg, #ec4899 0%, #be185d 100%);
}

.project-applied {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}

.project-vulnerability {
  background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%);
}

.project-small {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.project-content {
  text-align: center;
  color: white;
  max-width: 800px;
}

.project-title {
  font-family: "Courier Prime", monospace;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
  font-display: swap;
}

.project-subtitle {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.project-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  font-size: 24px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.project-link:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #ec4899 0%, #be185d 100%);
  color: white;
  padding: 60px 40px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-family: "Courier Prime", monospace;
  font-weight: 700;
  font-display: swap;
}

.footer-contact {
  color: white;
  text-decoration: none;
  font-size: 18px;
  transition: color 0.3s ease;
}

.footer-contact:hover {
  color: #fce7f3;
}

/* Ensure footer contact links stay white */
.footer a[href="#contact"] {
  color: white !important;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-content {
    gap: 16px;
  }

  .nav-brand {
    font-size: 12px;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-links a {
    font-size: 12px;
  }

  .hero-content {
    flex-direction: column;
    gap: 20px;
  }

  .decorative-star {
    font-size: 2rem;
  }

  .about-content {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

  .about-actions {
    justify-content: center;
  }

  .image-container img {
    width: 250px;
    height: 250px;
  }

  .footer-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .project-content {
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  .floating-nav {
    position: fixed;
    top: 20px;
    /* Reduced margins to 20px left and right for almost full width */
    left: 20px;
    right: 20px;
    width: calc(100% - 40px);
    transform: none;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50px;
    padding: 12px 24px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    /*
    left: 20px;
    right: 20px;
    transform: none;
    width: calc(100% - 40px);
    */
  }

  .nav-content {
    justify-content: space-between;
  }

  .hero {
    padding: 100px 20px 40px;
  }

  .clients-title {
    font-size: 1.5rem;
  }

  .client-item {
    padding: 0 30px;
    font-size: 16px;
  }
}
