/* ================================
   CodeBreeze Solutions Stylesheet
   Theme: Purple Breeze
   Author: CodeBreeze Solutions LLC
   Updated: Styling Upgrades with Comments
================================== */

/* ===== Root Variables for Colors & Theme ===== */
:root {
  --primary-color: #6A0DAD;        /* Deep Purple for branding */
  --secondary-color: #B388EB;      /* Soft lavender for accents */
  --text-color: #E0E0E0;           /* Light gray for body text */
  --bg-color: #000000;             /* Solid black background */
  --button-color: #B388EB;         /* Button base color */
  --button-hover-color: #A06CDB;   /* Hover effect for buttons */
}

/* ===== Global Styles ===== */
html {
  scroll-behavior: smooth; /* Smooth anchor link scrolling */
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Lato', sans-serif;
  background: linear-gradient(to bottom, #000000 0%, #0d001a 100%);
  color: var(--text-color);
  
}

/* ===== Marquee (Scrolling Tagline) ===== */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
  margin-top: 1rem;   /* Give it room from the top */
  margin-bottom: 1rem; /* Optional: space before the logo */
  padding: 0.5rem 0;
  background-color: #111; /* optional dark strip background */
  border-bottom: 1px solid #222; /* optional divider look */
}

.marquee span {
  display: inline-block;
  color: var(--secondary-color);
  font-size: 1.5rem;
  padding-left: 100%;
  animation: scroll 15s linear infinite;
  animation-delay: 8s;
}

@keyframes scroll {
  0%   { transform: translateX(0%); }
  100% { transform: translateX(-100%); }
}

/* ===== Main Hero with image ===== */
.hero-visual {
  position: relative;
  width: 100%;
  min-height: auto;     /* ✅ Don't stretch */
  height: auto;         /* ✅ Let it size naturally */
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Full coverage */
  opacity: 0.25;
  filter: grayscale(15%) brightness(1.2);
  z-index: 0;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;  /* <-- Align to top */

}

/* ===== Logo Section ===== */
.logo-container {
  text-align: center;
  margin-top: 1.5rem;
  
}

#main-logo {
  width: 400px;
  max-width: 90%;
  margin-top: 1rem;  /* Adjust if you need more spacing from marquee */
}

/* ===== Slogan Section ===== */
.slogan-container {
  margin: 2rem auto;
}

.slogan {
  font-family: 'Montserrat', sans-serif;
  text-align: center;
  font-size: 2rem;
  color: var(--secondary-color);
}

/* ===== Intro Section ===== */
.intro-container {
  max-width: 800px;
  padding: 1.5rem 2rem;
  margin: 0 auto 2rem;
}

.intro-text {
  font-size: 1.5rem;
  line-height: 1.6;
  text-align: center;
}

/* ===== Section Styling (About, Services, etc.) ===== */
.section {
  padding: 2rem 1rem;
  margin-top: 2rem;
  border-top: 1px solid #222; /* Section divider */
  text-align: center;
}

.section-heading {
  color: var(--primary-color);
  text-align: center;
  margin-top: 2rem;
  font-size: 2rem;
  transition: text-shadow 0.3s ease-in-out;
}

.section-heading:hover {
  text-shadow: 0 0 10px var(--primary-color);
}


.section h2 {
  color: var(--primary-color);
  transition: text-shadow 0.3s ease-in-out;
}

.section h2:hover {
  text-shadow: 0 0 10px var(--primary-color); /* Hover glow effect */
}

.section-content {
  max-width: 900px;
  margin: auto;
  text-align: center;
}

.section-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1rem 0;
}

.section ul {
  list-style-position: inside;  /* Brings bullets in line with text */
  padding-left: 0;              /* Resets weird browser padding */
  margin: 1rem auto;            /* Adds breathing room */
  max-width: 700px;             /* Prevents ultra-wide lists */
  text-align: center;             /* Makes it feel more natural */
  line-height: 1.6;             /* Loosens it up */
}

.section ul li {
  margin-bottom: 0.6rem; /* Adds space between bullets */
}

.section ul li::marker {
  content: "💻";
  color: var(--primary-color);
}

/* ===== About Section on index ===== */

.degree-wrapper {
  position: relative;
  width: 100%;
  height: auto;
  margin-top: 2rem;
}

.degree-image {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.25;
  filter: grayscale(15%) brightness(1.2);
}

.degree-overlay {
  position: absolute;
  top: 0;
  left: 0;
  padding: 2rem;
  width: 100%;
  color: var(--text-color);
  z-index: 2;
}

.degree-full {
  width: 90%;
  max-width: 600px;
  display: block;
  margin: 2rem auto;
  border-radius: 12px;
  filter: grayscale(80%) brightness(0.9) contrast(0.9);
  opacity: 0.8;
  box-shadow: 0 0 20px rgba(106, 13, 173, 0.25);
}


/* ===== Pricing Section and cards ===== */
/* ===== Pricing Section Styling ===== */

.pricing-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.price-card {
  background-color: #111;
  border: 1px solid var(--primary-color);
  border-radius: 12px;
  padding: 1.5rem;
  width: 220px;
  color: var(--text-color);
  box-shadow: 0 0 10px #1a1a1a;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.price-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 15px var(--primary-color);
}

.price-card h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.price-card p {
  font-size: 1.1rem;
  line-height: 1.4;
  margin: 0;
}

.tax-note {
  font-size: 0.85rem;
  color: var(--secondary-color);
}

/* ===== Bottom Navigation Bar ===== */
/* ===== Testimonials Styling ===== */

.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.testimonial-card {
  background-color: #111;
  border: 1px solid var(--primary-color);
  border-radius: 12px;
  padding: 1.5rem;
  max-width: 300px;
  color: var(--text-color);
  box-shadow: 0 0 10px #1a1a1a;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 15px var(--primary-color);
}

.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.5;
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial-author {
  font-size: 0.9rem;
  font-weight: bold;
  color: var(--secondary-color);
}

/* ===== Bottom Navigation Bar ===== */
.bottom-nav {
  padding: 1rem;
  background-color: #111;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.9rem;
}

.bottom-nav a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.bottom-nav a:hover {
  color: white;
}

/* ===== Buttons ===== */
.button-container,
.codebreeze-button {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.codebreeze-button {
  padding: 0.8rem 1.5rem;
  background-color: var(--button-color);
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.codebreeze-button:hover {
  background-color: var(--button-hover-color);
  color: #111;
  box-shadow: 0 0 10px var(--button-hover-color);
}

/* ===== Gabriel Chat Icon ===== */
#chat-icon {
  position: fixed;
  bottom: 20px;
  right: 20px;
  cursor: pointer;
  z-index: 999;
}

#chat-icon-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#gabriel-message {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.gabriel-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  animation: floatGabriel 3s ease-in-out infinite;
}

@keyframes floatGabriel {
  0%, 100% { transform: translateY(0px); }
  50%     { transform: translateY(-8px); }
}

#chatbot-container {
  position: fixed;
  bottom: 30px;
  right: 20px;
  margin: 10px;
  margin-right: 100px;   /* 👈 Increase side breathing room */
  margin-bottom: 10px;  /* 👈 Moves it slightly up */
  width: 300px;
  max-width: 90vw;
  max-height: 400px;
  background-color: #111;
  border: 1px solid var(--primary-color);
  border-radius: 12px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  z-index: 1000;
  box-shadow: 0 0 15px var(--primary-color);
  box-sizing: border-box;
  overflow: hidden;
}


#chatbot-container .chatbot-close {
  text-align: right;
  padding: 5px 10px 0 0;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--secondary-color);
}

.bot-messages {
  padding: 10px;
  height: 250px;
  overflow-y: auto;
  font-size: 0.9rem;
  color: #fff;
}

.bot-input {
  display: flex;
  padding: 10px;
  background-color: #1a1a1a;
  border-top: 1px solid #333;
}

.bot-input input {
  flex-grow: 1;
  border-radius: 20px;
  padding: 8px;
  border: none;
  background: #222;
  color: #fff;
  margin-right: 6px;
}

.bot-input button {
  border: none;
  background: var(--secondary-color);
  color: #000;
  border-radius: 20px;
  padding: 8px 12px;
  cursor: pointer;
}

/* ========================
   Gabriel Chat Bubble Styles
   ======================== */

/* Bot Message Styling */
.bot-message {
  background-color: #222; /* Dark bubble */
  color: var(--text-color); /* Light text */
  padding: 8px 12px;
  margin: 6px 0;
  border-radius: 12px 12px 12px 0;
  max-width: 80%;
  align-self: flex-start;
  text-align: left;
}

/* User Message Styling */
.user-message {
  background-color: var(--secondary-color); /* Light purple bubble */
  color: #000; /* Black text for contrast */
  padding: 8px 12px;
  margin: 6px 0 6px auto;
  border-radius: 12px 12px 0 12px;
  max-width: 80%;
  align-self: flex-end;
  text-align: right;
}


/* ===== Footer ===== */
footer {
  margin-top: auto;
  padding: 1rem;
  font-size: 0.9rem;
  background-color: #111;
  color: var(--text-color);
}

/* ===== Responsive Media Queries ===== */
@media (max-width: 768px) {
  .intro-text {
    font-size: 1rem;
    padding: 0.5rem;
  }

  .slogan {
    font-size: 1.5rem;
  }

  .codebreeze-button {
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
  }

  #main-logo {
    width: 300px;
  }
}

@media (max-width: 480px) {
  .intro-text {
    font-size: 0.95rem;
  }

  .slogan {
    font-size: 1.25rem;
  }

  .codebreeze-button {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
  }

  #main-logo {
    width: 250px;
  }

  #chat-icon {
    bottom: 15px;
    right: 15px;
  }

  .gabriel-icon {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 480px) {
  #chatbot-container {
    right: 15px !important;
    left: auto !important;
    margin-right: 0 !important;
    width: 90%;
  }
}



/* ===== About Page Styling ===== */

/* ===== About Page Styling (Final Purple Breeze) ===== */

.about-container {
  max-width: 960px;
  margin: 4rem auto;
  padding: 2rem;
  background-color: transparent;
  text-align: center;
}

.about-section {
  margin-bottom: 3rem;
}

.about-section h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  border-bottom: 1px solid #222;
  padding-bottom: 0.5rem;
}

.about-section p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-color);
  max-width: 750px;
  margin: 0 auto;
  text-align: left;
}

.about-section a {
  color: var(--secondary-color);
  text-decoration: underline;
}

.about-section a:hover {
  color: white;
  text-shadow: 0 0 5px var(--primary-color);
}

.about-pic01,
.about-pic02 {
  width: 80%;
  max-width: 300px;
  height: auto;
  display: block;
  margin: 2rem auto;
  border: 2px solid var(--primary-color);
  border-radius: 12px;
  box-shadow: 0 0 8px rgba(106, 13, 173, 0.3);
}

.cta-container {
  text-align: center;
}

.home-icon-link {
  display: inline-block;
  margin: 2rem auto;
  font-size: 1.1rem;
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.home-icon-link:hover {
  color: white;
}

/* ===== Services Page Styling (Final Purple Breeze) ===== */
.services-tiles {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 20px;
}

.tile {
  background: #111;
  border: 1px solid var(--secondary-color);
  padding: 20px;
  border-radius: 12px;
  width: 280px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  transition: transform 0.2s ease;
}

.tile:hover {
  transform: scale(1.03);
  border-color: var(--button-hover-color);
}

.tile h3 {
  margin-top: 0;
  color: var(--button-color);
}

.tile p {
  margin-bottom: 0;
  color: var(--text-color);
}

.home-link-container {
  text-align: center;
  margin-top: 2rem;
}

.home-icon-link {
  font-size: 1.1rem;
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-block;
}

.home-icon-link:hover {
  color: white;
}

.project-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 2rem;
}

.project-card {
  background-color: #111;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
  text-align: left;
}

.project-card h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

.project-card p {
  color: var(--text-color);
  margin-bottom: 15px;
}



