/* Horizon font import (Google Fonts doesn't have Horizon, so use Orbitron as a close alternative) */
@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@700&display=swap");

.header {
  position: relative;
  padding: 2rem 0 1rem 0;
  border-bottom: 1px solid var(--border);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-img.logo-centered {
  display: block;
  margin: 2rem auto 1.5rem auto;
  height: 120px;
  width: auto;
  border-radius: 0.5rem;
  box-shadow: var(--shadow);
  background: transparent;
}

.site-title {
  font-family: "Orbitron", "Horizon", "Inter", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: 0.04em;
  text-align: left;
  margin: 0 auto;
  width: 100%;
  padding: 1.5rem 0 1.5rem 0;
}
/* Header layout for logo right and centered title */
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.site-title {
  flex: 1;
  text-align: left;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}

.logo-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.logo-img {
  height: 96px;
  width: auto;
  display: block;
  margin-left: 1rem;
  border-radius: 0.5rem;
  box-shadow: var(--shadow);
  background: transparent;
}
.site-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
  text-align: left;
}
/* Modern CSS Variables */
:root {
  --primary-color: #ff0400; /* Red from logo */
  --secondary-color: #b0b3b8; /* Muted grey */
  --text-primary: #222222;
  --text-secondary: #555555;
  --background: #f3f4f6; /* Light grey background */
  --surface: #ffffff;
  --border: #d1d5db;
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.08), 0 1px 2px 0 rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08),
    0 4px 6px -2px rgba(0, 0, 0, 0.04);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--background);
  min-height: 100vh;
}

/* Layout */

.logo h1 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary-color);
  letter-spacing: -0.025em;
  text-align: center;
  width: 100%;
}

.main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
}

.content {
  max-width: 800px;
  width: 100%;
  text-align: center;
}

/* Profile Section */
.profile-section {
  background: var(--surface);
  border-radius: 1.5rem;
  padding: 4rem 3vw;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  width: 100%;
  max-width: 900px;
  margin: 2.5rem auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-full {
  width: 100%;
  max-width: 900px;
  border-radius: 1rem;
  margin: 2rem 0;
}

.profile-info .name {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  letter-spacing: -0.025em;
}

.profile-info .title {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-weight: 400;
}

/* Contact Section */
.contact {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.email {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.5rem;
  background: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 0.5rem;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.2s ease;
  box-shadow: var(--shadow);
  margin-right: 1rem;
}

.email:hover {
  background: #b71c1c;
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.5rem;
  background: #0077b5;
  color: #fff;
  text-decoration: none;
  border-radius: 0.5rem;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.2s ease;
  box-shadow: var(--shadow);
}

.linkedin:hover {
  background: #005983;
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.email .icon,
.linkedin .icon {
  width: 1.25rem;
  height: 1.25rem;
}

/* Footer */
.footer {
  padding: 2rem;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.875rem;
  border-top: 1px solid var(--border);
}

/* Responsive Design */
@media (max-width: 768px) {
  .logo {
    padding: 0 1rem;
  }

  .logo h1 {
    font-size: 1.5rem;
  }

  .main {
    padding: 2rem 1rem;
  }

  .profile-section {
    padding: 2rem 1.5rem;
  }

  .profile-info .name {
    font-size: 2rem;
  }

  .profile-info .title {
    font-size: 1.125rem;
  }
}

@media (max-width: 480px) {
  .profile-info .name {
    font-size: 1.75rem;
  }

  .email {
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
  }

  .profile-section {
    padding: 1.5rem 1rem;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .email {
    transition: none;
  }

  .email:hover {
    transform: none;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  :root {
    --primary-color: #fc1500;
    --secondary-color: #b0b3b8;
    --text-primary: #f3f4f6;
    --text-secondary: #b0b3b8;
    --background: #18191a;
    --surface: #23272f;
    --border: #444950;
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3), 0 1px 2px 0 rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3),
      0 4px 6px -2px rgba(0, 0, 0, 0.2);
  }
}
