/* ============================================
   MODERN MINIMALIST DESIGN - 2020+
   Soft Beige & Warm Tones
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --cream: #fafaf8;
    --off-white: #f5f3f0;
    --soft-beige: #e8e4df;
    --warm-gray: #d4cfc9;
    --taupe: #9d9188;
    --dark-taupe: #6b6159;
    --charcoal: #3e3b37;
    --accent-warm: #c9a872;
    --accent-soft: #b8956f;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background-color: var(--cream);
    color: var(--charcoal);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(250, 250, 248, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--soft-beige);
    z-index: 1000;
    animation: slideDown 0.6s ease-out;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 22px;
    font-weight: 600;
    color: var(--charcoal);
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    color: var(--dark-taupe);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    position: relative;
    transition: color 0.3s ease;
    letter-spacing: 0.3px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-warm);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-warm);
}

.nav-link:hover::after {
    width: 100%;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--cream) 0%, var(--off-white) 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(201, 168, 114, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(184, 149, 111, 0.08) 0%, transparent 50%);
    z-index: -1;
}

.hero-content {
    z-index: 1;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: clamp(42px, 8vw, 72px);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--charcoal);
    line-height: 1.2;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--dark-taupe);
    margin-bottom: 40px;
    letter-spacing: 1px;
    font-weight: 400;
}

.cta-button {
    padding: 14px 36px;
    font-size: 15px;
    font-weight: 500;
    border: none;
    background: var(--accent-warm);
    color: white;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(201, 168, 114, 0.2);
    letter-spacing: 0.5px;
}

.cta-button:hover {
    background: var(--accent-soft);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 168, 114, 0.25);
}

.cta-button:active {
    transform: translateY(0);
}

/* ============================================
   SECTION TITLE
   ============================================ */

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: var(--charcoal);
    letter-spacing: -0.5px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-warm);
    margin: 20px auto 0;
    border-radius: 2px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about {
    padding: 100px 0;
    position: relative;
    background: var(--cream);
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(184, 149, 111, 0.05) 0%, transparent 70%);
    z-index: -1;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--soft-beige), var(--warm-gray));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 100px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    cursor: pointer;
}

.image-placeholder:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.about-text {
    animation: fadeInLeft 0.8s ease-out;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.about-description {
    font-size: 17px;
    color: var(--dark-taupe);
    margin-bottom: 30px;
    line-height: 1.8;
    font-weight: 400;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill-tag {
    padding: 9px 18px;
    background: var(--off-white);
    border: 1px solid var(--soft-beige);
    border-radius: 20px;
    color: var(--dark-taupe);
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: default;
}

.skill-tag:hover {
    background: var(--soft-beige);
    border-color: var(--accent-warm);
    color: var(--accent-warm);
    transform: translateY(-2px);
}

/* ============================================
   GALLERY SECTION
   ============================================ */

.gallery {
    padding: 100px 0;
    position: relative;
    background: var(--off-white);
}

.gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 80%, rgba(201, 168, 114, 0.06) 0%, transparent 70%);
    z-index: -1;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.gallery-item {
    background: white;
    border: 1px solid var(--soft-beige);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.gallery-item:hover {
    border-color: var(--accent-warm);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-6px);
}

.gallery-placeholder {
    width: 100%;
    padding: 60px 20px;
    font-size: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--off-white), var(--soft-beige));
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-placeholder {
    transform: scale(1.08);
}

.gallery-item p {
    padding: 18px;
    text-align: center;
    color: var(--dark-taupe);
    font-weight: 500;
    font-size: 15px;
}

/* ============================================
   HOBBIES SECTION
   ============================================ */

.hobbies {
    padding: 100px 0;
    position: relative;
    background: var(--cream);
}

.hobbies::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(184, 149, 111, 0.05) 0%, transparent 70%);
    z-index: -1;
}

.hobbies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.hobby-card {
    background: white;
    border: 1px solid var(--soft-beige);
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.hobby-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(184, 149, 111, 0.05), rgba(201, 168, 114, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.hobby-card:hover {
    border-color: var(--accent-warm);
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.hobby-card:hover::before {
    opacity: 1;
}

.hobby-icon {
    font-size: 60px;
    margin-bottom: 20px;
    display: block;
    transition: transform 0.3s ease;
}

.hobby-card:hover .hobby-icon {
    transform: scale(1.15) rotate(5deg);
}

.hobby-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--accent-warm);
    font-weight: 600;
}

.hobby-card p {
    color: var(--dark-taupe);
    line-height: 1.7;
    font-size: 15px;
    font-weight: 400;
}

/* ============================================
   BOOKS SECTION
   ============================================ */

.books {
    padding: 100px 0;
    position: relative;
    background: var(--off-white);
}

.books::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(201, 168, 114, 0.06) 0%, transparent 70%);
    z-index: -1;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.book-card {
    background: white;
    border: 1px solid var(--soft-beige);
    border-radius: 10px;
    padding: 30px;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.book-card:hover {
    border-color: var(--accent-warm);
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.book-cover {
    font-size: 80px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
    display: block;
}

/* ============================================
   HOBBY PAGE POST CREATOR
   ============================================ */

.hobby-post-creator {
    background: white;
    border: 1px solid var(--soft-beige);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.creator-header {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    align-items: center;
}

.profile-pic {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--soft-beige), var(--warm-gray));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.creator-input {
    flex: 1;
    background: var(--off-white);
    border: 1px solid var(--soft-beige);
    border-radius: 25px;
    padding: 12px 16px;
    font-size: 15px;
    color: var(--charcoal);
    font-family: inherit;
    transition: all 0.3s ease;
    outline: none;
}

.creator-input:focus {
    background: white;
    border-color: var(--accent-warm);
    box-shadow: 0 0 0 3px rgba(201, 168, 114, 0.1);
}

.creator-input::placeholder {
    color: var(--warm-gray);
}

.creator-actions {
    display: flex;
    gap: 10px;
    border-top: 1px solid var(--soft-beige);
    padding-top: 12px;
}

.action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 12px;
    border: none;
    background: transparent;
    color: var(--dark-taupe);
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: inherit;
}

.action-icon {
    font-size: 16px;
}

.action-btn:hover {
    background: var(--off-white);
    color: var(--accent-warm);
    transform: translateY(-2px);
}

.post-btn {
    flex: 1;
    padding: 10px 16px;
    background: var(--accent-warm);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    box-shadow: 0 2px 8px rgba(201, 168, 114, 0.15);
}

.post-btn:hover {
    background: var(--accent-soft);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 168, 114, 0.2);
}

.post-btn:active {
    transform: translateY(0);
}

/* Settings menu & private badge for hobby posts */
.settings-menu { position: absolute; right: 0; top: 36px; background: white; border: 1px solid var(--soft-beige); border-radius: 8px; box-shadow: 0 6px 20px rgba(0,0,0,0.08); overflow: hidden; z-index: 50; }
.settings-menu .settings-item { display: block; padding: 8px 14px; background: transparent; border: none; width: 180px; text-align: left; cursor: pointer; font-size: 13px; color: var(--dark-taupe); }
.settings-menu .settings-item:hover { background: var(--off-white); color: var(--accent-warm); }
.post-settings-btn { background: none; border: none; font-size: 20px; cursor: pointer; color: var(--dark-taupe); }
.private-badge { display: inline-block; margin-top: 8px; font-size: 12px; color: var(--accent-warm); font-weight: 600; }

/* Small responsive tweaks for hobby pages */
@media (max-width: 700px) {
    .settings-menu .settings-item { width: 140px; }
}

/* Comments */
.comment-section { margin-top: 12px; }
.comment-input-wrap { display:flex; gap:8px; }
.comment-input { flex:1; padding:8px 10px; border-radius:8px; border:1px solid var(--soft-beige); }
.comment-send-btn { padding:8px 12px; background:var(--accent-warm); color:white; border:none; border-radius:6px; cursor:pointer; }
.comment { background:var(--off-white); border-radius:8px; padding:10px; margin-bottom:8px; }
.comment .comment-meta { font-size:13px; color:var(--dark-taupe); }
.comment .replies { margin-top:8px; }
.comment.reply { background: #fffaf7; border-left:3px solid var(--soft-beige); margin-left:12px; }
.reply-input { flex:1; padding:8px 10px; border-radius:6px; border:1px solid var(--soft-beige); }
.reply-send-btn { padding:6px 10px; background:transparent; border:1px solid var(--soft-beige); border-radius:6px; cursor:pointer; }
/* comment media previews */
.comment img, .comment video { width: 100%; max-height: 300px; border-radius: 8px; margin: 8px 0; object-fit: cover; }
.comment video { background: black; }
.comment { transition: opacity 0.3s ease; }

/* Post creator preview and save button */
#postMediaPreview { margin-top: 12px; }
.media-preview-box { border: 2px solid var(--soft-beige); border-radius: 10px; padding: 12px; background: var(--off-white); }
.remove-media-btn { margin-top: 10px; width: 100%; padding: 8px; border-radius: 6px; border: 1px solid #c33; background: white; color: #c33; cursor: pointer; font-weight: 500; transition: all 0.2s; }
.remove-media-btn:hover { background: #fef0f0; }
.book-card:hover .book-cover {
    transform: scale(1.1);
}

.book-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--charcoal);
}

.book-author {
    color: var(--dark-taupe);
    font-style: italic;
    font-size: 13px;
    margin-bottom: 8px;
    font-weight: 400;
}

.book-genre {
    color: var(--accent-warm);
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.book-review {
    color: var(--dark-taupe);
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 14px;
    font-weight: 400;
}

.rating {
    font-size: 16px;
    letter-spacing: 3px;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact {
    padding: 100px 0;
    position: relative;
    background: var(--cream);
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(184, 149, 111, 0.06) 0%, transparent 70%);
    z-index: -1;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-item {
    background: white;
    border: 1px solid var(--soft-beige);
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.info-item:hover {
    border-color: var(--accent-warm);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transform: translateX(6px);
}

.info-label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--accent-warm);
    margin-bottom: 10px;
    letter-spacing: 0.3px;
}

.info-item p {
    color: var(--dark-taupe);
    font-size: 15px;
    font-weight: 400;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    display: inline-block;
    padding: 9px 18px;
    background: var(--off-white);
    border: 1px solid var(--soft-beige);
    color: var(--dark-taupe);
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 13px;
    font-weight: 500;
}

.social-link:hover {
    background: var(--accent-warm);
    border-color: var(--accent-warm);
    color: white;
    transform: translateY(-2px);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-form input,
.contact-form textarea {
    padding: 14px 18px;
    background: white;
    border: 1px solid var(--soft-beige);
    border-radius: 8px;
    color: var(--charcoal);
    font-family: inherit;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--warm-gray);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-warm);
    background: white;
    box-shadow: 0 0 0 3px rgba(201, 168, 114, 0.1);
}

.submit-button {
    padding: 13px 32px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    background: var(--accent-warm);
    color: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
    box-shadow: 0 4px 15px rgba(201, 168, 114, 0.2);
    letter-spacing: 0.5px;
}

.submit-button:hover {
    background: var(--accent-soft);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 168, 114, 0.25);
}

.submit-button:active {
    transform: translateY(0);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    padding: 40px;
    text-align: center;
    border-top: 1px solid var(--soft-beige);
    color: var(--dark-taupe);
    background: white;
    margin-top: 60px;
    font-size: 14px;
    font-weight: 400;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .nav-menu {
        gap: 20px;
        font-size: 13px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .image-placeholder {
        width: 250px;
        height: 250px;
        font-size: 80px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }

    .hobbies-grid {
        grid-template-columns: 1fr;
    }

    .hobby-card {
        padding: 30px;
    }

    .books-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-subtitle {
        font-size: 17px;
    }

    .hero-title {
        font-size: 42px;
    }
}

@media (max-width: 480px) {
    .navbar-container {
        height: 60px;
    }

    .logo {
        font-size: 18px;
    }

    .nav-menu {
        gap: 12px;
        font-size: 11px;
    }

    .hero {
        min-height: 80vh;
    }

    .hero-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 28px;
    }

    .gallery-placeholder {
        font-size: 50px;
        padding: 40px 20px;
    }

    .hobby-icon {
        font-size: 40px;
    }

    .book-cover {
        font-size: 60px;
    }

    .about-description {
        font-size: 15px;
    }
}
