/* Import base styles */
@import 'base.css';
@font-face {
    font-family: 'Nateli';
    src: url('../fonts/nateli/fonts/nateli.ttf') format('truetype');
}
@font-face {
    font-family: 'Helvetic1';
    src: url('../fonts/test-fonts/HelveticaNeue1.ttf') format('truetype');
}

/* For Georgian text elements */
.georgian-text {
    font-family: 'Nateli', system-ui, -apple-system, sans-serif;
}

/* Project page styles */
.project-page {
    padding: 0;
    min-height: 100vh;
    background: black;
    overflow-x: hidden;
}

.project-page .main-nav {
    position: absolute;
    top: 40px;
    left: 2px;
    z-index: 100;
}

.project-page .main-nav a {
    font-family: 'Lexend Tera', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 100;
    letter-spacing: -0.05em;
    color: white;
    position: absolute;
    top: 10px;
    left: 33px;
    z-index: 90;
    text-decoration: none;
    transition: all 0.5s ease;
}

.project-page .main-nav a:hover {
    opacity: 0.8;
    letter-spacing: 0.03em;
}

.project-content {
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
}

.project-details {
    margin-top: 160px;
    width: 100%;
}

.project-title {
    font-family: 'Lexend Tera', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 100;
    letter-spacing: -0.05em;
    color: white;
    position: absolute;
    top: 110px;
    left: 31px;
    z-index: 90;
    animation: fadeIn 1s ease-out forwards;
    transition: all 0.5s ease;
}


.project-text {
    margin-top: 22px;
    margin-left: 17px;
    max-width: 50%;
    position: relative;
    z-index: 80;
    margin-top: -50px;
}

.project-text p {
    font-family: 'Lexend Tera', sans-serif;
    font-size: 1.2rem;
    line-height: 1.3;
    margin-bottom: 30px;
    font-weight: 100;
    letter-spacing: 0.001em;
    color: white;
    
}

.photo-gallery {
    margin-top: 60px;
    margin-left: 20px;
    width: calc(100% - 40px);
}

.gallery-container {
    display: flex;
    gap: 20px;
    max-width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 20px;
}

.gallery-container::-webkit-scrollbar {
    display: none;
}

.photo-card {
    flex: 0 0 auto;
    width: calc(25% - 15px);
    min-width: 250px;
    position: relative;
}

.photo-card img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.photo-card img:hover {
    opacity: 0.8;
}

/* Language switcher styles */
.language-switcher {
    position: fixed;
    top: 40px;
    right: 40px;
    z-index: 100;
}

.lang-btn {
    background: none;
    border: none;
    color: rgb(255, 255, 255);
    font-family: 'Lexend Tera', sans-serif;
    font-size: 1rem;
    font-weight: 100;
    letter-spacing: 0.02em;
    cursor: pointer;
    padding: 5px 10px;
    transition: opacity 0.3s ease;
}

.lang-btn:hover {
    opacity: 0.8;
}




[data-ka]:lang(ka),
.georgian-text:lang(ka) {
    font-family: 'Helvetic1 Light', sans-serif !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    font-size: 1rem !important;
    letter-spacing: 0.1em !important;
    line-height: 1.5 !important;
    margin-left: -1px;
    margin-top: -10px;
    opacity: 0.97;
}
.geogian-active.georgian-text:lang(ka){
    font-family: 'Helvetic1 Light', sans-serif !important;
}


.gasawevi:lang(ka) {
    font-family: 'Nateli', sans-serif !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    font-size: 1.8rem !important;
    letter-spacing: 0.1em !important;
    line-height: 1.3 !important;
    margin-left: 2px;
    margin-top: 5px;
    opacity: 0.9;
}


.thin-text {
    font-weight: 100;
    letter-spacing: 0.02em;
} 
.lang-btn{
    border-radius: none;
    border: none;
}
.lang-btn:hover{
    background-color: rgba(255, 255, 255, 0);
    color: rgb(189, 189, 189);
}

/* Actors Gallery Styles */
.actors-gallery {
    margin-top: 80px;
    margin-bottom: 60px;
    width: 100%;
    padding: 0 20px;
}

.actors-gallery-title {
    font-family: 'Lexend Tera', sans-serif;
    font-size: 1.8rem;
    color: white;
    margin-bottom: 40px;
    font-weight: 100;
    letter-spacing: -0.05em;
}

/* Add specific style for Georgian title */
.actors-gallery-title[data-ka]:lang(ka) {
    margin-left: 2px;  /* Move 2px to the right */
    font-size: 2.82rem;  /* Make it 2px bigger */
}

.actors-gallery-title.gasawevi:lang(ka) {
    font-family: 'Helvetic1 Light', sans-serif !important;
    text-transform: none !important;
    letter-spacing: 0.1em !important;
    font-size: 2rem !important;
    line-height: 1.3 !important;
    margin-left: 2px;
    margin-top: 5px;
    opacity: 0.77;
}

.actors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 40px;
    width: 100%;
}

.actor-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.actor-photo {
    width: 200px;
    height: 250px;
    object-fit: cover;
    margin-bottom: 15px;
}

.actor-name {
    font-family: 'Lexend Tera', sans-serif;
    font-size: 1rem;
    color: white;
    margin-bottom: 5px;
    font-weight: 100;
    letter-spacing: 0.02em;
}

.actor-role {
    font-family: 'Lexend Tera', sans-serif;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 100;
    letter-spacing: 0.02em;
}

/* Responsive Styles */
/* Tablet Styles (768px to 1023px) */
@media (max-width: 1023px) {
    .project-text {
        max-width: 75%;
    }
    
    .actors-grid {
        grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
        gap: 30px;
    }
    
    .actor-photo {
        width: 170px;
        height: 220px;
    }
    
    .project-page .main-nav a {
        font-size: 1.7rem;
    }
    
    .language-switcher {
        top: 30px;
        right: 30px;
    }
}

/* Mobile Styles (up to 767px) */
@media (max-width: 767px) {
    .project-details {
        margin-top: 120px;
    }
    
    .project-text {
        max-width: 100%;
        margin-left: 0;
        margin-top: 20px;
    }
    
    .project-text p {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    .actors-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 20px;
    }
    
    .actor-photo {
        width: 140px;
        height: 180px;
    }
    
    .actor-name {
        font-size: 0.9rem;
    }
    
    .actor-role {
        font-size: 0.7rem;
    }
    
    .project-page .main-nav {
        top: 20px;
    }
    
    .project-page .main-nav a {
        font-size: 1.8rem;
        margin-left: -6px;
    }
    
    .language-switcher {
        top: 20px;
        right: 20px;
    }
    
    .actors-gallery-title {
        font-size: 1.5rem;
    }
}

/* Small Mobile Styles (up to 480px) */
@media (max-width: 480px) {
    .project-details {
        margin-top: 100px;
    }
    
    .actors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .actor-photo {
        width: 120px;
        height: 160px;
    }
    
    .project-page .main-nav a {
        font-size: 1.7rem;
        left: 15px;
    }
    
    .lang-btn {
        font-size: 0.9rem;
    }
    
    .project-content {
        padding: 15px;
    }
    
    .actors-gallery {
        padding: 0 15px;
    }
}
