/* politics.day - McBling Monochrome Design */
/* Colors: #111111, #2d2d2d, #5c5c5c, #8a8a8a, #c4c4c4, #e8e8e8, #f5f5f5, #ffffff */
/* Fonts: Cormorant Garamond, Merriweather, Bodoni Moda */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Merriweather', Georgia, serif;
    color: #111111;
    background-color: #f5f5f5;
    overflow-x: hidden;
    line-height: 1.6;
}

/* ========== SPARKLE CONTAINER ========== */
#sparkle-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.sparkle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #c4c4c4;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    animation: twinkle 2s ease-in-out infinite;
    opacity: 0;
}

@keyframes twinkle {
    0%, 100% { opacity: 0; transform: scale(0.5) rotate(0deg); }
    50% { opacity: 0.8; transform: scale(1.2) rotate(180deg); }
}

/* ========== DIAMOND ORNAMENTS ========== */
.diamond-ornament {
    width: 20px;
    height: 20px;
    background: #c4c4c4;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    margin: 16px auto;
}

.diamond-ornament-sm {
    width: 12px;
    height: 12px;
    background: #8a8a8a;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    margin: 0 auto 20px;
}

.diamond-ornament-light {
    background: #c4c4c4;
}

/* ========== HERO SECTION ========== */
#hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #111111;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(17,17,17,0.3) 0%, rgba(17,17,17,0.8) 100%);
    z-index: 2;
}

.hex-pattern-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.15;
    background-image:
        linear-gradient(30deg, #5c5c5c 12%, transparent 12.5%, transparent 87%, #5c5c5c 87.5%, #5c5c5c),
        linear-gradient(150deg, #5c5c5c 12%, transparent 12.5%, transparent 87%, #5c5c5c 87.5%, #5c5c5c),
        linear-gradient(30deg, #5c5c5c 12%, transparent 12.5%, transparent 87%, #5c5c5c 87.5%, #5c5c5c),
        linear-gradient(150deg, #5c5c5c 12%, transparent 12.5%, transparent 87%, #5c5c5c 87.5%, #5c5c5c),
        linear-gradient(60deg, #2d2d2d 25%, transparent 25.5%, transparent 75%, #2d2d2d 75%, #2d2d2d),
        linear-gradient(60deg, #2d2d2d 25%, transparent 25.5%, transparent 75%, #2d2d2d 75%, #2d2d2d);
    background-size: 80px 140px;
    background-position: 0 0, 0 0, 40px 70px, 40px 70px, 0 0, 40px 70px;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 20px;
}

.hero-content .diamond-ornament {
    background: #8a8a8a;
}

.hero-title {
    font-family: 'Bodoni Moda', 'Cormorant Garamond', serif;
    font-size: clamp(3.5rem, 8vw, 7rem);
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.03em;
    line-height: 1.1;
    text-transform: lowercase;
}

.title-dot {
    color: #c4c4c4;
}

.hero-tagline {
    font-family: 'Merriweather', serif;
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    font-weight: 300;
    color: #8a8a8a;
    margin-top: 16px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    text-align: center;
    color: #5c5c5c;
    font-family: 'Merriweather', serif;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid #5c5c5c;
    border-bottom: 2px solid #5c5c5c;
    transform: rotate(45deg);
    margin: 10px auto 0;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50% { transform: rotate(45deg) translateY(8px); }
}

/* ========== NAVIGATION ========== */
#main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #2d2d2d;
    transform: translateY(-100%);
    transition: transform 0.4s ease;
}

#main-nav.nav-visible {
    transform: translateY(0);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: 'Bodoni Moda', 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: -0.02em;
}

.nav-dot {
    color: #c4c4c4;
}

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

.nav-links a {
    font-family: 'Merriweather', serif;
    font-size: 0.8rem;
    color: #8a8a8a;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #ffffff;
}

/* ========== SECTIONS ========== */
.section {
    padding: 100px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-dark {
    background: #111111;
    max-width: 100%;
    padding-left: 40px;
    padding-right: 40px;
}

.section-dark > * {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 600;
    color: #111111;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-title-light {
    color: #ffffff;
}

.section-subtitle {
    font-family: 'Merriweather', serif;
    font-size: 0.9rem;
    color: #5c5c5c;
    margin-top: 12px;
    font-weight: 300;
}

.section-subtitle-light {
    color: #8a8a8a;
}

/* ========== HEXAGONAL GRID ========== */
.hex-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 20px 0;
}

.hex-card {
    perspective: 1000px;
    cursor: pointer;
}

.hex-card:nth-child(even) {
    margin-top: 60px;
}

.hex-card-inner {
    position: relative;
    width: 100%;
    padding-bottom: 115%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.hex-card.flipped .hex-card-inner {
    transform: rotateY(180deg);
}

.hex-card-front,
.hex-card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 30px;
    text-align: center;
}

.hex-card-front {
    background: linear-gradient(135deg, #e8e8e8 0%, #f5f5f5 50%, #ffffff 100%);
    border: none;
}

.hex-card-back {
    background: linear-gradient(135deg, #2d2d2d 0%, #111111 100%);
    transform: rotateY(180deg);
    color: #e8e8e8;
}

.hex-card-category {
    font-family: 'Merriweather', serif;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #8a8a8a;
    margin-bottom: 12px;
}

.hex-card-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1rem, 1.5vw, 1.4rem);
    font-weight: 600;
    color: #111111;
    line-height: 1.3;
    margin-bottom: 16px;
}

.hex-card-meta {
    margin-top: auto;
}

.hex-card-time {
    font-family: 'Merriweather', serif;
    font-size: 0.7rem;
    color: #8a8a8a;
}

.hex-sparkle {
    position: absolute;
    top: 30%;
    right: 20%;
    width: 8px;
    height: 8px;
    background: #c4c4c4;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    animation: twinkle 3s ease-in-out infinite;
    opacity: 0;
}

.hex-card-back p {
    font-family: 'Merriweather', serif;
    font-size: 0.8rem;
    line-height: 1.7;
    color: #c4c4c4;
    margin-bottom: 16px;
}

.hex-card-read-more {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: auto;
}

/* ========== LATEST SECTION ========== */
.latest-grid {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.latest-card {
    display: flex;
    align-items: flex-start;
    padding: 32px 40px;
    background: #2d2d2d;
    transition: background 0.3s ease, transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.latest-card:hover {
    background: #5c5c5c;
    transform: translateX(8px);
}

.latest-card-time {
    font-family: 'Bodoni Moda', 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #5c5c5c;
    min-width: 100px;
    line-height: 1;
    transition: color 0.3s ease;
}

.latest-card:hover .latest-card-time {
    color: #c4c4c4;
}

.latest-card-content {
    flex: 1;
}

.latest-card-tag {
    display: inline-block;
    font-family: 'Merriweather', serif;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #111111;
    background: #c4c4c4;
    padding: 3px 10px;
    margin-bottom: 10px;
}

.latest-card-content h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 8px;
}

.latest-card-content p {
    font-family: 'Merriweather', serif;
    font-size: 0.8rem;
    color: #8a8a8a;
    line-height: 1.6;
}

.latest-card-sparkle {
    position: absolute;
    top: 20px;
    right: 30px;
    width: 10px;
    height: 10px;
    background: #5c5c5c;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    animation: twinkle 4s ease-in-out infinite;
    opacity: 0;
}

/* ========== ANALYSIS SECTION ========== */
.analysis-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.analysis-card-large {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    overflow: hidden;
}

.analysis-card {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.analysis-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(17, 17, 17, 0.1);
}

.analysis-card-image {
    overflow: hidden;
}

.analysis-card-image svg {
    width: 100%;
    height: 100%;
    display: block;
    filter: grayscale(1);
}

.analysis-card-body {
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.analysis-card-label {
    font-family: 'Merriweather', serif;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #8a8a8a;
    margin-bottom: 16px;
}

.analysis-card-body h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #111111;
    line-height: 1.3;
    margin-bottom: 16px;
}

.analysis-card-large .analysis-card-body h3 {
    font-size: 2rem;
}

.analysis-card-body p {
    font-family: 'Merriweather', serif;
    font-size: 0.85rem;
    color: #5c5c5c;
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

.analysis-card-author {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #8a8a8a;
    font-style: italic;
}

/* ========== OPINION SECTION ========== */
.opinion-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.opinion-card {
    background: #2d2d2d;
    padding: 40px;
    border-left: 3px solid #5c5c5c;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.opinion-card:hover {
    border-color: #c4c4c4;
    transform: translateY(-4px);
}

.opinion-card-quote {
    font-family: 'Bodoni Moda', 'Cormorant Garamond', serif;
    font-size: 4rem;
    color: #5c5c5c;
    line-height: 0.8;
    margin-bottom: 16px;
}

.opinion-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 16px;
}

.opinion-card p {
    font-family: 'Merriweather', serif;
    font-size: 0.8rem;
    color: #8a8a8a;
    line-height: 1.7;
    margin-bottom: 24px;
}

.opinion-card-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.opinion-avatar {
    width: 40px;
    height: 40px;
    background: #5c5c5c;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.opinion-name {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #e8e8e8;
}

.opinion-role {
    display: block;
    font-family: 'Merriweather', serif;
    font-size: 0.7rem;
    color: #5c5c5c;
}

/* ========== FOOTER ========== */
#site-footer {
    background: #111111;
    position: relative;
    overflow: hidden;
}

.footer-hex-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    background-image:
        linear-gradient(30deg, #5c5c5c 12%, transparent 12.5%, transparent 87%, #5c5c5c 87.5%, #5c5c5c),
        linear-gradient(150deg, #5c5c5c 12%, transparent 12.5%, transparent 87%, #5c5c5c 87.5%, #5c5c5c),
        linear-gradient(30deg, #5c5c5c 12%, transparent 12.5%, transparent 87%, #5c5c5c 87.5%, #5c5c5c),
        linear-gradient(150deg, #5c5c5c 12%, transparent 12.5%, transparent 87%, #5c5c5c 87.5%, #5c5c5c),
        linear-gradient(60deg, #2d2d2d 25%, transparent 25.5%, transparent 75%, #2d2d2d 75%, #2d2d2d),
        linear-gradient(60deg, #2d2d2d 25%, transparent 25.5%, transparent 75%, #2d2d2d 75%, #2d2d2d);
    background-size: 80px 140px;
    background-position: 0 0, 0 0, 40px 70px, 40px 70px, 0 0, 40px 70px;
}

.footer-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 40px 40px;
}

.footer-brand {
    text-align: center;
    margin-bottom: 60px;
}

.footer-logo {
    font-family: 'Bodoni Moda', 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.03em;
}

.footer-dot {
    color: #c4c4c4;
}

.footer-tagline {
    font-family: 'Merriweather', serif;
    font-size: 0.85rem;
    color: #5c5c5c;
    margin-top: 8px;
    font-weight: 300;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid #2d2d2d;
}

.footer-col h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 8px;
}

.footer-col a {
    font-family: 'Merriweather', serif;
    font-size: 0.8rem;
    color: #5c5c5c;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: #c4c4c4;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
}

.footer-bottom p {
    font-family: 'Merriweather', serif;
    font-size: 0.75rem;
    color: #5c5c5c;
    margin-top: 16px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .hex-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hex-card:nth-child(even) {
        margin-top: 40px;
    }
    .opinion-grid {
        grid-template-columns: 1fr 1fr;
    }
    .analysis-card-large {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 20px;
    }
    .section-dark {
        padding-left: 20px;
        padding-right: 20px;
    }
    .hex-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .hex-card:nth-child(even) {
        margin-top: 0;
    }
    .hex-card-inner {
        padding-bottom: 100%;
    }
    .latest-card {
        flex-direction: column;
        padding: 24px;
    }
    .latest-card-time {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }
    .analysis-grid {
        grid-template-columns: 1fr;
    }
    .opinion-grid {
        grid-template-columns: 1fr;
    }
    .nav-links {
        gap: 16px;
    }
    .nav-links a {
        font-size: 0.7rem;
    }
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ========== SCROLL ANIMATIONS ========== */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}
