/* =========================
   FONTS
========================= */
 
@font-face {
    font-family: "Darumadrop One";
    src: url("fonts/DarumadropOne_Macron-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}
 
/* =========================
   GENERAL
========================= */
 
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
 
html {
    scroll-behavior: smooth;
}
 
body {
    font-family: "Nunito", Arial, sans-serif;
    background: #f5f0e6;
    color: #2d3844;
    line-height: 1.6;
}
 
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Darumadrop One", sans-serif;
}
 
p {
    max-width: 65ch;
}
 
 
/* =========================
   HEADER
========================= */
 
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
 
    padding: 25px 60px;
    background: #f5f0e6;
    color: #2d3844;
    position: sticky;
    top: 0;
    z-index: 100;
 
    
    
}
 
 
 
header h1 {
    font-size: 2.5rem;
    position:relative;
}
 
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}
 
.logo {
    width: 70px;
    height: 70px;
    border-radius: 15px;
}
 
 
nav {
    display: flex;
    gap: 30px;
}
 
nav a {
    color: #2d3844;
    text-decoration: none;
    font-weight: bold;
    font-family: "Nunito", Arial, sans-serif;
}
 
nav a:hover {
    text-decoration: underline;
}
 
 
/* =========================
   HERO
========================= */
 
.hero {
    min-height: 85vh;
 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
 
    text-align: center;
 
    padding: 80px 20px;
 
    background: #dce8d5;
    position: relative;
    overflow: hidden;
    text-shadow:#253029 0px 0px 40px;
    text-shadow:#c8dacf 0px 0px 40px;

    
}
 
.hero h2 {
    font-size: clamp(3rem, 9vw, 8rem);
    line-height: 0.9;
    margin: 25px 0;
    position:relative;
    color: #2d3844;
 
    z-index: 1;
}
 
.hero p {
    max-width: 600px;
    margin: 10px auto;
    position:relative;
    color: #2d493a;
    z-index: 1;
}
 
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    position:relative;
    z-index: 1;
}
 
.background-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(10px);
    opacity: 0.7;
    z-index: 0;
}
 
 
/* =========================
   BUTTONS
========================= */
 
.explore-button {
    display: inline-block;
 
    padding: 15px 30px;
 
    border: 2px solid #2a5540;
    border-radius: 30px;
 
    background: #3c7f5e;
    color: white;
 
    text-decoration: none;
    font-weight: bold;
 
    transition: transform 0.2s ease;
}
 
.explore-button:hover {
    transform: translateY(-3px);
}
 
.explore-button--outline {
    background: transparent;
    color: #224232;
}
 
 
/* =========================
   SECTIONS
========================= */
 
section:not(.hero) {
    padding: 120px 10%;
    min-height: 60vh;
}
 
section h2 {
    font-size: clamp(2.5rem, 5vw, 5rem);
    line-height: 1;
    margin: 20px 0;
}
 
section p {
    max-width: 650px;
}
 
.eyebrow {
    font-weight: bold;
    color: #54635a;
    max-width: none;
}
 
 
/* ABOUT */
 
#about {
    background: #d4ebef;
}
 
 
/* Contact Us */
 
#contactus {
    background: #f4f4cb;
}
 

 
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 500px;
    margin-top: 30px;
}
 
.form-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
 
.form-row label {
    font-weight: bold;
    font-size: 0.95rem;
}
 
.form-row input,
.form-row textarea {
    font-family: "Nunito", Arial, sans-serif;
    font-size: 1rem;
    padding: 12px 16px;
    border: 2px solid #26352c;
    border-radius: 16px;
    background: #f5f0e6;
    color: #26352c;
    resize: vertical;
}
 
.form-row input:focus,
.form-row textarea:focus {
    outline: 3px solid #54635a;
    outline-offset: 1px;
}
 
.contact-form button {
    align-self: flex-start;
    border: none;
    cursor: pointer;
}
 
 
/* TEAM */
 
#team {
    background: #f0dcc5;
}
 
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 60px;
}
 
.team-member {
    padding: 30px;
    background: white;
    border-radius: 20px;
    color: #2d3844;
}
 
.team-member h3 {
    font-size: 2rem;
    margin-bottom: 5px;
}
 
.team-member p {
    margin-bottom: 20px;
}
 
.social-links {
    display: flex;
    gap: 15px;
}
 
.social-links a {
    color: #434f95;
    text-decoration: none;
    font-weight: bold;
}
 
.social-links a:hover {
    text-decoration: underline;
}
 
 
/* =========================
   GAME PAGE
========================= */
 
.game-intro {
    padding: 80px 10% 40px;
    text-align: center;
    background: #dce8d5;
}
 
.game-intro h2 {
    font-size: clamp(3rem, 7vw, 6rem);
    margin: 10px 0;
}
 
.game-intro p:last-child {
    max-width: 650px;
    margin: 0 auto;
}
 
 
/* =========================
   GALLERY
========================= */
 
section.gallery {
    padding: 20px 5% 30px;
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    background: #d4ebef;
}

.gallery-item img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
    transition: transform 0.3s ease;
}
 
.gallery-item:hover img {
    transform: scale(1.1);
}
 
 
/* LIGHTBOX */
 
.gallery-item img {
    cursor: zoom-in;
}

.gallery-item img {
    -webkit-user-drag: none;
    user-select: none;
}
 
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(38, 53, 44, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 1000;
    overflow: auto;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 20px;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    cursor: zoom-in;
}

.lightbox.active .lightbox-img {
    transform: scale(1);
}
.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-img.zoomed {
    max-width: none;
    max-height: none;
    width: auto;
    height: auto;
    cursor: grab;
}

.lightbox-img.zoomed:active {
    cursor: grabbing;
}
 
 
/* Gallery Spin Thing */
 
.featured-gallery {
    padding: 100px 5%;
    text-align: center;
}
 
.carousel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 2000px;
    margin: 60px auto 0;
}
 
.carousel-main {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
}
.featured-gallery .carousel-main {
    aspect-ratio: 16 / 10;
    max-width: 1000px;

}

#character .carousel-main {
    aspect-ratio: 4 / 5;
    max-width: 500px;

}
 
.carousel-main img {
    display: block;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.35s ease;
}
 
.carousel-main img.loaded {
    opacity: 1;
}
 
.carousel-btn {
    background: #26352c;
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    flex-shrink: 0;
    z-index: 2;
    transition: transform 0.2s ease;
}
 
.carousel-btn:hover {
    transform: translateY(-2px);
}
 
.carousel-thumbs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    max-width: 1800px;
    margin: 25px auto 0;
}
 
.carousel-thumb {
    width: 80px;
    height: 55px;
    padding: 0;
    border: 3px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    background: none;
    opacity: 0.6;
    transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
 
.carousel-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
 
.carousel-thumb:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}
 
.carousel-thumb.active {
    opacity: 1;
    border-color: #26352c;
}
 
@media (max-width: 700px) {
    .carousel {
        gap: 10px;
    }
 
    .carousel-thumb {
        width: 60px;
        height: 42px;
    }
}
 
 
#character {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 10% 60px;
    background: #f4f4cb;
}
 
#character h2 {
    text-align: center;
    margin-bottom: 40px;
}
 
.character-media {
    width: 100%;
    max-width: 600px;
    height: 100vh;
}
 
.character-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}
 
.character-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 10% 80px;
}
 
.character-copy p {
    max-width: 650px;
}
 
@media (max-width: 700px) {
    .character-media {
        height: 40vh;
    }
 
    .character-copy {
        padding: 30px 25px 50px;
    }
}
 
 
/* =========================
   FOOTER
========================= */
 
footer {
    width: 100%;
    padding: 60px 10%;
    background: #78857d;
    color: white;
}
 
footer h2 {
    margin-bottom: 10px;
}
 
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
 
.footer-info h2 {
    margin-bottom: 10px;
}
 
.social-icons {
    display: flex;
    gap: 15px;
}
 
.instagram-link {
    display: flex;
    align-items: center;
    justify-content: center;
 
    width: 55px;
    height: 55px;
 
    border-radius: 50%;
    background: #26352c;
 
    color: white;
    text-decoration: none;
 
    font-size: 24px;
 
    transition: transform 0.2s ease;
}
 
.instagram-link:hover {
    transform: translateY(-3px);
}
 
 
/* =========================
   MOBILE
========================= */
 
@media (max-width: 900px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
 
@media (max-width: 700px) {


    header {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }
 
    nav {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
 
    section:not(.hero) {
        padding: 80px 25px;
    }
 
    .gallery {
        grid-template-columns: 1fr;
        padding: 60px 25px;
    }
}
 
@media (max-width: 600px) {
 
    .team-grid {
        grid-template-columns: 1fr;
    }
 
    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }
}