body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: linear-gradient(to bottom, #252424, #3d3b3b);
  color: #f2f2f2;
  text-align: center;
}

header {
  background: #ff3c00;
  padding: 80px 20px;
}

section {
  padding: 80px 20px;
}

footer {
  background: #000;
  padding: 30px;
}
.gallery {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.gallery img {
  width: 100px;
  border-radius: 12px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery img:hover {
  transform: scale(3.5);
  box-shadow: 0 15px 40px rgba(0,0,0,0.5);
  z-index: 10;
}

.contact-info {
  padding: 60px 20px;
  background: #222;
}

.contact-info p {
  margin: 10px 0;
}
.light-mode {
  background: #ffffff;
  color: #222;
}

.light-mode header {
  background: #f5f5f5;
  color: #000;
}

.light-mode footer {
  background: #eee;
  color: #000;
}

.light-mode .contact-info {
  background: #f9f9f9;
  color: #000;
}
.mode-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #ff3c00;
  color: white;
  border: none;
  padding: 10px 14px;
  border-radius: 50px;
  cursor: pointer;
  z-index: 999;
}

.mode-toggle:hover {
  opacity: 0.8;
}
#modeBtn {
  position: fixed;
  top: 15px;
  right: 15px;
  background: #ff3c00;
  border: none;
  padding: 10px 15px;
  border-radius: 20px;
  cursor: pointer;
  color: white;
}

.light {
  background: white;
  color: black;
}

.light header {
  background: #eee;
}

.light footer {
  background: #ddd;
  color: black;
}
.light .contact-info {
  background: #f5f5f5;
  color: black;
}
html {
  scroll-behavior: smooth;
}

/* nav=메뉴 */
nav {
  display: flex;
  justify-content: center;
  gap: 15px;
  padding: 20px;
}

nav a {
  color: white;
  text-decoration: none;
  padding: 10px 22px;
  border-radius: 40px;
  background: linear-gradient(135deg, #ff3c00, #ff6a3d);
  font-weight: bold;
  transition: 0.3s;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

nav a:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}
nav {
  position: sticky;
  top: 0;
  background: #1e1e1e;
  z-index: 100;
}

.light nav {
  background: #ffffff;
}

.light nav a {
  background: linear-gradient(135deg, #ff9a3d, #ff6a3d);
  color: white;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 80%;
  border-radius: 12px;
}

.close {
  position: absolute;
  top: 30px;
  right: 50px;
  color: white;
  font-size: 40px;
  cursor: pointer;
}

#topBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #ff4d1a;
  color: white;
  border: none;
  padding: 12px 18px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: none;
  z-index: 999;
  transition: 0.3s;
}

#topBtn:hover {
  background: #ff6a3d;
}