:root {
  --primary-color: #1a1a1a;
  --secondary-color: #333333;
  --accent-color: #c4a046;
  --text-color: #333333;
  --light-gray: #f5f5f5;
  --white: #ffffff;
  --gold: #c4a046;
}

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

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--white);
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
header {
  position: fixed;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
  z-index: 1000;
  height: 80px;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 28px;
  font-weight: 900;
  color: var(--primary-color);
  letter-spacing: 1px;
  font-family: 'Playfair Display', serif;
  text-transform: uppercase;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 40px;
}

nav ul li a {
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--gold);
  transition: width 0.3s ease;
}

nav ul li a:hover::after {
  width: 100%;
}

/* Hero Section */
#hero {
  min-height: 100vh;
  background: linear-gradient(rgba(26, 26, 26, 0.8), rgba(26, 26, 26, 0.8)), url('https://cagrimerkezinumarasi.com/wp-content/uploads/2017/12/avva-sahibi.jpg');
  background-size: cover;
  background-position: center 20%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding: 120px 0 160px;
  margin-top: 0;
}

.profile-image {
  width: 300px;
  height: 300px;
  margin: 0 auto 30px;
  position: relative;
}

.profile-frame {
  width: 100%;
  height: 100%;
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 20px;
  letter-spacing: 2px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content h2 {
  font-size: 2rem;
  font-weight: 300;
  color: var(--gold);
  margin-bottom: 30px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--gold);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-icon {
  width: 20px;
  height: 20px;
  fill: var(--gold);
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--gold);
}

.social-link:hover .social-icon {
  fill: var(--white);
}

/* About Section */
.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.lead {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 25px;
  color: var(--primary-color);
}

/* Section Styles */
section {
  padding: 100px 0;
}

section h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2.8rem;
  color: var(--primary-color);
  position: relative;
  padding-bottom: 15px;
}

section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--gold);
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 2px;
  background: var(--gold);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  width: 50%;
  background-color: var(--white);
}

.timeline-item:nth-child(odd) {
  left: 0;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.year {
  font-weight: bold;
  color: var(--gold);
  margin-bottom: 10px;
  font-size: 1.2rem;
}

/* Achievements Grid */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.achievement-card {
  background: var(--light-gray);
  padding: 35px;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.05);
}

.achievement-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  background: var(--white);
  border-color: var(--gold);
}

.achievement-card .icon {
  font-size: 45px;
  margin-bottom: 20px;
}

.achievement-card h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

/* Contact Section */
.contact-info {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: var(--light-gray);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.contact-item:hover {
  background: var(--white);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-item .icon {
  width: 24px;
  height: 24px;
  fill: var(--gold);
}

/* Footer */
footer {
  background: var(--primary-color);
  color: var(--white);
  padding: 25px 0;
  text-align: center;
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 768px) {
  header {
    height: 60px;
  }
  
  #hero {
    padding: 100px 0;
  }
  
  nav {
    padding: 15px;
  }
  
  nav ul {
    display: none;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content h2 {
    font-size: 1.5rem;
  }
  
  .profile-image {
    width: 250px;
    height: 250px;
  }
  
  section {
    padding: 60px 0;
  }
  
  section h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
  }
  
  .timeline::after {
    left: 31px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    margin-bottom: 30px;
  }
  
  .timeline-item:nth-child(even) {
    left: 0;
  }
  
  .achievements-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .contact-info {
    gap: 20px;
  }
  
  .contact-item {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content h2 {
    font-size: 1.2rem;
  }
  
  .profile-image {
    width: 200px;
    height: 200px;
  }
  
  section h2 {
    font-size: 1.8rem;
  }
  
  .lead {
    font-size: 1.1rem;
  }
}