/* ===== Golden Quill Global Publishing LLC ===== */
/* Modern Multi-page Website Stylesheet */

/* === Reset & Variables === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --gold: #A67C52;
    --gold-light: #C9A66B;
    --gold-glow: rgba(166, 124, 82, 0.15);
    --charcoal: #2C2C2C;
    --dark: #1a1a1a;
    --text: #333;
    --text-light: #666;
    --text-muted: #999;
    --cream: #FAF8F5;
    --cream-dark: #F0EDE8;
    --white: #fff;
    --border: #e8e4df;
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.04);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
    --radius: 12px;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html { scroll-behavior: smooth; }

body {
    font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    line-height: 1.8;
    background: var(--white);
    font-size: 16px;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }

/* === Typography === */
h1, h2, h3, h4 {
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 500;
    color: var(--charcoal);
}

/* === Navigation === */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.2rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(0,0,0,0.06);
    padding: 0.8rem 0;
}

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

.nav-logo {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--charcoal);
    transition: var(--transition);
}

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

.nav-menu {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-menu a {
    font-size: 0.92rem;
    font-weight: 400;
    color: var(--text);
    position: relative;
    padding: 0.3rem 0;
    transition: color 0.3s;
}

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

.nav-menu a:hover { color: var(--gold); }
.nav-menu a:hover::after { width: 100%; }
.nav-menu a.active { color: var(--gold); }
.nav-menu a.active::after { width: 100%; }

/* Mobile menu toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--charcoal);
    transition: var(--transition);
}

/* === Hero Section === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: linear-gradient(160deg, var(--white) 0%, var(--cream) 50%, var(--cream-dark) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    max-width: 800px;
}

.hero-logo {
    width: 200px;
    height: auto;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeUp 1s ease 0.2s forwards;
}

.hero-badge {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUp 1s ease 0.4s forwards;
}

.hero h1 {
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUp 1s ease 0.6s forwards;
}

.hero h1 span { color: var(--gold); }

.hero-desc {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    opacity: 0;
    animation: fadeUp 1s ease 0.8s forwards;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    opacity: 0;
    animation: fadeUp 1s ease 1s forwards;
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-size: 0.92rem;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gold);
    color: white;
}

.btn-primary:hover {
    background: var(--charcoal);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--charcoal);
    border: 1.5px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
}

/* === Section === */
.section {
    padding: 6rem 2rem;
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 4rem;
}

.section-label {
    display: inline-block;
    font-size: 0.72rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
    line-height: 1.3;
}

.section-desc {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.8;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
}

/* === Division Cards (Homepage) === */
.division-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.division-card {
    position: relative;
    padding: 3rem 2.5rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
    overflow: hidden;
    text-decoration: none;
    display: block;
}

.division-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--gold);
    transition: height 0.5s ease;
}

.division-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.division-card:hover::before { height: 100%; }

.division-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.division-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.division-card .tag {
    display: inline-block;
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 1rem;
}

.division-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.card-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: gap 0.3s;
}

.division-card:hover .card-link { gap: 0.8rem; }

/* === Journal Preview (Homepage) === */
.journal-preview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.journal-preview-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-decoration: none;
    display: block;
}

.journal-preview-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.journal-preview-cover {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.journal-preview-info {
    padding: 1.2rem;
    text-align: center;
}

.journal-preview-info h4 {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}

.journal-preview-info .issue {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* === Features === */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.feature-item {
    text-align: center;
    padding: 2rem 1.5rem;
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    font-size: 1.3rem;
    color: var(--gold);
    transition: var(--transition);
}

.feature-item:hover .feature-icon {
    background: var(--gold);
    color: white;
    transform: scale(1.1);
}

.feature-item h4 {
    font-size: 1.05rem;
    margin-bottom: 0.6rem;
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* === CTA Banner === */
.cta-banner {
    background: linear-gradient(135deg, var(--charcoal) 0%, #3a3a3a 100%);
    padding: 5rem 2rem;
    text-align: center;
    color: white;
}

.cta-banner h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-banner p {
    color: rgba(255,255,255,0.7);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-banner .btn-primary {
    background: var(--gold);
}

.cta-banner .btn-primary:hover {
    background: var(--gold-light);
    color: var(--charcoal);
}

/* === Footer === */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.6);
    padding: 4rem 2rem 2rem;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand h3 {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer h4 {
    color: white;
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
    font-weight: 600;
    font-family: "Source Sans Pro", sans-serif;
}

.footer-links {
    list-style: none;
}

.footer-links li { margin-bottom: 0.6rem; }

.footer-links a {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
    transition: color 0.3s;
}

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

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

/* === Page Hero (Sub-pages) === */
.page-hero {
    padding: 10rem 2rem 5rem;
    text-align: center;
    background: linear-gradient(160deg, var(--white) 0%, var(--cream) 100%);
    position: relative;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.page-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    position: relative;
}

.page-hero .page-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 550px;
    margin: 0 auto;
    position: relative;
}

/* === Content Blocks === */
.content-block {
    padding: 5rem 2rem;
}

.content-block.alt { background: var(--cream); }

.content-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.content-text h2 {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
}

.content-text p {
    font-size: 1.05rem;
    line-height: 2;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.content-text ul {
    list-style: none;
    margin-bottom: 2rem;
}

.content-text ul li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
    font-size: 1rem;
}

.content-text ul li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: 600;
}

.content-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.content-image img {
    width: 100%;
    display: block;
}

/* === Journal Page Grid === */
.journal-full-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.journal-full-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.journal-full-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.journal-full-cover {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.journal-full-info {
    padding: 1.5rem;
}

.journal-full-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.journal-full-info .meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.journal-full-info .journal-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.5rem;
    background: var(--gold);
    color: white;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
}

.journal-full-info .journal-btn:hover {
    background: var(--charcoal);
    transform: translateY(-2px);
}

/* === Contact Page === */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info-card {
    padding: 2.5rem;
    background: var(--cream);
    border-radius: var(--radius);
}

.contact-info-card h3 {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.8rem;
    align-items: flex-start;
}

.contact-item-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.contact-item-text h4 {
    font-family: "Source Sans Pro", sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.contact-item-text p {
    font-size: 0.9rem;
    color: var(--text-light);
}

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

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

.contact-form-card {
    padding: 2.5rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.contact-form-card h3 {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--charcoal);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.3s;
    background: var(--cream);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: var(--white);
}

.form-group textarea { resize: vertical; min-height: 120px; }

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

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

/* === Keyframes === */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(25px); }
    to { opacity: 1; transform: translateY(0); }
}

/* === Responsive === */
@media (max-width: 992px) {
    .division-grid { grid-template-columns: 1fr; }
    .journal-preview-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .content-split { grid-template-columns: 1fr; gap: 2rem; }
    .contact-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.4rem; }
    .page-hero h1 { font-size: 2.2rem; }
}

@media (max-width: 768px) {
    .nav-menu { display: none; }
    .nav-toggle { display: flex; }
    .nav-menu.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 1.5rem 2rem;
        box-shadow: var(--shadow-md);
        gap: 1rem;
    }
    .hero { min-height: 90vh; }
    .hero h1 { font-size: 2rem; }
    .hero-logo { width: 150px; }
    .section { padding: 4rem 1.5rem; }
    .features-grid { grid-template-columns: 1fr; }
    .journal-preview-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 0.5rem; }
}
