/* CSS Reset & Variables */
:root {
    --primary: #007bff;
    --primary-dark: #0056b3;
    --text-main: #333;
    --text-light: #666;
    --bg-light: #f4f7f6;
    --bg-dark: #111;
    --white: #fff;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-main);
    background: var(--bg-light);
    line-height: 1.6;
}

* {
    box-sizing: border-box;
}

/* Typography */
h1,
h2,
h3 {
    margin-top: 0;
    font-weight: 700;
    color: #111;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Layout Utilities */
.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 10%;
}

@media (min-width: 1000px) {
    .container {
        padding: 0 11vw;
    }
}

.section {
    padding: 80px 0;
}

.section-light {
    background: var(--white);
}

.section-dark {
    background: #222;
    color: var(--white);
}

.section-dark h1,
.section-dark h2,
.section-dark h3 {
    color: var(--white);
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* Components */
.btn {
    display: inline-block;
    padding: 12px 28px;
    background: var(--primary);
    color: var(--white);
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    border: none;
}

.btn:hover {
    background: var(--primary-dark);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

/* Header */
.site-header {
    background: transparent;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 96px;
}

body.archive .site-header,
body.single .site-header {
    position: sticky;
    background: rgba(1, 8, 24, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.site-branding-logos {
    display: flex;
    align-items: center;
}

.logo-main {
    height: 84px;
    display: flex;
    align-items: center;
    padding: 8px 0;
}

.logo-main img {
    height: 100%;
    width: auto;
    max-width: 100%;
}

.logo-divider {
    width: 1px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 0 25px;
}

.logo-anniversary {
    height: 84px;
    display: flex;
    align-items: center;
    padding: 16px 0;
}

.logo-anniversary img {
    height: 100%;
    width: auto;
    max-width: 100%;
}

.header-right {
    position: fixed;
    top: 22px;
    right: calc(10% - (10% - 15px) * var(--scroll-progress, 0));
    z-index: 10001;
    display: flex;
    align-items: center;
    transition: right 0.1s ease-out;
}

@media (min-width: 1000px) {
    .header-right {
        right: calc(11vw - (11vw - 15px) * var(--scroll-progress, 0));
    }
}

@media (min-width: 1025px) {
    .header-right {
        right: calc(11vw - (11vw - 13px) * var(--scroll-progress, 0));
    }
}

@media (min-width: 1201px) {
    .header-right {
        right: calc(11vw - (11vw - 28px) * var(--scroll-progress, 0));
    }
}

.menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: #ff9900;
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 101;
}

.menu-toggle:hover,
.menu-toggle.is-active {
    background: rgba(255, 255, 255, 0.1);
}

.hamburger-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.hamburger-icon svg {
    width: 100%;
    height: 100%;
}

.menu-toggle.is-active .hamburger-icon {
    transform: rotate(90deg);
}

.main-navigation {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    background: #010818;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 0;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    min-width: 250px;
    border: 1px solid rgba(255,255,255,0.1);
    z-index: 10002;
}

.main-navigation.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-navigation a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    padding: 12px 30px;
    width: 100%;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.main-navigation a:hover,
.main-navigation a.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    border-left-color: #ff6a00;
}


/* Card */
.card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.card-img {
    width: 100%;
    height: 220px;
    background: #e0e0e0;
    display: block;
    object-fit: cover;
}

.card-content {
    padding: 30px;
}

.card-title {
    font-size: 22px;
    margin-bottom: 15px;
}

.card-title a {
    color: #111;
}

.card-title a:hover {
    color: var(--primary);
}

.card-excerpt {
    color: var(--text-light);
    margin-bottom: 25px;
    font-size: 15px;
}
