/* ==================== MOD CRAFT - VERTEX DESIGN THEME ==================== */
/* Black-and-white minimalist style with thin line dividers and elegant serif typography */

/* ==================== ROOT VARIABLES ==================== */
:root {
    --primary-black: #1a1a1a;
    --primary-white: #ffffff;
    --background-light: #f5f5f5;
    --text-dark: #2a2a2a;
    --text-light: #666666;
    --border-color: #e0e0e0;
    --accent-gold: #d4af37;
    --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.12);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================== RESET & BASE STYLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Merriweather', serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--primary-white);
    overflow-x: hidden;
}

/* ==================== TYPOGRAPHY ==================== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Lora', serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary-black);
    letter-spacing: 0.5px;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.25rem;
    color: var(--text-light);
    font-size: clamp(0.9rem, 1.8vw, 1rem);
}

a {
    color: var(--primary-black);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--accent-gold);
}

/* ==================== NAVIGATION ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--primary-white);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-light);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 2rem);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Lora', serif;
    font-weight: 700;
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--primary-black);
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: clamp(1rem, 3vw, 2.5rem);
    align-items: center;
}

.nav-link {
    color: var(--primary-black);
    font-weight: 600;
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 0.5rem;
    transition: var(--transition-smooth);
    font-family: 'Lora', serif;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--accent-gold);
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 0.4rem;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--primary-black);
    border-radius: 1px;
    transition: var(--transition-smooth);
}

/* ==================== MAIN CONTENT ==================== */
.main-content {
    margin-top: 70px;
}

.section {
    position: relative;
    padding: clamp(3rem, 8vw, 6rem) 0;
    overflow: hidden;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 2rem);
}

/* ==================== HERO SECTION ==================== */
.hero-section {
    background: var(--primary-black);
    color: var(--primary-white);
    text-align: center;
    padding: clamp(4rem, 10vw, 8rem) 0;
    position: relative;
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    color: var(--primary-white);
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1rem;
    letter-spacing: 3px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.1rem);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.85);
}

.cta-button {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: var(--accent-gold);
    color: var(--primary-black);
    border: 2px solid var(--accent-gold);
    border-radius: 2px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    letter-spacing: 1px;
    font-family: 'Lora', serif;
}

.cta-button:hover {
    background: transparent;
    color: var(--accent-gold);
    text-decoration: none;
}

/* ==================== WAVE DIVIDER ==================== */
.wave-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 100px;
    color: var(--background-light);
    animation: wave 3s linear infinite;
}

.hero-section .wave-divider {
    color: var(--primary-white);
}

.article-section .wave-divider {
    color: var(--background-light);
}

.about-section .wave-divider {
    color: var(--primary-white);
}

.contact-section .wave-divider {
    color: var(--background-light);
}

@keyframes wave {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(100px);
    }
}

/* ==================== ARTICLE SECTION ==================== */
.article-section {
    background: var(--primary-white);
    padding-top: 4rem;
}

.article-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 2rem);
}

.article-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.article-title {
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    color: var(--primary-black);
    margin-bottom: 0.75rem;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.article-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: var(--text-light);
    font-family: 'Lora', serif;
}

.meta-date::before,
.meta-category::before {
    content: '◆ ';
    color: var(--accent-gold);
    margin-right: 0.5rem;
}

.article-body {
    line-height: 1.85;
}

.article-body h3 {
    color: var(--primary-black);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.25rem;
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
}

.article-body p {
    margin-bottom: 1.25rem;
    text-align: left;
    color: var(--text-light);
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    word-spacing: 0.05em;
}

.article-link {
    color: var(--primary-black);
    font-weight: 600;
    position: relative;
    text-decoration: none;
}

.article-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.article-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.article-link:hover {
    color: var(--accent-gold);
}

/* ==================== ABOUT SECTION ==================== */
.about-section {
    background: var(--background-light);
    padding-top: 4rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--primary-black);
    letter-spacing: 0.5px;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.about-card {
    background: var(--primary-white);
    padding: 2rem;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition-smooth);
    animation: fadeInUp 0.6s ease-out;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--accent-gold);
}

.card-icon {
    font-size: 2rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.about-card h3 {
    color: var(--primary-black);
    margin-bottom: 1rem;
    font-size: 1.25rem;
    margin-top: 0;
    border: none;
    padding: 0;
}

.about-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ==================== CONTACT SECTION ==================== */
.contact-section {
    background: var(--primary-white);
    padding-top: 4rem;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info {
    background: var(--primary-black);
    color: var(--primary-white);
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.contact-info h3 {
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    margin-top: 0;
}

.contact-info p {
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

.contact-info a {
    color: var(--accent-gold);
    font-weight: 600;
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--primary-black);
    font-size: 0.95rem;
    font-family: 'Lora', serif;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 2px;
    font-family: 'Merriweather', serif;
    font-size: 1rem;
    transition: var(--transition-smooth);
    background: var(--primary-white);
    color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.1);
}

.submit-btn {
    padding: 0.75rem 2rem;
    background: var(--primary-black);
    color: var(--accent-gold);
    border: 2px solid var(--accent-gold);
    border-radius: 2px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    letter-spacing: 1px;
    font-family: 'Lora', serif;
}

.submit-btn:hover {
    background: var(--accent-gold);
    color: var(--primary-black);
}

.submit-btn:active {
    transform: translateY(0);
}

/* ==================== PRIVACY SECTION ==================== */
.privacy-section {
    background: var(--background-light);
    padding-top: 4rem;
}

.privacy-content {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--primary-white);
    padding: clamp(1.5rem, 3vw, 2rem);
    border: 1px solid var(--border-color);
}

.privacy-content h3 {
    color: var(--primary-black);
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.privacy-content p {
    margin-bottom: 1rem;
    text-align: justify;
}

.privacy-content ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.privacy-content li {
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

.privacy-content a {
    color: var(--primary-black);
    font-weight: 600;
}

.privacy-content a:hover {
    color: var(--accent-gold);
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--primary-black);
    color: var(--primary-white);
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 2rem);
}

.footer-content {
    margin-bottom: 1rem;
}

.footer-content p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-link {
    color: var(--accent-gold);
    font-weight: 600;
    transition: var(--transition-smooth);
    font-family: 'Lora', serif;
}

.footer-link:hover {
    color: var(--primary-white);
    text-decoration: none;
}

/* ==================== SCROLL TO TOP BUTTON ==================== */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-black);
    color: var(--accent-gold);
    border: 2px solid var(--accent-gold);
    border-radius: 2px;
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-medium);
    transition: var(--transition-smooth);
    z-index: 999;
    font-weight: 700;
}

.scroll-to-top.show {
    display: flex;
}

.scroll-to-top:hover {
    background: var(--accent-gold);
    color: var(--primary-black);
    transform: translateY(-3px);
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 1024px) {
    .article-body p {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--primary-white);
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
        display: none;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-link {
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-link::after {
        display: none;
    }

    .nav-link.active {
        color: var(--accent-gold);
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .scroll-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .nav-brand {
        font-size: 0.9rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section {
        padding: 2rem 0;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .about-grid {
        gap: 1.5rem;
    }

    .about-card {
        padding: 1.5rem;
    }

    .contact-info {
        padding: 1.5rem;
    }

    .privacy-content {
        padding: 1.5rem;
    }

    .footer-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .scroll-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }

    .article-body {
        text-align: left;
    }

    .article-body p {
        font-size: 0.9rem;
    }

    .privacy-content p {
        text-align: left;
    }
}

/* ==================== PRINT STYLES ==================== */
@media print {
    .navbar,
    .scroll-to-top {
        display: none;
    }

    .section {
        page-break-inside: avoid;
    }
}
