:root {
    --primary-color: #2c3e50;
    --accent-color: #e67e22;
    --bg-color: #fdfbf7;
    --text-color: #333;
    --card-bg: #ffffff;
    --font-main: 'Outfit', sans-serif;
    --font-heading: 'Playfair Display', serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation Bar */
.navbar {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: var(--accent-color);
}

/* Responsive Nav */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #fff 0%, #f3e7e9 100%);
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.hero .subtitle {
    font-size: 1.2rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero .intro {
    font-size: 1.1rem;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
}

/* Sections */
.section {
    margin-bottom: 60px;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.section h2 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
    padding-bottom: 5px;
}

.content p {
    margin-bottom: 15px;
}

/* Grid for IPs */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.card {
    background: var(--card-bg);
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: transform 0.2s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
}

.card h3 {
    color: var(--accent-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

/* Links & Buttons */
a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--primary-color);
}

.button {
    display: inline-block;
    background-color: var(--accent-color);
    color: #fff;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    margin: 20px 0;
    transition: background-color 0.2s;
}

.button:hover {
    background-color: #d35400;
    color: #fff;
}

.book-list ul,
.links-list ul,
.process-list {
    list-style-position: inside;
    margin-left: 10px;
    margin-bottom: 20px;
}

.book-list li,
.links-list li,
.process-list li {
    margin-bottom: 8px;
}

/* Author Image */
.author-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

/* Gallery Mini (in cards) */
.gallery-mini {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    overflow-x: auto;
}

.gallery-mini img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.2s;
}

.gallery-mini img:hover {
    transform: scale(1.05);
}

/* Book Series */
.book-series {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #eee;
}

.book-series h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 15px;
}

.gallery-item {
    background-color: #fff;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 10px;
    border: 1px solid #eee;
    text-align: center;
}

.gallery-item img {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: contain;
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 10px;
    transition: transform 0.2s;
}

.gallery-item img:hover {
    transform: scale(1.03);
}

.gallery-item p {
    font-size: 0.9rem;
    margin: 0;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 800px;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 4px;
    animation-name: zoom;
    animation-duration: 0.3s;
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Rights Box */
.rights-box {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #e9ecef;
}

.owner-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 15px 0;
}

.pen-name {
    font-size: 1rem;
    font-weight: 400;
    color: #666;
}

.copyright {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #888;
}

.small-text {
    font-size: 0.9rem;
    color: #777;
    font-style: italic;
}

.note {
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 15px;
}

footer {
    text-align: center;
    padding: 40px;
    color: #888;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 600px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .section {
        padding: 15px;
    }

    .lightbox-content {
        width: 100%;
    }
}

/* Marquee / Scrolling Gallery */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 20px 0;
    background: #f9f9f9;
    border-radius: 8px;
}

.marquee-content {
    display: inline-block;
    animation: scroll 30s linear infinite;
}

.marquee-content img {
    height: 200px;
    width: auto;
    margin: 0 15px;
    border-radius: 6px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s;
    display: inline-block;
    vertical-align: middle;
}

.marquee-content img:hover {
    transform: scale(1.1);
    z-index: 10;
}

.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}