/* Basic styling for Philip Nguyen's static site */

.screenshot-wrapper {
  max-width: 90%;
  margin: 0 auto; /* Centers the wrapper within the section */
  text-align: left; /* Ensures content starts at left edge of wrapper */
}

.screenshot-tip {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: #888;
}

.product-screenshot {
  display: block;
  width: 100%; /* Fills container width while preserving aspect ratio */
  max-height: 700px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  object-fit: contain;
}

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

/* Add smooth scrolling and improved spacing */
html {
    scroll-behavior: smooth;
}

/* Add main container for better layout */
main {
    padding: 2rem 1rem;
    min-height: calc(100vh - 200px);
}

/* General link styling for dark theme */
a {
    color: #4da6ff;
    transition: color 0.2s ease;
}

a:hover {
    color: #66b3ff;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    min-height: 100vh;
}

/* Navigation bar */
/* Navigation bar container using flexbox to align children */

/* Navigation bar */
.navigation {
  display: flex;
  justify-content: space-between; /* Pushes content to the far ends */
  align-items: center; /* Vertically centers items */
  padding: 1rem 2rem;
  background-color: #1a1a1a;
  box-shadow: 0 2px 4px rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid #333;
}

/* Logo styling */
.navigation .logo {
  font-weight: 700;
  font-size: 1.1rem;
  color: #4da6ff;
  text-decoration: none;
  /* flex-grow: 1; /* Alternative for distributing space */
}

/* Navigation links container */
.nav-links {
  display: flex;
  gap: 1.5rem; /* Creates consistent spacing between links */
}

/* Individual link styling */
.nav-links a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #4da6ff;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #4da6ff;
    font-weight: 700;
    font-size: 1.1rem;
    gap: 35px; /* Space between the image and the text */
}

.logo-link img {
    height: 68px; /* Controls the size of the image */
    width: auto;
}

.logo-link span {
  color: #4da6ff; /* Sets the text color to blue */
  font-weight: 700;
  font-size: 1.1rem;
}

/* space between the logo and the text follow it */
.logo-container {
    display: flex;
    align-items: center;
    gap: 10px; /* not really the space between the image and the text */
}

.logo-container img {
    height: 40px;
    width: auto;
}

.logo-text {
    color: #4da6ff;
    font-weight: 700;
    font-size: 1.1rem;
}

/* older code before 9/15 */
nav.navigation {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background-color: #1a1a1a;
    box-shadow: 0 2px 4px rgba(255,255,255,0.1);
    border-bottom: 1px solid #333;
}

nav.navigation a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    padding: 0.5rem;
    transition: color 0.2s ease;
}

nav.navigation a:hover {
    color: #4da6ff;
}

nav.navigation a.logo {
    font-weight: 700;
    font-size: 1.1rem;
    margin-right: auto;
    color: #4da6ff;
}

nav.navigation a.active {
    color: #4da6ff;
}

/* Hero section */
.hero {
    text-align: center;
    padding: 2.5rem 2rem;
    /* padding: 4rem 2rem; */
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-bottom: 1px solid #333;
}

.hero.small {
    padding: 2rem;
}

/* heroo h1 saved text: margin-bottom: 0.5rem; color: #ffffff; */

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.25rem;
    color: #4da6ff;
    font-weight: 700;
}

.hero p {
    max-width: 600px;
    margin: 0.5rem auto 0;
    font-size: 1.2rem;
    color: #cccccc;
}

/* Content sections */
section {
    padding: 2.5rem 2rem;
    max-width: 800px;
    margin: 0 auto 2rem auto;
    background-color: #111111;
    border-radius: 8px;
    border: 1px solid #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

section:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

section h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-weight: 600;
}

section p {
    color: #cccccc;
    margin-bottom: 1rem;
}

section ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-top: 0.5rem;
}

section li {
    margin-bottom: 0.3rem;
    color: #cccccc;
}

/* Button styling */
.button {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #4da6ff 0%, #0d7ee6 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #4da6ff;
    box-shadow: 0 2px 8px rgba(77, 166, 255, 0.3);
}

.button:hover {
    background: linear-gradient(135deg, #0d7ee6 0%, #0a6bc7 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(77, 166, 255, 0.4);
}

/*
.post-preview {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #111111;
    border-radius: 8px;
    border: 1px solid #333;
}

.post-preview h2 {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
    color: #ffffff;
}

.post-preview .post-date {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 0.5rem;
}

.post-preview p {
    color: #cccccc;
}

.post-preview a {
    text-decoration: none;
    color: #4da6ff;
    transition: color 0.2s ease;
}

.post-preview a:hover {
    color: #66b3ff;
    text-decoration: underline;
}
*/

/* Blog post page, see the other file blog-styles.css */

/* Chat page: gone */
.chat-content {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    font-size: 1.1rem;
    color: #cccccc;
    background-color: #111111;
    border-radius: 8px;
    border: 1px solid #333;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 2rem 1rem;
    background-color: #0a0a0a;
    border-top: 1px solid #333;
    font-size: 0.9rem;
    color: #888;
    margin-top: 2rem;
}

footer .social-links {
    margin-top: 0.5rem;
}

footer .linkedin-icon {
    width: 20px;   /* small fixed size */
    height: 20px;
    vertical-align: middle;
    transition: transform 0.2s ease, filter 0.2s ease;
}

/* Hover effect: LinkedIn blue + gentle zoom */
footer a:hover .linkedin-icon {
    filter: brightness(0) saturate(100%) invert(29%) sepia(94%) saturate(2166%) hue-rotate(191deg) brightness(95%) contrast(92%);
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 868px) {
    nav.navigation {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem;
        text-align: center;
    }
    
    nav.navigation a.logo {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .hero {
        padding: 3rem 1rem;
    }
    
    
    .hero p {
        font-size: 1.1rem;
    }
    
    section {
        padding: 1.5rem 1rem;
        margin: 0 1rem 1.5rem 1rem;
    }
    
    section h2 {
        font-size: 1.5rem;
    }
    
    main {
        padding: 1rem 0;
    }

   /* 
    blog-list, .blog-post, .chat-content {
        padding: 0 1rem;
        margin: 1rem auto;
    } */ 
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    section {
        padding: 1rem;
        margin: 0 0.5rem 1rem 0.5rem;
    }
}


/* Carousel styles */
.carousel {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.carousel-item {
  display: none;
}
.carousel-item.active {
  display: block;
}

.carousel img {
  width: 100%;
  max-height: 700px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  object-fit: contain;
}

/* force smaller size only for this login box image */
.carousel img.small-img {
   width: auto;       /* don’t force 100% width */
  max-height: 300px; /* smaller height */
  display: block;
  margin: 0 auto;    /* keep it centered */
}

/* Caption text below each slide */
.caption {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #cccccc; /* lighter grey to match your dark theme */
  text-align: center;
}

/* Navigation buttons */
.carousel .prev,
.carousel .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  color: #4da6ff;
  border: none;
  font-size: 1.5rem;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.2s ease;
  z-index: 2; /* keep arrows above the image */
}

/* Place arrows separately */
.carousel .prev { left: 10px; }
.carousel .next { right: 10px; }

.carousel .prev:hover,
.carousel .next:hover {
  background: rgba(255, 255, 255, 0.3);
  color: #66b3ff; /* lighter blue arrow */
}

/* Responsive tweaks for mobile */
@media (max-width: 600px) {
  .carousel .prev,
  .carousel .next {
    font-size: 2rem;      /* bigger arrow */
    padding: 0.75rem 1rem; /* larger hit area */
  }
}

/* Calendly Integration Styles */
.contact {
    position: relative;
    overflow: hidden;
}

.contact h2 {
    background: linear-gradient(135deg, #4da6ff 0%, #66b3ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 1rem;
}

.contact > p:first-of-type {
    text-align: center;
    font-size: 1.1rem;
    color: #e0e0e0;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Calendly widget container */
.calendly-inline-widget {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(77, 166, 255, 0.15);
    border: 1px solid #333;
    background: #1a1a1a;
    margin: 2rem 0;
    transition: box-shadow 0.3s ease;
}

.calendly-inline-widget:hover {
    box-shadow: 0 12px 48px rgba(77, 166, 255, 0.25);
}

/* Alternative contact styling */
.alternative-contact {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #333;
    font-size: 0.95rem;
    color: #999;
}

.alternative-contact a {
    color: #4da6ff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.alternative-contact a:hover {
    color: #66b3ff;
    background-color: rgba(77, 166, 255, 0.1);
    text-decoration: underline;
}

/* Responsive adjustments for Calendly */
@media (max-width: 768px) {
    .calendly-inline-widget {
        height: 600px !important;
        margin: 1.5rem 0;
    }

    .contact > p:first-of-type {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .calendly-inline-widget {
        height: 550px !important;
        min-width: 280px !important;
    }

    .contact h2 {
        font-size: 1.6rem;
    }
}

