/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c1810;
    --secondary-color: #8b4513;
    --accent-color: #d4af37;
    --text-light: #f5f5f5;
    --text-dark: #2c1810;
    --bg-dark: #1a1a1a;
    --bg-light: #f8f6f0;
    --gradient-primary: linear-gradient(135deg, #2c1810 0%, #8b4513 100%);
    --gradient-accent: linear-gradient(135deg, #d4af37 0%, #ffd700 100%);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-strong: 0 20px 60px rgba(0, 0, 0, 0.3);
}

body {
    font-family: 'Crimson Text', serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-light);
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    line-height: 1.2;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    opacity: 1 !important;
    visibility: visible !important;
    will-change: auto;
    transform: translateZ(0);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    visibility: visible;
    opacity: 1;
}

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

.nav-logo h1 {
    font-size: clamp(1rem, 4vw, 2rem);
    color: var(--accent-color);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.nav-subtitle {
    font-size: 0.8rem;
    color: var(--text-light);
    font-style: italic;
    margin-left: 10px;
}

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

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

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

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

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2c1810 50%, #8b4513 100%);
    overflow: visible;
    z-index: 1;
    padding-bottom: 50px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.floating-quotes {}

.hero-content {
    text-align: center;
    z-index: 9999;
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    max-width: 800px;
    padding: 120px 20px 50px 20px;
    width: 100%;
    margin: 0 auto;
}

.hero-title {
    font-size: 6rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-weight: 300;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-description {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    line-height: 1.8;
    animation: fadeInUp 1s ease-out 0.6s both;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.5) 100%);
    padding: 2rem;
    border-radius: 15px;
    position: relative;
    z-index: 10000;
    text-align: left;
}

.hero-description p {
    margin-bottom: 1.5rem;
}

.hero-description p:first-child {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--accent-color);
}

.hero-description p:last-child {
    margin-bottom: 0;
}

.hero-signature {
    display: flex;
    justify-content: flex-end;
    margin-top: 1.5rem;
    margin-bottom: 0;
    animation: fadeInUp 1s ease-out 0.75s both;
}

.hero-signature img {
    max-width: 250px;
    height: auto;
    filter: brightness(0.9);
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--text-dark);
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-strong);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--accent-color);
}

.btn-secondary:hover {
    background: var(--accent-color);
    color: var(--text-dark);
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1003;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border: 2px solid var(--accent-color);
    border-top: none;
    border-right: none;
    transform: rotate(-45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

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

/* What's New / Most Recent Project Section */
.recent-project {
    padding: 100px 0 80px;
    background: linear-gradient(135deg, #f8f6f0 0%, #e8e0d0 100%);
}

.whats-new-images {
    display: grid;
    grid-template-columns: repeat(2, minmax(200px, 320px));
    gap: 2rem;
    max-width: 700px;
    margin: 2rem auto 3rem;
    justify-content: center;
}

.whats-new-figure {
    margin: 0;
    max-width: 320px;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    border-left: 5px solid var(--accent-color);
}

.whats-new-figure:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
}

.whats-new-figure img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 500px;
    display: block;
    object-fit: contain;
}

.whats-new-figure figcaption {
    padding: 0.75rem 1rem;
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
}

@media (max-width: 768px) {
    .whats-new-images {
        grid-template-columns: 1fr !important;
        margin: 2rem auto 2.5rem;
    }
    .whats-new-figure {
        max-width: 100% !important;
    }
    .whats-new-figure img {
        max-height: 600px !important;
    }
}

.recent-project-link {
    text-decoration: none;
    color: inherit;
    display: block;
    max-width: 900px;
    margin: 2rem auto 0;
}

.recent-project-card {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    border-left: 5px solid var(--accent-color);
    overflow: hidden;
}

.recent-project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
}

.recent-project-image {
    flex-shrink: 0;
    width: 200px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.recent-project-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.recent-project-content {
    flex: 1;
    min-width: 0;
}

.recent-project-badge {
    display: inline-block;
    background: var(--gradient-accent);
    color: var(--text-dark);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
    margin-bottom: 0.75rem;
}

.recent-project-title {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.recent-project-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 1rem;
}

.recent-project-cta {
    font-weight: 600;
    color: var(--accent-color);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.recent-project-card:hover .recent-project-cta {
    gap: 0.75rem;
}

@media (max-width: 768px) {
    .recent-project-card {
        flex-direction: column;
        text-align: center;
    }
    .recent-project-image {
        width: 160px;
    }
}

/* Books Section */
.books {
    padding: 100px 0;
    background: var(--bg-light);
}

.genres-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.genre-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.genre-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.genre-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-accent);
    z-index: 1;
}

.genre-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 0;
    transition: all 0.3s ease;
}

.genre-card:hover::after {
    background: rgba(0, 0, 0, 0.65);
}

.genre-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
}

.genre-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.genre-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #ffffff;
    position: relative;
    z-index: 2;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 1), 0 1px 3px rgba(0, 0, 0, 0.9);
    font-weight: 700;
}

.genre-card p {
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 1), 0 1px 3px rgba(0, 0, 0, 0.9);
    font-weight: 500;
}

.genre-quote {
    background: rgba(212, 175, 55, 0.2);
    padding: 1rem;
    border-radius: 10px;
    border-left: 4px solid var(--accent-color);
    position: relative;
    z-index: 2;
    backdrop-filter: blur(5px);
}

.genre-quote p {
    font-style: italic;
    color: #ffffff;
    margin: 0;
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
    text-shadow: none;
    font-weight: 400;
}

.artwork-hero {
    padding: 120px 0 60px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2c1810 50%, #8b4513 100%);
    color: var(--text-light);
    opacity: 1;
    visibility: visible;
}

.artwork-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    opacity: 1 !important;
    visibility: visible !important;
}

.artwork-intro {
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.artwork-toggle-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.artwork-toggle {
    min-width: 160px;
    justify-content: center;
}

.artwork-toggle.active {
    background: var(--accent-color);
    color: var(--text-dark);
}

.artwork-gallery-section {
    padding: 60px 0 100px 0;
    background: var(--bg-light);
}

.art-section-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-family: 'Cinzel', serif;
}

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

.art-gallery:last-of-type {
    margin-bottom: 0;
}

.art-item {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
}

.art-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.art-item figcaption {
    padding: 1rem 1.2rem;
    font-size: 0.95rem;
    color: #444;
}

.art-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 10000;
}

.art-modal-overlay.visible {
    opacity: 1;
    pointer-events: auto;
}

.art-modal {
    background: #111;
    border-radius: 12px;
    max-width: 90vw;
    max-height: 90vh;
    padding: 1.5rem;
    box-shadow: var(--shadow-strong);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow: hidden;
}

.art-modal-image-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    overflow: hidden;
}

.art-modal-image {
    max-width: 100%;
    max-height: calc(90vh - 120px);
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
    -webkit-user-drag: none;
    user-select: none;
}

.art-modal-caption {
    color: #ddd;
    font-size: 0.95rem;
    text-align: center;
}

.art-modal-close {
    align-self: flex-end;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
}


/* Writing Section */
.writing {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f6f0 0%, #e8e0d0 100%);
}

.writing-samples {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

.sample-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    border-left: 5px solid var(--accent-color);
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.sample-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-strong);
}

.book-cover-image {
    flex-shrink: 0;
    width: 120px;
    height: 180px;
    transition: all 0.3s ease;
}

.book-cover-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

.sample-card:hover .book-cover-image {
    transform: scale(1.05);
}

.sample-content {
    flex: 1;
    min-width: 0;
}

.sample-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.sample-header h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin: 0;
}

.sample-genre {
    background: var(--gradient-accent);
    color: var(--text-dark);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.sample-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.sample-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.word-count, .publish-status {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.publish-status {
    color: var(--accent-color);
    font-weight: 600;
}

/* Audio Section */
.audio {
    padding: 100px 0;
    background: var(--bg-dark);
    color: var(--text-light);
}

.audio .section-title {
    color: var(--text-light);
}

.audio-content {
    max-width: 800px;
    margin: 0 auto;
}

.audio-description {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.2rem;
    line-height: 1.8;
}

.audio-players {
    display: grid;
    gap: 2rem;
}

.audio-player {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.audio-file {
    width: 100%;
    margin: 1rem 0;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.2);
}

.audio-file::-webkit-media-controls-panel {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
}

.audio-file::-webkit-media-controls-play-button,
.audio-file::-webkit-media-controls-pause-button {
    background-color: var(--accent-color);
    border-radius: 50%;
}

.player-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.player-header h3 {
    color: var(--text-light);
    margin: 0;
}

.audio-duration {
    color: var(--accent-color);
    font-weight: 600;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.play-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-accent);
    border: none;
    color: var(--text-dark);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-strong);
}

.progress-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: var(--gradient-accent);
    width: 0%;
    transition: width 0.3s ease;
}

.player-info {
    color: #ccc;
    font-size: 0.9rem;
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    text-align: left;
    margin-bottom: 2rem;
}

.about-intro {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #555;
}

.author-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    font-family: 'Cinzel', serif;
}

.stat-label {
    font-size: 1rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-image {
    display: flex;
    justify-content: center;
}

.author-photo {
    width: 300px;
    height: 300px;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: var(--shadow-strong);
    transition: all 0.3s ease;
    background: var(--gradient-primary);
    padding: 20px;
}

.author-photo:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.image-placeholder {
    width: 300px;
    height: 400px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    box-shadow: var(--shadow-strong);
}

.image-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.image-placeholder p {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #2c1810 0%, #8b4513 100%);
    color: var(--text-light);
}

.contact .section-title {
    color: var(--text-light);
}

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

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

.contact-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-methods {
    display: grid;
    gap: 1rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-method:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(10px);
}

.contact-method i {
    font-size: 1.5rem;
    color: var(--accent-color);
    width: 30px;
}

.contact-method a {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-method a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.2);
}

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

/* Footer */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 50px 0 20px;
}

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

.footer-section h3,
.footer-section h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--gradient-accent);
    color: var(--text-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-dark);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
        padding: 1.5rem;
    }
    
    .hero-description p:first-child {
        font-size: 1.3rem;
    }
    
    .hero-content {
        padding: 100px 15px 30px 15px;
    }
    
    .hero-signature {
        margin-top: 1.5rem;
        margin-bottom: 0;
    }
    
    .hero-signature img {
        max-width: 180px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .genres-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .author-stats {
        justify-content: center;
    }
    
    
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    
}

@media (max-width: 360px) {
    
    .container {
        padding: 0 10px;
    }
    
    .hero-content {
        padding: 90px 10px 20px 10px;
    }
    
    .hero-description {
        font-size: 1rem;
        padding: 1rem;
    }
    
    .hero-description p:first-child {
        font-size: 1.2rem;
    }
    
    .hero-signature img {
        max-width: 150px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(212, 175, 55, 0.3);
    border-top: 3px solid var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design for Writing Samples */
@media (max-width: 768px) {
    .sample-card {
        flex-direction: column;
        text-align: center;
    }
    
    .book-cover-image {
        width: 100px;
        height: 150px;
        margin: 0 auto;
    }
    
    .art-modal {
        max-width: 95vw;
        max-height: 95vh;
        padding: 1rem;
    }
    
    .art-modal-image {
        max-height: calc(95vh - 100px);
    }
}

/* App Showcase Styles */
.app-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    border-left: 5px solid var(--accent-color);
    margin-bottom: 3rem;
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
}

.app-header-section {
    text-align: center;
    margin-bottom: 2.5rem;
}

.app-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 25px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.app-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-header-image {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.app-header-image img {
    width: 100%;
    height: auto;
    display: block;
}

.app-title-section {
    margin-bottom: 2rem;
}

.app-title-section h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.app-tagline {
    font-size: 1.2rem;
    color: var(--secondary-color);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.app-writeup {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-dark);
    margin-bottom: 2.5rem;
}

.app-writeup p {
    margin-bottom: 1.5rem;
}

.app-writeup p:last-child {
    margin-bottom: 0;
}

.app-screenshots {
    margin: 2.5rem 0;
}

.app-screenshots h4 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-align: center;
}

.screenshots-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.screenshot-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.screenshot-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
}

.app-deck-section {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin: 2.5rem 0;
    padding: 0 3rem;
    flex-wrap: wrap;
}

.app-deck-image {
    flex: 0 0 auto;
    width: 300px;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.app-deck-image img {
    width: 100%;
    height: auto;
    display: block;
}

.app-deck-text {
    flex: 1;
    min-width: 300px;
}

.app-deck-text h4 {
    font-size: 1.5rem;
    color: var(--primary-color);
    line-height: 1.4;
    margin: 0 0 1rem 0;
    font-weight: 600;
}

.app-deck-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.app-deck-text p:last-child {
    margin-bottom: 0;
}

.app-store-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.app-store-link {
    display: inline-block;
    transition: transform 0.3s ease;
    opacity: 0.7;
}

.app-store-link:hover {
    transform: scale(1.1);
    opacity: 1;
}

.app-store-link.coming-soon {
    position: relative;
}

.app-store-link.coming-soon::after {
    content: 'Coming Soon';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    pointer-events: none;
}

.app-store-link img {
    height: 60px;
    width: auto;
    display: block;
}

@media (max-width: 768px) {
    .app-card {
        padding: 1.5rem;
    }
    
    .app-icon {
        width: 100px;
        height: 100px;
    }
    
    .app-title-section h3 {
        font-size: 2rem;
    }
    
    .screenshots-gallery {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 1rem;
    }
    
    .app-store-links {
        gap: 1rem;
    }
    
    .app-store-link img {
        height: 50px;
    }
    
    .app-deck-section {
        flex-direction: column;
        gap: 2rem;
        padding: 0 1.5rem;
    }
    
    .app-deck-image {
        width: 250px;
    }
    
    .app-deck-text {
        text-align: center;
    }
}

/* Privacy Policy Accordion */
.artwork-intro .privacy-accordion,
.privacy-accordion {
    max-width: 900px;
    margin: 2rem auto;
    position: relative;
    z-index: 1;
}

.artwork-intro .privacy-accordion-item,
.privacy-accordion-item {
    margin-bottom: 1.5rem !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    overflow: hidden !important;
    transition: all 0.3s ease;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 10 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    min-height: 60px !important;
}

.privacy-accordion-item:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    border-color: rgba(212, 175, 55, 0.5);
}

.privacy-accordion-header {
    width: 100% !important;
    padding: 1.5rem 2rem !important;
    background: transparent !important;
    border: none !important;
    text-align: left !important;
    cursor: pointer !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-family: 'Cinzel', serif !important;
    font-size: 1.3rem !important;
    font-weight: 600 !important;
    color: var(--primary-color) !important;
    transition: all 0.3s ease;
    position: relative !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.privacy-accordion-header:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--secondary-color);
}

.privacy-accordion-header[aria-expanded="true"] {
    background: rgba(212, 175, 55, 0.15);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.privacy-accordion-title {
    flex: 1;
}

.privacy-accordion-icon {
    font-size: 1rem;
    color: var(--accent-color);
    transition: transform 0.3s ease;
    margin-left: 1rem;
}

.privacy-accordion-header[aria-expanded="true"] .privacy-accordion-icon {
    transform: rotate(180deg);
}

.privacy-accordion-content {
    max-height: 0 !important;
    overflow: hidden !important;
    transition: max-height 0.4s ease, padding 0.4s ease !important;
    padding: 0 2rem !important;
    display: block !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
}

.privacy-accordion-header[aria-expanded="true"] + .privacy-accordion-content {
    max-height: 5000px !important;
    padding: 1.5rem 2rem !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
}

.privacy-accordion-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark) !important;
    padding-top: 1rem;
    background: transparent !important;
}

.privacy-accordion-body h4 {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.privacy-accordion-body h4:first-child {
    margin-top: 0;
}

.privacy-accordion-body p {
    margin-bottom: 1rem;
}

.privacy-accordion-body ul,
.privacy-accordion-body ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.privacy-accordion-body li {
    margin-bottom: 0.5rem;
}

.privacy-accordion-body a {
    color: var(--accent-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.privacy-accordion-body a:hover {
    color: var(--secondary-color);
}

@media (max-width: 768px) {
    .privacy-accordion-header {
        padding: 1.25rem 1.5rem;
        font-size: 1.1rem;
    }
    
    .privacy-accordion-content {
        padding: 0 1.5rem;
    }
    
    .privacy-accordion-header[aria-expanded="true"] + .privacy-accordion-content {
        padding: 1.25rem 1.5rem;
    }
    
    .privacy-accordion-body {
        font-size: 1rem;
    }
    
    .privacy-accordion-body ul,
    .privacy-accordion-body ol {
        margin-left: 1.5rem;
    }
}
