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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #000;
  color: #fff;
  overflow-x: hidden;
}

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

/* Background Pattern */
.background-pattern {
  position: fixed;
  inset: 0;
  opacity: 0.1;
  pointer-events: none;
  z-index: -1;
}

.gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, transparent 50%, rgba(245, 158, 11, 0.2) 100%);
}

.animated-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background: radial-gradient(circle at 25% 25%, #fbbf24 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, #f59e0b 0%, transparent 50%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(245, 158, 11, 0.2);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-size: 24px;
  font-weight: bold;
  background: linear-gradient(to right, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.nav-links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #fbbf24;
}

.nav-cta {
  background: linear-gradient(to right, #f59e0b, #d97706);
  color: #000;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.nav-cta:hover {
  background: linear-gradient(to right, #d97706, #b45309);
}

.back-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fbbf24;
  text-decoration: none;
  transition: color 0.3s;
}

.back-link:hover {
  color: #f59e0b;
}

.spacer {
  width: 96px;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.05) 0%, transparent 50%, rgba(245, 158, 11, 0.1) 100%);
  animation: pulse 3s ease-in-out infinite;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background: radial-gradient(circle at 25% 25%, #fbbf24 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, #f59e0b 0%, transparent 50%);
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
  position: relative;
  z-index: 10;
}

.hero-inner {
  max-width: 1024px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  margin-bottom: 24px;
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  animation: bounce 2s infinite;
}

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

.hero-title {
  font-size: clamp(48px, 8vw, 112px);
  font-weight: bold;
  margin-bottom: 24px;
  line-height: 1.1;
}

.hero-title-gradient {
  background: linear-gradient(to right, #fff, #fbbf24, #fbbf24);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title-white {
  color: #fff;
}

.hero-description {
  font-size: clamp(18px, 3vw, 24px);
  color: #d1d5db;
  margin-bottom: 32px;
  max-width: 512px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  align-items: center;
  margin-bottom: 48px;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 18px;
}

.btn-primary {
  background: linear-gradient(to right, #f59e0b, #d97706);
  color: #000;
}

.btn-primary:hover {
  background: linear-gradient(to right, #d97706, #b45309);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid #f59e0b;
  color: #fbbf24;
  background: transparent;
}

.btn-outline:hover {
  background: rgba(245, 158, 11, 0.1);
}

.btn-full {
  width: 100%;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 512px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .hero-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  text-align: center;
  transition: transform 0.3s;
}

.stat-item:hover {
  transform: scale(1.1);
}

.stat-icon {
  font-size: 32px;
  color: #fbbf24;
  margin-bottom: 8px;
}

.stat-value {
  font-size: 32px;
  font-weight: bold;
  color: #fff;
}

.stat-label {
  font-size: 14px;
  color: #9ca3af;
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-indicator {
  width: 24px;
  height: 40px;
  border: 2px solid #fbbf24;
  border-radius: 20px;
  display: flex;
  justify-content: center;
}

.scroll-dot {
  width: 4px;
  height: 12px;
  background: #fbbf24;
  border-radius: 2px;
  margin-top: 8px;
  animation: pulse 2s infinite;
}

/* Sections */
.services,
.portfolio-preview,
.about,
.contact {
  padding: 80px 0;
  position: relative;
}

.portfolio-preview,
.contact {
  background: rgba(17, 24, 39, 0.3);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-title {
  font-size: clamp(32px, 6vw, 64px);
  font-weight: bold;
  margin-bottom: 24px;
  background: linear-gradient(to right, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-description {
  font-size: 20px;
  color: #d1d5db;
  max-width: 512px;
  margin: 0 auto;
}

/* Services */
.services-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: rgba(17, 24, 39, 0.5);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s;
}

.service-card:hover {
  border-color: rgba(245, 158, 11, 0.4);
  transform: scale(1.05);
}

.service-image {
  position: relative;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 192px;
  object-fit: cover;
  transition: transform 0.3s;
}

.service-card:hover .service-image img {
  transform: scale(1.1);
}

.service-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}

.service-content {
  padding: 24px;
}

.service-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 12px;
  color: #fbbf24;
}

.service-description {
  color: #d1d5db;
  margin-bottom: 16px;
}

.service-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge {
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fbbf24;
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 12px;
}

/* Portfolio */
.portfolio-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  transition: transform 0.3s;
  cursor: pointer;
}

.portfolio-item:hover {
  transform: scale(1.05);
}

.portfolio-item img {
  width: 100%;
  height: 256px;
  object-fit: cover;
  transition: transform 0.3s;
}

.portfolio-item:hover img {
  transform: scale(1.1);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent, transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  transform: translateY(100%);
  transition: transform 0.3s;
}

.portfolio-item:hover .portfolio-content {
  transform: translateY(0);
}

.portfolio-content h3 {
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 8px;
}

.portfolio-badge {
  background: rgba(245, 158, 11, 0.9);
  color: #000;
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
  display: inline-block;
}

.portfolio-content p {
  color: #d1d5db;
  font-size: 14px;
}

.portfolio-cta {
  text-align: center;
}

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

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about-text {
  font-size: 20px;
  color: #d1d5db;
  margin-bottom: 24px;
  line-height: 1.6;
}

.about-text-secondary {
  font-size: 18px;
  color: #9ca3af;
  margin-bottom: 32px;
  line-height: 1.6;
}

.about-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.detail-column h4 {
  color: #fbbf24;
  font-weight: 600;
  margin-bottom: 8px;
}

.detail-column ul {
  list-style: none;
  color: #d1d5db;
  font-size: 14px;
}

.detail-column li {
  margin-bottom: 4px;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.about-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: linear-gradient(to right, #f59e0b, #d97706);
  padding: 24px;
  border-radius: 12px;
}

.badge-value {
  color: #000;
  font-weight: bold;
  font-size: 32px;
}

.badge-label {
  color: #000;
  font-size: 14px;
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-info h3 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 24px;
  color: #fbbf24;
}

.contact-items {
  margin-bottom: 32px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-icon {
  background: rgba(245, 158, 11, 0.2);
  padding: 12px;
  border-radius: 12px;
}

.contact-icon i {
  font-size: 24px;
  color: #fbbf24;
}

.contact-label {
  font-weight: 600;
}

.contact-value {
  color: #d1d5db;
}

.social-links h4 {
  font-weight: 600;
  margin-bottom: 16px;
}

.social-buttons {
  display: flex;
  gap: 16px;
}

.btn-social {
  font-size: 14px;
  padding: 8px 16px;
}

.contact-form-container {
  background: rgba(17, 24, 39, 0.5);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 12px;
  padding: 32px;
}

.contact-form-container h3 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 24px;
  color: #fbbf24;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid #374151;
  border-radius: 6px;
  color: #fff;
  font-size: 16px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #f59e0b;
}

.form-group textarea {
  resize: vertical;
}

/* Footer */
.footer {
  padding: 48px 0;
  border-top: 1px solid rgba(245, 158, 11, 0.2);
}

.footer-content {
  text-align: center;
}

.footer-brand {
  font-size: 48px;
  font-weight: bold;
  background: linear-gradient(to right, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
}

.footer-description {
  color: #9ca3af;
  margin-bottom: 24px;
}

.footer-copyright {
  font-size: 14px;
  color: #6b7280;
}

/* Portfolio Page */
.portfolio-page {
  padding-top: 100px;
  min-height: 100vh;
}

.portfolio-header {
  text-align: center;
  margin-bottom: 64px;
  padding: 0 24px;
}

.portfolio-title {
  font-size: clamp(40px, 8vw, 96px);
  font-weight: bold;
  margin-bottom: 24px;
  background: linear-gradient(to right, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.portfolio-description {
  font-size: 20px;
  color: #d1d5db;
  max-width: 768px;
  margin: 0 auto;
  line-height: 1.6;
}

.portfolio-filters {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  justify-content: center;
  margin-bottom: 48px;
  padding: 0 24px;
}

@media (min-width: 768px) {
  .portfolio-filters {
    flex-direction: row;
  }
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.filter-label {
  color: #fbbf24;
  font-weight: 600;
  margin-right: 8px;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  padding: 8px 16px;
  border: 1px solid rgba(245, 158, 11, 0.3);
  background: transparent;
  color: #fbbf24;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 14px;
}

.filter-btn:hover,
.filter-btn.active {
  background: linear-gradient(to right, #f59e0b, #d97706);
  color: #000;
}

.portfolio-projects {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  margin-bottom: 64px;
  padding: 0 24px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .portfolio-projects {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .portfolio-projects {
    grid-template-columns: repeat(3, 1fr);
  }
}

.project-card {
  background: rgba(17, 24, 39, 0.5);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s;
  cursor: pointer;
}

.project-card:hover {
  border-color: rgba(245, 158, 11, 0.4);
  transform: scale(1.05);
}

.project-image {
  position: relative;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 256px;
  object-fit: cover;
  transition: transform 0.3s;
}

.project-card:hover .project-image img {
  transform: scale(1.1);
}

.project-technique {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(245, 158, 11, 0.9);
  color: #000;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 600;
}

.project-content {
  padding: 24px;
}

.project-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 8px;
  color: #fbbf24;
  transition: color 0.3s;
}

.project-card:hover .project-title {
  color: #f59e0b;
}

.project-description {
  color: #d1d5db;
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.5;
}

.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #9ca3af;
}

.project-meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.project-meta-item i {
  font-size: 12px;
}

/* Portfolio CTA */
.portfolio-cta {
  background: linear-gradient(to right, rgba(17, 24, 39, 0.5), rgba(31, 41, 55, 0.5));
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 24px;
  padding: 48px;
  text-align: center;
  margin: 0 24px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.portfolio-cta h2 {
  font-size: clamp(24px, 5vw, 48px);
  font-weight: bold;
  margin-bottom: 24px;
  background: linear-gradient(to right, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.portfolio-cta p {
  font-size: 20px;
  color: #d1d5db;
  margin-bottom: 32px;
  max-width: 512px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(4px);
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: #111827;
  border-radius: 12px;
  max-width: 1024px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  position: relative;
}

.modal-header img {
  width: 100%;
  height: 256px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
}

@media (min-width: 768px) {
  .modal-header img {
    height: 384px;
  }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  transition: background 0.3s;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.7);
}

.modal-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(245, 158, 11, 0.9);
  color: #000;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 18px;
  font-weight: 600;
}

.modal-body {
  padding: 32px;
}

.modal-body h2 {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 16px;
  background: linear-gradient(to right, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.modal-details {
  display: grid;
  gap: 24px;
  margin-bottom: 24px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .modal-details {
    grid-template-columns: repeat(3, 1fr);
  }
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.detail-item i {
  font-size: 20px;
  color: #fbbf24;
}

.detail-label {
  font-size: 14px;
  color: #9ca3af;
}

.detail-value {
  font-weight: 600;
}

.modal-sections {
  margin-bottom: 32px;
}

.modal-section {
  margin-bottom: 24px;
}

.modal-section h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #fbbf24;
}

.modal-section p {
  color: #d1d5db;
  line-height: 1.6;
}

.modal-footer {
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .filter-group {
    justify-content: center;
  }

  .about-details {
    grid-template-columns: 1fr;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .about-image{
    display: none;
  }
  .hero-badge{
    display: none;
  }
  .scroll-indicator{
    display: none;
  }
}

/* Animations */
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Hide scrollbar but keep functionality */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #111827;
}

::-webkit-scrollbar-thumb {
  background: #fbbf24;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #f59e0b;
}
