* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body, html {
    height: 100%;
    overflow: hidden;
    background-color: #000;
}

/* სლაიდერის სტილები */
.slider-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* ჰამბურგერ მენიუს ღილაკი */
header {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 10;
}

.menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.bar {
    width: 100%;
    height: 3px;
    background-color: #fff;
    transition: all 0.3s ease;
    box-shadow: 0px 0px 5px rgba(0,0,0,0.5);
}

.menu-btn.open .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-btn.open .bar:nth-child(2) {
    opacity: 0;
}

.menu-btn.open .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* გამოსაშლელი ფონი */
.nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.nav-menu.open {
    opacity: 1;
    pointer-events: auto;
}

.nav-menu ul {
    list-style: none;
    text-align: center;
}

.nav-menu ul li {
    margin: 25px 0;
}

.nav-menu ul li a {
    color: #fff;
    font-size: 20px;
    font-weight: 200;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 6px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
    display: inline-block;
}

.nav-menu ul li a:hover {
    letter-spacing: 10px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.7);
}

/* --- მოდალური ფანჯრების (Popups) სტილი --- */
.modal {
    display: none; 
    position: fixed; 
    z-index: 20; 
    left: 0; top: 0; width: 100%; height: 100%; 
    background-color: rgba(0,0,0,0.92);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-content {
    background-color: #0b0b0b;
    color: #fff;
    padding: 40px;
    border: 1px solid #1c1c1c;
    width: 90%;
    max-width: 550px;
    text-align: center;
    line-height: 1.7;
    font-weight: 200;
    position: relative;
    animation: fadeInModal 0.4s ease;
}

@keyframes fadeInModal {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.modal-content h2 {
    color: #c5a880; /* ოქროსფერი სათაური */
    letter-spacing: 5px;
    margin-bottom: 25px;
    font-weight: 300;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #888;
    font-size: 32px;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #fff;
}

/* გალერეა მოდალის შიგნით */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 10px;
    margin-top: 15px;
    max-height: 380px;
    overflow-y: auto;
}

.gallery-grid img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border: 1px solid #222;
}

/* --- ინტროს ანიმაციის სტილი --- */
#intro-loader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: #000000;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1s ease-in-out, visibility 1s;
}

.intro-text-container { text-align: center; }

.intro-title {
    color: #c5a880;
    font-size: 45px;
    font-weight: 200;
    letter-spacing: 12px;
    margin-bottom: 15px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1.2s ease 0.3s forwards;
}

.intro-subtitle {
    color: #e5d5be;
    font-size: 14px;
    font-weight: 300;
    font-style: italic;
    letter-spacing: 6px;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 1.2s ease 0.9s forwards;
}

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

#intro-loader.fade-out {
    opacity: 0;
    visibility: hidden;
}