/* ------------------------------
   GLOBAL RESET + BASE
------------------------------ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  background: #fff;
  color: #000;
  text-align: center;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ------------------------------
   MENU
------------------------------ */
.menu {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 9999; /* always on top */
}

.menu-trigger {
  background: #000;
  color: #fff;
  border: 1px solid #000;
  padding: 8px 16px;
  cursor: pointer;
  font-size: 14px;
  text-transform: uppercase;
  border-radius: 4px;
}

.menu-trigger:hover {
  background: #fff;
  color: #000;
}

.dropdown {
  list-style: none;
  position: absolute;
  top: 50px;
  left: 0;
  background: white;
  border: 1px solid #ccc;
  display: none;
  flex-direction: column;
  min-width: 200px;
  text-align: left;
  padding: 10px 0;
  box-shadow: 0px 4px 6px rgba(0,0,0,0.1);
  z-index: 9999;
}

.menu.open .dropdown {
  display: flex;
}

.dropdown li {
  padding: 8px 16px;
}

.dropdown li a {
  color: black;
  text-decoration: none;
  display: block;
}

.dropdown li a:hover {
  background: #f0f0f0;
}

/* ------------------------------
   HEADER
------------------------------ */
header {
  padding: 60px 20px 20px;
}

header h1 {
  font-size: 2.5rem;
  font-weight: bold;
}

/* ------------------------------
   GLOBE + ROTATING TEXT
------------------------------ */
.globe-container {
  position: relative;
  width: 400px;
  height: 400px;
  margin: 40px auto;
}

.globe {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  z-index: 1;
}

.rotating-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  animation: spin 12s linear infinite;
  z-index: 2;
  pointer-events: none; /* let clicks pass through */
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ------------------------------
   PAGE CONTENT
------------------------------ */
main {
  flex: 1;
  padding: 20px;
}

main p, main img {
  max-width: 800px;
  margin: 20px auto;
  display: block;
  text-align: left;
}

/* ------------------------------
   SOCIAL BUTTONS
------------------------------ */
.social-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 20px 0;
}

.social-btn {
  padding: 8px 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  text-decoration: none;
  color: black;
  font-size: 0.9rem;
  transition: background 0.3s;
}

.social-btn:hover {
  background: #f0f0f0;
}

/* ------------------------------
   FOOTER
------------------------------ */
footer {
  background: #f8f8f8;
  color: #666;
  font-size: 0.8rem;
  padding: 15px;
  text-align: center;
  border-top: 1px solid #ddd;
}

/* ------------------------------
   ABOUT PAGE
------------------------------ */
.about-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
  padding: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.about-photo img {
  max-width: 200px;   /* smaller image */
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.about-text {
  flex: 1;
  min-width: 250px;
  line-height: 1.6;
}

.about-text h2 {
  margin-top: 1.5rem;
  font-size: 1.4rem;
  border-bottom: 2px solid #ddd;
  padding-bottom: 0.25rem;
}

.about-text h3 {
  margin-top: 1rem;
  font-size: 1.1rem;
  color: #333;
}

/* ------------------------------
   MOBILE MENU STYLE
------------------------------ */
@media (max-width: 768px) {
  .menu {
    width: 100%;
    left: 0;
    top: 0;
  }

  .menu-trigger {
    width: 100%;
    border-radius: 0;
    text-align: left;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .dropdown {
    position: static;
    width: 100%;
    border: none;
    box-shadow: none;
    display: none; /* hidden until .menu.open */
    background: #fff;
  }

  .menu.open .dropdown {
    display: block;
  }

  .dropdown li {
    padding: 12px 20px;
    border-top: 1px solid #eee;
  }

  .dropdown li a {
    font-size: 1.1rem;
    display: block;
  }
}
