/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "MedievalSharp", cursive;
}

body {
  
  color: black;
  background-image: url('../images/escanorsupercolor.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  line-height: 1.6;
}

/* Navigation */
nav {
  width: 100%;
  position: fixed;
  top: 0;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  z-index: 1000;
}

.nav-container {
  max-width: 1100px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: #332929;
  font-weight: 600;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #000000;
}

.logo {
  font-weight: 700;
  font-size: 1.3rem;
  color: #2e3031;
  text-decoration: none;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  color: black;
  
  text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.btn {
  padding: 0.7rem 1.5rem;
  background: #010305;
  color: white;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

.btn:hover {
  background: #000000;
}

/* Sections */
.section {
  padding: 6rem 0;  /* vertical spacing only */
  width: 100%;
}

/* Section content layout */
.section-content {
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* Left sections */
.section-content.left {
  align-items: flex-start;
  text-align: left;
  padding-left: 4rem;
}

/* Right sections */
.section-content.right {
  align-items: flex-end;
  text-align: right;
  padding-right: 4rem;
}

/* Center sections */
.section-content.center {
  align-items: center;
  text-align: center;
}

/* Headings */
.section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.section-content.left .skills-container {
  justify-content: flex-start;
}

.section-content.right .skills-container {
  justify-content: flex-end;
}

.section-content.center .skills-container {
  justify-content: center;
}

.skill:hover {
  transform: translateY(-5px);
}

/* Social Links */
.socials {
  display: flex;
  gap: 1.5rem;
}

.section-content.left .socials {
  justify-content: flex-start;
}

.section-content.right .socials {
  justify-content: flex-end;
}

.section-content.center .socials {
  justify-content: center;
}

.socials a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  background: #f5f7fa;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Responsive */
@media (max-width: 768px) {
  .section-content {
    align-items: center !important;
    text-align: center !important;
    padding: 0 1rem !important;
  }

  .skills-container {
    justify-content: center !important;
  }

  .socials {
    color: #f5f7fa;
    justify-content: center !important;
  }
}
/* Contact icons */
.socials a {
  font-size: 2rem;
  margin: 0 1rem;
  color: #e6e5e5;
  text-decoration: none;
  transition: color 0.3s, transform 0.3s;
}

.socials a:hover {
  color: #bb2929;
  transform: scale(1.2);
}

/* Make the Contact section text white */
#contact h2,
#contact p {
  color: white;
}

/* Make the icons white */
#contact .socials a {
  color: white;
}

#contact .socials a:hover {
  color: #ddd; /* optional hover color */
}

#education h2,
#education p {
  color: white;
}

/* Make the icons white */
#education .socials a {
  color: white;
}

#education .socials a:hover {
  color: #ddd; /* optional hover color */
}
