/* =========================================
   PREMIUM SIDEBAR STYLES
   ========================================= */

/* 1. Main Drawer Container */
.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -320px; /* Hidden initially */
    width: 320px;
    height: 100%;
    background: #ffffff;
    z-index: 2000;
    box-shadow: -10px 0 30px rgba(0,0,0,0.15);
    transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1); /* Smooth Easing */
    display: flex;
    flex-direction: column;
    padding: 0;
}

.mobile-sidebar.active {
    right: 0;
}

/* 2. Close Button */
.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: #1a202c;
    line-height: 0.5;
    z-index: 10;
    transition: transform 0.3s ease;
}
.close-btn:hover {
    transform: rotate(90deg);
    color: #C08945;
}

/* 3. Compact Circular Logo (Smaller Header) */
.sidebar-header {
    padding: 40px 20px 20px; /* Reduced top/bottom padding */
    background: #faf9f6;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #f0f0f0;
}

.logo-circle {
    width: 70px; /* Smaller Size */
    height: 70px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
    padding: 10px;
}

.logo-circle img {
    width: 100%;
    height: 100%;       /* Force full height */
    object-fit: cover;  /* This makes the image fill the circle completely */
    border-radius: 50%; /* Ensures the image stays circular */
}

/* 4. Menu Links (Big Numbers Design) */
.premium-menu {
    flex: 1;
    list-style: none;
    padding: 30px 40px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center vertically */
}

.premium-menu li {
    margin-bottom: 25px;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Staggered Animation */
.mobile-sidebar.active .premium-menu li:nth-child(1) { transition-delay: 0.1s; opacity: 1; transform: translateX(0); }
.mobile-sidebar.active .premium-menu li:nth-child(2) { transition-delay: 0.15s; opacity: 1; transform: translateX(0); }
.mobile-sidebar.active .premium-menu li:nth-child(3) { transition-delay: 0.2s; opacity: 1; transform: translateX(0); }
.mobile-sidebar.active .premium-menu li:nth-child(4) { transition-delay: 0.25s; opacity: 1; transform: translateX(0); }
.mobile-sidebar.active .premium-menu li:nth-child(5) { transition-delay: 0.3s; opacity: 1; transform: translateX(0); }

.premium-menu a {
    display: flex;
    align-items: center; /* Align text with huge number */
    text-decoration: none;
    position: relative;
}

/* The Huge Number (2.5x Text Size) */
.menu-num {
    font-family: 'Playfair Display', serif;
    font-size: 3rem; /* Huge Font */
    line-height: 1;
    color: #e2e8f0; /* Light Grey for background effect */
    margin-right: 15px;
    font-weight: 700;
    transition: color 0.3s ease, transform 0.3s ease;
    width: 60px; /* Fixed width for alignment */
}

/* The Menu Text */
.menu-text {
    font-family: 'Lato', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #333;
    position: relative;
    top: 5px; /* Visual alignment with big number */
    transition: color 0.3s ease;
}

/* Hover Effects */
.premium-menu a:hover .menu-num {
    color: var(--primary-light); /* Uses the lighter #EA964C */
    transform: translateX(-5px);
}

.premium-menu a:hover .menu-text {
    color: #C08945;
}

/* 5. Premium Footer / Follow Us Button */
.sidebar-footer {
    padding: 30px;
    background: #fff;
    border-top: 1px solid #f0f0f0;
}

.sidebar-footer p {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #a0aec0;
    text-align: center;
    margin-bottom: 15px;
    font-weight: 700;
}

/* Social Buttons Container */
.social-row {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* Premium Icon Buttons */
.social-row a {
    width: 45px;
    height: 45px;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2d3748;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-row a:hover {
    background: #C08945;
    border-color: #C08945;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(192, 137, 69, 0.3);
}

/* 6. Overlay Background */
.overlay {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 1500;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.overlay.active {
    display: block;
    opacity: 1;
}