/* RESET & BASE */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Segoe UI', sans-serif;
  background: #fafafa;
  color: #333;
  line-height: 1.6;
  transition: background 0.3s, color 0.3s;
}
a { color: #3498db; text-decoration: none; }
a:hover { text-decoration: underline; }

/* BACKGROUND IMAGE */
.background {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url('background.jpg') center/cover no-repeat fixed;
  opacity: 0.25;
  z-index: -1;
}

/* HERO SECTION */
/* HERO LAYOUT */
.hero {
  height: auto;
  min-height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 1.5rem;
  text-align: center;
  background: rgba(0, 0, 0, 0.4);
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.profile-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.hero-text h1 {
  font-size: 2.5rem;
  color: #fff;
  margin: 0.5rem 0 0.25rem;
}

.hero-text p {
  font-size: 1.1rem;
  color: #f0f0f0;
  margin-bottom: 0.5rem;
}

.tagline {
  font-style: italic;
  opacity: 0.85;
}

.hero-text button {
  margin-top: 1rem;
  padding: 0.6rem 1.4rem;
  background: #3498db;
  border: none;
  color: white;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
}

.hero-text button:hover {
  background: #2176bd;
}


/* NAVIGATION */
.main-nav {
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.main-nav ul {
  display: flex;
  justify-content: center;
  padding: 1rem;
  gap: 2rem;
  list-style: none;
}
.main-nav a {
  color: #333;
  font-weight: 500;
  padding: 0.5rem;
  transition: color 0.3s;
}
.main-nav a:hover {
  color: #3498db;
}

/* MAIN CONTAINER */
.container {
  max-width: 960px;
  margin: auto;
  padding: 3rem 1.5rem;
}

/* SECTION HEADINGS */
h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

/* PROJECTS */
.project {
  margin-bottom: 3rem;
  background: rgba(255, 255, 255, 0.9);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
}
.project-header h3 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}
.project-desc {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: #c6c6c6;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}
.gallery img {
  width: 100%;
  height: 180px; /* or 200px, depending on your layout */
  object-fit: cover; /* crops and fills the frame */
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease;
}
.gallery img:hover {
  transform: scale(1.1);
}

/* CONTACT + FOOTER */
#contact p, #about p {
  font-size: 1.1rem;
  color: #cfcdcd;
}
footer {
  text-align: center;
  font-size: 0.9rem;
  padding: 2rem 0;
  color: #cfcdcd;
}

/* DARK THEME */
body.dark {
  background: #1a1a1a;
  color: #f0f0f0;
}
body.dark .main-nav {
  background: #2a2a2a;
}
body.dark .main-nav a {
  color: #ccc;
}
body.dark .project,
body.dark .gallery,
body.dark .about,
body.dark .contact {
  background: rgba(40, 40, 40, 0.85);
}
body.dark a {
  color: #66b2ff;
}
.kuula-embed {
  margin-top: 2rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
  background: rgba(0,0,0,0.02);
  padding: 1rem;
}
.kuula-embed h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #2c3e50;
}
body.dark .kuula-embed {
  background: rgba(255,255,255,0.05);
}
body.dark .kuula-embed h4 {
  color: #ddd;
}.nav-content {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 40px;
  width: auto;
  display: block;
}
