/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;

  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --first-color: hsl(230, 75%, 56%);
  --title-color: hsl(230, 75%, 15%);
  --text-color: hsl(230, 12%, 40%);
  --body-color: hsl(230, 100%, 98%);
  --container-color: hsl(230, 100%, 97%);
  --border-color: hsl(230, 25%, 80%);

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Syne", sans-serif;
  --h2-font-size: 1.25rem; 
  --normal-font-size: .938rem;
  
  /*========== Font and typography 2 ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font2: "Montserrat", sans-serif;
  --biggest-font-size: 2rem;
  --normal-font-size2: .938rem;
  --small-font-size: .913rem;
  

  /*========== Font weight ==========*/
  --font-regular: 400;
  --font-medium: 500;
  --font-semi-bold: 600;

  /*========== z index ==========*/
  --z-fixed: 100;
  --z-modal: 1000;
}

/*========== Responsive typography ==========*/
@media screen and (min-width: 1023px) {
  :root {
    --h2-font-size: 1.5rem;
    --normal-font-size: 1rem;
  }
}

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

html {
  scroll-behavior: smooth;
}

body,
input,
button {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

body {
  background-color: var(--body-color);
  color: var(--text-color);
}

input,
button {
  border: none;
  outline: none;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1120px;
  margin-inline: 1.5rem;
}

.main {
  position: relative;
  height: 100vh;
}

/*=============== HEADER & NAV ===============*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--body-color);
  box-shadow: 0 2px 16px hsla(230, 75%, 32%, .15);
  z-index: var(--z-fixed);
}

.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
  transition: color .4s;
}

.nav__actions {
  display: flex;
  align-items: center;
  column-gap: 1rem;
}

.nav__toggle, 
.nav__close {
  font-size: 1.25rem;
  color: var(--title-color);
  cursor: pointer;
  transition: color .4s;
}

:is(.nav__logo, .nav__toggle, .nav__link):hover {
  color: var(--first-color);
}

/* Navigation for mobile devices */
@media screen and (max-width: 1023px) {
  .nav__menu {
    position: fixed;
    top: -100%;
    left: 0;
    background-color: var(--body-color);
    box-shadow: 0 8px 16px hsla(230, 75%, 32%, .15);
    width: 100%;
    padding-block: 4.5rem 4rem;
    transition: top .4s;
  }
}

.nav__list {
  display: flex;
  flex-direction: column;
  row-gap: 2.5rem;
  text-align: center;
}

.nav__link {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
  transition: color .4s;
}

.nav__close {
  position: absolute;
  top: 1.15rem;
  right: 1.5rem;
}

/* Show menu */
.show-menu {
  top: 0;
}


/*=============== HOME ===============*/
.home{
  position: relative;
  
}

.home__container{
  padding-top: 5rem;
  display: grid;
  row-gap: 3rem;
}

.home__content{
  text-align: center;
}

.home__image{
  justify-content: center;
  justify-items: center;
  padding-bottom: 1rem;
}

.home__title{
 font-size: var(--biggest-font-size);
 letter-spacing: 1px;
 padding-bottom: 5px;
}

.home__subtitle{
  font-size: var(--small-font-size);
  letter-spacing: 1px;
  padding-bottom: 3rem;
  
}

.home_button{
  font-size: rem;
  font-weight: 500;
  padding: 20px;
  background: #ebeef1;
  border: none;
  border-radius: 50px;
  color: #00a037;
  box-shadow: 10px 10px 10px -1px rgba(10, 99, 169, 0.16),
              -10px -10px 10px -1px rgba(255, 255, 355, 0.70);
}





/* NEW SCREENSHOTS SECTION STYLES */
.screenshots {
/* Same as body for continuity */
    padding: 80px 0;
    text-align: center;
  
}

.screenshots h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 2.1em;
    margin-bottom: 50px;
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Adjust minmax as needed */
    gap: 30px;
    justify-items: center; /* Center items in the grid */
    align-items: start;
}

.screenshot-item {
    background: #ebeef1; /* Background for individual screenshot cards */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 10px 10px 10px -1px rgba(10, 99, 169, 0.16),
              -10px -10px 10px -1px rgba(255, 255, 355, 0.70);
    transition: transform 0.3s ease;
    max-width: 300px; /* Limit width of individual screenshot card */
    overflow: hidden; /* Ensure image doesn't spill */
}

.screenshot-item:hover {
    transform: translateY(-8px);
}

.screenshot-item img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    border: 3px solid #ff4500; /* Orange border for screenshots */
    margin-bottom: 15px;
    display: block; /* Remove extra space below image */
}

.screenshot-item p {
    font-size: 1.1em;
    font-weight: bold;
    color: #ff7f50;
}



/*=============== STATS SECTION ===============*/
.stats{
    padding: 70px 20px;
}

.stats__container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.stats__card{
    background: #ebeef1;
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 10px 10px 10px -1px rgba(10, 99, 169, 0.16),
                -10px -10px 10px -1px rgba(255, 255, 255, 0.70);
    transition: .3s ease;
}

.stats__card:hover{
    transform: translateY(-8px);
}

.stats__card h2{
    font-size: 2rem;
    color: #00a037;
    margin-bottom: 10px;
    font-weight: 700;
}

.stats__card p{
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 500;
}

/* Mobile */
@media screen and (max-width: 576px){
    .stats__card h2{
        font-size: 1.7rem;
    }

    .stats__card p{
        font-size: .9rem;
    }
}

/*=============== FEATURES ===============*/
.features{
    padding: 80px 20px;
    text-align: center;
}

.features__title{
    font-size: 2rem;
    color: var(--title-color);
}

.features__subtitle{
    margin-top: 8px;
    color: var(--text-color);
    margin-bottom: 50px;
}

.features__container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap: 25px;
}

.feature__card{
    background: #ebeef1;
    padding: 30px 25px;
    border-radius: 20px;
    box-shadow: 10px 10px 10px -1px rgba(10, 99, 169, 0.16),
                -10px -10px 10px -1px rgba(255,255,255,.70);
    transition: .3s ease;
}

.feature__card:hover{
    transform: translateY(-8px);
}

.feature__card i{
    font-size: 2.5rem;
    color: #00a037;
    margin-bottom: 15px;
}

.feature__card h3{
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--title-color);
}

.feature__card p{
    font-size: .95rem;
    line-height: 1.6;
    color: var(--text-color);
}

/*=============== FOOTER ===============*/
.footer {
    background: #ebeef1;
    padding: 60px 20px 30px;
    text-align: center;
    margin-top: 80px;
    box-shadow: inset 0 5px 10px rgba(0,0,0,.05);
}

.footer__logo {
    font-size: 2rem;
    color: var(--title-color);
    margin-bottom: 10px;
}

.footer__text {
    color: var(--text-color);
    margin-bottom: 25px;
    font-size: .95rem;
}

.footer__social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
}

.footer__social-link {
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.4rem;
    color: #ff4500;
    box-shadow: 5px 5px 10px rgba(0,0,0,.1),
                -5px -5px 10px rgba(255,255,255,.8);
    transition: .3s;
}

.footer__social-link:hover {
    transform: translateY(-5px);
    color: #00a037;
}

.footer__copy {
    font-size: .85rem;
    color: #666;
}

/* Mobile */
@media screen and (max-width: 576px) {
    .footer__logo {
        font-size: 1.5rem;
    }

    .footer__social-link {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}


