:root {
    --main-color: #884A94;
    --background-color: #ffffff;
    --accent-color: black;
    --soft-purple: #e0b9e7;
    --heading-font-size: 2rem;
    --body-font-size:1.5rem;
    --square-button-radius:10px;
    --gradient-color: linear-gradient(90deg, purple, pink, yellow, pink, purple);

    
   /* Typograhy */
   --font-headings: 'Libre+Franklin', Arial, sans-serif;
   --font-body: 'Literata', Arial, sans-serif;
   --font-font-cursive: 'Bokor',  Arial, sans-serif; /*fix font*/

    /* Font Sizes */
   --font-size-body: clamp(0.9rem, 1vw + 0.5rem, 1rem);
   --font-size-small: clamp(0.85rem, 1vw + 0.5rem, 0.95rem);
   --font-size-title: clamp(1.1rem, 2vw + 0.5rem, 1.35rem);
}

body {
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
}
/*NOTES
make Ladies room have an animation the shows the root grandient color,
keep other button simple.*/

/*======================
Header
======================*/
/*Claude helped me put my cta beside my Brand name*/
.brand {
    display: flex;
    flex-direction: row;
    justify-content: center;
    position:relative;
    width: 100%;
}


h1 {
    display: inline-block;
    font-family: var(--font-headings);
    line-height: 10px;
    font-weight: 700;
/*Claude helped my find the code to stretch the text*/
     transform: scaleY(2);
     
    

}


h2 {
    font-family: var(--font-font-cursive);
    font-size:2.5rem;
    padding-bottom: 5rem;
    line-height: 10px;
    transform: scaleY(1);
    color: var(--main-color);
    
     
    
}

.cta-nav{
    position: absolute;
    right:0;
    display: flex;
   align-items: flex-start;


}

/*copied from Claude and edited*/
.sign-in {
 background-color: transparent;
    color: black;
    border:none;
    padding: 0.3rem 0.8rem;
    cursor: pointer;
}
/*Claude Helped with this animation, I tried to put it on the title but it didn't work.*/
.sign-in:hover {
    background: var(--gradient-color);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: ColorSlide 3s linear infinite;
}

@keyframes ColorSlide {
    to {
        background-position: 0%;

    }
    from {
          background-position: 200%;
    }
}
 .subscribe:hover{
    color: var(--gradient-color); 
}

 .subscribe {
    background-color: var(--main-color);
    color: rgb(255, 255, 255);
    border: 1px solid var(--main-color);
    padding: 0.3rem 0.8rem;
    cursor: pointer;
    
}

nav {
padding:10px 0;
   border-bottom: 4px solid black;
   width: 100%;
   margin: 0;
}

.main-nav {
    display: flex;
    flex-direction: row;      /* links side by side */
    justify-content: center;  /* or space-evenly, flex-end, etc. */
    align-items: center;
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin-top: 2rem;
}

.main-nav a {
    text-decoration: none;
    color:  black;
    padding: 1rem;
    font-size:1.2rem ;
    
}

.main-nav a:hover {
    color:#e0b9e7;
}


/*--Claude help me fixed my purple banner at the top*/
.top-strip{
 background-color: var(--main-color);
}

header section { 
    position: relative;
height: 2.25rem; 
padding:0;
width:100%;
} 

header {
    border-bottom: 1px solid white;
    width: 100%;
    margin: 0;
    padding: 0;
}

/*Top button*/
.top-button {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 1rem;
}

/*button transitions*/
.country{
    background-color: var(--main-color);
    border: none;
    color: white;
}

.country:hover{
    color:black;
}

.country:active {
    color:#e0b9e7;
}
.news {
   color: white;
    background-color:var(--main-color);
    border: none;

}

.news:hover{
    color:black;
}

.news:active {
    color:#e0b9e7;
}

/*button transitions*/

.hero {
display:flex;
align-items: center;
justify-content: space-evenly ;
}
.hero-cta {
    color: black;
    text-decoration: none;
    display:flex;
    align-self: flex-end;

    margin-bottom: 1.5rem;
    font-size: 2rem;
    font-family: var(--font-size-title);
}

.hero-cta:hover{
    color:#e0b9e7;
}

.hero-story {
    padding: 4rem;
}

.hero-story img {
    width: 25rem;
    height: 0 auto;

}
img .hero-article {
 width: 400px;
 height: 0 auto;
}

.hero figcaption {
 display: flex;
justify-content: flex-start;
}

.title {
    justify-content: center;
}

.picture-cate {
    display: flex;
    flex-direction: column;
}


/*===========================
Article
===========================*/

article img {
    width: 350px;
    height: 0 auto;
}

article .content{
   display:flex;
   flex-direction: column;
    padding: 4rem;
}


.card-home {
    display:flex;
    flex-direction: column;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.card-section {
    display: flex;
    align-items: center;
    gap: 20px;

}

.card-section .reverse {
    flex-direction: row-reverse;
}

.card-section .content {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    
}

.card-home figcaption {
    display:flex;
    justify-content: flex-start;
    align-items: flex-start;
}

h3 {
    font-family: var(--font-title);
    font-size: var(--font-size-title);
}
h4 {
    font-family: var(--font-title);
    font-size: var(--font-size-title);
}

p{
    font-family: var(--font-body);
    font-size: var(--font-size-body);
}

figcaption {
    color: var(--main-color);
}

 .card-section .auther {
   
    font-size: 10px;
    font-family: var(--font-body);
}

.card-section .time {
   font-family: var(--font-body) 
}
.cta-1 a {
    color: black;
    text-decoration: none;
    display:flex;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    font-family: var(--font-size-title);
}

.cta-1 a:hover {
    background: var(--gradient-color);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: ColorSlide 3s linear infinite;
}

@keyframes ColorSlide {
    to {
        background-position: 0%;

    }
    from {
          background-position: 200%;
    }
}
/*==========================
FOOTER
===========================*/
.podcast img {
    max-width: 100%;
    height: 0 auto;
    z-index:0;
}

.podcast {
    position: relative;
    display: inline-block;
}

.podcast-text {
    position: absolute;
    top: 60%;
    left: 50%;
    /*Claude helped me center this*/
   transform: translate(-50%, -50%);
    z-index: 1;
}

.podcast-text h5 {
    color:rgb(197, 175, 255);
    family: var(--font-size-title);
    font-size: 2rem;
    text-decoration:black;
}

.social-media {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.socials-list h1 {
    margin-right: 10rem;
    font-size: 1rem;
    margin-left: 1rem;
}

.footer-nav {
    display:flex;
    justify-content: space-around;
    margin-top: 2rem;
    
}

.footer-nav  a {
text-decoration: none;
color: black;

}
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25%       { transform: translateX(-5px); }
    75%       { transform: translateX(5px); }
}

.footer-nav  a:hover {
    animation: shake 0.3s ease;
    color: var(--soft-purple);
}

.social-link  {
color: var(--main-color);
border-radius: 50%;
 border: 2px solid var(--main-color);
 width: 2.5rem;
 height: 2.5rem;
 display: inline-flex;
 align-items: center;
 justify-content: center;
 text-decoration: none;
}
.social-link:hover {
    color: var(--soft-purple);
    border-color: var(--soft-purple);
}
/*=======================
Article Page
=======================*/
/*claude help me exclude the qoute p*/
.full-story p:not(.qoute) {
    text-indent: 1rem;
    margin: 20px;
}
.article-story img  {
    display: block;
    margin: 0 auto;
}
.article .title {
    display: flex;
    flex-direction: column;
    margin-left: 10rem;
}

.title p {
    align-self: center;
    margin-right: 12rem;
    font-family: var(--font-body);
}

.full-story .qoute  {
    font-family: var(--font-headings);
    font-size: 2rem;
    color: var(--main-color);
    text-align: center;
    border-left: 4px solid var(--main-color);
    padding: 1rem 2rem;
    margin: 2rem;
}

/*=======================
Article Mini stories
=======================*/
.card-top-row img {
    max-width: 25rem;
    height: 0 auto;
}
.card-top-row {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    margin-left: 15px;
}

.card-bottom-row {
    display: flex;
    justify-content: center;
}
.card-bottom-row img {
   max-width: 25rem;
    height: 0 auto; 
}
.card-top-row h4, .card-bottom-row h4 {
   font-size: 17px;
}
/*=======================
Advice 
=======================*/
.top-title {
text-align: center;
}

/*Claude Helped aling them*/
.advice-card {
    display: flex;
    flex-wrap: wrap;  /* wraps to next line on smaller screens */
    gap: 2rem;
    justify-content: center;
    padding: 2rem;
}
/* From Uiverse.io by mRcOol7 */ 
.card-question{
  --background: linear-gradient(to right, #884A94 0%, #acb6e5 100%);
  width: 190px;
  height: 254px;
  padding: 5px;
  border-radius: 1rem;
  overflow: visible;
  background: #74ebd5;
  background: var(--background);
  position: relative;
  z-index: 1;
}

.card-question::before,
.card-question::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 1rem;
  z-index: -1;
}

.card-question::before {
  background: linear-gradient(to bottom right, #f6d365 0%, #b24acc 100%);
  transform: rotate(2deg);
}

.card-question::after {
  background: linear-gradient(to top right, pink 0%, #8fd3f4 100%);
  transform: rotate(-2deg);
}

.card-info {
  --color: #292b2c;
  background: var(--color);
  color: var(--color);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  overflow: visible;
  border-radius: 0.7rem;
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.card-question .title {
  font-weight: bold;
  letter-spacing: 0.1em;
}

.card-question:hover::before,
.card-question:hover::after {
  opacity: 0;
}

.card-question:hover .card-info {
  color: var(--background-color);
  transition: color 1s;
}
/*Claude helped me but text on the card because the website I got it from didn't have text on it */
/* Front text - visible by default */
.card-front {
    position: absolute;
    transition: opacity 0.6s ease, transform 0.6s ease;
    opacity: 1;
    transform: translateY(0);
    text-align: center;
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
}

/* Back text - hidden by default */
.card-back {
    position: absolute;
    transition: opacity 0.6s ease, transform 0.6s ease;
    opacity: 0;
    transform: translateY(20px); /* starts slightly below */
    text-align: center;
    color: white;
    padding: 1rem;
}

/* On hover - hide front, show back */
.card-question:hover .card-front {
    opacity: 0;
    transform: translateY(-20px); /* slides up and disappears */
}

.card-question:hover .card-back {
    opacity: 1;
    transform: translateY(0); /* slides up into place */
}
.for-him, .for-her {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

img .gift-him {
    width:100%;
    /*Claude said it would be a square*/
    aspect-ratio: 1/1;
    object-fit: cover;
}

.gifts h3 {
    display: flex;
    justify-content: center;
    color: var(--main-color);
    margin-top: 5rem;
}

.gifts .week {
text-align: center;
margin-left: 12rem;
    
}
/*=======================
About Us
=======================*/
.card-members {
  width: 190px;
  height: 254px;
  transition: all 0.2s;
  position: relative;
  cursor: pointer;
  display: inline-block;
  gap: 1rem;
  margin: 2rem;
align-items: center;
  
}

.card-inner-members {
  width: inherit;
  height: inherit;
  background: rgba(255,255,255,.05);
  box-shadow: 0 0 10px rgba(0,0,0,0.25);
  backdrop-filter: blur(10px);
  border-radius: 8px;
}

.card-members:hover {
  transform: scale(1.04) rotate(1deg);
}

.circle {
  width: 100px;
  height: 100px;
  background: radial-gradient(var(--soft-purple), var(--main-color
  ));
  border-radius: 50%;
  position: absolute;
  animation: move-up6 2s ease-in infinite alternate-reverse;
}

.circle:nth-child(1) {
  top: -25px;
  left: -25px;
}

.circle:nth-child(2) {
  bottom: -25px;
  right: -25px;
  animation-name: move-down1;
}

@keyframes move-up6 {
  to {
    transform: translateY(-10px);
  }
}

@keyframes move-down1 {
  to {
    transform: translateY(10px);
  }
}
/* From Uiverse.io by SteveBloX */ 
.card-about {
  width: 1fr;
  height: 1fr;
  backdrop-filter: blur(7px);
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 26px;
  box-shadow: 35px 35px 68px 0px rgba(157, 177, 255, 0.2), inset -8px -8px 16px 0px rgba(157, 177, 255, 0.6), inset 0px 11px 28px 0px rgb(255, 255, 255);
  transition: all 0.3s;
  cursor: pointer;
}

.card-about:hover {
  box-shadow: 35px 35px 68px 0px rgba(157, 177, 255, 0.5);
}

.card-about:active {
  transform: scale(0.95);
  border: 1px solid rgb(166, 132, 220);
}
.title-about h3 {
    font-size: var(--font-size-title);
    font-family: var(--font-title);
    color: var(--main-color);
    text-align: center;
}
.title-about {
    text-align: center;
}
.content p i {
    font-size: 1.8rem;
}
/*=======================
Contact
=======================*/

/* From Uiverse.io by 0xnihilism */ 
.card-newsletter{
  width: 300px;
  padding: 20px;
  background: #fff;
  border: 6px solid #000;
  box-shadow: 12px 12px 0 #000;
  transition: transform 0.3s, box-shadow 0.3s;
  display:flex;
  justify-content: center;
}

.card-newsletter:hover {
  transform: translate(-5px, -5px);
  box-shadow: 17px 17px 0 #000;
}

.card__title {
  font-size: 32px;
  font-weight: 900;
  color: #000;
  text-transform: uppercase;
  margin-bottom: 15px;
  display: block;
  position: relative;
  overflow: hidden;
}

.card__title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 90%;
  height: 3px;
  background-color: #000;
  transform: translateX(-100%);
  transition: transform 0.3s;
}

.card-newsletter:hover .card__title::after {
  transform: translateX(0);
}

.card__content {
  font-size: 16px;
  line-height: 1.4;
  color: #000;
  margin-bottom: 20px;
}

.card__form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.card__form input {
  padding: 10px;
  border: 3px solid #000;
  font-size: 16px;
  font-family: inherit;
  transition: transform 0.3s;
  width: calc(100% - 26px); /* Adjust for padding and border */
}

.card__form input:focus {
  outline: none;
  transform: scale(1.05);
  background-color: #000;
  color: #ffffff;
}

.card__button {
  border: 3px solid #000;
  background: #000;
  color: #fff;
  padding: 10px;
  font-size: 18px;
  left: 20%;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s;
  width: 50%;
  height: 100%;
}

.card__button::before {
  content: "Sure?";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 105%;
  background-color: #5ad641;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(100%);
  transition: transform 0.3s;
}

.card__button:hover::before {
  transform: translateY(0);
}

.card__button:active {
  transform: scale(0.95);
}

@keyframes glitch {
  0% {
    transform: translate(2px, 2px);
  }
  25% {
    transform: translate(-2px, -2px);
  }
  50% {
    transform: translate(-2px, 2px);
  }
  75% {
    transform: translate(2px, -2px);
  }
  100% {
    transform: translate(2px, 2px);
  }
}

.glitch {
  animation: glitch 0.3s infinite;
}

/*  hamburger responisve na */
.ham-btn, .ham-checkbox {
    display: none;
}

/*Claude helped and I kept the note for refrence for the next project*/
@media (max-width: 768px) {
    .ham-btn {
        display: block;
    }
    .main-nav {
        display: none; 
    }
     .hero {
        flex-direction: column; /* stack instead of side by side */
    }
    .ham-btn {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        padding: 10px;
    }

    /* The three lines */
    .ham-btn span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: black;
    }

    /* Hide nav by default on mobile */
    .main-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
    }

    /* Show nav when checkbox is checked */
    .ham-checkbox:checked ~ .main-nav {
        display: flex;
    }
    .card-top-row, .card-bottom-row {
        flex-direction: column;
       align-items: center;
    }

}
