/* Miles & Moon - Luxury Sidebar Layout */

/* Ortica fonts are now defined in main style.css */

/* Reset for new layout */
@media (min-width: 1024px) {
    /* Override existing header */
    .site-header {
        display: none !important;
    }
    
    /* Body reset */
    body {
        padding-top: 0 !important;
        display: flex;
        margin: 0;
        overflow-x: hidden;
    }
    
    /* Sophisticated Luxury Sidebar */
    .luxury-sidebar {
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        width: 420px;
        background: var(--gradient-platinum-silk);
        backdrop-filter: var(--backdrop-platinum);
        -webkit-backdrop-filter: var(--backdrop-platinum);
        border-right: 1px solid rgba(120, 128, 136, 0.06);
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 2rem 2rem 1.5rem;
        z-index: 1000;
        overflow: hidden; /* No scrolling */
        box-shadow: var(--shadow-depth);
    }
    
    /* Sophisticated background texture */
    .luxury-sidebar::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: 
            var(--gradient-glow-warm),
            var(--gradient-iridescence-subtle),
            var(--gradient-silk-texture);
        opacity: 0.6;
        pointer-events: none;
    }
    
    /* Logo link wrapper */
    .sidebar-logo-link {
        display: block;
        text-decoration: none;
    }
    
    /* Massive logo - reduced size to fit without scrolling */
    .sidebar-logo {
        width: 200px;
        height: 200px;
        margin-bottom: 1rem;
        position: relative;
        z-index: 2;
        opacity: 0.85;
        transition: opacity 0.6s cubic-bezier(0.23, 1, 0.32, 1);
        flex-shrink: 0;
    }
    
    .sidebar-logo:hover {
        opacity: 1;
    }
    
    /* Sidebar navigation */
    .sidebar-nav {
        width: 100%;
        position: relative;
        z-index: 2;
        padding: 0 3rem;
        flex-shrink: 0;
    }
    
    .sidebar-nav ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .sidebar-nav li {
        margin-bottom: 0.2rem; /* Reduced margin */
    }
    
    .sidebar-link {
        display: block;
        padding: 0.3rem 0; /* Reduced padding */
        font-family: 'OrticaLinear', var(--font-navigation);
        font-size: 0.95rem; /* Smaller font */
        font-weight: 400;
        font-style: italic;
        letter-spacing: 0.02em;
        text-transform: none;
        color: var(--color-black);
        text-decoration: none;
        position: relative;
        transition: color 0.3s ease;
    }
    
    /* Active state hyphen */
    .sidebar-link::after {
        content: ' —';
        position: absolute;
        right: -0.3rem;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .sidebar-link:hover {
        color: rgba(154, 121, 41, 0.7);
    }
    
    .sidebar-link.active {
        color: var(--color-black);
    }
    
    .sidebar-link.active::after {
        opacity: 1;
    }
    
    .sidebar-link.primary {
        font-style: normal;
        margin: 0.5rem 0;
    }
    
    /* Account icon in sidebar */
    .sidebar-link.account-link {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
    }
    
    .sidebar-link.account-link svg {
        width: 14px;
        height: 14px;
        stroke-width: 1.5;
    }
    
    /* Sidebar footer - reduced size */
    .sidebar-footer {
        margin-top: 0.5rem;
        padding: 0.5rem 1rem 0.8rem;
        width: 100%;
        text-align: center;
        flex-shrink: 0;
    }
    
    .sidebar-footer-links {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.8rem;
        margin-bottom: 0.6rem;
        font-size: 0.65rem;
    }
    
    .sidebar-footer-links a {
        font-family: var(--font-sans);
        color: rgba(74, 74, 74, 0.8);
        text-decoration: none;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        transition: color 0.3s ease;
    }
    
    .sidebar-footer-links a:hover {
        color: rgba(154, 121, 41, 0.7);
    }
    
    /* We meet at midnight - serif styling */
    .sidebar-coven-link {
        margin: 0.7rem 0 0.5rem;
    }
    
    .sidebar-coven-link a {
        font-family: var(--font-body);
        font-style: italic;
        color: rgba(74, 74, 74, 0.8);
        text-decoration: none;
        text-transform: none;
        letter-spacing: 0.02em;
        font-size: 0.8rem;
        transition: color 0.3s ease;
    }
    
    .sidebar-coven-link a:hover {
        color: var(--color-charcoal);
    }
    
    .sidebar-triple-moon {
        font-size: 0.9rem;
        color: rgba(154, 121, 41, 0.5);
        margin: 0.5rem 0 0.4rem;
        letter-spacing: 0.25rem;
    }
    
    .sidebar-footer-copyright {
        font-family: var(--font-sans);
        font-size: 0.6rem;
        color: rgba(74, 74, 74, 0.3);
        letter-spacing: 0.05em;
    }
    
    /* Main content area - ensure it works with viewport sections */
    .main-content, main {
        margin-left: 420px !important;
        width: calc(100% - 420px) !important;
        height: 100vh;
        position: relative;
        background: var(--color-cream);
        overflow: hidden; /* No scrolling */
    }
    
    /* Ensure viewport sections work within the sidebar layout */
    .viewport-section {
        width: 100% !important;
        max-width: none !important;
    }
    
    .viewport-inner {
        max-width: 1200px !important;
        margin: 0 auto !important;
    }
    
    /* Hide regular footer on desktop */
    .site-footer,
    #footer-placeholder {
        display: none !important;
    }
    
    /* Content transitions */
    .content-panel {
        opacity: 0;
        transform: translateX(20px);
        transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    }
    
    .content-panel.active {
        opacity: 1;
        transform: translateX(0);
    }
    
    /* Remove all star decorations for minimalist aesthetic */
}

/* Responsive - tablet and below keeps original layout */
@media (max-width: 1023px) {
    .luxury-sidebar {
        display: none !important;
    }
    
    .main-content {
        margin-left: 0 !important;
        width: 100% !important;
    }
}