@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg: #050B1A;
    --bg-secondary: #071A42;
    --card: #17233D;
    --gold: #D4AF37;
    --gold-light: #F1DDA6;
    --gold-deep: #A6791F;
    --text: #F8FAFC;
    --text-secondary: #C9D3E4;
    --glass-bg: rgba(23, 35, 61, 0.55);
    --glass-border: rgba(212, 175, 55, 0.32);
    --glass-blur: 24px;
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --shadow-soft: 0 24px 70px rgba(0, 0, 0, 0.5), 0 4px 16px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    --shadow-gold: 0 14px 38px rgba(212, 175, 55, 0.26), 0 2px 10px rgba(212, 175, 55, 0.14);
    --shadow-gold-strong: 0 20px 54px rgba(212, 175, 55, 0.38), 0 4px 18px rgba(212, 175, 55, 0.26);
    --transition-fast: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-med: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --gradient-gold: linear-gradient(120deg, var(--gold-deep) 0%, var(--gold) 45%, var(--gold-light) 75%, var(--gold) 100%);
    --font-main: 'Poppins', 'Segoe UI', sans-serif;
    --font-display: 'Playfair Display', 'Poppins', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: radial-gradient(circle at 20% 0%, var(--bg-secondary) 0%, var(--bg) 55%, #04070F 100%);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
}

::selection {
    background: var(--gold);
    color: var(--bg);
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--gold), var(--gold-light));
    border-radius: 10px;
}

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-soft);
}

header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(7, 26, 66, 0.82);
    border-bottom: 1px solid rgba(212, 175, 55, 0.18);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 40px;
    transition: background var(--transition-med);
}

#logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

#logo img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 50%;
    box-shadow: var(--shadow-gold);
    transition: box-shadow var(--transition-med), transform var(--transition-med);
}

#logo:hover img {
    box-shadow: var(--shadow-gold-strong);
    transform: rotate(6deg);
}

#logo h2 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    letter-spacing: 2px;
    color: var(--gold-light);
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 2px 14px rgba(212, 175, 55, 0.25);
}

#logo h4 {
    font-size: 0.65rem;
    letter-spacing: 3px;
    color: var(--text-secondary);
    font-weight: 500;
}

#logo h4 span {
    color: var(--gold);
}

#cnav ul {
    display: flex;
    align-items: center;
    gap: 6px;
}

#cnav ul li a {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

#cnav ul li a:hover,
#cnav ul li a.nav {
    color: var(--bg);
    background: var(--gradient-gold);
    box-shadow: var(--shadow-gold);
    transform: translateY(-2px);
}

#menu {
    display: none;
}

.menu-btn {
    display: none;
    font-size: 1.6rem;
    color: var(--gold-light);
    cursor: pointer;
    z-index: 1000;
    position: relative;
}

.sidebar {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background: linear-gradient(180deg, #0A1B45 0%, #071A42 100%);
    border-left: 1px solid rgba(212, 175, 55, 0.23);
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.6);
    z-index: 9999;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: right var(--transition-med);
    overflow-y: auto;
}

#menu:checked~.sidebar {
    right: 0;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.18);
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-logo img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: contain;
}

.sidebar-logo h2 {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--gold-light);
    letter-spacing: 2px;
}

.sidebar-logo h4 {
    font-size: 0.6rem;
    letter-spacing: 2px;
    color: var(--text-secondary);
}

.sidebar-logo h4 span {
    color: var(--gold);
}

.close-btn {
    font-size: 1.4rem;
    color: var(--gold-light);
    cursor: pointer;
}

.sidebar a {
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.sidebar a:hover,
.sidebar a.nav {
    color: var(--bg);
    background: var(--gradient-gold);
    box-shadow: var(--shadow-gold);
    transform: translateX(4px);
}

main {
    position: relative;
    z-index: 1;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 30px;
    border-radius: 999px;
    background: linear-gradient(120deg, var(--gold-deep), var(--gold) 25%, var(--gold-light) 50%, var(--gold) 75%, var(--gold-deep));
    background-size: 220% auto;
    background-position: left center;
    color: #1B1203;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.4px;
    box-shadow: var(--shadow-gold);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-position var(--transition-med);
}

.btn:hover {
    transform: translateY(-3px) scale(1.02);
    background-position: right center;
    box-shadow: var(--shadow-gold-strong);
}

#footer {
    position: relative;
    z-index: 1;
    background: rgba(7, 26, 66, 0.68);
    border-top: 1px solid rgba(212, 175, 55, 0.18);
    padding: 60px 40px 30px;
    margin-top: 80px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 40px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-logo img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    margin-bottom: 10px;
    box-shadow: var(--shadow-gold);
}

.footer-logo h2 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--gold-light);
    letter-spacing: 2px;
    text-shadow: 0 2px 18px rgba(212, 175, 55, 0.25);
}

.footer-logo h2 span {
    color: var(--text);
    font-size: 0.9rem;
    letter-spacing: 1px;
    display: block;
    margin-top: 4px;
}

.footer-logo h4 {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 400;
    margin-top: 6px;
}

.footer-links h3,
.footer-contact h3 {
    color: var(--gold-light);
    font-size: 1.05rem;
    margin-bottom: 18px;
}

.footer-links a {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 12px;
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--gold-light);
    transform: translateX(6px);
    text-shadow: 0 0 18px rgba(212, 175, 55, 0.35);
}

.footer-contact p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

#footer hr {
    border: none;
    border-top: 1px solid rgba(212, 175, 55, 0.18);
    max-width: 1200px;
    margin: 30px auto 20px;
}

.copyright {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.82rem;
}

@media (max-width: 1088px) {
    #cnav {
        display: none;
    }

    .menu-btn {
        display: block;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 640px) {
    header {
        padding: 12px 18px;
    }

    #logo img {
        width: 40px;
        height: 40px;
    }

    #footer {
        padding: 40px 20px 24px;
    }
}

main {
    max-width: 1300px;
    margin: 0 auto;
    padding: 60px 40px 0;
}

#m {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    padding: 40px;
    border-radius: var(--radius-lg);
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-soft);
    margin-bottom: 70px;
    animation: fadeSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

#m h1 {
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 18px;
}

#m h1 span {
    background: linear-gradient(120deg, var(--gold-light), var(--gold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 4px 16px rgba(212, 175, 55, 0.28));
}

#m h4 {
    color: var(--text-secondary);
    font-weight: 400;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 26px;
}

#mv {
    flex: 1;
    max-width: 480px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--glass-border);
    transition: box-shadow var(--transition-med);
}

#mv:hover {
    box-shadow: var(--shadow-gold-strong);
}

#mv video {
    width: 100%;
    height: 400px;
    object-fit: contain;
    display: block;
    border-radius: var(--radius-md);
}

#l {
    text-align: center;
    margin-bottom: 80px;
}

#lname {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: var(--gold-light);
    margin-bottom: 40px;
    font-weight: 700;
    text-shadow: 0 2px 20px rgba(212, 175, 55, 0.25);
}

#lahiyə {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

#lahiyə li {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-soft);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

#lahiyə li:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: var(--shadow-gold-strong);
}

#lahiyə li img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform var(--transition-med);
}

#lahiyə li:hover img {
    transform: scale(1.08);
}

#lahiyə li h5 {
    padding: 16px;
    font-size: 0.95rem;
    color: var(--text);
    font-weight: 500;
    text-align: center;
}

#lbtn {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

#social {
    text-align: center;
    padding: 50px 40px 90px;
    border-radius: var(--radius-lg);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    margin-bottom: 40px;
}

#social h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--gold-light);
    margin-bottom: 36px;
    font-weight: 700;
    text-shadow: 0 2px 18px rgba(212, 175, 55, 0.22);
}

.social-media-list {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.social-media {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 22px 34px;
    border-radius: var(--radius-md);
    background: rgba(212, 175, 55, 0.045);
    border: 1px solid rgba(212, 175, 55, 0.18);
    transition: all var(--transition-fast);
}

.social-media:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 175, 55, 0.55);
    background: rgba(212, 175, 55, 0.10);
    box-shadow: var(--shadow-gold);
}

.social-media img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.social-media span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 960px) {
    main {
        padding: 40px 24px 0;
    }

    #m {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        height: auto;
        padding: 20px;
    }

    #m div {
        padding: 0;
    }

    #m h1 {
        font-size: 18px;
        line-height: 1.3;
    }

    #m h4 {
        font-size: 13px;
        line-height: 1.5;
    }

    #mv {
        padding: 1px;
        ;
    }

    #mv video {
        width: 100%;
        height: 320px;
        object-fit: cover;
        border-radius: 20px;
    }

    .btn {
        padding: 12px 18px;
        font-size: 14px;
    }

    #m a {
        padding: 8px 12px !important;
        font-size: 10px !important;
    }


    #lahiyə {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    #lahiyə {
        grid-template-columns: 1fr;
    }

    .social-media-list {
        gap: 18px;
    }

    .social-media {
        padding: 18px 24px;
    }
}

html,
body {
    overflow-x: hidden;
}
