/* ============================================
   CSS Variables
   ============================================ */
:root {
    --primary-color: #301C50;
    --primary-hover: #9747FF;
    --text-color: #4C4C4C;
    --text-dark: #323030;
    --padding-standard: 30px;
    --max-width: 1920px;
    --header-height: 80px;
    --header-height-mobile: 60px;
    --transition-speed: 0.3s;
    
    /* Notification colors */
    --success-color: #4CAF50;
    --info-color: #2196F3;
    --warning-color: #FF9800;
    --error-color: #F44336;
    }
    
/* ============================================
   Container
   ============================================ */
.container {
    max-width: var(--max-width);
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--padding-standard);
    box-sizing: border-box;
}

/* ============================================
   Site Header
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: var(--header-height);
    display: flex;
    align-items: center;
    background: transparent;
    transition: all var(--transition-speed) ease;
    z-index: 1000;
    opacity: 0;
    transform: translateY(-20px);
}

.site-header.visible {
    opacity: 1;
    transform: translateY(0);
}

.site-header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.site-header.header-hidden {
    transform: translateY(-100%);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 100%;
}

/* ============================================
   Logo
   ============================================ */
.logo {
    display: inline-flex;
    align-items: center;
    transition: transform var(--transition-speed) ease;
    margin-left: 30px;
    margin-right: 50px;
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    display: block;
    max-height: 70px;
    height: auto;
    width: auto;
}

/* ============================================
   Desktop Navigation
   ============================================ */
.desktop-nav {
    flex: none;
    display: flex;
    justify-content: flex-start;
    margin: 0;
}

.desktop-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 24px;
}

.desktop-nav ul li a {
    position: relative;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    line-height: 1;
    transition: color var(--transition-speed) ease;
}

.desktop-nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-speed) ease;
}

.desktop-nav ul li a:hover {
    color: var(--primary-color);
}

.desktop-nav ul li a:hover::after {
    width: 100%;
}

/* ============================================
   Mobile Menu Button
   ============================================ */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    width: 30px;
    height: 30px;
    position: relative;
    z-index: 1001;
    margin-left: auto;
}

.hamburger-box {
    width: 30px;
    height: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--primary-color);
    border-radius: 2px;
    position: absolute;
    transition: all var(--transition-speed) ease;
}

.hamburger-line:nth-child(1) {
    transform: translateY(-8px);
}

.hamburger-line:nth-child(2) {
    transform: translateY(0);
}

.hamburger-line:nth-child(3) {
    transform: translateY(8px);
}

/* Animated hamburger to X */
.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: translateY(0) rotate(45deg);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: translateY(0) rotate(-45deg);
}

/* ============================================
   Mobile Menu
   ============================================ */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 1002;
    transform: translateX(100%);
    transition: transform var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(48, 28, 80, 0.1);
}

.mobile-menu-logo img {
    height: 40px;
    max-height: 40px;
}

.mobile-menu-close {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    transition: color var(--transition-speed) ease;
}

.mobile-menu-close:hover {
    color: var(--primary-color);
}

.mobile-menu-nav {
    flex: 1;
    padding: 20px 0;
}

.mobile-menu-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu-nav ul li {
    margin: 0;
}

.mobile-menu-nav ul li a {
    display: block;
    padding: 15px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    transition: all var(--transition-speed) ease;
    border-left: 3px solid transparent;
}

.mobile-menu-nav ul li a:hover {
    background-color: rgba(48, 28, 80, 0.05);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
}

.mobile-menu-footer {
    padding: 20px;
    border-top: 1px solid rgba(48, 28, 80, 0.1);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-menu-phone,
.mobile-menu-email {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
    transition: color var(--transition-speed) ease;
}

.mobile-menu-phone:hover,
.mobile-menu-email:hover {
    color: var(--primary-color);
}

.mobile-menu-phone svg,
.mobile-menu-email svg {
    width: 20px;
    height: 20px;
}

/* ============================================
   Menu Overlay
   ============================================ */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-speed) ease, visibility var(--transition-speed) ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   Body State When Menu is Open
   ============================================ */
body.menu-open {
    overflow: hidden;
}

/* ============================================
   Notifications (preserved from original)
   ============================================ */
    #notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 350px;
    }
    
    .notification {
    display: flex;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    cursor: pointer;
    min-width: 280px;
    max-width: 100%;
    animation: slideIn 0.3s ease forwards;
    position: relative;
    }
    
    .notification.fade-out {
    animation: fadeOut 0.3s ease forwards;
    }
    
    @keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
    }
    
    @keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(50px);
    }
    }
    
    .notification-bar {
    width: 4px;
    margin: 5px 0 5px 5px;
    border-radius: 2px;
    }
    
    .notification-bar.success {
    background-color: var(--success-color);
    }
    
    .notification-bar.info {
    background-color: var(--info-color);
    }
    
    .notification-bar.warning {
    background-color: var(--warning-color);
    }
    
    .notification-bar.error {
    background-color: var(--error-color);
    }
    
    .notification-content {
    padding: 5px 15px 5px 10px;
    flex: 1;
    }
    
    .notification-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 16px;
    margin: 0 0 5px 0;
    }
    
    .notification-text {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: var(--text-color);
    margin: 0 0 5px 0;
    line-height: 1.4;
    }
    
/* ============================================
   Media Queries
   ============================================ */

/* Tablet (768px - 1439px) */
@media (min-width: 768px) and (max-width: 1439px) {
    :root {
        --padding-standard: 20px;
    }
    
    .site-header {
        height: 70px;
    }
    
    .logo img {
        max-height: 48px;
        height: auto;
        width: auto;
    }
    
    .desktop-nav {
        margin: 0 30px;
    }
    
    .desktop-nav ul {
        gap: 20px;
    }
    
    .desktop-nav ul li a {
        font-size: 15px;
    }
}

/* Mobile (320px - 767px) */
@media (max-width: 767px) {
    :root {
        --padding-standard: 15px;
        --header-height: var(--header-height-mobile);
    }
    
    .site-header {
        height: var(--header-height-mobile);
    }
    
    .logo img {
        height: 50px;
        width: auto;
        max-height: 50px;
    }
    
    /* Hide desktop nav, show mobile menu button */
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Adjust notification container for mobile */
    #notification-container {
        right: 10px;
        left: 10px;
        top: 70px;
        max-width: calc(100% - 20px);
    }
    
    .notification {
        width: 100%;
        min-width: auto;
    }
    }
    
/* Small Mobile (max-width: 480px) */
    @media (max-width: 480px) {
    :root {
        --padding-standard: 10px;
    }
    
    .mobile-menu {
        width: 100%;
        max-width: 100%;
    }
    
    .logo img {
        height: 45px;
        max-height: 45px;
    }
}

/* Landscape Mobile */
@media (max-height: 600px) and (orientation: landscape) {
    .mobile-menu-nav ul li a {
        padding: 10px 20px;
    }
    
    .mobile-menu-header {
        padding: 15px 20px;
    }
}

/* Print Styles */
@media print {
    .site-header {
        position: static;
        background: white;
    }
    
    .mobile-menu-btn,
    .mobile-menu,
    .menu-overlay {
        display: none !important;
    }
    
    .desktop-nav {
        display: block !important;
    }
    }