/* Gossip Girl Blog - Authentic 3-Column Layout */

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

body {
    font-family: Arial, sans-serif;
    background: #000 url('/pics/websitebackground.jpg') center top no-repeat;
    background-size: cover;
    background-attachment: fixed;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
}

/* Page Layout */
.gg-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.gg-header {
    background: rgba(0, 0, 0, 0.9);
    padding: 25px 20px;
    text-align: center;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.gg-logo {
    font-family: 'ITC Avant Garde Gothic Paneuropean Extra Light', 'Avant Garde', 'Century Gothic', 'Futura', sans-serif;
    font-size: 72px;
    font-weight: 200;
    color: #B1AB8D;
    margin: 0;
    letter-spacing: 8px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.gg-subtitle {
    font-family: 'ITC Avant Garde Gothic Paneuropean Extra Light', 'Avant Garde', 'Century Gothic', 'Futura', sans-serif;
    font-size: 18px;
    font-weight: 200;
    color: #B1AB8D;
    margin: 8px 0 0 0;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Container */
.gg-container {
    flex: 1;
    max-width: 1400px;
    margin: 30px auto;
    padding: 0 20px;
    width: 100%;
}

/* 3-Column Wrapper */
.gg-three-col-wrapper {
    display: grid;
    grid-template-columns: 200px 600px 180px;
    gap: 30px;
    align-items: start;
    justify-content: center;
}

/* ===========================
   LINKE SIDEBAR (Text-Navigation)
   =========================== */
.gg-left-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.gg-nav-section {
    text-align: left;
}

.gg-nav-title {
    font-family: 'Arial', sans-serif;
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 8px;
    text-transform: lowercase;
    letter-spacing: 0.5px;
    -webkit-text-stroke: 0.5px rgba(255, 255, 255, 0.4);
    text-stroke: 0.5px rgba(255, 255, 255, 0.4);
}

.gg-nav-text {
    font-family: 'Arial', sans-serif;
    font-size: 12px;
    line-height: 1.5;
    color: #ffffff;
    margin: 0;
}

.gg-nav-link {
    color: #ffffff;
    text-decoration: underline;
    font-size: 11px;
    letter-spacing: 0.5px;
}

.gg-nav-link:hover {
    color: #d4af37;
}

/* ===========================
   HAUPT-CONTENT (Weiße Karte)
   =========================== */
.gg-main-content {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    min-height: 400px;
}

/* ===========================
   RECHTE SIDEBAR (Icon-Navigation)
   =========================== */
.gg-right-sidebar {
    display: flex;
    flex-direction: column;
}

.gg-icon-nav {
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: center;
}

.gg-icon-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: transform 0.2s ease;
    position: relative;
}

.gg-icon-btn:hover {
    transform: scale(1.05);
}

/* Äußerer Kreis */
.gg-icon-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #B1AB8D;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

/* Innerer weißer Kreis */
.gg-icon-circle::before {
    content: '';
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-top: 5px;
    flex-shrink: 0;
}

/* Character Bilder in den inneren Kreisen */
.gg-icon-circle.serena::before {
    background: url('/pics/serena.jpg') center center no-repeat;
    background-size: cover;
}

.gg-icon-circle.dan::before {
    background: url('/pics/dan.jpg') center center no-repeat;
    background-size: cover;
}

.gg-icon-circle.blair::before {
    background: url('/pics/blair.jpg') center center no-repeat;
    background-size: cover;
}

.gg-icon-circle.chuck::before {
    background: url('/pics/chuck.jpg') center center no-repeat;
    background-size: cover;
}

.gg-icon-btn:hover .gg-icon-circle {
    box-shadow: 0 6px 20px rgba(177, 171, 141, 0.6);
    transform: scale(1.05);
}

.gg-icon-btn span {
    font-family: 'Arial', sans-serif;
    font-size: 13px;
    color: #000000;
    text-transform: lowercase;
    font-weight: bold;
    letter-spacing: 0.5px;
    position: absolute;
    bottom: 8px;
    z-index: 1;
}

/* ===========================
   CONTENT STYLING
   =========================== */

/* Action Bar - nur für NewPost Seite */
.action-bar {
    text-align: center;
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid #ddd;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-delete {
    display: inline-block;
    padding: 10px 25px;
    background: #d4af37;
    color: #ffffff;
    border: 2px solid #d4af37;
    font-family: Georgia, serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary:hover {
    background: #ffffff;
    color: #d4af37;
}

.btn-secondary {
    background: transparent;
    border-color: #999;
    color: #999;
}

.btn-secondary:hover {
    background: #999;
    color: #ffffff;
}

.btn-delete {
    padding: 6px 18px;
    font-size: 10px;
    background: transparent;
    border-color: #c0392b;
    color: #c0392b;
}

.btn-delete:hover {
    background: #c0392b;
    color: #ffffff;
}

.btn-icon {
    margin-right: 6px;
}

/* Posts Grid */
.posts-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Single Post */
.single-post {
    /* Einzelner Post-Container */
}

/* Post Card */
.post-card {
    padding: 0 0 35px 0;
    margin-bottom: 35px;
    border-bottom: 1px solid #ddd;
}

.post-card:last-child {
    border-bottom: none;
}

/* Post Header - für andere Seiten */
.post-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 18px;
}

.post-category {
    font-size: 10px;
    color: #d4af37;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.post-date {
    font-size: 11px;
    color: #999;
    font-style: italic;
}

/* Post Title */
.post-title {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 25px;
    line-height: 1.3;
    text-align: center;
}

/* Post Image */
.post-image {
    text-align: center;
    margin: 25px 0 30px;
}

.post-image img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Post Content */
.post-content {
    font-size: 15px;
    color: #333;
    line-height: 1.9;
    margin-bottom: 30px;
    text-align: left;
}

/* Post Footer - für andere Seiten */
.post-footer {
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.post-author {
    font-size: 12px;
    color: #999;
    font-style: italic;
    margin-bottom: 12px;
    display: block;
}

/* Post Tags - für andere Seiten */
.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 15px;
}

.tag {
    font-size: 11px;
    color: #999;
    font-style: italic;
}

.tag::before {
    content: '#';
    margin-right: 2px;
}

/* Post Signature */
.post-signature {
    text-align: center;
    margin: 30px 0 20px;
    padding-top: 25px;
    border-top: 1px solid #ddd;
}

.post-signature p {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-style: italic;
    color: #00bfff;
    letter-spacing: 1px;
}

/* Post Actions */
.post-actions {
    margin-top: 12px;
    text-align: right;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-style: italic;
    font-size: 14px;
}

/* New Post Form */
.form-header {
    text-align: center;
    padding: 0 0 25px;
    margin-bottom: 35px;
    border-bottom: 2px solid #d4af37;
}

.form-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    font-style: italic;
    color: #000;
    margin-bottom: 8px;
}

.form-header p {
    font-size: 13px;
    color: #999;
    font-style: italic;
}

/* Post Form */
.post-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 11px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.form-input,
.form-textarea {
    padding: 10px 12px;
    background: #fafafa;
    border: 1px solid #ddd;
    color: #333;
    font-family: Georgia, serif;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #d4af37;
    background: #fff;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #999;
    font-style: italic;
}

.form-textarea {
    min-height: 180px;
    resize: vertical;
    line-height: 1.7;
}

.form-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 18px;
}

.form-footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid #ddd;
}

.footer-text {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-style: italic;
    color: #00bfff;
}

/* Footer */
.gg-footer {
    background: transparent;
    text-align: center;
    padding: 0;
    margin-top: 30px;
}

.gg-footer p {
    display: none;
}

/* Validation Messages */
.validation-message {
    color: #c0392b;
    font-size: 12px;
    margin-top: 6px;
    font-style: italic;
}

/* Blog Container */
.blog-container {
    /* Styling handled by main content */
}

/* Responsive */
@media (max-width: 1200px) {
    .gg-three-col-wrapper {
        grid-template-columns: 180px 500px 150px;
        gap: 20px;
    }

    .gg-icon-circle {
        width: 75px;
        height: 75px;
    }

    .gg-icon-circle::before {
        width: 58px;
        height: 58px;
    }
}

@media (max-width: 968px) {
    .gg-three-col-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .gg-left-sidebar,
    .gg-right-sidebar {
        display: none;
    }

    .gg-main-content {
        padding: 30px 25px;
    }
}

@media (max-width: 768px) {
    .gg-logo {
        font-size: 28px;
    }

    .gg-main-content {
        padding: 20px;
    }

    .welcome-banner h2 {
        font-size: 22px;
    }

    .post-title {
        font-size: 20px;
    }

    .post-header {
        flex-direction: column;
        gap: 6px;
    }

    .form-actions {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
}

/* Selection */
::selection {
    background: #d4af37;
    color: #ffffff;
}

::-moz-selection {
    background: #d4af37;
    color: #ffffff;
}

/* Smooth Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.post-card {
    animation: fadeIn 0.5s ease-out;
}
