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

:root {
  --primary-dark: #0a0a0a;
  --secondary-dark: #1a1a1a;
  --accent-blue: #2196f3;
  --text-light: #ffffff;
  --text-gray: #b0b0b0;
}

body {
  font-family: "Raleway", sans-serif;
  background-color: var(--primary-dark);
  color: var(--text-light);
  overflow-x: hidden;
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 15px 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-sizing: border-box;
  min-height: 70px;
}

.logo {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(20px, 4vw, 28px);
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

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

nav {
  display: flex;
  gap: clamp(10px, 2.5vw, 40px);
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
}

nav a {
  color: var(--text-gray);
  text-decoration: none;
  font-size: clamp(10px, 1.3vw, 14px);
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
  position: relative;
  white-space: nowrap;
  padding: 5px 0;
  display: inline-block;
}

nav a:hover,
nav a.active {
  color: var(--text-light);
}

nav a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-blue);
  transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

/* Hero Section */
.hero {
  margin-top: 80px;
  height: 90vh;
  background:
    linear-gradient(
      135deg,
      rgba(10, 10, 10, 0.8),
      rgba(33, 150, 243, 0.1)
    ),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%231a1a1a" width="1200" height="600"/><path fill="%232196F3" opacity="0.1" d="M0 300L200 450L400 300L600 400L800 250L1000 350L1200 300V600H0Z"/></svg>');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at 70% 30%,
    rgba(33, 150, 243, 0.15) 0%,
    transparent 50%
  );
}

.hero-content {
  text-align: left;
  max-width: 1200px;
  padding: 0 clamp(20px, 5vw, 80px);
  z-index: 2;
  animation: fadeInUp 1s ease;
  width: 100%;
}

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

.hero h1 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(36px, 8vw, 72px);
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: 3px;
  line-height: 1.1;
}

.hero h1 span {
  color: var(--accent-blue);
}

.hero p {
  font-size: clamp(14px, 2.5vw, 18px);
  color: var(--text-gray);
  max-width: 600px;
  line-height: 1.8;
  margin-bottom: 30px;
}

.cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--accent-blue);
  color: var(--text-light);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 1px;
  border-radius: 2px;
  transition: all 0.3s ease;
  border: 2px solid var(--accent-blue);
}

.cta-button:hover {
  background: transparent;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(33, 150, 243, 0.3);
}

/* Portfolio Section */
.portfolio {
  padding: clamp(40px, 5vw, 100px) clamp(20px, 5vw, 80px);
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(28px, 6vw, 42px);
  font-weight: 700;
  margin-bottom: clamp(30px, 5vw, 60px);
  letter-spacing: 2px;
}

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

.portfolio-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--secondary-dark);
  cursor: pointer;
  transition: transform 0.5s ease;
}

.portfolio-item:hover {
  transform: translateY(-10px);
}

.portfolio-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  z-index: 1;
  transition: opacity 0.3s ease;
}

.portfolio-item:hover::before {
  opacity: 0.9;
}

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

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

.portfolio-info {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 2;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.portfolio-item:hover .portfolio-info {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-info h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 5px;
}

.portfolio-info p {
  font-size: 14px;
  color: var(--text-gray);
}

/* About Section */
.about-hero {
  margin-top: 80px;
  padding: clamp(60px, 8vw, 120px) clamp(20px, 5vw, 80px) clamp(40px, 6vw, 80px);
  background: linear-gradient(135deg, var(--secondary-dark), var(--primary-dark));
  text-align: center;
}

.about-hero h1 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(32px, 7vw, 56px);
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.about-hero h1 span {
  color: var(--accent-blue);
}

.about-hero p {
  font-size: clamp(14px, 2vw, 18px);
  color: var(--text-gray);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

.about-content {
  padding: clamp(40px, 5vw, 80px);
  max-width: 1400px;
  margin: 0 auto;
}

.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 60px);
  margin-bottom: 100px;
  align-items: center;
}

.about-section:nth-child(even) {
  direction: rtl;
}

.about-section:nth-child(even) > * {
  direction: ltr;
}

.about-text h2 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(24px, 5vw, 36px);
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--accent-blue);
}

.about-text p {
  font-size: clamp(14px, 2vw, 16px);
  color: var(--text-gray);
  line-height: 1.9;
  margin-bottom: 15px;
}

.about-image {
  height: 400px;
  background: var(--secondary-dark);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
  min-height: 300px;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 80px;
}

.value-item {
  padding: 30px;
  background: var(--secondary-dark);
  border-radius: 2px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(33, 150, 243, 0.2);
}

.value-item .icon {
  font-size: clamp(36px, 6vw, 48px);
  color: var(--accent-blue);
  margin-bottom: 20px;
}

.value-item h3 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(18px, 3vw, 22px);
  font-weight: 600;
  margin-bottom: 15px;
}

.value-item p {
  font-size: clamp(13px, 1.8vw, 14px);
  color: var(--text-gray);
  line-height: 1.7;
}

/* Contact Section */
.contact {
  padding: clamp(40px, 5vw, 80px);
  background: var(--secondary-dark);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.contact-info h2 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(24px, 5vw, 36px);
  font-weight: 700;
  margin-bottom: 20px;
}

.contact-details {
  margin-top: 30px;
}

.contact-details p {
  font-size: clamp(14px, 2vw, 16px);
  color: var(--text-gray);
  margin-bottom: 10px;
  line-height: 1.8;
}

.contact-image {
  position: relative;
  height: 400px;
  background:
    linear-gradient(
      135deg,
      rgba(33, 150, 243, 0.1),
      rgba(10, 10, 10, 0.8)
    ),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 600"><rect fill="%231a1a1a" width="800" height="600"/><circle cx="400" cy="300" r="200" fill="%232196F3" opacity="0.1"/></svg>');
  background-size: cover;
  background-position: center;
  border-radius: 2px;
  overflow: hidden;
}

.quote {
  position: absolute;
  bottom: 40px;
  right: 40px;
  max-width: 350px;
  text-align: right;
}

.quote p {
  font-style: italic;
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 10px;
  line-height: 1.6;
}

.quote span {
  font-size: 12px;
  color: var(--text-gray);
}

/* Contact Form */
.contact-form-section {
  padding: clamp(40px, 5vw, 100px) clamp(20px, 5vw, 80px);
  max-width: 1400px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 80px);
}

.contact-form {
  background: var(--secondary-dark);
  padding: clamp(25px, 4vw, 50px);
  border-radius: 2px;
}

.contact-form h2 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 600;
  margin-bottom: 30px;
}

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

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-gray);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  background: var(--primary-dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  font-family: "Raleway", sans-serif;
  font-size: 14px;
  border-radius: 2px;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-blue);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.submit-button {
  width: 100%;
  padding: 15px;
  background: var(--accent-blue);
  color: var(--text-light);
  border: 2px solid var(--accent-blue);
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.submit-button:hover {
  background: transparent;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(33, 150, 243, 0.3);
}

.contact-info-box {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.info-card {
  padding: 30px;
  background: var(--secondary-dark);
  border-radius: 2px;
  border-left: 4px solid var(--accent-blue);
}

.info-card h3 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(16px, 3vw, 18px);
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--accent-blue);
}

.info-card p {
  font-size: clamp(13px, 1.8vw, 15px);
  color: var(--text-gray);
  line-height: 1.7;
}

.map-container {
  margin-top: 30px;
  height: 300px;
  background: var(--secondary-dark);
  border-radius: 2px;
  overflow: hidden;
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-gray);
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icons a:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  transform: translateY(-3px);
}

/* Footer */
footer {
  padding: 40px clamp(20px, 5vw, 80px);
  background: var(--primary-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

footer p {
  font-size: clamp(12px, 1.8vw, 14px);
  color: var(--text-gray);
}

/* Responsive Design */
@media (max-width: 1200px) {
  header {
    padding: 15px 40px;
  }

  .hero-content {
    padding: 0 40px;
  }

  .hero {
    margin-top: 70px;
  }
}

@media (max-width: 1024px) {
  header {
    padding: 12px 25px;
  }

  nav {
    gap: 18px;
  }

  nav a {
    font-size: 12px;
  }

  .logo {
    font-size: 18px;
  }

  .hero-content {
    padding: 0 30px;
  }

  .portfolio {
    padding: clamp(40px, 5vw, 60px);
  }

  .portfolio-grid {
    gap: 25px;
  }

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

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

  .about-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image {
    order: -1;
    height: 300px;
  }

  .values-grid {
    gap: 25px;
  }
}

@media (max-width: 768px) {
  header {
    padding: 8px 8px;
    min-height: auto;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .logo {
    font-size: 16px;
    letter-spacing: 1px;
  }

  nav {
    gap: 3px;
    width: 100%;
    justify-content: space-around;
    margin-top: 6px;
  }

  nav a {
    font-size: 10px;
    padding: 3px 6px;
    letter-spacing: 0px;
  }

  .hero {
    margin-top: 120px;
    height: 80vh;
  }

  .hero-content {
    padding: 0 20px;
    text-align: center;
  }

  .portfolio {
    padding: 40px 20px;
  }

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

  .portfolio-item {
    aspect-ratio: 16/12;
  }

  .contact {
    padding: 40px 20px;
  }

  .about-hero {
    padding: 60px 20px 40px;
  }

  .about-content {
    padding: 40px 20px;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-form-section {
    padding: 40px 20px;
  }

  .contact-grid {
    gap: 30px;
  }

  .contact-form {
    padding: 25px 20px;
  }

  .contact-info-box {
    gap: 20px;
  }

  .info-card {
    padding: 20px;
  }

  footer {
    padding: 25px 20px;
  }

  .cta-button {
    padding: 12px 30px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  header {
    padding: 8px 8px;
    min-height: auto;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .logo {
    font-size: 14px;
    letter-spacing: 1px;
    gap: 4px;
    width: auto;
  }

  nav {
    gap: 3px;
    width: 100%;
    justify-content: space-around;
    margin-top: 6px;
  }

  nav a {
    font-size: 10px;
    padding: 3px 6px;
    letter-spacing: 0px;
  }

  .hero {
    margin-top: 110px;
    height: 70vh;
  }

  .hero-content {
    padding: 0 15px;
  }

  .section-title {
    margin-bottom: 30px;
  }

  .portfolio {
    padding: 30px 15px;
  }

  .about-section {
    gap: 25px;
    margin-bottom: 60px;
  }

  .about-image {
    height: 250px;
  }

  .contact-form {
    padding: 20px 15px;
  }

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

  .submit-button {
    padding: 12px;
    font-size: 12px;
  }

  .info-card {
    padding: 15px;
  }

  .values-grid {
    gap: 15px;
  }

  .value-item {
    padding: 20px 15px;
  }

  footer {
    padding: 20px 15px;
  }

  .cta-button {
    padding: 10px 25px;
    font-size: 11px;
  }
}
