/* =========================
   Root Variables
========================= */
:root {
  --primary-color: #ffffff;
  --secondary-color: #000000;
  --accent-color: #e94560;
  --text-color: #000000;
  --card-bg: rgba(0,0,0,0.72);
}
/* =========================
   Logo Section
========================= */
.logo {
  position: absolute;
  top: 10px;
  right: 20px;
}
.logo img {
  height: 40px;
  width: auto;
}

/* =========================
   Hamburger Menu
========================= */
.menu-icon {
  width: 35px;
  height: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1001;
  cursor: pointer;
}
.menu-icon div {
  height: 4px;
  background: var(--text-color);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.menu-icon.open div:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.menu-icon.open div:nth-child(2) { opacity: 0; }
.menu-icon.open div:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

.side-menu {
  position: fixed;
  top: 0;
  left: -250px;
  width: 250px;
  height: 100%;
  background: #111;
  display: flex;
  flex-direction: column;
  padding-top: 80px;
  transition: left 0.3s ease;
  z-index: 1000;
}
.side-menu a {
  padding: 15px 25px;
  color: var(--primary-color);
  font-size: 1.2rem;
  font-weight: 500;
}
.side-menu a:hover { background: var(--accent-color); }
.side-menu.active { left: 0; }



/* =========================
   Global Styles
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  background: var(--primary-color);
  color: var(--primary-color);
  line-height: 1.6;
  scroll-behavior: smooth;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }

/* =========================
   Hero Section 
========================= */
.hero {
  background: ffffff;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-color);
  padding: 0 2rem;
}
.hero-content h1 { font-size: 3rem; margin-bottom: 1rem; }
.hero-content p { font-size: 1.2rem; margin-bottom: 1.5rem; }
.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: var(--accent-color);
  color: var(--primary-color);
  border-radius: 5px;
  font-weight: bold;
}

/* =========================
   Sections 
========================= */
.section {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: auto;
  position: relative;
  color: #000;
  text-align: center;
}

#about {
  background-image: url("assets/css/863EF021-6E9C-4FAE-8DAF-5D865AE497E1.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

#services {
  background-image: url("assets/css/IMG_0211.jpeg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
#blog {
  background-image: url("assets/css/IMG_0227.jpeg");
  background-position: center;
  background-size:500px;
  background-repeat: no-repeat;
}
#contact {
  background-image: url("assets/css/Blog Section__•_Image Style_ Smart + innovative.__•_Blog 1 → Laptop + notebook + coffee.jpeg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.section-img {
  width: 100%;
  max-width: 1000px;
  height: auto;
  display: block;
  margin: 2rem auto;
  border-radius: 8px;
  object-fit: cover;
}
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  z-index: 1;
}

.card {
  position: relative;        /* allows overlay positioning */
  border-radius: 10px;
  overflow: hidden;          /* keeps image corners rounded */
  color: #000;               /* white text for contrast */
  text-align: center;
}

.card img {
  width: 100%;               /* fills the card width */
  height: 400px;             /* fixed height */
  object-fit: cover;         /* avoids stretching */
  display: block;
}

.card .overlay {
  position: absolute;
  bottom: 0;                 /* sits at bottom */
  left: 0;
  right: 0;
  padding: 2rem;             /* breathing room for text */
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7) 0%,   /* darker at bottom */
    rgba(0, 0, 0, 0.0) 100%  /* fades upward */
  );
}
/* Footer */
footer {
  background: #000;
  padding: 2rem 1rem;
  text-align: center;
  color: #fff;
}
