/* IXTIYOROV.UZ - Professional Stylesheet
    Theme: Black & Gold Premium (Final Version)
*/

:root {
    --bg-dark: #000000;
    --bg-card: #080808;
    --gold: #d4af37;
    --gold-glow: rgba(212, 175, 55, 0.4);
    --text-grey: #a0a0a0;
    --glass-bg: rgba(0, 0, 0, 0.6);
}

/* --- 1. GENERAL SETTINGS --- */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

html { 
    scroll-behavior: smooth; 
}

body { 
    background-color: var(--bg-dark); 
    color: white; 
    font-family: 'Poppins', sans-serif; 
    overflow-x: hidden;
}

.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

/* --- 2. HEADER & NAV (CENTERED & BLUR) --- */
header { 
    width: 100%; 
    padding: 15px 0; 
    position: fixed; 
    top: 0; 
    z-index: 1000; 
    background: var(--glass-bg); 
    backdrop-filter: blur(15px); 
    -webkit-backdrop-filter: blur(15px); 
    border-bottom: 1px solid rgba(212, 175, 55, 0.15); 
    transition: 0.4s ease-in-out;
}

nav { 
    display: flex; 
    justify-content: center; 
    align-items: center; 
}

.logo { 
    font-size: 1.8rem; 
    font-weight: bold; 
    color: var(--gold); 
    text-decoration: none; 
    letter-spacing: 2px;
    transition: 0.4s;
}

.logo span { color: white; }

.logo:hover {
    text-shadow: 0 0 20px var(--gold-glow);
    transform: scale(1.05);
}

/* --- 3. HERO SECTION --- */
.hero { 
    min-height: 100vh; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    padding-top: 100px; 
}

.hero-content { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    width: 100%; 
}

.profile-wrapper { 
    width: 220px; 
    height: 220px; 
    margin-bottom: 40px; 
    flex-shrink: 0; 
}

.profile-morph { 
    width: 100%; 
    height: 100%; 
    border: 3px solid var(--gold); 
    overflow: hidden; 
    animation: morph 8s infinite; 
    box-shadow: 0 0 30px var(--gold-glow); 
}

.profile-morph img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}

@keyframes morph { 
    0%, 100% { border-radius: 60% 40% 30% 70%; } 
    50% { border-radius: 30% 60% 70% 40%; } 
}

.typewriter-container {
    height: 50px; 
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0;
}

h1 { font-size: 3.5rem; line-height: 1.2; margin-bottom: 10px; font-weight: 700; }
.gold-text { color: var(--gold); }
.subtitle { color: var(--text-grey); font-size: 1.1rem; margin: 0; }

.social-icons { display: flex; gap: 20px; justify-content: center; margin: 25px 0; }
.social-icons a { color: var(--text-grey); font-size: 1.5rem; transition: 0.3s; }
.social-icons a:hover { color: var(--gold); transform: translateY(-5px); }

/* Main Button with Shine Effect */
.btn-gold { 
    padding: 12px 35px; 
    border: 1px solid var(--gold); 
    background: transparent; 
    color: var(--gold); 
    cursor: pointer; 
    font-weight: bold; 
    transition: 0.3s; 
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn-gold::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(30deg);
    transition: 0.7s;
}

.btn-gold:hover::after {
    left: 120%;
}

.btn-gold:hover { 
    background: var(--gold); 
    color: black; 
    box-shadow: 0 0 20px var(--gold); 
}

/* --- 4. EXPERTISE & CARDS --- */
.expertise { padding: 100px 0; background: #050505; }

.expertise-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 25px; 
    margin-top: 50px; 
}

.card { 
    background: var(--bg-card); 
    padding: 45px; 
    border: 1px solid #111; 
    transition: 0.4s; 
    text-align: center;
    border-radius: 10px;
}

.card:hover { 
    border-color: var(--gold); 
    transform: translateY(-10px); 
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.card-icon { font-size: 2.5rem; color: var(--gold); margin-bottom: 20px; }

/* --- 5. PROGRESS BAR --- */
#progress-container {
    position: fixed;
    top: 0; right: 0;
    width: 4px; height: 100vh;
    background: rgba(255, 255, 255, 0.05);
    z-index: 9999;
}

#progress-bar {
    width: 100%; height: 0%;
    background: linear-gradient(to bottom, #d4af37, #ffffff);
    box-shadow: -2px 0 15px var(--gold-glow);
}

/* --- 6. CUSTOM CURSOR --- */
#custom-cursor {
    width: 8px; height: 8px;
    background: var(--gold);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10001;
}

#cursor-blur {
    width: 35px; height: 35px;
    border: 1.5px solid var(--gold);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.15s ease-out;
    opacity: 0.5;
}

.cursor-hover {
    transform: scale(2.2) !important;
    background: rgba(212, 175, 55, 0.1) !important;
    border-color: #fff !important;
}

/* --- 7. CHAT SYSTEM --- */
#contact-wrapper { position: fixed; bottom: 30px; right: 30px; z-index: 9998; }

#chat-trigger {
    width: 60px; height: 60px;
    background: var(--gold);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; color: #000;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    transition: 0.4s;
}

#chat-window {
    position: absolute;
    bottom: 80px; right: 0;
    width: 320px;
    background: rgba(10, 10, 10, 0.98);
    border: 1px solid var(--gold);
    border-radius: 15px;
    padding: 20px;
    display: none;
    backdrop-filter: blur(15px);
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- 8. PROJECT MODAL (GLASS) --- */
.modal {
    display: none;
    position: fixed; 
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.65); 
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 999999; 
    align-items: center; justify-content: center;
    padding: 20px;
}

.modal.active { display: flex !important; }

.modal-content {
    background: rgba(10, 10, 10, 0.85); 
    border: 1px solid rgba(212, 175, 55, 0.4); 
    padding: 40px;
    max-width: 500px; width: 100%;
    text-align: center;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    animation: modalFadeIn 0.4s ease forwards;
}

@keyframes modalFadeIn {
    0% { opacity: 0; transform: translateY(-30px) scale(0.9); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* --- 9. SERVICES SPECIAL --- */
.service-card { padding: 25px !important; overflow: hidden; }

.service-img img {
    width: 100%;
    border-radius: 10px;
    transition: 0.5s ease;
    filter: grayscale(40%);
}

.service-card:hover .service-img img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.price-tag {
    font-family: 'Poppins', sans-serif;
    letter-spacing: 1px;
    font-weight: 700;
}

/* --- 10. RESPONSIVE --- */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .profile-wrapper { width: 180px; height: 180px; }
    .modal-content { padding: 30px 20px; }
    .modal-footer { flex-direction: column-reverse; gap: 10px; }
    .btn-close, .btn-go { width: 100%; }
}
