body {
    background-color: #121212;
    color: white;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
}

/* CONTAINER */

.container-nav{
    max-width:1140px;
    width:100%;
    margin:0 auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.container {
    width: 1140px;
    margin:  0 auto;
}

.clearfix{
    clear: both;
}

.blur-line {
    display: inline-block;
    margin-left: 8px;
    width: 60px;
    height: 4px;
    filter: blur(4px);
    background-color: rgba(180, 159, 112, 0.979);
    border-radius: 4px;

}

section {
    margin-top: 120px;
}

/* loder */

#loader {
    position: fixed;
    inset: 0;
    background: #121212;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #333;
    border-top: 5px solid #f5b841;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* HEADER */

.main-header {
    position: fixed;
    top: 30px;
    left: 0;
    width: 100%;
    height: 75px;
    background: #121212;
    box-shadow: rgba(0,0,0,0.6) 0px 2px 6px;
    z-index: 999;
    display:flex;
    align-items:center;
}

.main-header.scrolled {
    background: rgba(18,18,18,0.9);
    backdrop-filter: blur(10px);
    top: 30px;
}

/* LOGO */

.main-header__brand img {
    width:64px;
}

/* NAVIGATION */

.main-navigation__items{
    list-style:none;
    display:flex;
    gap:25px;
    margin:0;
    padding:0;
}

.main-navigation__item a{
    color:white;
    text-decoration:none;
    text-transform:uppercase;
    font-size:12px;
    font-weight:500;
    padding:8px 10px;
    border-radius:6px;
    transition:0.3s;
}

.main-navigation__item a:hover{
    background:#f5b841;
    color:black;
}

.main-navigation__item a.active {
    background: #f5b841;
    color: black;
}

/** ====== MAIN SECTION ======= **/ 

.mini-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 35px;
    background: #121212;
    box-shadow: rgba(0,0,0,0.6) 0px 2px 6px;
    z-index: 9999;
    display:flex;
    align-items:center;
}

/* BUTTON */

.header-btn{
    display:flex;
    align-items:center;
}

.header-btn a{
    text-decoration:none;
    padding:8px 18px;
    border-radius:6px;
    font-size:14px;
    margin-left:10px;
    transition:0.3s;
}

.btn-login{
    border:1px solid #f5b841;
    color:#f5b841;
}

.btn-login:hover{
    background:#f5b841;
    color:black;
}

.btn-register{
    background:#f5b841;
    color:black;
}

.btn-register:hover{
    background:#d89d2f;
}

/**======= LANG BTN ==========**/


.language-dropdown {
    position: relative;
    margin-left: 0%;
}

/* BUTTON */
.lang-btn {
    background: #f5b841;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    transition: 0.3s;
}

.lang-btn:hover {
    box-shadow: 0 0 10px #f5b841;
}

/* MENU */
.lang-menu {
    position: absolute;
    top: 35px;
    right: 0;
    background: #1e1e1e;
    border-radius: 6px;
    overflow: hidden;
    min-width: 90px;

    /* default yopiq */
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: 0.3s;
}

/* ACTIVE holat (JS orqali) */
.lang-menu.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* ITEM */
.lang-menu a {
    display: block;
    padding: 8px 12px;
    color: white;
    text-decoration: none;
    font-size: 12px;
}

.lang-menu a:hover {
    background: #f5b841;
    color: black;
}

/* muhim qator */
.language-dropdown:hover .lang-menu,
.lang-menu:hover {
    display: block;
}

.nav-time {
    background: #f5b841;
    border-radius: 3px;
    color: #121212;
    padding: 3px 12px;
}

/** ====== MAIN SECTION ======= **/ 

.main-section {
    padding: 160px 30px;
}

.main-section > div {
    width: 50%;
    float: left;
}

.main-section__image img {
    padding-left: 20%;
    overflow: hidden;
}

.main-section__welcome {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 15px;
    margin-top: 64px;
    letter-spacing: 2px;
}

.main-section__introduction {
    margin-top: 5px;
    font-size: 50px;
    font-weight: 10000;
    margin-bottom: 5px;
    text-transform: uppercase;
}
.main-section__introduction span {
    color: #FFE3C2;
}

.main-section__position {
    font-size: 15px;
    font-weight: 300;
    letter-spacing: 2px;

}

.main-section__action {
    margin-top: 80px;
    padding: 10px;
    display: inline-block;
    cursor: pointer;
    outline: none;
    border: none;
    font-weight: 500;
    border-radius: 10px;
    color: #121212;
    background-color: #f5b841;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 10px #ffe3c298;
    transition:0.3s;
    text-decoration: none;
}

.main-section__action:hover{
    box-shadow:0 0 25px #f5b942;
    transform:translateY(-2px);
}

.stats {
    display: flex;
    gap: 80px;
    margin-top: 30px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;

}

.stats h3 {
    color: #f5b942;
    text-align: center;

}

@media (max-width: 768px) {
    .main-section {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .main-section__image img {
        width: 250px;
        margin-top: 20px;
    }
}

/** ====== USER SECTION ======= **/ 

.user-menu{
    position: relative;
    display: inline-block;
    margin-left: 20px;
}

.user-avatar{
    width:40px;
    height:40px;
    border-radius:50%;
    background: transparent;
    border:  1.5px solid #f5b841; 
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:600;
    font-size:18px;
    cursor:pointer;
    margin-right: 100%;
}

.user-dropdown{
    position:absolute;
    top:50px;
    right:0;
    background:#1e1e1e;
    border-radius:8px;
    box-shadow:0 5px 20px rgba(0,0,0,0.5);
    display:none;
    min-width:160px;
    overflow:hidden;
}

.user-dropdown a{
    padding:12px 15px;
    display:block;
    text-decoration:none;
    color:white;
    font-size:16px;
}

.user-dropdown a:hover{
    background:#f5b841;
    color:black;
}

/** ====== USER SECTION ======= **/

/** ====== SUCCESS SECTION ======= **/ 

.toast{
position: fixed;
top: 116px;
right: 20px;
background: #4CAF50;
color: white;
padding: 14px 60px;
border-radius: 8px;
font-size: 14px;
box-shadow: 0 5px 15px rgba(0,0,0,0.3);
transform: translateX(120%);
opacity: 0;
transition: all 0.5s ease;
z-index: 9999;
}

.toast.show{
transform: translateX(0);
opacity: 1;
}

/** ====== SUCCESS SECTION ======= **/ 

.main-section__buttons{
display:flex;
gap:15px;
}

.btn-primary{
background:#00e5ff;
padding:12px 25px;
border-radius:25px;
text-decoration:none;
color:black;
font-weight:600;
}

.btn-secondary{
border:1px solid #00e5ff;
padding:12px 25px;
border-radius:25px;
text-decoration:none;
color:white;
}

/** ====== ABOUT-MEE SECTION ======= **/ 

.about-me {
    padding: 100px;
    padding-left: 0;

}

.about-me > div {
    width: 50%;
    float: left;
}

.about-me__image img {
    margin-top: 180px;
    width: 60%;
    
}

.section-subtitle {
    letter-spacing: 2px;
    font-weight: 500;
    margin-bottom: 0;
    padding-top: 150px;
    color: #FFE3C2;
    text-transform: uppercase;
}

.section-title {
    margin-top: 10px;
    font-size: 42px;
    font-weight: 700;
    text-transform: capitalize;
    margin-bottom: 10px;
}

.about-me__description {
    margin-bottom: 60px;
    font-size: 14px;
    font-weight: 300;
    line-height: 27px;
}

.button {
    margin-top: 20px;
    padding: 10px;
    outline: none;
    border: none;
    font-weight: 600;
    border-radius: 10px;
    background-color: #f5b841;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 10px #ffe3c298;
    transition:0.3s;
}

.button:hover{
    box-shadow:0 0 25px #f5b942;
    transform:translateY(-2px);
}

/** ====== ABOUT-MEE SECTION ======= **/ 


/* ===== SERVICES CONTAINER ===== */

.services-container {
    display: flex;
    justify-content: center; /* markazga */
    gap: 30px; /* cardlar orasidagi masofa */
    flex-wrap: wrap; /* responsive */
    margin-top: 40px;
}


.services-card {
    width: 300px;
    height: 100%;
    text-align: center;
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(8px);
    border-radius: 15px;
    padding: 40px 27px 30px;
    transition: 0.3s;
    border: 1px solid rgba(255,255,255,0.05);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


.services-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(245,184,65,0.5);
    border: 1px solid #f5b841;
}


.services-card__icon {
    font-size: 50px;
    color: #ffffff;
    margin-bottom: 15px;
    transition: 0.3s;
}


.services-card:hover .services-card__icon {
    transform: scale(1.2) rotate(5deg);
    color: #ffd166;
}


.services-card__title {
    color: #FFE3C2;
    font-size: 20px;
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}


.services-card__description {
    font-size: 16px;
    min-height: 100px;
    line-height: 24px;
    font-weight: 300;
    text-align: left;
    color: #ccc;
}


.services-card__link {
    margin-top: auto;
    display: inline-block;
    color: #2B1E13;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    background: linear-gradient(135deg, #C79B60, #E7C47A);
}


.services-card__link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

/* ===== CLIENTS CONTAINER ===== */

.clients-section {
    padding: 90px 0;
}

.client-card {
    position: relative;
    border-radius: 18px;
    padding: 50px;
    display: flex;
    align-items: center;
    gap: 40px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4) ;
    margin-top: 40px;
    transition: 0.3s;
}

.client-card:hover {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.678);
}

.client-image img  {
    width: 140px;
    height: 140px;
    border: 3px solid #ffb33a;
    border-radius: 20px;
    object-fit: cover;
}

.client-info  {
    flex: 1;
}

.client-name {
    font-size: 24px;
    color: #ffb33a;
    margin-bottom: 10px;
}

.client-review {
    font-size: 16px;
    color: #d6d6d6;
    line-height: 1.6;
    margin-bottom: 15px;
}

.client-stars {
    font-size: 22px;
    color: #ffb33a;
    letter-spacing: 15px;
}

/* Responsiv */
@media(max-width: 768px) {
    .client-card {
        flex-direction: column;
        text-align: center;
    }

    .client-image img {
        width: 120px;
        height: 120px;
    }
}

.client-card__icon {
    font-size: 30px;
}

/* CHAP TUGMA */
.next {
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #ffb33a;
    transition: 0.3s;
}

/* O‘NG TUGMA */
.prev {
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #ffb33a;
    transition: 0.3s;
}

.next:hover,
.prev:hover {
    transform: translateY(-50%) scale(1.2);
}

.client-image img,
.client-name,
.client-review,
.client-stars {
    transition: 0.3s;
}

/* ===== PORTFOLIO SECTION ===== */



/* Filter buttons */
.portfolio-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
    margin-top: 20px;
}

.filter-btn {
    padding: 10px 25px;
    background: #1c140d;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, #C79B60, #E7C47A);
    color: #1c140d;
    transform: translateY(-2px);
}

/* Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Item */
.portfolio-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-10px);
}

/* Image wrapper */
.portfolio-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.portfolio-image img {
    display: block;           /* MUHIM */
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

/* Overlay */
.portfolio-overlay {
    position: absolute;
    inset: 0;

    display: grid;
    place-items: center;

    background: rgba(28, 20, 13, 0.85);
    text-align: center;

    opacity: 0;
    transition: opacity 0.35s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

/* Overlay content */
.overlay-content {
    transform: translateY(15px);
    transition: transform 0.35s ease;
}

.portfolio-item:hover .overlay-content {
    transform: translateY(0);
}

.overlay-content h4{
    margin: 0 0 12px;
    font-size: 1.3rem;
    color: #ffb33a;
}

.portfolio-overlay p {
    color: #d6d6d6;
    margin-bottom: 20px;
}
/* Button */
.portfolio-link {
    margin-top: 20px;
    padding: 10px;
    outline: none;
    border: none;
    text-decoration: none;
    font-weight: 600;
    border-radius: 10px;
    background-color: #f5b841;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 10px #ffe3c298;
    transition:0.3s;
}

.portfolio-link:hover{
    box-shadow:0 0 25px #f5b942;
    transform:translateY(-2px);
}

/* More button */
.portfolio-more {
    text-align: center;
    margin-top: 40px;
}

/* Responsive */
@media (max-width: 768px) {
    .portfolio-image {
        height: 200px;
    }
}

.portfolio-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;

    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

/* ACTIVE */
.portfolio-modal.show {
    opacity: 1;
    visibility: visible;
}

/* IMAGE */
.modal-img {
    max-width: 80%;
    max-height: 80%;
    border-radius: 15px;
    box-shadow: 0 0 40px rgba(245,184,65,0.4);
    animation: zoom 0.3s ease;
}

@keyframes zoom {
    from {
        transform: scale(0.7);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* CLOSE BUTTON */
.modal-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
}

.modal-close:hover {
    color: #f5b841;
}

/* ===== FOOTER ===== */

.footer {
    background: #121212;
    box-shadow: 0 -10px 25px rgba(0,0,0,0.8);
    padding: 60px 20px 20px;
    margin-top: 180px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-col {
    flex: 1;
    min-width: 220px;
}

/* LOGO */
.footer-logo {
    color: #f5b841;
    font-size: 22px;
    margin-bottom: 15px;
}

/* TITLE */
.footer-title {
    color: #fff;
    margin-bottom: 15px;
    font-size: 16px;
}

/* TEXT */
.footer-text {
    color: #aaa;
    font-size: 14px;
    line-height: 1.6;
}

/* LINKS */
.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #aaa;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: #f5b841;
}

/* SOCIAL */
.footer-socials {
    margin-top: 10px;
    display: flex;
    gap: 15px;
}

.footer-socials ion-icon {
    font-size: 20px;
    color: #aaa;
    cursor: pointer;
    transition: 0.3s;
}

.footer-socials ion-icon:hover {
    color: #f5b841;
    transform: scale(1.2);
}

/* BOTTOM */
.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom p {
    color: #777;
    font-size: 13px;
}

/* RESPONSIVE */
@media(max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-socials {
        justify-content: center;
    }
}

/* ===== BACK TO TOP BUTTON ===== */

.back-to-top {
    position: fixed;
    right: 25px;
    bottom: 25px;

    width: 48px;
    height: 48px;

    border: none;
    border-radius: 50%;

    background: linear-gradient(135deg, #C79B60, #E7C47A);
    color: #1c140d;

    font-size: 22px;
    font-weight: bold;

    cursor: pointer;

    box-shadow: 0 8px 20px rgba(0,0,0,0.3);

    transition: 0.3s ease;
    z-index: 999;
}

/* Hover */
.back-to-top:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 28px rgba(0,0,0,0.4);
}

/* Active (bosilganda) */
.back-to-top:active {
    transform: scale(0.9);
}

