/* Reset & base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Roboto", sans-serif;
  color: #222;
  background: #f8f8f8;
  line-height: 1.6;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}

/* Navbar */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 100;
}
nav .logo {
  font-family: "Montserrat", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
}
nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}
nav ul li a {
  font-weight: 500;
  transition: color 0.3s;
}
nav ul li a:hover {
  color: #ff4c4c;
}

/* Hero */
header {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background: url("https://images.unsplash.com/photo-1517694712202-14dd9538aa97?auto=format&fit=crop&w=1400&q=80")
    center/cover no-repeat;
  color: #fff;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  text-align: center;
  padding: 0 1rem;
}
header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}
header p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: auto;
}

/* Sections */
section {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: auto;
}
section h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  color: #333;
}

/* Portfolio grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
.portfolio-item {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}
.portfolio-item:hover {
  transform: translateY(-5px);
}
.portfolio-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.portfolio-item .info {
  padding: 1rem;
}
.portfolio-item .info h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}
.portfolio-item .info p {
  font-size: 0.9rem;
  color: #666;
}

/* Video section */
.video-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.video-gallery video {
  width: 100%;
  border-radius: 10px;
}

/* About */
.about {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}
.about img {
  border-radius: 10px;
  flex: 1 1 300px;
  max-width: 400px;
}
.about .bio {
  flex: 2 1 400px;
}

/* Contact */
.contact form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 600px;
  margin: auto;
}
.contact input,
.contact textarea {
  padding: 0.8rem;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 1rem;
}
.contact button {
  padding: 0.8rem;
  border: none;
  border-radius: 5px;
  background: #ff4c4c;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}
.contact button:hover {
  background: #e03b3b;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  background: #333;
  color: #fff;
  margin-top: 4rem;
}

/* Responsive */
@media (max-width: 768px) {
  header h1 {
    font-size: 2.2rem;
  }
  header p {
    font-size: 1rem;
  }
  nav ul {
    gap: 1rem;
  }
  .about {
    flex-direction: column;
    text-align: center;
  }
}
