@import url('https://fonts.googleapis.com/css2?family=TASA+Explorer:wght@400..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,500;1,500&display=swap');

@font-face {
    font-family: 'EvaSlide';
    src: url("../fonts/EPKAISHO.TTF");
}

:root {
    --base-color: #f7f4ea;
    --base-variant: white;
    --text-color: black;
    --primary-color: #0eb10e;
    --accent-color: #068d06;
    --glow-color: #12f395;
}

.darkmode {
    --base-color: #1f1e1e;
    --base-variant: black;
    --text-color: white;
    --primary-color: #068d06;
    --accent-color: #0eb10e;
}

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

body {
    background-color: var(--base-color);
    min-height: 100vh;
    font-family: "Segoe UI", Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-color);
    line-height: 1.7;
}

header {
    position: sticky;
    top:0;
    z-index: 999;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0px 2.5%;
    background-color: var(--base-variant);
}

h1 {
    font-family: 'EvaSlide', sans-serif;
    padding-right: 5px;
    font-size:40px;
    cursor: pointer;
}

li, a, button {
    font-family: "TASA Explorer", sans-serif;
    font-weight: 500;
    font-size: 24px; 
    color: var(--text-color);
    text-decoration: none;
}

.logo {
    margin-right: auto;
}

.logo:hover {
    box-shadow: var(--accent);
}

.nav__links {
    list-style: none;
}

.nav__links li {
    display: inline-block;
    padding: 0px 15px;
}

.nav__links li a {
    transition: all 0.3s ease 0s;
}

.nav__links li a:hover {
    color:var(--accent-color);
}

button {
    color: var(--base-variant);
    margin-left: 20px;
    padding: 9px 25px;
    background-color: var(--accent-color);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease 0s;
}

button:hover {
    background-color: var(--accent-color);
}

.about-section {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  max-width: 1000px;
  margin: auto;
}

/* Photo styles */
.about-photo {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.about-photo img {
  width: 250px;
  height: 250px;
  border-radius: 50%; /* circular image */
  object-fit: cover;
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* Text styles */
.about-text {
  flex: 2;
  padding: 20px;
}

.about-text h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: var(--text-color);
  font-weight: 600;
  border-bottom: 3px solid var(--accent-color); /* accent underline */
  display: inline-block;
  padding-bottom: 5px;
}

.about-text h3 {
  font-size: 1.4rem;
  margin-top: 20px;
  margin-bottom: 10px;
  color: var(--accent-color);
  font-weight: 500;
}

.about-text p {
  font-size: 1rem;
  margin-bottom: 15px;
  color: var(--text-color);
}

.about-text strong {
  color: #222;
  font-weight: 600;
}

/* Responsive design for tablets/phones */
@media (max-width: 768px) {
  .about-section {
    flex-direction: column;
    text-align: center;
  }

  .about-text h2 {
    font-size: 1.8rem;
  }

  .about-text p {
    font-size: 0.95rem;
  }
}

#theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#theme-toggle img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: brightness(0) invert(0); /* ensures dark icon on light bg */
}

.darkmode #theme-toggle img {
    filter: brightness(0) invert(1); /* ensures light icon on dark bg */
}

#theme-toggle:hover img {
    transform: scale(1.1);
}

