﻿/* ─── Design tokens ─────────────────────────────────────────── */
:root {
    --sidebar-width: 270px;
    --brand-cyan:    #17a5df;
    --brand-magenta: #e3008c;
    --surface:       #f0f3f8;
    --shadow-soft:   0 8px 24px rgba(15, 23, 42, 0.08);
}

/* ─── Reset / base ──────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: "Segoe UI", Arial, sans-serif;
    background: var(--surface);
    color: #1e2330;
}

body {
    overflow: hidden;
}

/* ─── Shell ─────────────────────────────────────────────────── */
.container-fluid.site-shell {
    display: flex;
    width: 100%;
    height: 100vh;
    margin: 0;
    padding: 0;
    max-width: none;
    --bs-gutter-x: 0;
}

/* ─── Sidebar ───────────────────────────────────────────────── */
.sidebar {
    width: var(--sidebar-width);
    min-width: var(--sidebar-width);
    max-width: var(--sidebar-width);
    flex-shrink: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 22px 18px 18px;
    /* Açıq, CMYK rənglərinə uyğun yüngül gradient */
    background: linear-gradient(175deg, #1c3a52 0%, #163044 55%, #1e3d56 100%);
    border-right: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
}

/* ─── Logo ──────────────────────────────────────────────────── */
.logo-link {
    text-decoration: none;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 22px;
    /* Yüngül ağ haşiyə loqonu aydınlaşdırır */
    background: rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 10px 8px 8px;
    transition: background 0.2s ease;
}

.logo:hover {
    background: rgba(255, 255, 255, 0.18);
}

.logo img {
    width: 100%;
    max-width: 210px;
    max-height: 90px;
    object-fit: contain;
    display: block;
    /* Giriş animasiyası */
    animation: logoFadeIn 0.6s ease both;
}

@keyframes logoFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ─── Navigation ────────────────────────────────────────────── */
.menu {
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
}

.menu::-webkit-scrollbar { display: none; }

.menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu ul li {
    margin: 3px 0;
    /* Menyu elementlərinin giriş animasiyası */
    animation: navSlideIn 0.4s ease both;
}

.menu ul li:nth-child(1)  { animation-delay: 0.05s; }
.menu ul li:nth-child(2)  { animation-delay: 0.10s; }
.menu ul li:nth-child(3)  { animation-delay: 0.15s; }
.menu ul li:nth-child(4)  { animation-delay: 0.20s; }
.menu ul li:nth-child(5)  { animation-delay: 0.25s; }
.menu ul li:nth-child(6)  { animation-delay: 0.30s; }
.menu ul li:nth-child(7)  { animation-delay: 0.35s; }
.menu ul li:nth-child(8)  { animation-delay: 0.40s; }

@keyframes navSlideIn {
    from { opacity: 0; transform: translateX(-10px); }
    to   { opacity: 1; transform: translateX(0); }
}

.menu ul li a {
    display: block;
    padding: 11px 14px;
    color: #c8d8e8;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    border-radius: 10px;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
}

.menu ul li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    width: 3px;
    height: 60%;
    background: var(--brand-cyan);
    border-radius: 3px;
    opacity: 0;
    transition: opacity 0.18s ease;
}

.menu ul li a:hover {
    background: rgba(255,255,255,0.10);
    color: #ffffff;
    transform: translateX(4px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.12);
}

.menu ul li a:hover::before {
    opacity: 1;
}

/* ─── Sidebar footer ────────────────────────────────────────── */
.menu-footer {
    margin-top: auto;
    padding-top: 14px;
    flex-shrink: 0;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.social-media {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
    margin-top: 10px;
}

.social-media a img {
    width: 26px;
    height: 26px;
    object-fit: contain;
    transition: transform 0.18s ease, filter 0.18s ease;
    filter: brightness(0.85);
}

.social-media a img:hover {
    transform: translateY(-3px);
    filter: brightness(1.1);
}

.footer {
    text-align: center;
    color: #7fa0b8;
    font-size: 11px;
    line-height: 1.7;
}

.footer p {
    margin: 0;
}

.footer .made-by {
    display: block;
    color: #5d849e;
    font-size: 10px;
    margin-top: 2px;
}

/* ─── Main content area ─────────────────────────────────────── */
.content {
    flex: 1 1 auto;
    min-width: 0;
    height: 100vh;
    overflow-y: auto;
    background: var(--surface);
}

/* ─── Page content fade-in ──────────────────────────────────── */
.content > * {
    animation: pageFadeIn 0.35s ease both;
}

@keyframes pageFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ─── Mobile menu toggle ────────────────────────────────────── */
.menu-toggle {
    display: none;
    position: fixed;
    top: 14px;
    left: 14px;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 10px;
    background: #1c3a52;
    box-shadow: var(--shadow-soft);
    z-index: 1000;
    padding: 9px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 4px 0;
    background: #ffffff;
    border-radius: 2px;
    transition: transform 0.22s ease, opacity 0.22s ease;
}

/* ─── Hero slider ───────────────────────────────────────────── */
.home-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 460px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.012);
    transition: opacity 700ms ease, transform 2600ms ease;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, rgba(5,8,14,0.60), rgba(5,8,14,0.12));
}

.hero-content {
    position: absolute;
    bottom: clamp(20px, 5vh, 52px);
    left: clamp(20px, 5vw, 52px);
    color: #fff;
    z-index: 2;
    max-width: 680px;
    animation: heroContentIn 0.8s 0.2s ease both;
}

@keyframes heroContentIn {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-title {
    margin: 0 0 8px;
    font-size: clamp(1.5rem, 3vw, 2.6rem);
    font-weight: 700;
    text-shadow: 0 4px 16px rgba(0,0,0,0.35);
}

.hero-subtitle {
    margin: 0;
    font-size: clamp(0.9rem, 1.4vw, 1.05rem);
    color: rgba(255,255,255,0.88);
}

.hero-dots {
    position: absolute;
    bottom: 16px;
    right: 16px;
    display: flex;
    gap: 6px;
    z-index: 3;
}

.hero-dot {
    width: 9px;
    height: 9px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.38);
    padding: 0;
    cursor: pointer;
    transition: background 0.22s ease, transform 0.22s ease;
}

.hero-dot.active {
    background: #fff;
    transform: scale(1.25);
}

/* ─── Shared image radius ───────────────────────────────────── */
.about-us-container img,
.partner-image,
.service-image,
.album-cover img,
.dt-album-cover img {
    border-radius: 10px;
}

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .sidebar {
        position: fixed;
        left: calc(-1 * var(--sidebar-width) - 10px);
        top: 0;
        z-index: 999;
        transition: left 0.25s ease;
        box-shadow: 14px 0 36px rgba(10,14,26,0.28);
    }

    .sidebar.active {
        left: 0;
    }

    .content {
        width: 100%;
        padding-top: 50px;
    }

    .hero-content {
        bottom: 22px;
        left: 16px;
        right: 16px;
    }

    .logo img {
        max-width: 180px;
        max-height: 74px;
    }
}
