
/*
Theme Name: Astra Child
Template: astra
*/

body.home {
  background: linear-gradient(
    270deg,
    #f5a84a,   /* amber-peach (now last) */
    #e95d78,   /* coral */
    #e044b5,   /* berry magenta */
    #9a40dd,   /* deep lavender */
    #5a3ce0    /* rich violet — first visible color */
  );
  background-size: 1000% 1000%;
  animation: gradientShift 80s ease infinite;
  color: white;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.home h1, .home h2, .home h3, .home h4 {
  color: white;
}


h1, h2 {
  font-family: 'BauhausSoftDisplay', serif;
}

h4 {
  
  font-weight: 400;
  line-height:1.5;
}

h2, .entry-content h2 {
    font-size: 30px;
    font-size: 1.875rem;
    font-weight: 300;
    line-height: 1.3em;
}
.ast-plain-container {
  background-color: white;

}

.wp-block-image img{
  border: none;
  box-shadow: none;
  width: 100%;
}


.caption p {
  
  font-size: 14px;
  
}

body, button, input, select, textarea, .ast-button, .ast-custom-button {
    font-family: inter, Helvetica Neue, sans-serif;
    font-weight: 400;

    font-size: 18px;
    line-height: 1.75;
;



.case-card a {
  color: black;
  
}

#ast-hf-menu-1 a:hover {
  text-decoration: underline;
}



a.case-button:hover {
  background-color: purple;
  
}
/* Center the primary content container on single posts */



.single-post img {
 max-width: 1200px !important; 
 align: center;
}

.site-title {
  font-size: 1.6rem;
  font-family: 'BauhausSoftDisplay', serif;
  font-weight: 900;
  
}

.home .ast-site-identity a{
  color: white;
}




.site-header-section.home a {
  
  color: white;
}

 



 .home .menu-link a {
  color: white;

}

.site-navigation a{
  font-weight: bold;
}

.site-navigation a:hover {
 /*text-decoration: underline; */

}

header.entry-header .entry-title {
    font-weight: 600;
    font-size: 4rem; 
}

.ast-primary-header-bar {
  background-color: transparent !important;
  border-bottom: none; 
}


.wp-block-group {
  background-color: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
}


.entry-meta {
  visibility: hidden;
}

/* HERO */


.hero-section {
  position: relative;
  width: 100vw;
  height: auto;
  overflow: hidden;
  display: flex;
  justify-content: center; 
  padding: 2rem;
  box-sizing: border-box;
  margin-left: calc(-50vw + 50%); 
  text-align: left;
}


.hero-content {
  z-index: 2;
  text-align: left;
  max-width: 1200px;
  width: 100%;
  padding: 1rem;
}




.burst-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 100%;
}


.burst, .line {
  position: absolute;
  z-index: 1;
}

.burst {
  width: 10px;
  height: 10px;
  background: white;
  border-radius: 50%;
  opacity: 0;
  box-shadow: 0 0 35px 15px rgba(255,255,255,0.6), 0 0 50px 30px rgba(255,255,255,0.3);
  transition: transform 4s ease-out;
}

.line {
  height: 1px;
  background: white;
  opacity: 0.7;
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 4s ease-out;
}





.hero-section p {
  font-size: 1.25rem;
  max-width: 1200px;
  text-align: left;
  margin: 0 auto 2rem;

  }

.hero-section h1 {
  padding-top: 9rem;

  font-size: clamp(2rem, 6vw + 1rem, 8rem);
color: white;
  line-height: 1.1;
  font-weight: 900;
  margin-bottom: 2rem;
}


.hero-buttons {
  display: flex;
  justify-content: left;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-buttons a {
  background: white;
  color: #1a1a1a;
  padding: 0.75rem 1.5rem;
  border: none;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.2s ease-in-out;
}

.hero-buttons a:hover {
  background: #f7f7f7;
  transform: translateY(-2px);
}

/* === CASE STUDY GRID === */







.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  padding: 4rem 2rem;
  max-width: 100%;
  margin: 0 auto;
}

.case-card {
  background: #ffffff;
  padding: 2rem;
  border-radius: 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
}

/* No longer needed:
@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}
*/

.portfolio-carousel {
  overflow: hidden;
  transition: transform 0.4s ease;
}

@media (max-width: 600px) {
  .portfolio-carousel {
    display: flex;
    flex-direction: column;
    transform: none !important;
    gap: 1.5rem;
  }

  .carousel-btn {
    display: none;
  }
}

.carousel-wrapper {
  position: relative;
  overflow: visible;
}

.carousel-track {
  display: flex;
  gap: 2rem;
  transition: transform 0.4s ease;
  will-change: transform;
  overflow: visible;
}

.case-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.case-card p, .case-card h3 {
  font-size: 1rem;
  color: #444;
}

.case-card .case-button {
  margin-top: auto;
  align-self: flex-start;
  background: #1a1a1a;
  color: #fff;
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.case-card .case-button:hover {
  background: purple;
}

.case-thumb {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
}

.case-thumb img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
}


.home .ast-builder-menu-1 .menu-item > .menu-link {
    color: white;
}

.home .menu-link {

  color: white;
  font-weight: bold;
  
}


.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: black;
  border: none;
  font-size: 2rem;
  padding: 15px;
  cursor: pointer;
  z-index: 3;
}

.carousel-btn.prev {
 left: -2rem; 
}

.carousel-btn.next {
  right: -2rem;
}


.skills-section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.skills-section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.skills-section p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 3rem;
}

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

.skill-card {
  background: #f9f9f9;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.skill-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.skill-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: black;
}

.skill-card p {
  font-size: 1rem;
  line-height: 1.5;
  color: black;
}


.engagement-options {
  padding: 4rem 2rem;
  background-color: #fafafa;
  color: black;
}

.engagement-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.engagement-container h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: black;
}

.engagement-container .intro {
  font-size: 1.1rem;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.engagement-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  text-align: left;
}

.engagement-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.engagement-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.engagement-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.engagement-card p {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.engagement-card ul {
  padding-left: 1.2rem;
  margin-bottom: 1.5rem;
}

.engagement-card ul li {
  margin-bottom: 0.5rem;
  list-style-type: disc;
  font-size: 0.95rem;
}

.engagement-btn {
  display: inline-block;
  background-color: #333;
  color: #fff;
  text-decoration: none;
  padding: 0.75rem 1.25rem;
  border-radius: 6px;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.engagement-btn:hover {
  background-color:purple;
}



.portfolio-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  padding: 2rem;
  margin-bottom: 3rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
  justify-content: flex-start;
}

@media (max-width: 768px) {
  .portfolio-thumb {
    width: 100%;
    text-align: center;
  }

  .portfolio-image-circle {
    margin: 0 auto;
  }

  .portfolio-card-content {
    width: 100%;
  }
}


.portfolio-thumb {
  flex-shrink: 0;
}

.portfolio-image-circle {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.portfolio-card-content {
  flex: 1;
  min-width: 280px;
}





.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}


.portfolio-card-content h2 {
  font-size: 1.75rem;
  margin-top: 0;
}

.portfolio-excerpt {
  font-size: 1.1rem;
  line-height: 1.6;
}

.portfolio-meta-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.portfolio-meta {
  background: #f9f9f9;
  padding: 1rem 1.25rem;
  border-radius: 10px;
  flex: 1;
  min-width: 220px;
}

.view-case-btn {
  font-weight: 600;
  text-decoration: none;
  color: #333;
  margin-top: 1rem;
}

.view-case-btn:hover {
  text-decoration: underline;
  color: #111;
}

.fade-in {
  opacity: 1 !important;
  transform: none !important;
}
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: none;
  }
}


.about-wrapper {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.about-image img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 50%;

}

.about-text {
  max-width: 800px;
}

@media (max-width: 768px) {
  .about-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
