/*
 * Primary stylesheet for the Furkan Şenyuz personal website.
 * The design uses a blueprint‑inspired hero image and a clean,
 * professional layout. Colours and typography are chosen to
 * reinforce trust and clarity while keeping the page lightweight
 * and responsive.
 */

/* Global resets and base styles */
html,
body {
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f9f9f9;
}

h1,
h2,
h3 {
  margin: 0 0 0.5em;
  font-weight: 600;
  color: #0d47a1;
}

p {
  margin-bottom: 1em;
}

ul {
  list-style-type: disc;
  padding-left: 1.2em;
  margin-bottom: 1em;
}

/* Hero section */
.hero {
  position: relative;
  min-height: 100vh;
  background-image: url('hero.png');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

/* Dark overlay on hero for legibility */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 40, 0.55);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 20px;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 0.3em;
}

.hero h2 {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 0.8em;
  color: #ffea00;
}

.hero p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 1.5em;
  color: #e3f2fd;
}

.btn {
  display: inline-block;
  background-color: #f8b500;
  color: #fff;
  padding: 0.8em 1.6em;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.2s ease-in-out;
  cursor: pointer;
  border: none;
}

.btn:hover {
  background-color: #ffa000;
}

/* Section styling */
.section {
  padding: 60px 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.section h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 2rem;
  color: #0d47a1;
}

.about p {
  font-size: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

/* Experience section */
.experience-item {
  margin-bottom: 40px;
}

.experience-item h3 {
  font-size: 1.3rem;
  margin-bottom: 0.2em;
  color: #1565c0;
}

.experience-item .period {
  display: block;
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 0.4em;
}

.experience-item p {
  font-size: 1rem;
  line-height: 1.4;
}

/* Skills */
.skills-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.skill-item {
  background-color: #e3f2fd;
  border-radius: 4px;
  padding: 10px 15px;
  font-size: 0.9rem;
  color: #0d47a1;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Education & certifications */
.education ul {
  max-width: 800px;
  margin: 0 auto;
}

.education li {
  margin-bottom: 0.5em;
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Activities */
.activities ul {
  max-width: 800px;
  margin: 0 auto;
}

.activities li {
  margin-bottom: 0.4em;
  font-size: 0.95rem;
}

/* Contact form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form label {
  font-weight: bold;
  color: #0d47a1;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
}

.contact-form button {
  align-self: flex-start;
}

/* Footer */
.footer {
  background-color: #0d47a1;
  color: #fff;
  text-align: center;
  padding: 20px;
}

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

/* Responsive design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  .hero h2 {
    font-size: 1.2rem;
  }
  .hero p {
    font-size: 0.9rem;
  }
  .section {
    padding: 40px 15px;
  }
}