@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

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

body {
  font-family: 'Roboto', sans-serif;
  background-color: #fff;
  color: #333;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Floating menu */
.floating-menu {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(51, 51, 51, 0.9);
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.floating-menu ul {
  list-style: none;
  display: flex;
  justify-content: center;
  padding: 15px 0;
}

.floating-menu li {
  margin: 0 20px;
}

.floating-menu a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.floating-menu a:hover {
  color: #f0a500;
}

/* Sections */
section {
  padding: 100px 0 80px;
}

.section-home {
  padding-top: 140px;
}

.banner {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.banner img {
  width: 100%;
  display: block;
  height: auto;
}

.banner-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  background: rgba(0,0,0,0.5);
  padding: 30px 20px;
  border-radius: 8px;
}

.banner-overlay h1 {
  font-size: 2.8em;
  margin-bottom: 10px;
}

.banner-overlay p {
  font-size: 1.2em;
}

.intro-text {
  text-align: center;
  margin-top: 40px;
  padding: 0 20px;
}

.intro-text h2 {
  font-size: 2.2em;
  margin-bottom: 20px;
}

.intro-text p {
  font-size: 1.1em;
  color: #666;
}

/* About section */
#about .about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 20px 0;
}

#about .about-content img {
  width: 300px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

#about .about-text {
  max-width: 600px;
  text-align: justify;
}

#about .about-text p {
  margin-bottom: 15px;
  font-size: 1.05em;
  color: #555;
}

/* Portfolio */
#portfolio .project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

#portfolio .project {
  background: #fafafa;
  padding: 20px;
  border: 1px solid #eee;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#portfolio .project:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

#portfolio .project h3 {
  margin-bottom: 10px;
  font-size: 1.5em;
}

#portfolio .project p {
  margin-bottom: 15px;
  font-size: 1em;
  color: #666;
}

.project-gallery {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.project-gallery img {
  width: 100%;
  border-radius: 8px;
  cursor: pointer;
}

/* Contact */
#contact .contact-info {
  text-align: center;
  font-size: 1.2em;
  line-height: 1.8;
  color: #444;
}

/* Footer */
footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 20px 0;
  font-size: 0.9em;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  align-items: center;
  justify-content: center;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 3em;
  color: #fff;
  cursor: pointer;
}
