/* ================================
   Global Styles & Reset
================================ */

:root {
  --color-primary: #1a73e8;       /* Blue for trust/links */
  --color-primary-hover: #155ab6;
  --color-secondary: #f97316;     /* Orange accent for highlights, buttons, icons */
  --color-grey: #6b7280;
  --color-bg-light: #f3f4f6;
  --color-white: #ffffff;
  --color-dark: #111827;
  --color-text: #555;
  --color-text-light: #bbb;
  --color-hero-title: #f3f3f3;    /* light grey for hero title over dark images */
}

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

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-dark);
}



p {
  margin-bottom: 1rem;
  color: var(--color-text);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

/* ================================
   Layout Utilities
================================ */
.section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 20px;
}

.section-intro {
  text-align: center;
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 40px auto;
  color: var(--color-grey);
}

/* ================================
   Home Page Specific Styles
================================ */

/* ================================
   Hero Section
================================ */
.hero-section {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/Hero-3.jpg');
  background-size: cover;
  background-position: center;
}

.hero-background::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 20px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--color-hero-title);
  font-weight: 700;
}

.hero-content h1 .text-accent {
  color: var(--color-secondary);
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #ddd;
}

.hero-subtitle {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: var(--color-text-light);
}

/* ================================
   Navbar
================================ */
.transparent-navbar {
  background-color: transparent !important;
}

.navbar .nav-link:hover {
  color: var(--color-secondary);
}

/* ================================
   About Section
================================ */
.about-me {
  background-color: var(--color-bg-light);
}

.about-me-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
}

.about-me-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 60px;
  height: 3px;
  background-color: var(--color-primary);
}

.about-me p {
  font-size: 1.1rem;
  line-height: 1.7;
}

.about-me img {
  max-width: 50%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  object-fit: cover;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-me img:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

/* ================================
   Parallax Section
================================ */
.parallax-section {
  height: 50vh;
  background-image: url('/assets/images/banner-image-1.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  color: #fff;
}

.parallax-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}

.parallax-section .content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.parallax-section h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.parallax-section p {
  font-size: 1.1rem;
  color: #eee;
}

/* ================================
   Skills / Services
================================ */
.skills-expertise, .services {
  background-color: #fff;
}

.skills-grid, .services-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.skill-icon, .service-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--color-secondary);
}

/* ================================
   Portfolio
================================ */
.portfolio {
  background-color: var(--color-bg-light);
}

.portfolio-filter {
  text-align: center;
  margin-bottom: 40px;
}

.filter-btn {
  background: none;
  border: none;
  font-size: 1rem;
  margin: 0 15px;
  cursor: pointer;
  padding-bottom: 5px;
  transition: all 0.3s ease;
  color: #555;
}

.filter-btn.active {
  color: var(--color-secondary);
  border-bottom: 2px solid var(--color-secondary);
}

.portfolio-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.portfolio-image {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.portfolio-item:hover .portfolio-image {
  transform: scale(1.08);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay h3, .portfolio-overlay p {
  color: #fff;
  margin-bottom: 10px;
}

.view-project {
  background-color: var(--color-secondary);
  color: var(--color-white);
  padding: 10px 20px;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.view-project:hover {
  background-color: #c95a11;
}

/* ================================
   Contact
================================ */
.contact {
  background-color: #fff;
}

/* ================================
   Animations
================================ */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.7s ease-out;
}