/* ===== Base Reset ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #0e0e0e;
  color: #f5f5f5;
  line-height: 1.6;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* ===== Header ===== */
.site-header {
  background-color: #000000;
  background: transparent;
  padding: 20px 0;
  border-bottom: 1px solid #222;
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 600;
  color: #00d5ff;
}

.nav a {
  margin-left: 20px;
  font-weight: 500;
  transition: color 0.3s;
}

.nav a:hover {
  color: #00d5ff;
}

/* Logo Section */
.logo-wrapper {
  display: flex;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 10px;
}

.logo-link i {
  font-size: 1.5rem;
  color: #333;
}

.logo-img {
  height: 40px;
  width: auto;
  transition: opacity 0.3s ease-in-out;
}

/* ===== Hero ===== */
.hero {
  height: 90vh;
  background: url('/image/img_blog/3.jpg') center center / cover no-repeat;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Overlay for text readability */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 3rem;
  color: #ffffff;
  margin-bottom: 10px;
}

.hero-content p {
  font-size: 1.2rem;
  color: #ccc;
  margin-bottom: 30px;
}

.btn {
  padding: 12px 25px;
  background: #00d5ff;
  color: #000;
  font-weight: 600;
  border-radius: 5px;
  transition: background 0.3s;
}

.btn:hover {
  background: #00d5ff;
}


/* ===== Sections ===== */
.section {
  padding: 80px 20px;
  background: #000000;
}

.section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 40px;
  color: #00d5ff;
}

/* ===== About ===== */
.about-content {
  display: flex;
  gap: 40px;
  align-items: center;
  max-width: 1100px;
  margin: auto;
  flex-wrap: wrap;
}

.about-img {
  width: 300px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 213, 255, 0.1);
}

/* ===== Gallery ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-grid a {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.gallery-grid img {
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-grid a:hover img {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(0, 213, 255, 0.3);
}

/* ===== Footer ===== */
.site-footer {
  background: #000000;
  padding: 30px 20px;
  text-align: center;
  color: #777;
  font-size: 14px;
}

/* ===== Scroll to Top ===== */
.scroll-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #00d5ff;
  color: #000;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 213, 255, 0.3);
  transition: background 0.3s;
  z-index: 1000;
}

.scroll-top:hover {
  background: 00d5ff;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }

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

  .about-img {
    width: 100%;
    max-width: 300px;
  }

  .nav a {
    margin-left: 12px;
    font-size: 0.95rem;
  }
}
