
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #ffffff;
    background-color: #121212;
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: #a777e3;
    font-weight: 500;
    transition: color 0.3s ease;
}

a:hover {
    color: #ffffff;
}


nav {
    width: 100%;
    padding: 15px 30px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

nav ul li a {
    font-size: 1rem;
    font-weight: 400;
}

nav ul li a:hover {
    color: #ffffff;
}


.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: radial-gradient(circle, #1e1e2f, #0c0c0c);
    text-align: center;
    padding: 0 20px;
}

.hero h1 {
    font-size: 4.5rem;
    font-family: 'Great Vibes', cursive;
    color: #ffffff;
    animation: fadeIn 2s ease;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #bbbbbb;
}

.hero small {
    font-size: 1rem;
    color: #bbbbbb;
}


.profile-image {
    display: block;
    margin: 0 auto;
    width: 500px; 
    height: 500px; 
    border-radius: 50%; 
    object-fit: cover; 
    object-position: center; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5); 
    animation: fadeInImage 3s ease-out; 
}



.profile-image:hover {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4); 
}


@keyframes fadeInImage {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}


section {
    padding: 80px 20px;
    text-align: center;
}

section h2 {
    font-size: 2.5rem;
    color: #a777e3;
    margin-bottom: 20px;
}

section p {
    color: #bbbbbb;
    max-width: 800px;
    margin: 0 auto;
}


footer {
    padding: 20px;
    text-align: center;
    background: #1e1e2f;
    color: #ffffff;
    font-size: 0.9rem;
    margin-top: 40px;
}


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.models-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.model {
    text-align: center;
    background: #1e1e2f;
    padding: 20px;
    border-radius: 10px;
    width: 250px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.model:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
}

.model .can {
    width: 150px;
    height: 300px;
    margin: 0 auto 15px;
    background: var(--url) no-repeat center center;
    background-size: cover;
    transition: transform 0.7s ease;
    mask-image: url('images/mockup.png'); 
    mask-size: contain;
}

.model:hover .can {
    transform: rotateY(360deg);
}

.model p {
    color: #bbbbbb;
    font-size: 0.9rem;
    margin: 10px 0;
}

.model a {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    border-radius: 5px;
    background: #a777e3;
    color: #ffffff;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

.model a:hover {
    background: #ffffff;
    color: #a777e3;
}
/* General Styles */
.models-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 20px;
    gap: 20px;
}

.card {
    width: 250px;
    height: 400px;
    perspective: 1000px; 
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d; 
    transition: transform 0.8s ease-in-out;
}

.card:hover .card-inner {
    transform: rotateY(180deg); 
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden; 
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background: #1e1e2f;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.card-front {
    background-color: #2e2e3f;
    padding: 20px;
}

.card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.card-back {
    transform: rotateY(180deg); 
    background-color: #121212;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
}

.card-back p {
    margin-bottom: 20px;
}

.btn {
    background: #a777e3;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.btn:hover {
    background: white;
    color: #a777e3;
}
#languages {
    padding: 50px 20px;
    background-color: #f4f4f4;
    text-align: center;
}

#languages h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 20px;
    color: #a777e3;
}

.languages-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 20px;
    justify-items: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.language {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.language img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 10px;
}

.language p {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    color: #fffefe;
}

.language:hover {
    transform: translateY(-10px);
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
}

section {
    padding: 40px 20px;
    text-align: center;
}

#languages {
    background-color: #f9f9f9;
    padding: 40px 20px;
}

#languages h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    justify-content: center;
}

.item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.item img:hover {
    transform: scale(1.1);
}
body {
    margin: 0;
    padding: 0;
    background-color: #222;
    color: #fff;
    font-family: Arial, sans-serif;
  }
  
  
  #languages .list {
    display: flex;
    justify-content: center;
    transform-style: preserve-3d;
    transform: perspective(1000px);
    gap: 10px;
  }
  
  #languages .item {
    transition: 0.5s;
    filter: brightness(0);
  }
  
  #languages .item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
  }
  
  #languages .item:hover {
    filter: brightness(1);
    transform: translateZ(200px);
  }
  
  #languages .item:hover + .item {
    filter: brightness(0.6);
    transform: translateZ(150px) rotateY(40deg);
  }
  
  #languages .item:hover + .item + .item {
    filter: brightness(0.4);
    transform: translateZ(70px) rotateY(20deg);
  }
  
  #languages .item:has(+ .item:hover) {
    filter: brightness(0.6);
    transform: translateZ(150px) rotateY(-40deg);
  }
  
  #languages .item:has(+ .item:hover + .item) {
    filter: brightness(0.4);
    transform: translateZ(70px) rotateY(-20deg);
  }
  

  section {
    padding: 40px 20px;
    text-align: center;
  }
  
  
  #languages {
    background-color: #222;
    padding: 40px 20px;
  }
  .banner{
    width: 100%;
    height: 100vh;
    text-align: center;
    overflow: hidden;
    position: relative;
}
.banner .slider{
    position: absolute;
    width: 200px;
    height: 250px;
    top: 10%;
    left: calc(50% - 100px);
    transform-style: preserve-3d;
    transform: perspective(1000px);
    animation: autoRun 20s linear infinite;
    z-index: 2;
}
@keyframes autoRun{
    from{
        transform: perspective(1000px) rotateX(-16deg) rotateY(0deg);
    }to{
        transform: perspective(1000px) rotateX(-16deg) rotateY(360deg);
    }
}

.banner .slider .item{
    position: absolute;
    inset: 0 0 0 0;
    transform: 
        rotateY(calc( (var(--position) - 1) * (360 / var(--quantity)) * 1deg))
        translateZ(550px);
}
.banner .slider .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.banner .content{
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(1400px, 100vw);
    height: max-content;
    padding-bottom: 100px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}
.banner .content h1{
    font-family: 'ICA Rubrik';
    font-size: 16em;
    line-height: 1em;
    color: #25283B;
    position: relative;
}
.banner .content h1::after{
    position: absolute;
    inset: 0 0 0 0;
    content: attr(data-content);
    z-index: 2;
    -webkit-text-stroke: 2px #d2d2d2;
    color: transparent;
}
.banner .content .author{
    font-family: Poppins;
    text-align: right;
    max-width: 200px;
}
.banner .content h2{
    font-size: 3em;
}
.banner .content .model{
    background-image: url(images/model.png);
    width: 100%;
    height: 75vh;
    position: absolute;
    bottom: 0;
    left: 0;
    background-size: auto 130%;
    background-repeat: no-repeat;
    background-position: top center;
    z-index: 1;
}
@media screen and (max-width: 1023px) {
    .banner .slider{
        width: 160px;
        height: 200px;
        left: calc(50% - 80px);
    }
    .banner .slider .item{
        transform: 
            rotateY(calc( (var(--position) - 1) * (360 / var(--quantity)) * 1deg))
            translateZ(300px);
    }
    .banner .content h1{
        text-align: center;
        width: 100%;
        text-shadow: 0 10px 20px #000;
        font-size: 7em;
    }
    .banner .content .author{
        color: #fff;
        padding: 20px;
        text-shadow: 0 10px 20px #000;
        z-index: 2;
        max-width: unset;
        width: 100%;
        text-align: center;
        padding: 0 30px;
    }
}
@media screen and (max-width: 767px) {
    .banner .slider{
        width: 100px;
        height: 150px;
        left: calc(50% - 50px);
    }
    .banner .slider .item{
        transform: 
            rotateY(calc( (var(--position) - 1) * (360 / var(--quantity)) * 1deg))
            translateZ(180px);
    }
    .banner .content h1{
        font-size: 5em;
    }
}
.gesture-btn {
    padding: 10px 20px;
    font-size: 16px;
    color: white;
    background-color: #a777e3; 
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.gesture-btn:hover {
    background-color: #a777e3; 
}

.gesture-btn:focus {
    outline: none;
}
