@import 'tailwindcss';

@source '../../vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php';
@source '../../storage/framework/views/*.php';

@theme {
    --font-sans: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
        'Segoe UI Symbol', 'Noto Color Emoji';
}

body {
    font-family: "Montserrat", sans-serif;
    background-color: #141414;
    overflow-x: hidden;
}

html.snap-active {
    scroll-snap-type: y mandatory;
}

.btn{
    text-decoration: none;
}

ul {
    list-style: none;
}

nav {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 10;
    color: white;
    justify-content: center;
    background-color: rgba(27, 27, 27, 0.8);
    padding: 10px 50px;
    gap: 25vw;
}

.button-nav {
    padding: 6px 20px;
    background-color: #FB3636;
    color: white;
    border-radius: 10px;
    font-weight: 800;
    text-decoration: none;
}

.nav-link {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.logo-nav {
    font-size: 24px;
    font-weight: 800;
}

.logo-nav snap {
    color: red;
}

#navbar {
    margin-top: 5px;
    display: flex;
    gap: 32px;
    flex-direction: row;
}

.nav-link:hover,
.nav-link:active {
    color: red;
    text-decoration: underline;
    text-underline-offset: 20px;
    text-decoration-thickness: 2px;
}


#hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    scroll-snap-align: start;
}

#hero video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-content {
    margin-left: 10vw;
    height: 100%;
    position: relative;
    display: flex;
    z-index: 2;
    justify-content: center;
    align-items: left;
    flex-direction: column;
}

p {
    color: white;
}

.nama {
    color: white;
    font-size: 60px;
    font-weight: 800;
    margin-top: -30px;
    margin-bottom: -30px;
}

.jepang {
    color: red;
    font-size: 25px;
    font-weight: 800;
}

.deskripsi {
    font-size: 15px;
    max-width: 600px;
}

.role {
    color: red;
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 0px;
}

.btn-container {
    margin-top: 20px;
    display: flex;
    gap: 20px;
}

.btn {
    padding: 10px 20px;
    background-color: rgba(55, 55, 55, 0.3);
    color: white;
    border-radius: 20px;
    gap: 20px;
    display: inline-flex;
    font-weight: 600;
    border: 2px solid white;
}

#hiasan {
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

#hiasan.is-visible {
    opacity: 1;
}

#about {
    display: flex;
    flex-direction: row;
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    scroll-snap-align: start;
    gap: 0;
}

.jepang-background {
    position: absolute;
    margin-top: 150px;
    left: -1%;
    font-size: 200px;
    font-weight: 800;
    color: white;
    opacity: .08;
}

.isi-about {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
    padding: 0;
    margin-left: 20vw;
    position: relative;
    z-index: 2;
    max-width: 520px;
}

.jepang-miring {
    font-style: italic;
    color: red;
    font-size: 2rem;
    margin-top: 20px;
    position: relative;
    writing-mode: vertical-rl;
    transform: rotate(-30deg);
    margin-left: 400px;
}

#deskripsi-about {
    margin-top: -20px;
    color: white;
    font-size: 15px;
    max-width: 420px;
    letter-spacing: 1px;
}

#Foto-saya {
    position: absolute;
    right: 0;
    top: 0;
    width: 50vw;
    height: 100%;
    margin-right: 5vw;
    object-fit: cover;
    object-position: top center;
    display: block;
    z-index: 1;
}

.judul-section {
    font-size: 3.5em;
    font-weight: 800;
    color: white;
    margin-top: -30px;
    margin-bottom: 10px;
}

.judul-section span {
    color: red;
}

#ttd {
    margin-top: 30px;
    width: 200px;
    height: auto;
}

#sneasel {
    position: fixed;
    display: flex;
    z-index: 3;
    top: 80vh;
    left: 2vw;
    width: 120px;
    height: auto;
    transform: scaleX(-1);
}

#timer {
    position: fixed;
    z-index: 3;
    top: 80vh;
    left: 80vw;
    flex-direction: column;
}

.timer-label {
    position: fixed;
    display: flex;
    top: 78vh;
    left: 80vw;
    color: white;
    font-size: 1.5em;
    font-weight: 800;
}

#timer-value {
    color: white;
    font-size: 4.5em;
    font-weight: 800;
}

/*35 menit*/

#skills h1 {
    margin-top: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position : relative;
    padding: 15px;
}

#skill-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position : relative;
}

#skill-jepang{
    position: absolute;
    margin-right: 250px;
    margin-top: 10px;
}

#redline{
    height: 100%;
    width: auto;
    display: flex;
    z-index: 1;
    position: absolute;
    inset : 0;
}

.logo-list {
    display: flex;
    gap: 15px;
    flex-direction: row;
    z-index: 2;
}

.logo {
    background-color: #141414;
    height: 90px;
    width: 100px;
    padding: 10px 20px;
    border-radius: 5px;
}

#projects h1 {
    margin-top: 0;
    display: flex;
}

#project-title-container {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-left: 15vw;
    gap: 5px;
}

#project-title-container .jepang {
    margin-bottom: -12px;
}

#project-title-container .judul-section {
    margin: 0;
}

.project-container {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 40px;
}

.project-image {
    width: 300px;
    height: auto;
    border-radius: 10px;
    background-color: rgba(55, 55, 55, 0.5);
}

.project-image-primary {
    display: flex;
    position: relative;
    width: 400px;
    height: 320px;
    border-radius: 10px;
    background-color: rgba(55, 55, 55, 0.5);
    inset: 0;
    z-index: 1;
    border: 1px solid red;
}

.project-image {
    width: 400px;
    height: 150px;
    border-radius: 10px;
    background-color: rgba(55, 55, 55, 0.5);
    inset: 0;
    z-index: 1;
    border: 1px solid red;
}

#projek-jepang-bg {
    max-width: 800px;
    margin-top: 10vh;
    margin-bottom: 150px;
    line-height: 1.3;
}

.project-info-main {
    display: flex;
    position: absolute;
    flex-direction: column;
    gap: 0px;
    margin-top: 230px;
    z-index: 2;
    margin-left: 20px;
}

.project-info {
    display: flex;
    position: absolute;
    flex-direction: column;
    z-index: 2;
    margin-left: 20px;
    margin-top: 70px;
}

.project-title {
    color: white;
    font-size: 1.5em;
    font-weight: 800;
    margin: 0 0 6px;
}

.project-description {
    color: white;
    font-size: 1em;
    max-width: 300px;
    margin: 0;
}

.project-secondary {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#vertikal-line {
    position: relative;
    writing-mode: vertical-lr;
    transform: rotate(-180deg);
    color: red;
    font-size: 1.5em;
    font-weight: 800;
    margin-bottom: 250px;
    margin-left: 20px;
    transition: opacity 0.25s ease-in-out;
}

.quotes-container {
    display: flex;
    margin-top: 50px;
    position: relative;
    height: 400px;
    overflow: hidden;
    align-items: center;
    justify-content: center;
}

.Quotes {
    color: white;
    font-size: 2em;
    font-weight: 800;
    max-width: 800px;
    position: relative;
    z-index: 2;
    text-align: center;
}

.Quotes span {
    color: red;
}

#rinpendant{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Contact section styles */
.contact-content {
    margin-left: 15vw;
    margin-top: 40px;
}

.contact-area {
    position: relative;
    display: block;
    margin-left: 15vw;
    margin-right: 12vw;
    padding: 40px 0 80px 0;
}

.contact-decor {
    position: absolute;
    top: 10px;
    left: -1%;
    font-size: 200px;
    font-weight: 800;
    color: white;
    opacity: 0.06;
    pointer-events: none;
    z-index: 1;
}

.contact-form-container {
    position: relative;
    background-color: rgba(28,28,28,0.95);
    border-radius: 12px;
    padding: 32px;
    max-width: 900px;
    box-sizing: border-box;
    z-index: 2;
}

.contact-form-container label {
    display: block;
    color: white;
    margin-bottom: 6px;
    font-weight: 600;
}

.contact-form-container input,
.contact-form-container textarea {
    width: 100%;
    background-color: #2b2b2b;
    border: 1px solid #FB3636;
    color: white;
    padding: 10px 12px;
    border-radius: 6px;
    margin-bottom: 18px;
    box-sizing: border-box;
}

.contact-form-container textarea {
    min-height: 180px;
    resize: vertical;
}

.contact-submit {
    display: inline-block;
    margin: 16px auto 0 auto;
    background-color: #FB3636;
    color: white;
    padding: 12px 36px;
    border-radius: 20px;
    border: none;
    font-weight: 800;
    cursor: pointer;
}


/* Responsive: prevent overlap on small screens */
@media (max-width: 900px) {
    .contact-content, .contact-area {
        margin-left: 6vw;
        margin-right: 6vw;
    }

    .contact-form-container {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .contact-form-container textarea { min-height: 140px; }
}

/* Mobile blocker: show a plain black fullscreen overlay when enabled by JS */
#mobile-blocker {
    display: none;
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 99999;
}