/* header.css */

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Header Styles */
.pint-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(192, 192, 192, 0.3);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pint-header.pint-header-scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.12);
    border-bottom-color: rgba(192, 192, 192, 0.5);
}

.pint-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.pint-nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    position: relative;
}

/* Logo Styles */
.pint-logo {
    flex-shrink: 0;
}

.pint-logo-text {
    font-size: 1.75rem;
    font-weight: 800;
    color: #2c2c2c;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #2c2c2c 0%, #5a5a5a 50%, #c0c0c0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    transition: all 0.3s ease;
}

.pint-logo-text::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #c0c0c0, #5a5a5a);
    transition: width 0.3s ease;
}

.pint-logo:hover .pint-logo-text::before {
    width: 100%;
}

/* Navigation Styles */
.pint-nav {
    display: flex;
    align-items: center;
}

.pint-nav-list {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
}

.pint-nav-item {
    position: relative;
}

.pint-nav-link {
    text-decoration: none;
    color: #5a5a5a;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.2px;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    position: relative;
}

.pint-nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #c0c0c0, #5a5a5a);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.pint-nav-link:hover {
    color: #2c2c2c;
}

.pint-nav-link:hover::before {
    width: 100%;
}

.pint-nav-link:active {
    transform: translateY(1px);
}

/* CTA Button Styles */
.pint-cta-nav {
    flex-shrink: 0;
}

.pint-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.pint-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.pint-btn:hover::before {
    left: 100%;
}

.pint-btn-primary {
    background: linear-gradient(135deg, #5a5a5a 0%, #2c2c2c 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(44, 44, 44, 0.2);
    border: 1px solid rgba(44, 44, 44, 0.1);
}

.pint-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(44, 44, 44, 0.3);
    background: linear-gradient(135deg, #2c2c2c 0%, #5a5a5a 100%);
}

.pint-btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(44, 44, 44, 0.2);
}

/* Mobile Toggle Styles */
.pint-mobile-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 28px;
    height: 20px;
    justify-content: space-between;
    position: relative;
    z-index: 1001;
}

.pint-toggle-bar {
    display: block;
    height: 2px;
    width: 100%;
    background: linear-gradient(90deg, #2c2c2c, #5a5a5a);
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
}

/* Mobile Styles */
@media (max-width: 968px) {
    .pint-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
        transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        z-index: 999;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .pint-nav.pint-nav-active {
        right: 0;
    }

    .pint-nav-list {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
        width: 100%;
        padding: 2rem;
    }

    .pint-nav-link {
        font-size: 1.2rem;
        padding: 0.75rem 0;
        display: block;
    }

    .pint-nav-link::before {
        bottom: 0.5rem;
    }

    .pint-cta-nav {
        display: none;
    }

    .pint-mobile-toggle {
        display: flex;
    }

    .pint-mobile-toggle.pint-toggle-active .pint-toggle-bar:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
        background: #2c2c2c;
    }

    .pint-mobile-toggle.pint-toggle-active .pint-toggle-bar:nth-child(2) {
        opacity: 0;
        transform: translateX(-10px);
    }

    .pint-mobile-toggle.pint-toggle-active .pint-toggle-bar:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
        background: #2c2c2c;
    }

    /* Mobile overlay */
    .pint-nav::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: -1;
    }

    .pint-nav.pint-nav-active::before {
        opacity: 1;
        visibility: visible;
    }
}

/* Tablet Styles */
@media (max-width: 768px) {
    .pint-container {
        padding: 0 20px;
    }

    .pint-logo-text {
        font-size: 1.5rem;
    }

    .pint-nav {
        width: 250px;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .pint-container {
        padding: 0 16px;
    }

    .pint-nav-wrapper {
        padding: 0.75rem 0;
    }

    .pint-logo-text {
        font-size: 1.35rem;
    }

    .pint-nav {
        width: 100%;
        right: -100%;
    }

    .pint-nav-list {
        gap: 1.5rem;
    }
}

/* Animation for header elements */
@keyframes pintFadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pint-header .pint-nav-wrapper > * {
    animation: pintFadeInDown 0.6s ease-out;
}

.pint-header .pint-logo {
    animation-delay: 0.1s;
}

.pint-header .pint-nav {
    animation-delay: 0.2s;
}

.pint-header .pint-cta-nav {
    animation-delay: 0.3s;
}

/* Focus styles for accessibility */
.pint-nav-link:focus,
.pint-btn:focus {
    outline: 2px solid #5a5a5a;
    outline-offset: 2px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .pint-header,
    .pint-nav-link,
    .pint-btn,
    .pint-toggle-bar {
        transition: none;
    }
    
    .pint-btn::before {
        display: none;
    }
}