/* themes/css/style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

body {
    background-color: #fff;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 375px;
    margin: 0 auto;
    min-height: 100vh;
    background-color: #fff;
    position: relative;
}

/* Header */
.header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    height: 60px;
}

.time-display {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    font-weight: 500;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #ff6b35;
}

/* Onboarding Slider - განახლებული */
.onboarding-slider {
    position: relative;
    width: 100%;
    height: calc(100vh - 60px);
    overflow: hidden;
}

.slides-container {
    display: flex;
    width: 300%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slide {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding-bottom: 140px; /* ადგილი ინდიკატორებისა და ღილაკებისთვის */
}

.onboarding-image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 24px;
    min-height: 320px;
}

.onboarding-image {
    width: 100%;
    max-width: 305px;
    height: auto;
    max-height: 272px;
    object-fit: contain;
    border-radius: 20px;
   
}

.onboarding-content {
    padding: 0 24px 40px 24px;
    text-align: center;
    flex-shrink: 0;
}

.onboarding-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 16px;
    line-height: 1.3;
}

.onboarding-description {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 0;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

/* ინდიკატორები - განახლებული პოზიცია */
.slide-indicators {
    position: absolute;
    bottom: 80px; /* ღილაკების ზემოთ */
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 10;
    height: 8px;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    width: 24px;
    border-radius: 12px;
    background-color: #ff6b35;
}

/* ღილაკების კონტეინერი - განახლებული */
.onboarding-button-container {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    padding: 0 24px;
    display: flex;
    justify-content: center;
    gap: 12px;
    z-index: 10;
}

/* ღილაკები */
.btn {
    padding: 16px 32px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    min-width: 160px;
}

.btn:active {
    transform: scale(0.98);
}

/* Onboarding ღილაკები */
#prevBtn, #nextBtn, #getStartedBtn {
    min-width: 160px;
}

#nextBtn, #getStartedBtn {
    background-color: #ff6b35;
    color: white;
    border: none;
}

#nextBtn:hover, #getStartedBtn:hover {
    background-color: #ff5722;
}

#prevBtn {
    background-color: transparent;
    color: #666;
    border: 1px solid #ddd;
}

#prevBtn:hover {
    background-color: #f8f9fa;
}

.btn-primary {
    background-color: #ff6b35;
    color: white;
}

.btn-primary:hover {
    background-color: #ff5722;
}

.btn-secondary {
    background-color: transparent;
    color: #666;
    padding: 16px;
}

.btn-secondary:hover {
    color: #333;
}

/* Get Started Button - მხოლოდ ბოლო სლაიდზე */
.get-started-btn {
    display: none;
}

/* მხოლოდ ბოლო სლაიდის სტილები */
#slide3 .get-started-btn {
    display: block;
}

#slide3 #prevBtn {
    display: block;
}

#slide3 #nextBtn {
    display: none;
}

/* Fallback სტილები სურათებისთვის */
.slide-image-fallback {
    width: 100%;
    max-width: 305px;
    height: 272px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
}

#slide1 .slide-image-fallback {
    background: linear-gradient(135deg, #4CAF50, #8BC34A);
    color: white;
}

#slide2 .slide-image-fallback {
    background: linear-gradient(135deg, #2196F3, #03A9F4);
    color: white;
}

#slide3 .slide-image-fallback {
    background: linear-gradient(135deg, #ff6b35, #ff9800);
    color: white;
}

/* Responsive */
@media (max-width: 375px) {
    .container {
        border: none;
    }
    
    .onboarding-image {
        max-width: 280px;
        max-height: 250px;
    }
    
    .onboarding-title {
        font-size: 22px;
    }
    
    .onboarding-description {
        font-size: 15px;
    }
    
    .onboarding-button-container {
        bottom: 25px;
        padding: 0 20px;
    }
    
    .slide-indicators {
        bottom: 75px;
    }
    
    .btn {
        min-width: 140px;
        padding: 14px 24px;
    }
    
    .slide {
        padding-bottom: 120px;
    }
}

/* პატარა ეკრანებისთვის */
@media (max-width: 320px) {
    .onboarding-image {
        max-width: 260px;
        max-height: 230px;
    }
    
    .onboarding-content {
        padding: 0 16px 30px 16px;
    }
    
    .onboarding-title {
        font-size: 20px;
    }
    
    .btn {
        min-width: 120px;
        padding: 12px 20px;
        font-size: 15px;
    }
    
    .onboarding-button-container {
        bottom: 20px;
        padding: 0 16px;
    }
    
    .slide-indicators {
        bottom: 70px;
    }
}