/*
*  html5resetcss
*/
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}
body{line-height:1}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}
nav ul{list-style:none}
blockquote,q{quotes:none}
blockquote:before,blockquote:after,q:before,q:after{content:none}
a{margin:0;padding:0;font-size:100%;vertical-align:baseline;background:transparent}
ins{background-color:#ff9;color:#000;text-decoration:none}
mark{background-color:#ff9;color:#000;font-style:italic;font-weight:bold}
del{text-decoration:line-through}
abbr[title],dfn[title]{border-bottom:1px dotted;cursor:help}
table{border-collapse:collapse;border-spacing:0}
hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}
input,select{vertical-align:middle}

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

html, body {
    background-color: #141414;
    color: #EBE7DE;
    font-family: inter-variable, sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* navbar styling */

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #141414;
    z-index: 1000;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: space-between;
    padding: 17px 35px;
    align-items: center;
    width: 100%;
}

nav ul li a {
    text-decoration: none;
    color: #EBE7DE;
    font-size: 2.5vh;
    font-weight: 500;
    letter-spacing: 1px;
    letter-spacing: -1px; 
    transition: color 0.3s ease;
}

nav ul li a:hover {
      color: #666;
}

.nav-text {
    display: block;
}

a.animated:hover .nav-text {
    animation: slideUp 0.3s ease-in-out forwards;
}

a.animated:not(:hover) .nav-text {
    animation: slideDown 0.3s ease-in-out forwards;
}



@keyframes slideUp {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    45% {
        transform: translateY(-10px);
        opacity: 0;
    }
    46% {
        transform: translateY(10px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
        color: #919191;
        }
}

@keyframes slideDown {
    0% {
        transform: translateY(0);
        opacity: 1;
        }
    45% {
        transform: translateY(10px);
        opacity: 0;
        }
    46% {
        transform: translateY(-10px);
        opacity: 0;
        }
    100% {
        transform: translateY(0);
        opacity: 1;
        }
}

/* Hamburger Menu (Hidden on Desktop) */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background-color: #EBE7DE;
    margin: 4px 0;
    transition: all 0.3s ease;
    display: block;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
        position: fixed;
        top: 20px;
        right: 25px;
    }

    nav ul {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background-color: #141414;
        width: 100%;
        height: 100vh;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: left 0.3s ease;
        padding: 0;
    }

    nav ul.active {
        left: 0;
    }

    nav ul li {
        width: 100%;
        text-align: center;
    }

    nav ul li a {
        font-size: 28px;
        display: block;
        padding: 15px;
    }

    body.menu-open {
        overflow: hidden;
    }
}

/* ----------- index.html --------- */

/* hero section styling */
.hero {
    height: 87vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    gap: 20px;
}

.blinking-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: #00FF00;
    border-radius: 50%;
    margin-right: 10px;
    vertical-align: middle;
    position: relative; /* importante para o ::after */
    z-index: 10;
}

/* bola maior */
.blinking-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    background: #00FF00;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 1.8s infinite;
    opacity: 0.6; /* começa semi-transparente */
}

/* animação da onda */
@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0.2;
    }
    100% {
        transform: translate(-50%, -50%) scale(3);
        opacity: 0;
    }
}

.hero-top-text {
    font-size: 24px;
    color: #EBE7DE;
    text-align: center;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.hero p {
    font-family: "andale-mono-mt-pro", sans-serif;
    font-size: 20px;
    color: #EBE7DE;
    text-align: center;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.hero-text {
    color: #EBE7DE;
    font-size: 220px;
    font-weight: bold;
    letter-spacing: -10px; 
    line-height: 0.8; 
    text-align: center;
    position: relative;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeUp 0.8s ease-out forwards;
}

.hero img {
    position: absolute;
    top: 57%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 600px;
}  

.line {
    opacity: 0;
    transform: translateY(50px);
    animation: fadeUp 0.8s ease-out forwards;
}

.line-1 {
    animation-delay: 0.2s;
}

.line-2 {
    animation-delay: 0.6s;
}

 @keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
        }
    }

.information {
    width: 100%;
    display: flex;
    justify-content: space-between;
    position: absolute;
    bottom: 30px;                
    padding: 0 30px;
    box-sizing: border-box;
}

.information p {
    font-family: "andale-mono-mt-pro", sans-serif;
    font-size: 18px;
    color: #EBE7DE;
    margin: 0;
}

/* Responsive Hero Section */
@media (max-width: 1024px) {
    .hero {
        height: 60vh;
    }

    .hero-text {
        font-size: 160px;  /* ← Try 120px or 100px */
        letter-spacing: -5px;
    }

    .hero img {
        width: 450px;  /* ← Try 350px or 300px */
    }

    .hero p {
        font-size: 18px;  /* ← Try 16px */
    }

    .information p {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 55vh;
    }

    .hero-text {
        font-size: 120px;  /* ← Try 80px or 70px */
        letter-spacing: -6px;
    }

    .hero img {
        width: 350px;  /* ← Try 250px or 200px */
    }

    .hero p {
        font-size: 16px;  /* ← Try 14px */
    }

    .blinking-dot {
        width: 10px;
        height: 10px;
    }

    .blinking-dot::after {
        width: 10px;
        height: 10px;
    }

    .information {
        flex-direction: column;
        align-items: center;
        gap: 5px;
        bottom: 20px;
        padding: 0 20px;
    }

    .information p {
        font-size: 14px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 50vh;
    }

    .hero-text {
        font-size: 80px;  /* ← Try 50px or 60px */
        letter-spacing: -4px;
    }

    .hero img {
        width: 250px;  /* ← Try 180px or 150px */
    }

    .hero p {
        font-size: 14px;  /* ← Try 12px */
    }

    .information p {
        font-size: 12px;
    }
}

/* project section styling */      

.projects {
    padding: 60px 35px;
}

.project-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 80px;
    gap: 25px;
}

.project-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    text-decoration: none; 
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.project-card .visible {
    opacity: 1;
    transform: translateY(0);
}

/* Animações de Scroll */
[data-animate] {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

.image-wrapper {
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

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

.project-text {
    margin-top: 20px;
}

.title-wrapper {
    position: relative;
    overflow: hidden;
    height: 30px;
    margin-bottom: 8px;
}

.project-title {
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    color: #EBE7DE;
    display: block;
}

.project-subtitle {
    font-family: "andale-mono-mt-pro", sans-serif;
    font-size: 14px;
    color: #888;
}

/* Responsive Projects Section */
@media (max-width: 768px) {
    .projects {
        padding: 40px 20px;
    }

    .project-row {
        flex-direction: column;
        margin-bottom: 50px;
        gap: 40px;
    }

    .project-title {
        font-size: 20px;
    }

    .project-subtitle {
        font-size: 12px;
    }

    .title-wrapper {
        height: 26px;
    }
}

@media (max-width: 480px) {
    .projects {
        padding: 30px 15px;
    }

    .project-row {
        margin-bottom: 40px;
        gap: 30px;
    }

    .project-text {
        margin-top: 15px;
    }
}

/* Contact Section styling */

.contact {
    min-height: 50vh;
    padding: 80px 50px 50px 50px;
}

.contact-title {
    font-size: clamp(80px, 20vw, 380px);
    font-weight: bold;
    letter-spacing: -10px; 
    line-height: 0.8; 
    margin-bottom: 40px;
}

.contact-email {
    margin-bottom: 120px;
}

.contact-email a {
    font-size: clamp(16px, 2vw, 35px);
    font-weight: 200;
    text-decoration: none;
    color: inherit;   
}

.contact-email a:hover {
    text-decoration: underline;
}

.separator {
    width: 100%;
    height: 2px;
    background-color: #EBE7DE;
    margin-bottom: 25px;
}

.social-icons {
    display: flex;
    gap: 15px;
    position: relative;
    z-index: 100;
}

.icon-wrapper {
    position: relative;
    display: inline-block;
}

.social-icon-img {
    height: 35px;
    width: auto;
    display: block;
}

/* Responsive Contact Section */
@media (max-width: 768px) {
    .contact {
        min-height: auto;
        padding: 50px 30px 30px 30px;
    }

    .contact-title {
        font-size: clamp(60px, 15vw, 150px);
        letter-spacing: -6px;
        margin-bottom: 30px;
    }

    .contact-email {
        margin-bottom: 60px;
    }

    .contact-email a {
        font-size: clamp(14px, 4vw, 24px);
    }

    .social-icon-img {
        height: 28px;
    }
}

@media (max-width: 480px) {
    .contact {
        padding: 40px 20px 25px 20px;
    }

    .contact-title {
        font-size: clamp(50px, 12vw, 100px);
        letter-spacing: -4px;
        margin-bottom: 25px;
    }

    .contact-email {
        margin-bottom: 50px;
    }

    .social-icon-img {
        height: 24px;
    }
}


/* ----------- aboutme.html --------- */

/* title */
.container-about {
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 100px;
}

.container-about h1 {
    font-size: 200px;
    font-weight: bold;
    letter-spacing: -10px; 
    line-height: 0.8; 
    margin-bottom: 70px;
}
            

.about-section {
    display: flex;
    gap: 60px;
    margin-bottom: 80px;
    align-items: flex-start;
}

.about-text {
    flex: 1;
    position: relative;
    z-index: 2;
    margin-top: 50px;
    margin-left: 70px;
    margin-right: 50px;
}

.about-text p {
    margin-bottom: 18px;
    font-size: 18px;
    line-height: 1.8;
    font-weight: 400;
    
}

.about-image {
    flex: 0 0 auto;
    width: 400px;
    margin-right: 100px;
}

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


/* Info Sections */
.info-section {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 150px;
    margin-left: 35px;
}

.info-section h2 {
    font-size: 48px;
    font-weight: bold;
        }

.info-content {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

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

.date {
    color: #b0b0b0;
    font-family: "andale-mono-mt-pro", sans-serif;
    font-size: 14px;
}

.info-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: #e8e4d9;
}

.info-item .subtitle {
    font-size: 18px;
    color: #b0b0b0;
}

.info-item p {
    font-size: 14px;
    font-family: "andale-mono-mt-pro", sans-serif;
}

/* About Page Responsive */
@media (max-width: 1024px) {
    .container-about {
        padding: 80px 30px 30px;
    }

    .container-about h1 {
       font-size: 160px;
       letter-spacing: -5px;
       text-align: center;
    }

    .about-section {
        gap: 40px;
    }

    .about-text {
        margin-left: 40px;
        margin-right: 30px;
        margin-top: 30px;
    }

    .about-image {
        width: 350px;
        margin-right: 60px;
    }

    .info-section {
        gap: 40px;
        margin-bottom: 100px;
        margin-left: 20px;
    }
}

@media (max-width: 768px) {
    .container-about {
        padding: 80px 25px 25px;
    }

    .container-about h1 {
        margin-bottom: 50px;
        font-size: 120px;
        letter-spacing: -6px;
    }

    .about-section {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 60px;
    }

    .about-text {
        order: 2;
        margin-top: 20px;
    }

    .about-text p {
        font-size: 16px;
        line-height: 1.7;
    }

    .about-image {
        width: 100%;
        max-width: 450px;
        margin: 0 auto;
        order: 1;
    }

    .info-section {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 0px;
        margin-left: 0;
    }

    .info-section h2 {
        margin-bottom: 10px;
    }

    .info-content {
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .container-about {
        padding: 70px 12px 20px;
    }

    .container-about h1 {
        margin-bottom: 30px;
        font-size: 80px;
       letter-spacing: -4px;
       text-align: left;
       padding-left: 8px;
       padding-right: 8px;
    }

    .about-section {
        margin-bottom: 30px;
    }

    .about-text {
        margin-left: 8px;
        margin-right: 8px;
        margin-top: 12px;
    }

    .about-text p {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 10px;
    }

    .about-image {
        max-width: 70%;
        margin-left: 30px;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .info-section {
        gap: 20px;
        margin-left: 8px;
        margin-right: 8px;
    }

    .info-content {
        gap: 35px;
    }

    .info-item {
        gap: 12px;
    }

    .info-item h3 {
        font-size: 16px;
    }

    .info-item p {
        font-size: 13px;
    }

    .date {
        font-size: 12px;
    }
}

/* ----------- work.html --------- */

.main {
  display: flex;
  flex-direction: column;
  padding-top: 100px;
  padding-left: 40px;
  padding-right: 40px;
}
.title {
    color: #EBE7DE;
    font-size: 200px;
    font-weight: bold;
    letter-spacing: -10px; 
    line-height: 0.8; 
    padding-bottom: 80px;
}

/* Category Navigation */
.categories {
    font-family: "andale-mono-mt-pro", sans-serif;
    display: flex;
    gap: 40px;
    flex-wrap: wrap;   
    margin-bottom: 30px;
    position: relative;
    z-index: 1;      
}
.categories a {
  color: #888;
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
  position: relative;
}
.categories a.active {
  color: white;
}
.categories a:hover {
  color: white;
}
.categories a.active::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 1px;
  background: white;
}
/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 5px;
  margin-bottom: 100px;
  justify-content: start;
}
.gallery-item {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.4s ease, opacity 0.4s ease;
  opacity: 1;
  transform: scale(1);
  max-width: 500px; /* Prevents items from getting too large */
  width: 100%;
  border-radius: 10px;
}

/* Transition states */
.gallery-item.fade-out {
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
}

.gallery-item.fade-in {
  opacity: 0;
  transform: scale(0.95);
  animation: fadeInScale 0.5s ease forwards;
}

@keyframes fadeInScale {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.gallery-item.hidden {
  display: none;
}

.gallery-item:not(.fade-out):not(.hidden):hover {
  transform: scale(1.02);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:not(.fade-out):not(.hidden):hover img {
  transform: scale(1.1);
}
.gallery-item .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 40px 30px 30px;
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-item:not(.fade-out):not(.hidden):hover .overlay {
  opacity: 1;
}
.overlay h3 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 5px;
}
.overlay p {
    font-family: "andale-mono-mt-pro", sans-serif;
    font-size: 14px;
    opacity: 0.8;
    color: #c6c6c6;
}
/* Responsive */
@media (max-width: 768px) {
  .main {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 100px;
  }
  .categories {
    gap: 20px;
  }
  .gallery {
    grid-template-columns: 1fr;
    gap: 1px;
  }
}

@media (max-width: 480px) {
  .main {
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 80px;
  }

  .title {
    font-size: 80px;
    letter-spacing: -4px;
    text-align: center;
    padding-bottom: 40px;
    padding-left: 8px;
    padding-right: 8px;
  }

  .categories {
    justify-content: center;
  }
}


/* ----------- archive.html --------- */

.archive {
    padding-left: 40px;
    padding-right: 40px;
}
.archive h1 {
    font-size: 200px;
    font-weight: bold;
    letter-spacing: -10px; 
    line-height: 0.8; 
    padding-bottom: 100px;
    padding-top: 100px;
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    max-width: 1600px;
    margin: 0 auto;
        }

.archive-item {
    cursor: pointer;
    transition: transform 0.3s ease;
    position: relative;
    align-self: end; 
}

.archive-item:hover {
    transform: scale(1.04);
}

.archive-item img {
    width: 100%;
    height: auto;
    display: block;
}

.archive-caption {
    margin-top: 10px;
    line-height: 18px;
}

.archive-caption h3 {
    font-size: 14px;
    text-transform: uppercase;
    font-family: "andale-mono-mt-pro", sans-serif;
}

.archive-caption p {
    font-size: 12px;
    text-transform: lowercase;
    font-weight: 300;
}

/* Lightbox Modal */
.modal-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-lightbox.is-active {
    display: flex;
}

.modal-container {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.modal-container img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.btn-close {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 40px;
    color: #f5f5dc;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 10px;
}

.btn-close:hover {
    color: #fff;
}

.btn-navigate {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 50px;
    color: #f5f5dc;
    cursor: pointer;
    background: none;
    border: none;
    padding: 20px;
    z-index: 1001;
}

.btn-navigate:hover {
    color: #fff;
}

.btn-previous {
    left: 20px;
}

.btn-forward {
    right: 20px;
}

@media (max-width: 1400px) {
    .archive-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1024px) {
    .archive-grid {
            grid-template-columns: repeat(3, 1fr);
        }
}

@media (max-width: 768px) {
    .archive-header h1 {
        font-size: 60px;
    }
            
    .archive-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .archive {
        padding-left: 12px;
        padding-right: 12px;
    }

    .archive h1 {
        font-size: 80px;
        letter-spacing: -4px;
        text-align: center;
        padding-top: 80px;
        padding-bottom: 40px;
        padding-left: 8px;
        padding-right: 8px;
    }

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

/* ----------- letstalk.html --------- */

/* ----------- project section style --------- */

.project-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding:50px 0;
}

.project-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

/* Cover */

.project-cover {
    margin: 40px 30px 10px 30px;
    border-radius: 20px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.project-cover.visible {
    opacity: 1;
    transform: translateY(0);
}

.project-cover-image {
    width: 100%;
    height: 600px;
    background: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #666;
}

.project-cover-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Text */

.project-text-section {
    margin: 30px 50px 0 50px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
    transition-delay: 0.2s;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 0px;
}

.project-text-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.project-title h1 {
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1;
}

.project-title p {
    font-size: 1.1rem;
    text-transform: uppercase;
    font-family: "andale-mono-mt-pro", sans-serif;
    color: #888;
    margin-bottom: 30px;
    letter-spacing: 2px;
    margin-left: 10px;
}

.project-description {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.project-extra {
    margin-top: 40px;
    margin-bottom: 15px;
}


.project-lable {
    font-family: "andale-mono-mt-pro", sans-serif;
    color: #888;
    font-size: 1rem;
    margin-bottom: 10px;
}

.project-value {
    font-size: 1.1rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.tag {
    background: #222;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid #333;
}

/* Images Cards Section */

.gallery-container {
    margin: 0 40px;
    display: grid;
    gap: 20px;
}

/* Images row */
.row-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.card {
    border-radius: 12px;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: var(--card-height, 400px);
    object-fit: cover;
    display: block;
}


.card-image video, .card-image img {
    display: block;
}

.animated-group {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
    display: grid;
    gap: 20px;
}

.animated-group.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .row-cards {
    grid-template-columns: 1fr;
}

.card-image {
    height: 250px;
}

.big-card .card-image {
    height: 350px;
}
}

/* Tablet and smaller laptops (1024px and below) */
@media (max-width: 1024px) {
    .project-title h1 {
        font-size: 3rem;
    }

    .project-text-section {
        margin: 30px 40px 0 40px;
        gap: 40px;
    }

    .gallery-container {
        margin: 0 30px;
    }
}

/* Tablets (768px and below) */
@media (max-width: 768px) {
    .project-page {
        padding: 40px 0;
    }

    .project-cover {
        margin: 30px 20px 10px 20px;
        border-radius: 15px;
    }

    .project-cover-image {
        height: 400px;
    }

    .project-text-section {
        margin: 30px 30px 0 30px;
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .project-title h1 {
        font-size: 2.5rem;
    }

    .project-title p {
        font-size: 1rem;
        margin-left: 5px;
    }

    .project-description {
        font-size: 0.95rem;
    }

    .project-extra {
        margin-top: 20px;
    }

    .gallery-container {
        margin: 0 20px;
        gap: 15px;
    }

    .row-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .card {
        border-radius: 10px;
    }

    .card-image {
        height: 300px;
    }

    .big-card .card-image {
        height: 350px;
    }

    .animated-group {
        gap: 15px;
    }
}

/* Mobile devices (480px and below) */
@media (max-width: 480px) {
    .project-page {
        padding: 30px 0;
        margin-top: 35px;
    }

    .project-cover {
        margin: 20px 15px 10px 15px;
        border-radius: 10px;
    }

    .project-cover-image {
        height: 250px;
    }

    .project-text-section {
        margin: 20px 20px 0 20px;
    }

    .project-title h1 {
        font-size: 2rem;
        margin-bottom: 8px;
    }

    .project-title p {
        font-size: 0.85rem;
        margin-bottom: 20px;
        letter-spacing: 1px;
    }

    .project-description {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .project-extra {
        margin-top: 15px;
        margin-bottom: 10px;
    }

    .project-lable {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }

    .project-value {
        font-size: 1rem;
    }

    .project-tags {
        gap: 8px;
        margin-top: 15px;
    }

    .tag {
        padding: 6px 12px;
        font-size: 0.75rem;
    }

    .gallery-container {
        margin: 0 15px;
        gap: 12px;
    }

    .row-cards {
        gap: 12px;
    }

    .card-image {
        height: 250px;
    }

    .big-card .card-image {
        height: 300px;
    }

    .animated-group {
        gap: 12px;
    }
}

/* Very small mobile devices (360px and below) */
@media (max-width: 360px) {
    .project-title h1 {
        font-size: 1.75rem;
    }

    .project-title p {
        font-size: 0.8rem;
    }

    .project-description {
        font-size: 0.85rem;
    }

    .card-image {
        height: 200px;
    }

    .big-card .card-image {
        height: 250px;
    }
}
