/* Base typography and layout */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap');

:root{
  --accent:#0077ff;
  --muted:#555;
  --card-bg:#f9f9f9;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6;
  color: #222;
  background: #f5f7fa;
}

/* HERO */
.hero{
  position: relative;
  color: white;
  padding: 100px 16px;
  text-align: center;
  background-image: url('images/robot.jpeg');
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  backdrop-filter: none;
  z-index: 0;
}

.dark-mode .hero-overlay {
  background: rgba(0,0,0,0.7);
}

.hero h1 { font-size: 42px; margin: 0 0 10px; font-weight:700;}

.hero .subtitle {
  font-size: 18px;
  opacity: 0.95;
  margin-bottom: 12px;
  font-weight: 500;
}

.hero .intro-text { max-width:760px; margin:0 auto 18px; color: #eef1f5; }

.social-links { margin-top: 14px; }
.social-icon { font-size:30px; color:#fff; margin:0 10px; }

/* Buttons */
.btn { padding:10px 18px; border-radius:8px; text-decoration:none; font-weight:600; }
.btn-blue { background: var(--accent); color:white; margin-right:8px;}
.btn-white { background:white; color:black; }

/* Theme Toggle */
.theme-toggle{
  position:fixed;
  top:20px;
  right:20px;
  padding:8px 12px;
  border-radius:6px;
  cursor:pointer;
  background:white;
  z-index:1000;
}
.dark-mode{ background:#111; color:#eee; }
.dark-mode .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: none;
  z-index: 0;
}

.dark-mode .hero-overlay {
  background: rgba(0,0,0,0.7);
}


main .section {
  padding-top: 10px;
  padding-bottom: 10px;
  margin-top: 1px;
  margin-bottom: 10x;
}

/* Sections */
.section {
  padding: 30px 7%;
  margin-top: 10px;
  margin-bottom: 10px;
}

.section p {
padding-bottom: 0;
}

.section h2 {
  font-size: 28px;
  margin-bottom: 12px;
  padding-bottom: 4px;
  border-bottom: 1px solid #e0e0e0;
}

.section h3 {
  margin-bottom: 1px;
  margin-top: 1px;
  padding-bottom: 1px;
  padding-top: 1px;

}



/* Experience */
.company-header {
  font-size:1.4rem;
  border-left:4px solid var(--accent);
  padding-left:10px;
  margin-top:40px;
}
.exp-item{
  background:var(--card-bg);
  padding:20px;
  margin:20px 0;
  border-radius:10px;
  box-shadow:0 2px 6px rgba(0,0,0,0.06);
}
.exp-item h4{
  font-size:20px;
  margin-bottom:10px;
  display:flex;
  align-items:center;
  gap:10px;
}
.exp-dates{
  font-size:0.95rem;
  color:var(--muted);
  margin-bottom:14px;
}
.tech-icon{
  color:var(--accent);
  font-size:1.2rem;
}

/* Footer */
.footer{
  text-align:center;
  padding:40px;
  margin-top:40px;
  color:#666;
}

/* Mobile */
@media(max-width:800px){
  .section {
  padding: 30px 8%;
  margin-top: 10px;
  margin-bottom: 10px;
}
  .hero h1 { font-size:32px; }
}


.divider {
  height: 1px;
  border: 0;
  background: linear-gradient(to right, transparent, #ccc, transparent);
  margin: 18px 0;
}
.hero h1,
.hero .subtitle,
.hero .intro-text,
.hero-text-wrapper {
  position: relative;
  z-index: 3;
  color: #ffffff !important;
  text-shadow: 0 4px 14px rgba(0,0,0,0.95);
}

.social-links,
.social-icon {
  position: relative;
  z-index: 4;
}

.theme-toggle {
  position: fixed;
  z-index: 9999 !important;
}

.hero-buttons { position: relative; z-index: 4; }


.dark-mode .exp-item {
  background: #222 !important;
  color: #f5f5f5 !important;
}

.dark-mode .exp-item h4,
.dark-mode .exp-item p,
.dark-mode .exp-item ul li,
.dark-mode .company-header,
.dark-mode .section h2 {
  color: #f5f5f5 !important;
}

.dark-mode .divider {
  background: linear-gradient(to right, transparent, #555, transparent) !important;
}
