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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* Adjust to your header height */
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f9f9f9;
  color: #1a1a1a;
  line-height: 1.6;
}

/* === CONTAINER === */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* === HEADER === */
.site-header {
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px; /* space between logo and text */
}

.logo a {
  font-size: 1.4rem;
  font-weight: 700;
  color: #333;
  text-decoration: none;
}

.logo img {
  height: 40px;
  width: auto;
  display: block;
}

.main-nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

.main-nav a:hover {
  color: #0078D4;
}

.menu-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 60px;
    right: 1rem;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 8px;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  .main-nav.active {
    display: block;
  }

  .menu-toggle {
    display: block;
  }
}

/* === HERO SECTION === */
.hero-section {
  position: relative;
  height: 85vh;
  background-image: url('images/background.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
}

.overlay {
  background: rgba(0, 0, 0, 0.3);
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.hero-content {
  text-align: center;
  max-width: 800px;
}

.hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.hero-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background-color: #0078D4;
  color: white;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.hero-btn:hover {
  background-color: #005a9e;
}

@media (max-width: 768px) {
  .hero-inner {
    flex-direction: column-reverse;
    text-align: center;
  }

  .hero-text {
    padding: 0;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }
}

/* === ABOUT SECTION === */
.about-section {
  background-color: #fff;
  padding: 80px 20px;
}

.about-wrapper.compact {
  display: flex;
  justify-content: center;
}

.about-content {
  max-width: 800px;
  position: relative;
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.2rem;
  color: #111;
}

.about-content p {
  font-size: 1.1rem;
  line-height: 1.75;
  margin-bottom: 1.2rem;
  color: #333;
}

.about-inline-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  float: right;
  margin-left: 24px;
  margin-bottom: 16px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
  .about-inline-photo {
    display: block;
    float: none;
    margin: 0 auto 20px auto;
  }

  .about-content {
    text-align: center;
  }
}

/* === SERVICES SECTION === */
.services-section {
  background: #f7f7f7;
  padding: 60px 0;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #222;
}

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

.service-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.service-box {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}

.service-box:hover {
  transform: translateY(-5px);
}

.service-box h3 {
  font-size: 1.4rem;
  color: #0078D4;
  margin-bottom: 15px;
}

.service-box p {
  color: #444;
  line-height: 1.6;
  font-size: 1rem;
}

/* === PORTFOLIO SECTION === */
.portfolio-section {
  padding: 60px 20px 60px;
  background-color: #f9f9f9;
}

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

.portfolio-item {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.portfolio-item h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

.portfolio-section .section-subtitle {
  margin-bottom: 2rem;
}

.portfolio-links a {
  display: inline-block;
  margin-right: 15px;
  margin-top: 10px;
  text-decoration: none;
  color: #005bbb;
  font-weight: 500;
}

.coming-soon {
  color: #999;
  font-style: italic;
  pointer-events: none;
  cursor: default;
}

.portfolio-links a:hover {
  text-decoration: underline;
}

/* === FOOTER === */
.site-footer {
  background-color: #f8f8f8;
  padding: 30px 20px;
  text-align: center;
  font-size: 14px;
  color: #666;
  margin-top: 60px;
  border-top: 1px solid #ddd;
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 15px 0 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links li a {
  color: #0077b6;
  text-decoration: none;
  font-weight: 500;
}

.footer-links li a:hover {
  text-decoration: underline;
  color: #007bff;
}
