/*
Theme Name: Project 2 Theme
Author: Bibechana Bhandari
Description: My DGL233 Project 2 Classic Theme
Version: 1.0
*/

/* =========================
   RESET
========================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}
html{
  scroll-behavior:smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

section {
  padding: 3rem 1.5rem;
}
section {
  padding: 4rem 2rem;
  border-bottom: 1px solid #d6cfc5;
}

/* HEADER */

.site-header{
  background:#2b1f2f;
  padding:1rem 2rem;
}

.header-container{
  max-width:1100px;
  margin:auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.site-logo img{
  height:40px;
}

.nav-menu{
  list-style:none;
  display:flex;
  gap:2rem;
  margin:0;
  padding:0;
}

.nav-menu a{
  color:white;
  text-decoration:none;
  font-weight:500;
}

section:last-of-type {
  border-bottom: none;
}
/* HEADER */

.site-header{
  background:#2b1f2f;
  padding:1rem 2rem;
}

.header-container{
  max-width:1100px;
  margin:auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.site-logo img{
  height:45px;
  width:auto;
}

.nav-menu{
  list-style:none;
  display:flex;
  gap:2rem;
  margin:0;
  padding:0;
}

.nav-menu a{
  color:white;
  text-decoration:none;
  font-weight:500;
} 
/* =========================
   TYPOGRAPHY
========================= */

h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: .5rem;
}

p {
  margin-bottom: 0.8rem;
}

/* ===== PAGE CONTAINER ===== */

section {
  max-width: 1100px;
  margin: auto;
}


/* ===== HERO SECTION ===== */

.hero {
  display: flex;
  align-items: flex-start; /* aligns heading with top of image */
  justify-content: space-between;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  margin-top: 0;
}

.hero-image {
  flex-shrink: 0;
}

.hero-image img {
  width: 260px; /* adjust size here */
  height: auto;
  border-radius: 8px;
}

/* buttons */

.hero-buttons {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
}

.hero-buttons a {
  padding: 10px 18px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 14px;
  text-align: center;
}

.hero-buttons a:first-child {
  border: 2px solid #333;
  color: #333;
}

.hero-buttons a:last-child {
  background: #ff7a00;
  color: white;
}


/* ===== ABOUT SECTION ===== */




/* ===== SKILLS SECTION ===== */

.skills-grid {
  display: grid;
  gap: 2rem;
}

.skills-grid section {
  background: #f7f7f7;
  padding: 1.5rem;
  border-radius: 6px;
}


/* EDUCATION & EXPERIENCE */

.education-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:2rem;
}


@media (min-width:768px){

.education-grid{
  grid-template-columns:1fr 1fr;
}

}


/* ===== CTA SECTION ===== */

/* CTA SECTION */

.cta{
  padding:4rem 2rem;
}

.cta-container{
  max-width:1100px;
  margin:auto;
  display:grid;
  gap:3rem;
  align-items:center;
}

/* logo */

.cta-logo img{
  width:250px;
  margin:auto;
}

/* form side */

.cta-content h2{
  margin-bottom:1rem;
}

/* form styling */

.cta-content form{
  display:flex;
  flex-direction:column;
  gap:1rem;
}

.cta-content input,
.cta-content textarea{
  padding:8px;
  border:1px solid #ccc;
  width:100%;
}

.cta-content button{
  padding:10px;
  border:none;
  background:#ff7a00;
  color:white;
  cursor:pointer;
}


/* DESKTOP LAYOUT */

@media (min-width:768px){

.cta-container{
  grid-template-columns:1fr 1fr;
}

}
/* FOOTER */

.site-footer{
  background:#2b1f2f;
  color:white;
  padding:1.5rem 2rem;
}

.footer-container{
  max-width:1100px;
  margin:auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.footer-left a{
  color:#9fd1ff;
  text-decoration:none;
}

.footer-right{
  display:flex;
  gap:1rem;
}

.footer-right a{
  width:40px;
  height:40px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  font-size:18px;
}

.footer-right a:nth-child(1){
  background:#222;
  color:white;
}

.footer-right a:nth-child(2){
  background:#eee;
  color:#333;
}

.footer-right a:nth-child(3){
  background:#ff2f6d;
  color:white;
}


/* ===== TABLET ===== */

@media (min-width: 768px) {

.hero {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.hero img {
  width: 350px;
}

.skills-grid {
  grid-template-columns: repeat(2, 1fr);
}

.education-grid {
  grid-template-columns: repeat(2, 1fr);
}

.cta {
  grid-template-columns: 1fr 1fr;
}

}


/* ===== DESKTOP ===== */

@media (min-width: 1100px) {

.hero img {
  width: 300px;
}

section {
  padding: 2rem;
}

}