/* === GLOBAL === */
body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: white;
  background-color: #111;
}

h1, h2, h3, p {
  margin: 0;
}

/* Fullscreen warning overlay */
#orientation-warning {
  position: fixed;
  inset: 0; /* top:0; right:0; bottom:0; left:0 */
  background: rgba(0, 0, 0, 0.95);
  color: white;
  z-index: 99999;
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  font-family: Arial, sans-serif;
  padding: 20px;
}

#orientation-warning.active {
  display: flex;
}

/* Text styling */
#orientation-warning h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

#orientation-warning p {
  font-size: 1.1rem;
  max-width: 400px;
  line-height: 1.5;
}


button {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  padding: 10px 25px;
  border-radius: 25px;
  cursor: pointer;
  transition: 0.3s ease;
  font-weight: bold;
}
button:hover {
  background: rgba(255, 255, 255, 0.4);
}

/* === HERO (Shared across pages) === */
.hero {
  background: linear-gradient(to right, #9be7c4, #efb86d);
  color: white;
  text-align: center;
  padding: 80px 20px;
}
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.hero .avatar {
  width: 120px;
  height: 120px;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
}
.hero .intro h1 {
  font-size: 2em;
  margin-bottom: 5px;
}
.hero .intro h1 span {
  color: #fffdd0;
}
.hero .intro h2 {
  font-size: 1.2em;
  font-weight: 400;
}

/* === SECTION WRAPPERS === */
.section {
  padding: 80px 10%;
  text-align: center;
}
.section.light {
  background: linear-gradient(to right, #a7d9b4, #e6c46d);
  color: #fff;
}
.section.dark {
  background: linear-gradient(to right, #7d9d8b, #b69a5a);
  color: #fff;
}

/* === CONTAINER === */
.container {
  max-width: 900px;
  margin: 0 auto;
}

/* === PORTFOLIO PREVIEW === */
.portfolio-preview {
  margin-top: 30px;
}
.portfolio-preview p {
  margin-bottom: 15px;
}

/* === CONTACT === */
.contact-links {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 20px;
}
.contact-links a {
  color: white;
  text-decoration: none;
  transition: 0.3s ease;
}
.contact-links a:hover {
  text-decoration: underline;
}

/* === FOOTER === */
footer {
  text-align: center;
  padding: 20px;
  background: linear-gradient(to right, #9be7c4, #efb86d);
  font-weight: bold;
}

/* === PORTFOLIO PAGE GRID (portfolio.html) === */
.portfolio-section {
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: center;
  padding: 60px 10%;
  background: linear-gradient(to right, #a7d9b4, #e6c46d);
}
.portfolio-section.dark {
  background: linear-gradient(to right, #7d9d8b, #b69a5a);
}
.section-left {
  text-align: left;
}
.section-left h2 {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
}
.section-right ul {
  list-style: disc;
  padding-left: 20px;
}
.section-right li {
  margin-bottom: 8px;
}
