/* ===== Header Styles ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 16px 0;
}

.site-header.scrolled {
    border-bottom-color: var(--color-beige);
    box-shadow: 0 2px 20px rgba(61, 52, 40, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-soft-black);
    display: flex;
    align-items: center;
    gap: 6px;
}

.logo-crown {
    color: var(--color-champagne);
    font-size: 1.2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--color-soft-black);
    transition: color 0.3s var(--transition);
    position: relative;
}

.nav-menu a:hover,
.nav-menu .current-menu-item a {
    color: var(--color-champagne);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-champagne);
    transition: width 0.3s var(--transition);
}

.nav-menu a:hover::after,
.nav-menu .current-menu-item a::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.9rem;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-soft-black);
    transition: all 0.3s var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: var(--color-ivory);
    z-index: 1001;
    padding: 80px 32px 32px;
    transition: right 0.3s var(--transition);
    box-shadow: -4px 0 20px rgba(0,0,0,0.1);
}

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

.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s var(--transition);
}

.mobile-nav-overlay.active {
    display: block;
    opacity: 1;
}

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

.mobile-nav-menu li {
    margin-bottom: 20px;
}

.mobile-nav-menu a {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-soft-black);
}

@media (max-width: 992px) {
    .nav-menu {
        display: none;
    }
    .mobile-menu-toggle {
        display: flex;
    }
    .header-actions .btn {
        display: none;
    }
}

/* ===== Footer Styles ===== */
.site-footer {
    background: var(--color-deep-brown);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    color: var(--color-white);
    font-size: 1.3rem;
    margin-bottom: 12px;
    display: inline-block;
}

.footer-tagline {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--color-white);
    font-size: 1rem;
    font-family: var(--font-body);
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--color-champagne);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.7);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    color: rgba(255,255,255,0.5);
    transition: color 0.3s;
}

.footer-social a:hover {
    color: var(--color-champagne);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Hero Section ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 0 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(61,52,40,0.7) 0%, rgba(61,52,40,0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero-content h1 {
    color: var(--color-white);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 16px;
    font-weight: 400;
}

.hero-desc {
    font-size: 1rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ===== OEM Steps ===== */
.oem-steps {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin: 40px 0;
}

.oem-step {
    text-align: center;
    padding: 24px 16px;
    min-width: 120px;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-champagne);
    margin-bottom: 8px;
}

.oem-step h4 {
    font-size: 0.95rem;
    font-family: var(--font-body);
    font-weight: 500;
}

/* ===== Page Hero ===== */
.page-hero {
    padding-top: 140px;
}

.page-hero h1 {
    margin-bottom: 8px;
}

.page-hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-warm-gray);
}

/* ===== Single Post ===== */
.single-header {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
}

.single-meta {
    display: flex;
    justify-content: center;
    gap: 16px;
    font-size: 0.9rem;
    color: var(--color-warm-gray);
    margin-top: 12px;
}

.single-featured {
    max-width: 900px;
    margin: 0 auto 40px;
}

.single-featured img {
    border-radius: var(--radius);
    width: 100%;
}

.single-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.8;
}

.single-content p {
    margin-bottom: 1.5rem;
}

/* ===== Pagination ===== */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.pagination .nav-links {
    display: flex;
    gap: 8px;
    list-style: none;
}

.pagination .nav-links a,
.pagination .nav-links span {
    padding: 8px 16px;
    border: 1px solid var(--color-beige);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--color-soft-black);
    transition: all 0.3s;
}

.pagination .nav-links a:hover,
.pagination .nav-links .current {
    background: var(--color-champagne);
    color: var(--color-white);
    border-color: var(--color-champagne);
}

/* ===== Contact Form ===== */
.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form .form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--color-beige);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    background: var(--color-white);
    transition: border-color 0.3s;
}

.contact-form .form-control:focus {
    outline: none;
    border-color: var(--color-champagne);
}

.contact-form select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238A8178' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}
