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

body {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #ffffff;
}

 h1, h2, h3, .page-title, .post-title, {
       font-family: 'Kalam', -apple-system, sans-serif;
   }

/* Navigation */
.main-nav {
    padding: 1.5rem 3rem;
    background: #000000;
    position: sticky;
    top: 0;
    z-index: 100;
}

.main-nav ul {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    gap: 2rem;
}

.main-nav a {
    text-decoration: none;
    color: #ffffff;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: background 0.2s, padding 0.2s;
    padding: 0.2rem 0.5rem;
    display: inline-block;
}

.main-nav a:hover {
    background: #ffffff;
    color: #000000;
}

/* Homepage Split Layout */
.homepage-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: calc(100vh - 80px);
}

.left-side {
    padding: 4rem 3rem;
    position: sticky;
    top: 80px;
    height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.left-side h1 {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: -0.5px;
}

.intro-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #2a2a2a;
}

.intro-text p {
    margin-bottom: 1.2rem;
}

.right-side {
    padding: 0;
}

.homepage-photo-grid {
    display: flex;
    flex-direction: column;
}

.homepage-photo-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    width: 100%;
}

.homepage-photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.homepage-photo-card:hover img {
    transform: scale(1.05);
}

.profile-card {
    height: 500px;
}

.profile-card:hover img {
    transform: none;
}

.profile-card img {
    object-position: center top;
}

.homepage-photo-card:not(.profile-card) {
    height: 450px;
}

.homepage-photo-card .photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 2rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.homepage-photo-card:hover .photo-overlay {
    transform: translateY(0);
}

.photo-overlay p {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Blog Page */
.blog-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 4rem 2rem;
    background: #ffffff;
    min-height: calc(100vh - 300px);
}

.blog-header {
    text-align: center;
    margin-bottom: 4rem;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: -0.5px;
    margin-bottom: 3rem;
}

.search-container {
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

.search-bar {
    position: relative;
    width: 100%;
}

.search-bar input {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    border: 1px solid #d0d0d0;
    background: #ffffff;
    font-family: inherit;
    border-radius: 50px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.search-bar input:focus {
    outline: none;
    border-color: #999;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.search-bar input::placeholder {
    color: #aaa;
}

.category-filter {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.category-filter a {
    text-decoration: none;
    color: #666;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    font-weight: 500;
    transition: color 0.2s;
    text-transform: uppercase;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

.category-filter a:hover,
.category-filter a.active {
    color: #000000;
}

.category-filter .separator {
    color: #d0d0d0;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.post-card {
    background: #ffffff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-radius: 4px;
}

.post-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.post-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-content {
    padding: 1.75rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.post-category {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: #000000;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    width: fit-content;
}

.post-title {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.post-title a {
    text-decoration: none;
    color: #1a1a1a;
    transition: opacity 0.2s;
}

.post-title a:hover {
    opacity: 0.6;
}

.post-excerpt {
    font-size: 0.9rem;
    line-height: 1.65;
    color: #666;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: auto;
}

.tag {
    font-size: 0.8rem;
    color: #999;
    text-decoration: none;
}

.tag:hover {
    color: #666;
}

/* Single Blog Post */
.blog-post {
    max-width: 800px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.post-header {
    margin-bottom: 2rem;
}

.post-header h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.post-meta {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    color: #666;
    font-size: 0.9rem;
}

.featured-image {
    width: 100%;
    height: auto;
    margin-bottom: 2rem;
}

.post-body {
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.post-body img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 2rem auto;
}

.post-body strong,
.post-body b {
    font-weight: 700;
    color: #000000;
}


.post-body h2 {
    font-size: 1.8rem;
    margin: 2rem 0 1rem 0;
}

.post-body h3 {
    font-size: 1.4rem;
    margin: 1.5rem 0 0.75rem 0;
}

.post-body p {
    margin-bottom: 1.5rem;
}

.post-body ul, .post-body ol {
    margin: 1.5rem 0 1.5rem 2rem;
}

.post-body li {
    margin-bottom: 0;
    line-height: 1.4;
}

.post-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.post-body th,
.post-body td {
    border: 1px solid #ddd;
    padding: 0.75rem;
    text-align: left;
}

.post-body th {
    background: #f5f5f5;
    font-weight: 600;
}

.post-body tr:nth-child(even) {
    background: #fafafa;
}

/* Gallery Page */
.gallery-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.gallery-container .page-title {
    text-align: center;
    margin-bottom: 3rem;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 0;
}

.photo-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.photo-card:hover img {
    transform: scale(1.05);
}

.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 2rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.photo-card:hover .photo-overlay {
    transform: translateY(0);
}

.photo-overlay p {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Shop Page */
.shop-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.shop-header {
    text-align: center;
    margin-bottom: 4rem;
}

.shop-container .page-title {
    margin-bottom: 3rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

.product-card {
    background: #ffffff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 6px;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.product-card a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-image {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.product-details {
    padding: 1rem 1rem 1rem 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    font-family: Raleway;
}

.product-price-line {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.product-price {
    font-size: 1.4rem;
    font-weight: 600;
    color: #000000;
}

.product-category {
    display: inline-block;
    padding: 0.25rem 0.7rem;
    background: #000000;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.product-description {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #666;
    flex-grow: 1;
}

/* Single Product Page */
.product-page {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.product-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.product-main-image {
    width: 100%;
    height: auto;
}

.product-info-section h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.product-info-section .product-price {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.product-info-section .product-description {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.product-actions {
    margin-top: 2rem;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2rem;
    background: #000000;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
}

.btn-primary:hover {
    background: #333333;
}

/* Simple Pages (About, etc) */
.simple-page {
    max-width: 800px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.simple-page h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.page-content {
    font-size: 1.05rem;
    line-height: 1.8;
}

.page-content h2 {
    font-size: 1.8rem;
    margin: 2rem 0 1rem 0;
}

.page-content h3 {
    font-size: 1.4rem;
    margin: 1.5rem 0 0.75rem 0;
}

.page-content p {
    margin-bottom: 1.5rem;
}

/* Footer */
footer {
    padding: 2rem 3rem 1.5rem 3rem;
    background: #000000;
    color: #ffffff;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.footer-section h3 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
}

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

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

.footer-section a {
    text-decoration: none;
    color: #cccccc;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #333333;
    font-size: 0.85rem;
    color: #999999;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 4rem;
    padding-top: 3rem;
}

.pagination a,
.pagination span {
    padding: 0.5rem 0.9rem;
    text-decoration: none;
    color: #1a1a1a;
    background: #ffffff;
    transition: all 0.2s;
    font-size: 0.9rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.pagination a:hover {
    background: #000000;
    color: #ffffff;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

.pagination .active {
    background: #000000;
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* Responsive */
@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .homepage-container {
        grid-template-columns: 1fr;
    }
    
    .left-side {
        position: relative;
        height: auto;
    }
    
    .right-side {
        padding: 0;
    }
    
    .homepage-photo-card,
    .homepage-photo-card.profile-card,
    .homepage-photo-card:not(.profile-card) {
        height: 400px;
    }
    
    .post-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .main-nav ul {
        gap: 1rem;
    }
    
    .blog-header {
        margin-bottom: 3rem;
    }
    
    .category-filter {
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .post-grid {
        grid-template-columns: 1fr;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .photo-grid {
        grid-template-columns: 1fr;
    }
    
    .photo-overlay {
        transform: translateY(0);
        background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.3));
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ============================================
   Support Page — append to bottom of main.css
   ============================================ */

.support-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    min-height: calc(100vh - 72px);
}

/* LEFT: stacking photos */
.support-left {
    overflow-y: auto;
}

.support-photo-stack {
    display: flex;
    flex-direction: column;
}

.support-photo-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    width: 100%;
    height: 220px;
}

.support-photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.support-photo-card:hover img {
    transform: scale(1.05);
}

.support-photo-card .photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 1.5rem 1.2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.support-photo-card:hover .photo-overlay {
    transform: translateY(0);
}

.support-photo-card .photo-overlay p {
    font-size: 0.85rem;
    line-height: 1.5;
}

/* RIGHT: sticky content */
.support-right {
    position: sticky;
    top: 80px;
    height: calc(100vh - 80px);
    overflow-y: auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.support-right-inner {
    width: 100%;
    max-width: 560px;
    padding: 3rem 2rem;
}

.support-right-inner h1 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.support-intro {
    font-size: 1rem;
    line-height: 1.8;
    color: #2a2a2a;
    margin-bottom: 2rem;
}

.support-intro p {
    margin-bottom: 1rem;
}

/* Cards — square proportions */
.support-cards {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.support-card {
    flex: 1;
    border: 1px solid #d0d0d0;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    aspect-ratio: 1 / 1;
    justify-content: center;
}

.support-card-label {
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #aaa;
    margin-bottom: 0.6rem;
}

.support-card-amount {
    font-family: 'Lato', sans-serif;
    font-size: 2.8rem;
    font-weight: 300;
    color: #1a1a1a;
    line-height: 1;
    margin-bottom: 0.6rem;
}

.support-card-desc {
    font-size: 0.85rem;
    color: #888;
    line-height: 1.5;
    margin-bottom: 1.2rem;
    flex-grow: 1;
}

.btn-support {
    display: block;
    width: 100%;
    padding: 0.85rem 1rem;
    background: #000000;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center;
    text-transform: uppercase;
    transition: background 0.2s;
    border: none;
    cursor: pointer;
}

.btn-support:hover {
    background: #333333;
}

/* OR divider */
.support-or {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #aaa;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.support-or::before,
.support-or::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e0e0e0;
}

/* PWYW */
.btn-support-outline {
    display: block;
    width: 100%;
    padding: 0.85rem 1rem;
    background: #ffffff;
    color: #000000;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center;
    text-transform: uppercase;
    border: 1px solid #000000;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    margin-bottom: 0.6rem;
}

.btn-support-outline:hover {
    background: #000000;
    color: #ffffff;
}

.support-stripe-note {
    font-size: 0.75rem;
    color: #aaa;
    text-align: center;
}

/* Responsive — content first on smaller screens */
@media (max-width: 1024px) {
    .support-container {
        display: flex;
        flex-direction: column-reverse;
    }

    .support-right {
        position: relative;
        top: auto;
        height: auto;
    }

    .support-right-inner {
        padding: 3rem 2rem;
    }
}

@media (max-width: 768px) {
    .support-cards {
        flex-direction: column;
    }

    .support-card {
        aspect-ratio: unset;
    }
}
