/* CSS VARIABLES & THEMES */
:root {
  /* Default Dimensions */
  --sidebar-width: 280px;
  --nav-height: 60px;
  --border-radius: 20px;
}

/* 1. DARK MODE (DEFAULT) */
.theme-dark {
  --bg-body: #111111;
  --bg-panel: #1e1e1f;
  --text-primary: #fafafa;
  --text-secondary: #d6d6d6;
  --accent-color: #ffdb70;
  --border-color: #383838;
  --font-family: 'Poppins', sans-serif;
}

/* 2. LIGHT MODE */
.theme-light {
  --bg-body: #f4f4f6;
  --bg-panel: #ffffff;
  --text-primary: #1a1a1a;
  --text-secondary: #555555;
  --accent-color: #e63946;
  --border-color: #cccccc;
  --font-family: 'Poppins', sans-serif;
}

/* 3. FUTURISTIC MODE */
.theme-futuristic {
  --bg-body: #050a1f;
  --bg-panel: #0a1128;
  --text-primary: #e0e6ed;
  --text-secondary: #8a9bb8;
  --accent-color: #00f0ff;
  --border-color: #00f0ff55;
  --font-family: 'Orbitron', sans-serif;
  text-shadow: 0 0 5px rgba(0, 240, 255, 0.3);
}

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

body {
  background-color: var(--bg-body);
  color: var(--text-primary);
  font-family: var(--font-family);
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  padding: 40px;
}

main {
  display: flex;
  gap: 20px;
  max-width: 1200px;
  width: 100%;
}

/* PANELS */
.sidebar, .main-content {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 30px;
  transition: all 0.3s ease;
}

/* SIDEBAR */
.sidebar {
  width: var(--sidebar-width);
  flex-shrink: 0;
}

.sidebar-info {
  text-align: center;
  margin-bottom: 30px;
}

.avatar-box {
  background: var(--border-color);
  border-radius: 20px;
  display: inline-block;
  padding: 10px;
  margin-bottom: 15px;
}

.name {
  font-size: 24px;
  margin-bottom: 10px;
}

.title {
  color: var(--text-secondary);
  background: var(--bg-body);
  padding: 5px 15px;
  border-radius: 8px;
  display: inline-block;
  font-size: 14px;
}

.separator {
  height: 1px;
  background: var(--border-color);
  margin: 20px 0;
}

.contacts-list {
  list-style: none;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.icon-box {
  color: var(--accent-color);
  font-size: 20px;
  background: var(--bg-body);
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
}

.contact-info .contact-title {
  color: var(--text-secondary);
  font-size: 12px;
  text-transform: uppercase;
}

.contact-info a, .contact-info address {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 14px;
  font-style: normal;
}

/* MAIN CONTENT */
.main-content {
  flex-grow: 1;
  position: relative;
}

/* NAVBAR */
.navbar {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--bg-body);
  border-bottom-left-radius: var(--border-radius);
  border-top-right-radius: var(--border-radius);
  padding: 15px 30px;
  border-left: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.navbar-list {
  display: flex;
  gap: 30px;
  list-style: none;
}

.navbar-link {
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 16px;
  cursor: pointer;
  transition: color 0.3s;
}

.navbar-link:hover, .navbar-link.active {
  color: var(--accent-color);
}

/* ABOUT SECTION */
.about {
  margin-top: 60px;
}

.article-title {
  font-size: 32px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 15px;
}

.article-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 4px;
  background: var(--accent-color);
  border-radius: 2px;
}

.about-text p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 15px;
}

/* SERVICES */
.service-title {
  margin: 30px 0 20px;
  font-size: 24px;
}

.service-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  list-style: none;
}

.service-item {
  background: var(--bg-body);
  padding: 20px;
  border-radius: 15px;
  border: 1px solid var(--border-color);
}

.service-item-title {
  margin-bottom: 10px;
}

.service-item-text {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

/* THEME TOGGLE BUTTON */
.theme-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--bg-panel);
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
  font-size: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}

.theme-btn:hover {
  transform: scale(1.1);
  background: var(--accent-color);
  color: var(--bg-panel);
}

.theme-futuristic .theme-btn {
  box-shadow: 0 0 20px var(--accent-color);
}
