* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

* {
    cursor: url('../img/mouse-preto.png') 0 0, auto;
  }

:root {
    --margin-grid: 2rem;
}

@font-face {
  font-family: 'PP RADIO GROTESK';
  src: url('../css/fonts/PPRadioGrotesk-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@media (max-width: 992px) {
    :root {
        --margin-grid: 1.5rem;
    }
}

@media (max-width: 576px) {
    :root {
        --margin-grid: 1rem;
    }
}

.container-fluid {
    padding-left: var(--margin-grid);
    padding-right: var(--margin-grid);
}

.row {
    --bs-gutter-x: 1rem;
}

a {
    color: inherit;
    text-decoration: none;
}


/* ========= HEADER ========= */
header{
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;

    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 2rem;
    padding: 0 var(--margin-grid);
    z-index: 100;
}


header nav ul{
    display: flex;
    gap: 1.5rem;
    list-style: none;
    font-family: 'PP RADIO GROTESK';
    padding-top: var(--margin-grid);
    margin-top: 1rem;
}

header nav ul li:hover{
    display: flex;
    gap: 1.5rem;
    list-style: none;
    font-family:  'PP RADIO GROTESK';
    text-decoration: line-through solid #43FF57;
}

  
header .logo img {
    height: 5rem;
    width: auto;
    display: block;
    padding-top: var(--margin-grid);
    margin-top: 1rem;
}

@media (max-width: 576px) {
  header .logo img{
     height: 3rem;
    }
}


/* ========= MAIN ========= */
main{
    margin-top: 4rem;
    min-height: calc(100dvh - 4rem);
}

/* ========= HOME ========= */

main.home{
    display: flex;
    align-items: flex-end;
    padding: var(--margin-grid);
}

main.home .home-image{
    width: 100%;
}

main.home .home-image img{
    width: 100%;
    height: auto;
    display: block;
}


/* ========= DESIGN ========= */

main.design .card {
    margin-bottom: 1.5rem;
}

main.design .card .card-image {
    aspect-ratio: 4/2.5;
    background-color: #43FF57;
    margin-bottom: 0.5rem;
    border-radius: 25px;
    position: relative;
}

main.design .card .card-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 25px;
    position: absolute;
    transition: opacity 0.3s ease;
}

main.design .card .card-image .hover-img {
  opacity: 0;
}

main.design .card .card-image:hover .hover-img {
  opacity: 1;
}

main.design .card .card-image:hover .default-img {
  opacity: 0;
}

main.design .card .card-title {
    font-family:  'PP RADIO GROTESK';
    text-decoration: line-through solid #43FF57;
}


/* ========= PHOTO ========= */

body.photo-page {
  background-color: #43FF57; 
}

body.photo-page header nav ul li:hover{
    display: flex;
    gap: 1.5rem;
    list-style: none;
    font-family:  'PP RADIO GROTESK';
    text-decoration: line-through solid white;
}

main.photo .card {
    margin-bottom: 1.5rem;
}

main.photo .card .card-image {
    aspect-ratio: 4/2.5;
    background-color: white;
    margin-bottom: 0.5rem;
    border-radius: 25px;
    position: relative;
}

main.photo .card .card-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 25px;
    position: absolute;
    transition: opacity 0.3s ease;
}

main.photo .card .card-image .hover-img {
  opacity: 0;
}

main.photo .card .card-image:hover .hover-img {
  opacity: 1;
}

main.photo .card .card-image:hover .default-img {
  opacity: 0;
}

main.photo .card .card-title {
    font-family:  'PP RADIO GROTESK';
    text-decoration: line-through solid white;
}

/* ========= ABOUT ========= */

main.about {
    padding-top: 0rem;
}

main.about section {
    padding-top: 2rem;
    margin-top: 2rem;
}

main.about section:first-of-type {
    border: none;
}

main.about section .about-text {
    font-family: 'PP RADIO GROTESK';
    font-size: 3rem;
    line-height: 1.2;
}

main.about section .about-contact,
main.about section .about-social-media {
    font-family: 'PP RADIO GROTESK';
    font-size: 1rem;
}

main.about .about-image {
    width: 100%;
    height: auto;
    max-height: 800px;      /* Limite visual */
    object-fit: cover;      /* Mantém cortes bonitos */
    border-radius: 8px;
    display: block;
}

/* Hover */
main.about section .about-social-media a:hover {
    text-decoration: line-through solid #43FF57;
}

/* ======== MOBILE ======== */
@media (max-width: 576px) {

    main.about section .about-text {
        font-size: 2rem;
    }

    main.about .about-image {
        max-height: 400px;   /* Ajuste para mobile */
        margin-top: 2rem;
    }

    .about-social-media {
        margin-top: 1rem;
    }
}


/* ========= SINGLE ========= */

main.single .single-sticky{
    position: sticky;
    top: 4rem;
    margin-bottom: 1.5rem;
}

main.single .single-title{
    font-size: 3rem;
    top: 4rem;
    margin-bottom: 1.5rem;
    font-family: 'PP RADIO GROTESK';
}

main.single .single-subtitle{
    font-size: 1rem;
    font-family: 'PP RADIO GROTESK';
    text-decoration: line-through solid #43FF57;
}

main.single .single-text{
    font-size: 1rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-family: 'PP RADIO GROTESK';
}

main.single .single-team{
    font-size: 1rem;
    font-family: 'PP RADIO GROTESK';
    text-decoration: underline solid #43FF57;
}

main.single .single-images img{
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 1.5rem;
}

main.single .single-slideshow {
  position: relative;
  width: 100%;
  aspect-ratio: 4/2.5;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

main.single .single-slideshow img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.1s ease-in-out;
}

main.single .single-slideshow img.active {
  opacity: 1;
}