/* ====== GLOBAL ====== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
     background-color: #F5EBDD; /* yumshoq chuqur jigarrang */
    color: #f5ebdd; /* asosiy matn rangi */
    font-family: Arial, sans-serif;
}

.container {
    width: 1140px;
    margin: 0 auto;
}

/* UNIVERSAL CLASS */
.to_uppercase {
    text-transform: uppercase;
}

/* ====== HEADER ====== */

.main-header {
    background: #1b120a;
    padding: 15px 0;
}

.main-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.main-header_logo img {
    width: 60px;
    height: auto;
}

/* NAV LIST */
.main-navigator ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

/* NAV LINKS */
.main-navigator a {
    position: relative;           /* underline uchun kerak */
    display: inline-block;        /* transform, padding ishlashi uchun */
    padding: 6px 8px;             /* capsule uchun */
    color: white;
    font-size: 17px;
    text-decoration: none;
    transition: 0.25s ease;
    border-radius: 6px;           /* yumshoq hover back */
}

/* HOVER CAPSULE BACKGROUND */
.main-navigator a:hover {
    background: rgba(255,255,255,0.08);
    color: #f2b138;
}

/* CLICK (pressed) ANIMATION */
.main-navigator a:active {
    transform: scale(0.88);
    opacity: 0.85;
}

/* UNDERLINE SLIDE EFFECT */
.main-navigator a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;                /* ozgina pastda turadi */
    width: 0%;
    height: 2px;
    background: #f2b138;
    transition: width 0.3s ease;
    border-radius: 2px;
}

.main-navigator a:hover::after,
.main-nav_item.active a::after {
    width: 100%;
}

/* ACTIVE LINK STYLE */
.main-nav_item.active a {
    color: #f2b138;
    font-weight: bold;
}


/* ====== MAIN SECTION ====== */

.main-section {
    padding: 70px 20px;
}

.main-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.main-section_info h4 {
    color: #999;
    letter-spacing: 3px;
}

.main-section_introduction {
    font-size: 60px;
    letter-spacing: 3px;
    color: #2B1E13;
}

.main-section_position {
    font-size: 25px;
    margin: 10px 0;
}

.main-section_imge img {
    width: 350px;
    height: auto;
}

/* BUTTONS */

.button {
    background: linear-gradient(135deg, #C79B60, #E7C47A);
  color: #2B1E13;
  padding: 12px 40px;
  border-radius: 10px;   /* OVAL SHAKL */
  font-weight: 600;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: 0.25s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  margin-top: 80PX;
}


.button:hover{
  transform: scale(1.07);
  background: linear-gradient(135deg, #D8AA63, #F5D89A);
  box-shadow: 0 6px 18px rgba(0,0,0,0.20);
}

.button:active{
  transform: scale(0.94);
  background: linear-gradient(135deg, #A67D4B, #C79B60);
}
/* ====== ABOUT ME ====== */

.about-me  {
    display: flex;
   padding: 200px 0px;
    justify-content: space-between;
    
    
}

.about-me_image img {
    width: 300px;
    height: auto;

}

.section-subtitle {
    letter-spacing: 8px;
    font-weight: 600;
    color: #8a7652;
    margin-bottom: 15px;
    margin-top: 120px;

  
}

.about-me_description {
    color: #d5a451;
    line-height: 30px;
    font-size: 17px;
    margin-top: 10px;
    
}

.about-me_info{
     margin-left: 50px

}

/* ====== STATISTICS ====== */

.statistics {
    padding: 50px 0;
    display: flex;
    justify-content: center;
}

.statistic_item {
    text-align: center;
}

.statistic_number {
    font-size: 45px;
    color: #f2b138;
}

.statistic_title {
    font-size: 18px;
    color: #999;
}

/* ===== FOOTER ===== */

.footer {
    background: #0e0c0a;
    color: #fff;
    padding-top: 50px;
    margin-top: 80px;
    position: relative;
}

/* Container tartibi */
.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 35px;
}

/* Logo */

.footer-logo {
    display: flex;
    align-items: center; /* Vertikal markazlashtirish */
    gap: 15px; /* Logo va text orasidagi masofa */
}

.footer-logo img {
    display: inline;
    width: 65px;

}

.footer-logo p {
    display: flex;
    margin-top: 10px;
    font-size: 20px;
    letter-spacing: 3px;
    color: #d9b676;
    font-weight: 600;
}

/* Navigatsiya */
.footer-nav {
    display: flex;
    gap: 25px;
    list-style: none;
}

.footer-nav a {
    position: relative;           /* underline uchun kerak */
    display: inline-block;        /* transform, padding ishlashi uchun */
    padding: 6px 8px;             /* capsule uchun */
    color: white;
    font-size: 17px;
    text-decoration: none;
    transition: 0.25s ease;
    border-radius: 6px;           /* yumshoq hover back */
}

.footer-nav a:hover {
    color: #d9b676;
    text-shadow: 0 0 8px #d9b676;
}

/* CLICK (pressed) ANIMATION */
.footer-nav a:active {
    transform: scale(0.88);
    opacity: 0.85;
}

/* UNDERLINE SLIDE EFFECT */
.footer-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;                /* ozgina pastda turadi */
    width: 0%;
    height: 2px;
    background: #f2b138;
    transition: width 0.3s ease;
    border-radius: 2px;
}

/* Social media iconlar */
.footer-social a img {
    width: 30px;
    margin: 0 5px;
    transition: 0.3s ease;
}

.footer-social a img:hover {
    transform: scale(1.2);
    filter: brightness(1.3);
}


/* Pastki qism */
.footer-bottom {
    text-align: center;
    padding: 15px 0;
    margin-top: 30px;
    border-top: 1px solid #2e2b27;
    color: #bfa271;
    font-size: 14px;
}

/*social link */


/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #d9b676;
    border: none;
    color: #000;
    font-size: 25px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.back-to-top:hover {
    transform: scale(1.15);
    box-shadow: 0 0 10px #d9b676;
}


/* ====== RESPONSIVE ====== */

@media (max-width: 1200px) {
    .container {
        width: 90%;
    }
}

@media (max-width: 800px) {

    .main-header .container {
        flex-direction: column;
        gap: 15px;
    }

    .main-section .container,
    .about-me {
        flex-direction: column;
        text-align: center;
    }

    .main-section_imge img {
        width: 250px;
    }

    .about-me > div {
        width: 100%;
    }
}



/* 2. Abstract Shapes - Geometric patterns */
.abstract-shapes::before {
    content: '';
    position: absolute;
    top: 10%;
    right: 10%;
    width: 200px;
    height: 200px;
    border: 2px solid rgba(145, 144, 144, 0.158);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    margin: 100px;
}

.abstract-shapes::after {
    content: '';
    position: absolute;
    bottom: 15%;
    left: 15%;
    width: 150px;
    height: 150px;
    background: rgba(190, 181, 166, 0.534);
    transform: rotate(45deg);
    animation: float 8s ease-in-out infinite reverse; 
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}


.about-me_image  {
    position: relative;
    display: inline-block;
}

.main-image {
    width: 300px;
    height: 300px;
    border-radius: 20px;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.background-effect {
    position: absolute;
    top: -12px;
    left: -12px;
    right: -12px;
    bottom: -12px;
    background: 
        linear-gradient(135deg, 
            rgba(40, 40, 40, 0.95) 0%,
            rgba(43, 38, 38, 0.9) 50%,
            rgba(20, 20, 20, 0.95) 100%);
    border-radius: 22px;
    z-index: 1;
    filter: blur(8px);
    border: 1px solid rgba(88, 5, 5, 0.05);
}

@keyframes backgroundShift {
    0%, 100% {
        background: linear-gradient(45deg, #2c1810, #5d4037, #8d6e63, #d7ccc8);
        transform: scale(1);
    }
    33% {
        background: linear-gradient(45deg, #5d4037, #8d6e63, #d7ccc8, #2c1810);
        transform: scale(1.02);
    }
    66% {
        background: linear-gradient(45deg, #8d6e63, #d7ccc8, #2c1810, #5d4037);
        transform: scale(1.04);
    }
}