/* ================================
   ROOT VARIABLES
================================ */
:root {
  --primary: #229799;
  --dark: #121212;
  --light: #ffffff;
  --text: #333;
  --muted: #666;

  --space-xs: .5rem;
  --space-sm: .75rem;
  --space-md: 1.25rem;
  --space-lg: 2rem;
  --space-xl: 3.25rem;
}

/* ================================
   GLOBAL STYLES
================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Outfit", sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--light);
}

section {
  padding: var(--space-xl) 0;
}

h1, h2, h3 {
  font-weight: 700;
  line-height: 1.2;
}

.section-title {
  text-align: center;
  color: var(--primary);
  font-size: 2.5rem;
  margin-bottom: var(--space-xl);
}

/* ================================
   PARTICLES
================================ */
#particles-js {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: .15;
  pointer-events: none;
}

header, main, footer {
  position: relative;
  z-index: 1;
}
/* ================================
   HEADER
================================ */
.header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background: white;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* LOGO */
.logo {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  cursor: pointer;
}

/* NAVIGATION LINKS (DESKTOP) */
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary-color);
}

/* THEME TOGGLE */
.theme-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.theme-toggle i {
  font-size: 1.2rem;
  color: #555;
  transition: color 0.3s ease;
}

body.dark-mode .theme-toggle i.fa-moon {
  display: none;
}

body.dark-mode .theme-toggle i.fa-sun {
  display: inline;
  color: #ffc107;
}

/* MOBILE MENU TOGGLE */
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-color);
  
}
/* Side nav */
.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  background-color: #111;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
}

.sidenav a {
  padding: 10px 32px;
  text-decoration: none;
  font-size: 20px;
  color: #ccc;
  display: block;
  transition: 0.3s;
}

.sidenav a:hover {
  color: #fff;
}

.sidenav .closebtn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 36px;
}

#main {
  transition: margin-left 0.5s;
}

/* Hide hamburger on desktop */
@media(min-width: 768px){
  .side-menu { display: none; }
}


/* ================================
   MOBILE RESPONSIVE
================================ */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 220px;
    background: white;
    height: calc(100% - 70px);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    box-shadow: -2px 0 12px rgba(0,0,0,0.2);
    transition: right 0.3s ease;
  }

  .nav-links.active {
    right: 0;
  }

  .menu-toggle {
    display: block;
  }
}

/* ================================
   HERO
================================ */
.hero {
  background: #f9f9f9;
}

.hero-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
}

.hero-content {
  flex: 1;
}

.hero-content span {
  color: var(--primary);
}

.hero-buttons {
  margin-top: var(--space-md);
  display: flex;
  gap: 1rem;
}

.hero-image {
  position: relative;
  width: 45%;
  height: 400px;
}

.image-background {
  position: absolute;
  inset: auto auto 0 0;
  width: 60%;
  height: 60%;
  background: rgba(34,151,153,.45);
}

.profile-image {
  position: absolute;
  inset: 0 0 auto auto;
  width: 80%;
  height: 80%;
  background: url("../images/YAMIE.jpg") center/cover no-repeat;
  box-shadow: rgba(0,0,0,.1) 0 8px 24px;
}

/* ===== MY TOOLS SECTION ===== */
.tools {
  padding: 5rem 2rem;
  text-align: center;
}

.section-subtitle {
  max-width: 600px;
  margin: 0 auto 3rem;
  color: #666;
  font-size: 1rem;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.tool-card {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.tool-card i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.tool-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.tool-card p {
  font-size: 0.9rem;
  color: #777;
}

.tool-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Dark Mode Support */
.dark-mode .tool-card {
  background: #1e1e1e;
}

.dark-mode .tool-card p {
  color: #aaa;
}

/* ================================
   SERVICES SECTION
================================ */
.services {
  padding: 5rem 1.5rem;
  text-align: center;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 3rem;
}

/* ================================
   GRID
================================ */
.services-grid {
  max-width: 1100px;
  margin: auto;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

/* ================================
   CARD
================================ */
.service {
  padding: 2.5rem 2rem;
  border-radius: 16px;

  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);

  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.service:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(77, 208, 225, 0.25);
}

/* ================================
   ICON
================================ */
.service img {
  width: 48px;
  margin-bottom: 1.2rem;
}

/* ================================
   TEXT
================================ */
.service h3 {
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
}

.service p {
  color: #aaa;
  line-height: 1.6;
}

/* ================================
   CTA
================================ */
.section-cta {
  margin-top: 3rem;
}

/* ================================
   PROJECTS SECTION
================================ */
.projects {
  padding: 5rem 1.5rem;
  text-align: center;
}

.projects-grid {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

/* ================================
   PROJECT CARD
================================ */
.project-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  padding: 2.5rem 2rem;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(77, 208, 225, 0.25);
}

.project-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.project-card p {
  color: #aaa;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.project-link {
  font-weight: 600;
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.project-link:hover {
  color: #4dd0e1;
  text-decoration: underline;
}

/* ================================
   CTA
================================ */
.projects .section-cta {
  margin-top: 3rem;
}

/* ================================
   STATS
================================ */
.stats-container {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
}

.stat-number {
  font-size: 2.5rem;
  color: var(--primary);
}
/* ================================
   FOOTER
================================ */
.footer {
  background-color: #111; /* Dark background */
  color: #ccc;
  padding: 4rem 1.5rem;
  text-align: center;
}

.footer-container {
  max-width: 1100px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.footer-info h3 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.footer-info p {
  margin: 0.3rem 0;
  font-size: 0.95rem;
  color: #aaa;
}

.footer-info i {
  margin-right: 0.5rem;
  color: var(--primary-color);
}

/* SOCIAL LINKS */
.social-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.social-links a {
  font-size: 1.5rem;
  color: #aaa;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
  color: var(--primary-color);
  transform: scale(1.2);
}

/* COPYRIGHT */
.footer p.copyright {
  font-size: 0.9rem;
  color: #777;
  margin-top: 1rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .footer-container {
    gap: 1.5rem;
  }

  .footer-info h3 {
    font-size: 1.5rem;
  }
}

/* ================================
   DARK MODE
================================ */
body.dark-mode {
  background: var(--dark);
  color: #f8f9fa;
}

body.dark-mode section {
  background: #18230F;
}

body.dark-mode .service,
body.dark-mode .project-card {
  background: #27391C;
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 900px) {
  .hero-container {
    flex-direction: column;
  }

  .hero-image {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .side-menu {
    display: block;
  }
}
/* ================================
   ABOUT SECTION
================================ */
.about {
  padding: 4rem 0;
}

.about-container {
  max-width: 1100px;
  margin: auto;
  padding: 0 1.5rem;

  display: flex;
  align-items: center;
  gap: 3rem;
}

.about-content {
  max-width: 500px;
}

.about-content h2 {
  margin-bottom: 1rem;
}

.about-content p {
  line-height: 1.7;
  color: #555;
}

/* ================================
   RESPONSIVE – MOBILE
================================ */
@media (max-width: 900px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }
}
/* ================================
   CONTACT CTA SECTION
================================ */
.mini-contact {
  padding: 4rem 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mini-contact-container {
  max-width: 600px;
  width: 100%;
  text-align: center;

  padding: 3rem 2.5rem;
  border-radius: 16px;

  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.mini-contact-container h3 {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}

.mini-contact-container p {
  margin-bottom: 2rem;
  color: #aaa;
  line-height: 1.6;
}

/* ================================
   FORM
================================ */
.mini-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mini-form input {
  padding: 0.9rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #fff;
  outline: none;
}

.mini-form input::placeholder {
  color: #aaa;
}

.mini-form input:focus {
  border-color: #4dd0e1;
}

/* ================================
   BUTTON
================================ */
.mini-form button {
  margin-top: 1rem;
  padding: 0.9rem;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.mini-form button:hover {
  transform: translateY(-3px);
}

/* ================================
   GENERAL STYLES for gallery page
================================ */
body {
  margin: 0;
  padding: 0;
  font-family: 'Outfit', sans-serif;
  color: var(--text-color, #333);
  background-color: var(--light-bg, #f9f9f9);
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ================================
   PARTICLES BACKGROUND
================================ */
#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
  opacity: 0.15;
  pointer-events: none;
}

/* ================================
   HEADER
================================ */
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo h1 {
  color: var(--primary-color, #229799);
  font-size: 2rem;
  font-weight: 700;
}

/* NAV LINKS */
.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-color, #333);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-color, #229799);
}

/* THEME TOGGLE */
.theme-toggle {
  display: flex;
  gap: 0.5rem;
  cursor: pointer;
}

.theme-toggle i {
  font-size: 1.2rem;
}

/* ================================
   SECTION HEADINGS
================================ */
.section-heading {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-heading h1 {
  font-size: 2.5rem;
  color: var(--primary-color, #229799);
  margin-bottom: 0.5rem;
}

.section-heading p {
  color: #666;
  font-size: 1.1rem;
}

/* ================================
   GALLERY GRID
================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto 4rem auto;
  padding: 0 2rem;
}

/* INDIVIDUAL GALLERY ITEM */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: rgba(0,0,0,0.1) 0 4px 12px;
  cursor: pointer;
  background-color: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: rgba(0,0,0,0.15) 0 8px 20px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* OVERLAY CONTENT */
.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(34, 151, 153, 0.85);
  color: #fff;
  padding: 1rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
}

.gallery-overlay p {
  margin: 0.3rem 0 0;
  font-size: 0.95rem;
}

/* ================================
   FOOTER
================================ */
.footer-section {
  background-color: #222;
  color: #fff;
  padding: 3rem 2rem;
  text-align: center;
}

.footer-section .social-links ul {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin-bottom: 1rem;
}

.footer-section .social-links a {
  color: #fff;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.footer-section .social-links a:hover {
  color: var(--primary-color, #229799);
}

.footer-section .copyright p {
  color: #aaa;
  margin: 0;
}

/* ================================
   DARK MODE
================================ */
body.dark-mode {
  background-color: #121212;
  color: #f8f9fa;
}

body.dark-mode .gallery-item {
  background: #1f1f1f;
}

body.dark-mode .gallery-overlay {
  background: rgba(34, 151, 153, 0.95);
}

body.dark-mode .footer-section {
  background-color: #111;
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    padding: 0 1rem;
  }

  .section-heading h1 {
    font-size: 2rem;
  }

  .section-heading p {
    font-size: 1rem;
  }
}




/* ================================
   BASE STYLES for contact page
================================ */
body {
  margin: 0;
  padding: 0;
  font-family: 'Outfit', sans-serif;
  color: #333;
  background-color: #f9f9f9;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

/* ================================
   PARTICLES BACKGROUND
================================ */
#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
  opacity: 0.15;
  pointer-events: none;
}

/* ================================
   HEADER
================================ */
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo h1 {
  color: var(--primary-color, #229799);
  font-size: 2rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-color, #229799);
}

/* ================================
   CONTACT SECTION
================================ */
.contact-section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-heading {
  text-align: center;
  margin-bottom: 3rem;
}

.section-heading h1 {
  font-size: 2.5rem;
  color: var(--primary-color, #229799);
  margin-bottom: 0.5rem;
}

.section-heading p {
  font-size: 1.1rem;
  color: #666;
}

/* CONTACT CONTAINER */
.contact-container {
  display: flex;
  gap: 3rem;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
}

/* CONTACT INFO CARDS */
.contact-info {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-card {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: rgba(0,0,0,0.05) 0 6px 24px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: rgba(0,0,0,0.1) 0 10px 30px;
}

.info-card i {
  font-size: 2rem;
  color: var(--primary-color, #229799);
  margin-bottom: 0.5rem;
}

.info-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.info-card p {
  margin: 0;
  font-size: 1rem;
  color: #666;
}

/* CONTACT FORM */
.contact-form {
  flex: 1 1 400px;
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: rgba(0,0,0,0.05) 0 6px 24px;
}

.contact-form .form-group {
  margin-bottom: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  border: 1px solid #ddd;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  resize: none;
}

.contact-form textarea {
  min-height: 120px;
}

.submit-btn {
  background-color: var(--primary-color, #229799);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.submit-btn:hover {
  background-color: #1a7a7a;
  transform: translateY(-2px);
}

/* ================================
   FOOTER
================================ */
.footer-section {
  background-color: #222;
  color: #fff;
  padding: 3rem 2rem;
  text-align: center;
}

.footer-section .social-links ul {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin-bottom: 1rem;
}

.footer-section .social-links a {
  color: #fff;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.footer-section .social-links a:hover {
  color: var(--primary-color, #229799);
}

.footer-section .copyright p {
  color: #aaa;
  margin: 0;
}

/* ================================
   DARK MODE
================================ */
body.dark-mode {
  background-color: #121212;
  color: #f8f9fa;
}

body.dark-mode .contact-form,
body.dark-mode .info-card {
  background: #1f1f1f;
}

body.dark-mode .info-card i {
  color: var(--primary-color, #229799);
}

body.dark-mode .submit-btn {
  background-color: #229799;
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 992px) {
  .contact-container {
    flex-direction: column;
    gap: 2rem;
  }
}

@media (max-width: 576px) {
  .section-heading h1 {
    font-size: 2rem;
  }

  .section-heading p {
    font-size: 1rem;
  }
}

