@import url('https://fonts.googleapis.com/css2?family=Caveat&family=Montserrat:wght@700;800;900&family=Roboto:wght@300;400;500&family=Playfair+Display:wght@700&display=swap');

:root {
  --bg-color: #334146; /* Dark Slate Blue */
  --surface-color: #3a5f5f; /* Slightly lighter slate blue for surfaces */
  --primary-color: #bb86fc; /* Kept for potential accents, but text will be white */
  --secondary-color: #00adef; /* Kept for potential accents */
  --text-color: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.85);
  --text-disabled: rgba(255, 255, 255, 0.6);
  --error-color: #cf6679;
  --font-name: 'Caveat', cursive; /* New font for the name */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Roboto', sans-serif;
  --transition: all 0.3s ease;
}

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

html, body {
  height: 100%;
  width: 100%;
  overflow: hidden; /* Prevent all scrolling */
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  background-color: var(--bg-color);
  color: var(--text-color);
  display: flex; /* For centering content */
  justify-content: center;
  align-items: center;
  text-align: center; /* Center text by default */
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

ul {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

h1 {
  font-family: var(--font-name);
  font-size: 5rem; /* Slightly larger for impact */
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
  color: var(--text-color); /* Ensure name is white */
  font-weight: 700;
  text-transform: uppercase;
}

h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem; /* Adjusted size */
  color: var(--text-secondary);
  font-weight: 700;
  margin-bottom: 2rem;
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-left: auto; /* Center p tags within their container if max-width is hit */
  margin-right: auto;
}

/* Hero Section */
.hero {
  width: 100%; /* Take full width */
  height: 100vh; /* Full viewport height */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px; /* Add some padding */
}

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

.hero-content h1 {
  text-align: center;
  transform: rotate(-2deg); 
}

/* Links */
.links {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  gap: 1.5rem;
}

.link-item {
  padding: 0.75rem 1.5rem;
  background-color: transparent; /* Transparent background */
  border-radius: 50px; /* More rounded for a modern look */
  transition: var(--transition);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-color);
  border: 2px solid var(--text-secondary); /* Border for definition */
  display: inline-flex; /* To align icon and text */
  align-items: center;
  gap: 0.75rem; /* Space between icon and text */
}

.link-item:hover {
  transform: translateY(-3px) scale(1.05); /* Subtle lift and scale */
  background-color: var(--surface-color); /* Light background on hover */
  border-color: var(--text-color);
  color: var(--text-color);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.link-item i {
  font-size: 1.2rem; /* Icon size */
}

/* Contact Form */
.contact-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 4rem 20px;
  background-color: var(--surface-color);
}

.contact-form {
  width: 100%;
  max-width: 500px;
  padding: 2rem;
  background-color: var(--bg-color);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
  font-weight: 500;
}

input, textarea {
  width: 100%;
  padding: 0.75rem;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: var(--text-color);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  background-color: rgba(187, 134, 252, 0.05);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

button {
  padding: 0.75rem 1.5rem;
  background-color: var(--secondary-color);
  color: #000;
  border: none;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
}

button:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
}

/* Back Link */
.back-link {
  position: absolute;
  top: 2rem;
  left: 2rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.back-link:hover {
  color: var(--primary-color);
}

/* Footer */
footer {
  position: absolute; /* Position footer at the bottom */
  bottom: 20px;
  width: 100%;
  padding: 1rem 0;
  text-align: center;
  color: var(--text-disabled);
  font-size: 0.9rem;
  display: none;
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .links {
    flex-direction: column;
    gap: 1rem;
  }
  
  .link-item {
    width: 100%;
  }
  
  .back-link {
    top: 1rem;
    left: 1rem;
  }
}

h1 {
  font-size: 4.5rem;
  font-weight: bold;
  margin-bottom: 0.25rem;
}

h2 {
  font-size: 1.5rem;
  font-weight: normal;
  margin-top: 0;
  color: var(--secondary-color);
}

h3 {
  font-size: 1.25rem;
  font-weight: bold;
}

h4 {
  font-size: 1.125rem;
  font-weight: normal;
  color: var(--secondary-color);
}

p {
  margin-bottom: 1rem;
}

/* Header & Navigation */
header {
  background-color: transparent;
  padding: 2rem 0 1rem;
  margin-bottom: 2rem;
}

nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.logo {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--dark-color);
  margin-bottom: 0;
  text-decoration: none;
}

.tagline {
  font-size: 1.5rem;
  color: var(--secondary-color);
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.nav-links {
  display: flex;
  align-items: center;
  margin-top: 0.5rem;
}

.nav-links li {
  margin-right: 1.5rem;
}

.nav-links a {
  color: var(--dark-color);
  font-weight: normal;
  font-size: 1rem;
  text-decoration: underline;
}

.nav-links a:hover {
  color: var(--secondary-color);
}

/* Hero Section */
.hero {
  padding: 2rem 0;
  background-color: transparent;
  margin-bottom: 3rem;
}

.hero-content {
  display: flex;
  flex-direction: column;
}

.hero-text {
  width: 100%;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 0.25rem;
  color: var(--dark-color);
  font-weight: bold;
  transform: rotate(-2deg); 
}

.hero-text h2 {
  font-size: 1.5rem;
  margin-top: 0;
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
  font-weight: normal;
}

.hero-text p {
  font-size: 1.125rem;
  line-height: 1.5;
  margin-bottom: 2rem;
  max-width: 650px;
  color: var(--dark-color);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--dark-color);
  font-weight: normal;
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background-color: var(--dark-color);
  color: white;
}

.btn-primary:hover {
  background-color: white;
  color: var(--dark-color);
}

.btn-outline {
  background-color: transparent;
  color: var(--dark-color);
  border: 2px solid var(--dark-color);
}

.btn-outline:hover {
  background-color: var(--dark-color);
  color: white;
}

/* Sections */
.section {
  padding: 2rem 0;
  margin-bottom: 3rem;
}

.section-title {
  text-align: left;
  margin-bottom: 1.5rem;
}

.section-title h1, 
.section-title h2 {
  display: inline-block;
  position: relative;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.section-title h3 {
  margin-top: 0;
  margin-bottom: 1.5rem;
}

/* Feature boxes */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  margin-bottom: 3rem;
}

.feature-box {
  border-top: 2px solid var(--dark-color);
  padding-top: 1.5rem;
  transition: var(--transition);
}

.feature-box h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.feature-box p {
  margin-bottom: 1.25rem;
}

/* Form Styles */
.form-group {
  margin-bottom: 2rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
  font-size: 1rem;
  color: var(--dark-color);
}

input, textarea, select {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--dark-color);
  font-family: var(--font-body);
  font-size: 1rem;
  background-color: white;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--secondary-color);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

/* Resume */
.resume-section {
  margin-bottom: 3rem;
}

.resume-item {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.resume-item:last-child {
  border-bottom: none;
}

.resume-item h3 {
  margin-bottom: 0.3rem;
  font-weight: 500;
  font-size: 1.3rem;
}

.resume-item h4 {
  color: var(--secondary-color);
  margin-bottom: 0.3rem;
  font-weight: 400;
  font-size: 1.1rem;
}

.resume-item .date {
  color: var(--secondary-color);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  display: inline-block;
}

/* Social Links */
.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.social-links a {
  font-size: 1.2rem;
  color: var(--secondary-color);
  transition: var(--transition);
}

.social-links a:hover {
  color: var(--dark-color);
  transform: translateY(-2px);
}

/* Footer */
footer {
  background-color: transparent;
  color: var(--secondary-color);
  text-align: left;
  padding: 3rem 0;
  border-top: 2px solid var(--dark-color);
  margin-top: 4rem;
}

footer p {
  margin: 0;
  font-size: 0.9rem;
}

footer a {
  color: var(--dark-color);
  text-decoration: underline;
}

footer a:hover {
  color: var(--secondary-color);
}

/* Responsive */
@media (max-width: 768px) {
  body {
    padding: 0 15px;
  }
  
  .hero-content {
    flex-direction: column;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
  }
  
  .nav-links {
    flex-wrap: wrap;
  }
  
  .nav-links li {
    margin-bottom: 0.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }
}
