/*
================================================================
ENTERPRISE AI PORTFOLIO STYLES
================================================================
Professional stylesheet for AI consultant portfolio website.
Optimized for enterprise client conversion and maintainability.
Created: October 2025
*/

/*
================================================================
GLOBAL STYLES & RESET
================================================================
Base styling, CSS reset, and global typography settings
*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/*
================================================================
HEADER & HERO SECTION
================================================================
Main header with profile image, name, title, elevator pitch,
and navigation menu. Uses gradient background for visual impact.
*/
header {
  background: linear-gradient(135deg, #4a90e2 0%, #006994 100%);
  color: white;
  padding: 60px 0;
  text-align: center;
}

.profile-img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  margin: 0 auto 30px;
  border: 6px solid rgba(255, 255, 255, 0.2);
  display: block;
}

.header-content h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  font-weight: 300;
}

.header-content .subtitle {
  font-size: 1.3rem;
  opacity: 0.9;
  margin-bottom: 20px;
}

.header-content .location {
  font-size: 1.1rem;
  opacity: 0.8;
}

.header-content .slogan {
  font-size: 1.2rem;
  opacity: 0.95;
  font-style: italic;
  margin-top: 20px;
  font-weight: 300;
  letter-spacing: 0.5px;
}

/*
================================================================
NAVIGATION MENU
================================================================
Dropdown navigation menu with hover effects and smooth transitions.
Fixed positioning for easy access throughout the site.
*/
.nav-menu {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1000;
}

.nav-toggle {
  background: rgba(46, 134, 171, 0.9);
  color: white;
  padding: 12px 20px;
  border-radius: 25px;
  text-decoration: none;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(46, 134, 171, 0.4);
  box-shadow: 0 4px 12px rgba(46, 134, 171, 0.3);
  transition: all 0.3s ease;
  font-weight: 600;
  cursor: pointer;
  display: inline-block;
}

.nav-toggle:hover {
  background: #006994;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(46, 134, 171, 0.4);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 10px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  min-width: 220px;
}

.nav-menu:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown .nav-link {
  display: block;
  padding: 15px 20px;
  color: #2c3e50;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-dropdown .nav-link:last-child {
  border-bottom: none;
}

.nav-dropdown .nav-link:hover {
  background: rgba(0, 255, 136, 0.1);
  color: #00cc6a;
  padding-left: 25px;
}

.nav-dropdown .nav-link:first-child {
  border-radius: 15px 15px 0 0;
}

.nav-dropdown .nav-link:last-child {
  border-radius: 0 0 15px 15px;
}

/*
================================================================
SECTIONS & LAYOUT
================================================================
General section styling with alternating backgrounds and
consistent spacing throughout the page.
*/
section {
  padding: 60px 0;
}

section:nth-child(even) {
  background-color: white;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 50px;
  color: #2c3e50;
  position: relative;
}

.section-title::after {
  content: "";
  width: 80px;
  height: 3px;
  background: linear-gradient(135deg, #4a90e2 0%, #006994 100%);
  display: block;
  margin: 20px auto 0;
}

/*
================================================================
ABOUT SECTION
================================================================
Two-column layout with descriptive text and business impact
highlights showing quantified achievements.
*/
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-text {
  font-size: 1.1rem;
  line-height: 1.8;
}

.about-highlights {
  background: linear-gradient(135deg, #4a90e2 0%, #006994 100%);
  color: white;
  padding: 30px;
  border-radius: 10px;
}

.about-highlights h3 {
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.about-highlights ul {
  list-style: none;
}

.about-highlights li {
  padding: 5px 0;
  padding-left: 20px;
  position: relative;
}

.about-highlights li::before {
  content: "▶";
  position: absolute;
  left: 0;
  color: #fff;
}

/*
================================================================
SKILLS SECTION
================================================================
Grid layout showcasing technical skills organized by category
(AI/ML, Backend/Cloud, Frontend/Leadership) with hover effects.
*/
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.skill-category {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.skill-category:hover {
  transform: translateY(-5px);
}

.skill-category h3 {
  color: #2e86ab;
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-tag {
  background: #f1f3f4;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  color: #555;
  border: 1px solid #e0e0e0;
}

/*
================================================================
EXPERIENCE TIMELINE
================================================================
Professional experience displayed as a vertical timeline with
alternating left/right positioning and connecting line.
*/
.experience-timeline {
  position: relative;
  margin: 50px 0;
}

.experience-timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(135deg, #4a90e2 0%, #006994 100%);
  transform: translateX(-50%);
}

.experience-item {
  position: relative;
  margin: 40px 0;
  padding: 30px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  width: 45%;
}

.experience-item:nth-child(odd) {
  left: 0;
}

.experience-item:nth-child(even) {
  left: 55%;
}

.experience-item::before {
  content: "";
  position: absolute;
  top: 30px;
  width: 20px;
  height: 20px;
  background: #006994;
  border-radius: 50%;
  border: 4px solid white;
  box-shadow: 0 0 0 2px #006994;
}

.experience-item:nth-child(odd)::before {
  right: -60px;
}

.experience-item:nth-child(even)::before {
  left: -60px;
}

.experience-item h3 {
  color: #2e86ab;
  margin-bottom: 10px;
}

.experience-item .company {
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 5px;
}

.experience-item .period {
  color: #7f8c8d;
  font-style: italic;
  margin-bottom: 15px;
}

/*
================================================================
PROJECTS SECTION
================================================================
Grid layout for featured projects with images, descriptions,
technology stacks, and external links.
*/
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
}

.project-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/*
================================================================
SERVICES SECTION
================================================================
Single-column layout for detailed service descriptions with
business outcomes, engagement models, and CTAs.
*/
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.service-card {
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 20px;
}

.service-card h3 {
  color: #2c3e50;
  font-size: 1.8rem;
  margin-bottom: 20px;
  text-align: center;
}

.service-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 30px;
  text-align: center;
}

.service-requirements,
.service-features,
.service-example {
  margin: 30px 0;
}

.service-requirements h4,
.service-features h4,
.service-example h4 {
  color: #2e86ab;
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.service-requirements ul {
  list-style: none;
  padding-left: 0;
}

.service-requirements li {
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
}

.service-requirements li::before {
  content: "📄";
  position: absolute;
  left: 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  background: #f8f9fa;
  border-radius: 8px;
  font-size: 0.95rem;
}

.feature-icon {
  font-size: 1.2rem;
}

.service-examples {
  background: linear-gradient(135deg, #4a90e2 0%, #006994 100%);
  color: white;
  padding: 25px;
  border-radius: 10px;
}

.service-examples h4 {
  color: white;
  margin-bottom: 20px;
  text-align: center;
}

.example-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.example-item:last-child {
  margin-bottom: 0;
}

.example-status {
  display: inline-block;
  padding: 5px 15px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.example-status.production {
  background: #27ae60;
  color: white;
}

.example-status.in-progress {
  background: #f39c12;
  color: white;
}

.example-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.example-feature {
  background: rgba(255, 255, 255, 0.2);
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 0.85rem;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 15px 0 20px 0;
  justify-content: center;
}

.tech-tag-service {
  background: #2e86ab;
  color: white;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
}

.restoration-showcase {
  margin: 20px 0;
  text-align: center;
}

.restoration-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  margin-bottom: 10px;
}

.showcase-caption {
  font-size: 0.9rem;
  font-style: italic;
  opacity: 0.9;
  margin: 0;
}

.progress-note {
  background: rgba(255, 255, 255, 0.15);
  padding: 15px;
  border-radius: 8px;
  margin-top: 20px;
  border-left: 4px solid rgba(255, 255, 255, 0.4);
}

.progress-note p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.service-demo-link {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 10px 20px;
  border-radius: 20px;
  text-decoration: none;
  margin-top: 15px;
  font-weight: 500;
  transition: background 0.3s ease;
}

.service-demo-link:hover {
  background: rgba(255, 255, 255, 0.3);
}

.project-image {
  width: 100%;
  height: 400px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  padding: 20px;
  background-color: #f8f9fa;
}

.project-content {
  padding: 30px;
}

.project-content h3 {
  color: #2c3e50;
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.project-status {
  display: inline-block;
  background: #27ae60;
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  margin-bottom: 15px;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0;
}

.tech-tag {
  background: #006994;
  color: white;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
}

.project-links {
  margin-top: 20px;
}

.project-link {
  display: inline-block;
  color: #2e86ab;
  text-decoration: none;
  margin-right: 20px;
  font-weight: 500;
}

.project-link:hover {
  text-decoration: underline;
}

/*
================================================================
CONTACT SECTION
================================================================
Centered contact information with multiple communication channels,
appointment booking, and LinkedIn integration.
*/
.contact-content {
  text-align: center;
  background: white;
  padding: 50px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #2e86ab;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: #4a90e2;
}

footer {
  background: #2c3e50;
  color: white;
  text-align: center;
  padding: 30px 0;
}

.publications {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin: 20px 0;
}

.publications h3 {
  color: #2e86ab;
  margin-bottom: 20px;
}

.publications a {
  color: #2e86ab;
  text-decoration: none;
  display: block;
  margin: 10px 0;
}

.publications a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .header-content h1 {
    font-size: 2rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .nav-dropdown {
    left: 0;
    right: auto;
    transform-origin: top left;
    min-width: 200px;
  }

  .nav-toggle {
    padding: 10px 15px;
    font-size: 0.9rem;
  }

  .experience-timeline::before {
    left: 20px;
  }

  .experience-item {
    width: calc(100% - 60px);
    left: 60px !important;
  }

  .experience-item::before {
    left: -50px !important;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 25px;
  }

  .example-features {
    flex-direction: column;
    gap: 8px;
  }

  .contact-links {
    flex-direction: column;
    gap: 15px;
  }
}

/* CTA Button Hover Effects */
#business-cta a:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

#business-cta a:first-child:hover {
  background: #f8f9fa !important;
  color: #004d66 !important;
}

#business-cta a:last-child:hover {
  background: rgba(255, 255, 255, 0.3) !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
}

.libutton {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7px;
  text-align: center;
  outline: none;
  text-decoration: none !important;
  color: #ffffff !important;
  width: 200px;
  height: 32px;
  border-radius: 16px;
  background-color: #0a66c2;
  font-family: "SF Pro Text", Helvetica, sans-serif;
  margin: 10px auto;
}

.libutton:hover {
  background-color: #004182 !important;
  color: #ffffff !important;
}

.back-to-top {
  text-align: center;
  margin-bottom: 20px;
}

.back-to-top-link {
  display: inline-block;
  color: #2e86ab;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 20px;
  background: rgba(46, 134, 171, 0.1);
  border: 1px solid rgba(46, 134, 171, 0.2);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.back-to-top-link:hover {
  background: rgba(46, 134, 171, 0.2);
  border-color: rgba(46, 134, 171, 0.4);
  transform: translateY(-1px);
  color: #006994;
}

/*
================================================================
BUSINESS CTA SECTION
================================================================
Prominent call-to-action section with gradient background,
compelling messaging, and primary/secondary action buttons.
*/
.business-cta {
  background: linear-gradient(135deg, #4a90e2 0%, #006994 100%);
  color: white;
  padding: 60px 0;
}

.business-cta-container {
  text-align: center;
}

.business-cta-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 300;
}

.business-cta-description {
  font-size: 1.3rem;
  margin-bottom: 30px;
  opacity: 0.9;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.business-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

.business-cta-primary {
  background: white;
  color: #006994;
  padding: 15px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

.business-cta-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 15px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

/* Services Section Styles */
.services-intro {
  text-align: center;
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/*
================================================================
SERVICE CTA SECTIONS
================================================================
Service-specific call-to-action cards with glassmorphism effect,
positioned after each service description to drive conversions.
*/
.service-cta {
  text-align: center;
  margin-top: 30px;
  padding: 20px;
  background: rgba(46, 134, 171, 0.1);
  border-radius: 10px;
}

.service-cta-text {
  margin-bottom: 15px;
  color: #2e86ab;
  font-weight: 600;
}

.service-cta-button {
  display: inline-block;
  background: #2e86ab;
  color: white;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.service-cta-button:hover {
  background: #006994;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Engagement Models Section */
.engagement-models {
  background: rgba(46, 134, 171, 0.05);
  padding: 60px 0;
}

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

.engagement-card {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.engagement-card h3 {
  color: #2e86ab;
  margin-bottom: 15px;
}

.engagement-card p {
  margin-bottom: 15px;
  font-weight: 600;
}

.engagement-card ul {
  color: #666;
  line-height: 1.6;
}

/* Project Features */
.project-features {
  margin: 20px 0;
  padding: 15px;
  background: rgba(74, 144, 226, 0.1);
  border-radius: 8px;
}

.project-features strong {
  display: block;
  margin-bottom: 10px;
}

.project-features ul {
  margin: 10px 0 0 20px;
  line-height: 1.6;
}

/*
================================================================
RESPONSIVE DESIGN BREAKPOINTS
================================================================
Mobile-first responsive design rules for optimal viewing
across different screen sizes and devices.
*/
@media (max-width: 768px) {
  .business-cta-title {
    font-size: 2rem;
  }

  .business-cta-description {
    font-size: 1.1rem;
  }

  .business-cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .engagement-grid {
    grid-template-columns: 1fr;
  }
}
