/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

:root {
    --background: #fffaf8;
    --text: #29252b;
    --pink: #f3b6c6;
    --lpink: #FFC0CB;
    --blue: #dff5f7;
    --card-background: #ffffff;
}


/* ====================
   LINKS
==================== */

a {
    color: var(--text);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--pink);
}

.site-brand {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.site-brand a {
    color: var(--text);
    font-size: 1.4rem;
    font-weight: bold;
    text-decoration: none;
}

.site-brand span {
    font-size: 0.7rem;
    letter-spacing: 1px;
    color: #777;
}

.case-hero {
    max-width: 1200px;
    margin: 30px auto;
    padding: 50px 30px;
    background-color: var(--blue);
    border-radius: 20px;
}


nav a, 
.navbar a, 
.nav-link {
    font-family: "Concert One", sans-serif;
    font-size: 18px; /* Adjust size as needed */
}

.concert-one-regular {
  font-family: "Concert One", sans-serif;
  font-weight: 400;
  font-style: normal;
}


html {
  scroll-behavior: smooth;
}

body {
    background-color: var(--background);
    color: var(--text);
    font-family: Verdana, Geneva, sans-serif;
    margin: 0;
}

 /* Body rule is above ^^ */

header{
  max-width:1200px;
  margin: 0 auto;
  padding: 25px 30px;
  
  display:flex;
  justify-content: space-between;
    align-items: center;
  }

nav {
    display: flex;
    gap: 25px;
}

nav a {
  color: #222;
  text-decoration:none;
}
nav a:hover {
    color: var(--pink);
    text-decoration: underline;
}

.featured-work {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
}
  
  .hero {
        max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 80px;
    align-items: center;

    padding: 40px 30px 60px;
}

 .hero-text > p:first-child {
     font-size: 0.9rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
   }   
      
     .hero-image img {
       
      width: 350px;
    height: 450px;
  transform: translateX(55px);
    object-fit: cover;
    object-position: top;
    border-radius: 20px;
      }
      
      
      h1 {
    font-size: 1.8rem;
    margin: 0;
      }
      h2{
        font-size: 2.5rem;
    line-height: 1.2;
      }
      
      .hero-text h2 {
    font-size: 3rem;
    line-height: 1.1;
    margin-top: 10px;
    margin-bottom: 20px;
}
      
      
      h3{
         font-size: 1.4rem;
        }
  
  .project-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
   


.project-card:hover {
  transform:translateY(-3px);
}


.project-card {
       padding: 20px;
    border: 1px solid var(--pink);
    border-radius: 15px;

    display: flex;
    flex-direction: column;
}


.project-info h3 {
    margin: 20px 0 10px;
}

.project-info p {
    margin: 0 0 15px;
    line-height: 1.4;
}

.project-info a {
    align-self: flex-start;
     margin-top: auto;
}



.project-info {
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 8px;
    text-align: left;
    flex: 1;

}

.project-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
}

 /* button stuff */
 
 .home-buttons{
    display: flex;
  gap: 16px;
  flex-wrap: wrap;
 }

.button{
   display: inline-block;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.3s ease;
  }
  
  
  .primary-button{
    background-color: var(--lpink);
    color: var(--text);
      align-items: center;
  justify-content: center;
    }
    
    .secondary-button {
        align-items: center;
  justify-content: center;
   /* border: 1px solid var(--text);*/
     background-color: var(--lpink);
    color: var(--text);
  
}

 .third-button {
   /* border: 1px solid var(--text);*/
     background-color: var(--lpink);
    color: var(--text);
      align-items: center;
  justify-content: center;
 }

.button:hover {
    transform: translateY(-3px);
    color: white;
}

 /* button stuff */

 
    /* ====================
   CASE STUDIES - goes on all of the study sections
==================== */




.case-hero h1 {
    font-size: 4rem;
    margin: 10px 0;
  
}
 
 
.case-label {
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
 
 
 
 
 .case-overview, 
 .work-section, 
 .impact-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 30px;
}
 
 
 
 .case-overview p,
.work-section p {
    max-width: 900px;
    line-height: 1.6;
}
 
  .work-gallery {
    margin-top: 30px;
    justify-self: center;
}

.gallery-item {
    max-width: 220px;
}

.gallery-item img {
    width: 100%;
    height: auto;
}
  
 
 .work-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}
 
 .work-focus li {
    margin-bottom: 10px;
    line-height: 1.4;
}

 .work-focus ul{
     line-height: 2;
   }

 
 .work-copy{
   
 }
 
 .campaign-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.campaign-image {
    width: 75%;
    height: 285px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.insight-image {
    width: 75%;
    height: 250px;
    display: block;
    margin: 0 auto;
}

  
  
.insights-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.impact-card{
  
   padding: 20px;
    border: 1px solid var(--pink);
    border-radius: 15px;
    background-color: var(--card-background);
    box-shadow: 4px 4px 0 var(--pink);
  
}
 


    /* ====================
   CASE STUDIES (G4C Learn) - goes on all of the study sections
==================== */

.sc-gallery {
    display: grid;
    gap: 25px;
}

.two-column {
    grid-template-columns: repeat(2, 1fr);
}

.three-column {
    grid-template-columns: repeat(3, 1fr);
}

.sc-image{
  width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
  }








.comms-metric{
display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    width: 100%;  }


.crm-process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    width: 100%;
}

.crm-step {
    padding: 20px;
    
}

.scimpact-grid{
   display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    width: 100%;
}


.sc-impact {
  
  padding: 20px;
    border: 1px solid var(--pink);
    border-radius: 15px;
    background-color: var(--card-background);
    box-shadow: 4px 4px 0 var(--pink);
  
  
}



    /* ====================
   CASE STUDIES (G4C communications
   )- goes on all of the study sections
==================== */

.sm-gallery{
   display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
}

.sm-image {
     width: 75%;
    height: 285px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
   
}

.sm-card {
    display: flex;
    flex-direction: column;
}

.comms-grid {
   display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
}




.sm-stat-grid{
   display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
}


.learn-metric,.crm-step
{
padding: 20px;
    border: 1px solid var(--pink);
    border-radius: 15px;
    background-color: var(--card-background);
    box-shadow: 4px 4px 0 var(--pink);
    width: auto;
  min-width: 0;
    
}



.stat-impact {
padding: 20px;
    border: 1px solid var(--pink);
    border-radius: 15px;
    background-color: var(--card-background);
    box-shadow: 4px 4px 0 var(--pink);
    width: auto;
  min-width: 0;
    
}

.stat-number {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 5px;
    flex-wrap: wrap;

}




.growth-badge {
  padding: 5px 10px;
  border-radius: 20px;
  background-color: var(--pink);
  color: #FFFFFF;
  font-size: 0.45em;
  font-weight: bold;
  white-space: nowrap;
  width: auto;
  min-width: 0;
  
}



.newsletter-image
{
 width: 100%;
    height: auto;
    display: block;
}

 .partner-image{
    width: 75%;
    height: 300px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
   }
   
   .partner-copy p {
    margin-top: 0;
}
   .partner-layout{
      display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: start;
     }
     
     
     .festival-layout {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    align-items: start;
}

.fest-image{
  width: 75%;
    height: 285px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
   }
  
  
  .comms-grid{
   display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
}


.comms-impact {
  
  padding: 20px;
    border: 1px solid var(--pink);
    border-radius: 15px;
    background-color: var(--card-background);
    box-shadow: 4px 4px 0 var(--pink);
  
  
}
  
  
   /* ====================
   Art gallery stuff
==================== */

  
  .creative-gallery {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 30px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.creative-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
  
  .creative-gallery img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.creative-gallery img:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 25px rgba(41, 37, 43, 0.18);
}
  
  .game-header {
    max-width: 1200px;
    margin: 60px auto 0;
    padding: 0 30px;
    box-sizing: border-box;
}

.game-header h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.game-header p {
    margin-top: 0;
    line-height: 1.6;
}
  
  
  .game-gallery {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 30px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
  
  .game-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
  
  .game-gallery img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-gallery img:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 25px rgba(41, 37, 43, 0.18);
}



.mini-game-section {
    max-width: 1200px;
    margin: 40px auto 80px;
    padding: 0 30px;
    box-sizing: border-box;
}

.mini-game-header {
    margin-bottom: 20px;
}

.mini-game-header h2 {
    margin-bottom: 10px;
}

.game-embed {
    padding: 15px;
    background-color: var(--blue);
    border: 2px solid var(--pink);
    border-radius: 20px;
    box-shadow: 5px 5px 0 var(--pink);
}

.game-embed iframe {
    display: block;
    width: 100%;
    height: 650px;
    border: none;
    border-radius: 12px;
}


.about-me-section h1 {
    font-size: 3rem;
    margin-bottom: 40px;
}

.about-me-copy {
  padding:30px;
  background-color: var(--card-background);
  border: 2px solif var(--pink);
  border-radius:20px;
  box-shadow:6px 6px 0 var(--pink);
}

.about-me-copy p {
    line-height: 1.6;
    margin-top: 0;
    margin-bottom: 20px;
}
.about-me-image{
    width: 100%;
    height: auto;
    display: block;
    
    
    border-radius: 20px;


    border: 3px solid var(--blue);

    box-shadow:6px 6px 0 var(--blue);
    
        box-sizing: border-box;

   }
   
   .about-me-section{
     max-width:1200px;
     margin: 0 auto;
     padding: 50px 30px;
   }
   

  .about-me-layout {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    align-items: start;
}




 /* alllows for good moible viewing*/
 
  @media (max-width: 900px) {
  .sm-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
 
 
 
 @media (max-width: 900px) {
  .sm-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}




@media (max-width: 600px) {
  .sm-stat-grid, .crm-process, .comms-metric {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {

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

    .hero-image img {
        width: 280px;
        max-width: 100%;
        height: auto;
    }

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

}