/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Rubik+Dirt&family=Oxygen:wght@300;400;700&display=swap');

:root {
    --clr-charcoal: #0E0E0E;
    --clr-ash: #666;
    --clr-offwhite: #ECEAEA;
    --clr-moor: #446645;
    --clr-rust: #B7410E;
    --clr-pride: #FF5DB1;
    --font-head: "Space Grotesk", sans-serif;
    --font-body: "Inter", sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--clr-charcoal);
    color: var(--clr-offwhite);
    line-height: 1.6;
}

/* Navigation */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #000;
    z-index: 1000;
}

.logo img {
    height: 40px;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    color: var(--clr-offwhite);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 500;
    transition: color 0.3s ease;
    font-family: var(--font-head);
}

.nav-links a:hover {
    color: var(--clr-pride);
}

.nav-links a.active {
    color: var(--clr-ash);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 1;
}

#hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.signature {
    position: absolute;
    top: 50%;
    left: 30% !important;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 600px;
    z-index: 2;
}

.signature img {
    width: 100%;
    height: auto;
}

/* About Section */
.about {
    padding: 6rem 2rem;
    background-color: #000;
}

.about h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--clr-offwhite);
    font-family: var(--font-head);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto 6rem auto;
    padding: 0 2rem;
}

.about-text {
    background-color: var(--clr-offwhite);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: var(--clr-charcoal);
}

.about-text p {
    margin-bottom: 1rem;
    line-height: 1.8;
    font-family: var(--font-body);
}

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

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

.about-image img {
    width: 100%;
    height: auto;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background-color: var(--clr-offwhite);
    border-radius: 10px;
    overflow: hidden;
    padding: 2rem;
    text-align: center;
    color: var(--clr-charcoal);

    /* Animation defaults */
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.card.visible {
    opacity: 1;
    transform: translateY(0);
}

.card-content {
    padding: 2rem;
    text-align: center;
}

.card h3 {
    color: var(--clr-charcoal);
    margin-bottom: 1rem;
    font-family: var(--font-head);
}

.card p {
    font-family: var(--font-body);
}

.card-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background-color: var(--clr-rust);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    font-family: var(--font-body);
}

.card-link:hover {
    background-color: var(--clr-pride);
}

/* Gallery */
#gallery {
    column-count: 4; /* Try 2 or 4 for responsiveness */
    column-gap: 1rem;
    padding: 1rem;
    width: 100%;
    max-width: 1200px;
    margin: 2rem auto 0 auto;
  }
  
  #gallery a {
    display: inline-block;
    width: 100%;
    margin-bottom: 1rem;
    break-inside: avoid; /* prevent images splitting columns */
  }
  
  #gallery img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 2px solid #333;
    display: block;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
  }
  
  #gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    border-color: #666; /* Optional: subtle border color change on hover */
  }
  
  @media (max-width: 900px) {
    #gallery {
      column-count: 2;
    }
  }
  @media (max-width: 600px) {
    #gallery {
      column-count: 1;
    }
  }
/* Footer */
footer {
    background-color: #000;
    padding: 2rem;
    border-top: 1px solid var(--heather-grey);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo img {
    height: 40px;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    margin-left: 1rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--pride-pink);
}

/* Page Header Styles */
.page-header {
    background-color: #000;
    padding: 8rem 2rem 4rem;
    text-align: center;
}

.page-header h1 {
    color: var(--pride-pink);
    font-size: 3rem;
    margin: 0;
    font-family: var(--font-header);
}

/* Content Section Styles */
.content {
    padding: 4rem 2rem;
    background-color: #000;
}

.placeholder-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem;
    background-color: var(--heather-grey);
    border-radius: 10px;
}

.placeholder-content h2 {
    color: var(--pride-pink);
    margin-bottom: 1rem;
    font-family: var(--font-header);
}

.placeholder-content p {
    color: white;
    font-size: 1.2rem;
    line-height: 1.6;
    font-family: var(--font-body);
}


/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    .nav-links {
        display: none;
    }
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: #000;
        padding: 1rem;
    }

    .nav-links a {
        margin: 1rem 0;
        font-size: 1.2rem;
    }

    .hamburger.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    .cards-container {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-image {
        order: -1;
    }
    
    .about-image img {
        max-width: 100%;
    }
} 
        /* Loading and error states */
        #loading-message,
        #error-message {
            text-align: center;
            padding: 2rem;
            color: var(--clr-moor);
        }

        #error-message {
            color: var(--clr-pride);
        }
        /* Blog post styles */
        .blog-container {
            max-width: 800px;
            margin: 6rem auto 2rem;
            padding: 2rem;
            background: var(--clr-charcoal);
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

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

        .blog-title {
            font-size: 2.5rem;
            color: var(--clr-pride);
            margin-bottom: 1rem;
        }

        .blog-meta {
            color: var(--clr-moor);
            font-size: 0.9rem;
            margin-bottom: 2rem;
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .author-info {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-top: 2rem;
            padding-top: 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        .author-image {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            object-fit: cover;
        }

        .author-details {
            display: flex;
            flex-direction: column;
        }

        .author-name {
            color: var(--clr-pride);
            font-weight: bold;
            margin-bottom: 0.25rem;
        }

        .author-bio {
            color: var(--clr-moor);
            font-size: 0.9rem;
        }

        .author-social {
            display: flex;
            gap: 1rem;
            margin-top: 0.5rem;
        }

        .author-social a {
            color: white;
            text-decoration: none;
            font-size: 1.2rem;
            transition: color 0.3s;
        }

        .author-social a:hover {
            color: var(--clr-pride);
        }

        .blog-content {
            line-height: 1.6;
            color: white;
        }

        .blog-content h1,
        .blog-content h2,
        .blog-content h3 {
            margin: 2rem 0 1rem;
            color: var(--clr-pride);
        }

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

        .blog-content ul,
        .blog-content ol {
            margin: 1rem 0;
            padding-left: 2rem;
        }

        .blog-author.stacked {
            display: flex;
            flex-direction: column;
            align-items: left;
            margin-bottom: 1rem;
          }
          
          .blog-author.stacked .author-name {
            margin-top: 0.5rem;
            font-weight: bold;
            color: var(--clr-pride); /* Or whatever color you're using */
          }
          .author-image {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            object-fit: cover;
          }
        .blog-content li {
            margin-bottom: 0.5rem;
        }

        .blog-content code {
            background: rgba(255, 255, 255, 0.1);
            padding: 0.2rem 0.4rem;
            border-radius: 3px;
            font-family: monospace;
        }

        .blog-content pre {
            background: rgba(255, 255, 255, 0.1);
            padding: 1rem;
            border-radius: 5px;
            overflow-x: auto;
            margin: 1rem 0;
        }

        .blog-content pre code {
            background: none;
            padding: 0;
        }

        .blog-content blockquote {
            border-left: 4px solid var(--clr-pride);
            margin: 1rem 0;
            padding: 0.5rem 0 0.5rem 1rem;
            color: var(--clr-moor);
        }

        .blog-content img {
            max-width: 100%;
            height: auto;
            border-radius: 5px;
            margin: 1rem 0;
        }
        .blog-tags {
            margin-top: 1rem;
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
        }
        .blog-tag {
            display: inline-block;
            padding: 0.35em 1em;
            border-radius: 999px;
            font-size: 0.85rem;
            font-weight: 500;
            color: #fff;
            background: var(--clr-moor);
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
            letter-spacing: 0.03em;
            transition: transform 0.15s, box-shadow 0.15s, opacity 0.2s;
            opacity: 0.95;
            cursor: pointer;
            border: none;
            outline: none;
        }
        .blog-tag:hover {
            opacity: 1;
            transform: translateY(-2px) scale(1.05);
            box-shadow: 0 4px 16px rgba(0,0,0,0.12);
        }

        .read-more {
            display: inline-block;
            margin-top: 1rem;
            color: var(--clr-pride);
            text-decoration: none;
        }

        .read-more:hover {
            text-decoration: underline;
        }
        .tag-filter-bar {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin: 2rem auto 1rem auto;
            max-width: 1200px;
            justify-content: flex-start;
            align-items: center;
        }
        .tag-filter-btn {
            padding: 0.35em 1em;
            border-radius: 999px;
            font-size: 0.85rem;
            font-weight: 500;
            color: #fff;
            background: var(--clr-moor);
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
            letter-spacing: 0.03em;
            transition: transform 0.15s, box-shadow 0.15s, opacity 0.2s, background 0.2s;
            opacity: 0.95;
            cursor: pointer;
            border: none;
            outline: none;
        }
        .tag-filter-btn.active, .tag-filter-btn:hover {
            opacity: 1;
            transform: translateY(-2px) scale(1.05);
            box-shadow: 0 4px 16px rgba(0,0,0,0.12);
            background: var(--clr-pride);
        }

        .blog-main-layout {
            display: flex;
            flex-direction: row;
            max-width: 1400px;
            margin: 4rem auto 2rem auto;
            min-height: 70vh;
            gap: 2rem;
            align-items: flex-start;
        }
        .tag-filter-bar {
            min-width: 180px;
            max-width: 220px;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 0.5rem;
            margin: 0;
            padding: 2rem 1rem 2rem 0;
            background: none;
            border-right: 1px solid rgba(0,0,0,0.08);
        }
        .tag-filter-btn {
            width: 100%;
            text-align: left;
            margin: 0;
            margin-bottom: 0.25rem;
        }
        @media (max-width: 900px) {
            .blog-main-layout {
                flex-direction: column;
                gap: 1rem;
            }
            .tag-filter-bar {
                flex-direction: row;
                flex-wrap: wrap;
                min-width: 0;
                max-width: 100vw;
                border-right: none;
                border-bottom: 1px solid rgba(0,0,0,0.08);
                padding: 1rem 0 0.5rem 0;
            }
            .tag-filter-btn {
                width: auto;
                text-align: center;
            }
        }

        .gallery-section {
        max-width: 1200px;   /* Match your gallery's max width */
        margin: 2rem auto 0 auto;
        padding: 0 1rem;
        }

        .gallery-section h1,
        .gallery-section p {
        text-align: left;    /* Or center, if you prefer */
        margin-left: 0;
        margin-right: 0;
        }

        /* Home Page Blogs */  
        .recent-blogs-bg {
            background: var(--clr-offwhite);
            width: 100vw;
            position: relative;
            left: 50%;
            right: 50%;
            margin-left: -50vw;
            margin-right: -50vw;
            /* This makes the background stretch full-bleed even if inside a centered container */
        }

        .recent-blogs {
            max-width: 1200px;
            margin: 0 auto;
            padding: 3rem 1rem 2rem 1rem;
        }

        .recent-blogs h2 {
            font-family: var(--font-head);
            color: var(--clr-charcoal);
            margin-bottom: 3rem;
            text-align: center;
            font-size: 2.5rem;
        }

        .recent-blogs-list {
            display: flex;
            flex-wrap: wrap;
            gap: 2rem;
            justify-content: center;
        }

        .blog-card {
            background: var(--clr-charcoal);
            color: var(--clr-offwhite);
            border-radius: 10px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
            padding: 1.5rem;
            min-width: 280px;
            max-width: 350px;
            flex: 1 1 300px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            transition: transform 0.2s, box-shadow 0.2s;
        }

        .blog-card:hover {
            transform: translateY(-4px) scale(1.03);
            box-shadow: 0 6px 24px rgba(0,0,0,0.12);
        }

        .blog-card-title {
            font-family: var(--font-head);
            font-size: 1.3rem;
            margin-bottom: 0.5rem;
            color: var(--clr-offwhite);
        }

        .blog-card-date {
            font-size: 0.95rem;
            color: var(--clr-ash);
            margin-bottom: 0.75rem;
        }

        .blog-card-desc {
            font-size: 1rem;
            margin-bottom: 1rem;
            color: var(--clr-offwhite);
        }

        .blog-card-link {
            color: var(--clr-pride);
            text-decoration: none;
            font-weight: 600;
            margin-top: auto;
            align-self: flex-start;
            transition: color 0.2s;
        }

        .blog-card-link:hover {
            color: var(--clr-rust);
        }

        .blog-container {
            max-width: 900px;
            margin: 0;
            padding: 0;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
        }

        .blog-post {
            background: var(--clr-offwhite);
            color: var(--clr-charcoal);
            border-radius: 10px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
            padding: 2rem 2rem 1.5rem 2rem;
            width: 100%;
            transition: box-shadow 0.2s, transform 0.2s;
        }

        .blog-post:hover {
            box-shadow: 0 6px 24px rgba(0,0,0,0.12);
            transform: translateY(-2px) scale(1.01);
        }

        .blog-post h2 {
            font-family: var(--font-head);
            color: var(--clr-charcoal);
            margin-bottom: 0.5rem;
            text-align: left;
        }

        .blog-meta {
            color: var(--clr-moor);
            font-size: 0.95rem;
            margin-bottom: 1rem;
        }

        .blog-tags {
            margin-bottom: 1rem;
        }

        .read-more {
            color: var(--clr-pride);
            text-decoration: none;
            font-weight: 600;
            transition: color 0.2s;
        }

        .read-more:hover {
            color: var(--clr-rust);
        }

        @media (max-width: 900px) {
            .blog-main-layout {
                flex-direction: column;
                gap: 1rem;
            }
            .tag-filter-bar {
                flex-direction: row;
                flex-wrap: wrap;
                min-width: 0;
                max-width: 100vw;
                border-right: none;
                border-bottom: 1px solid rgba(0,0,0,0.08);
                padding: 1rem 0 0.5rem 0;
            }
            .blog-container {
                max-width: 100vw;
                padding: 0 1rem;
            }
        }

        .blog-index-page .blog-post {
            background: var(--clr-charcoal);
            color: var(--clr-offwhite);
        }

        .blog-index-page .blog-post h2,
        .blog-index-page .blog-post .blog-card-title,
        .blog-index-page .blog-post .blog-card-desc {
            color: var(--clr-offwhite);
        }

        .blog-post-content {
            max-width: 800px;
            margin: 4rem auto 2rem auto;
            padding: 2rem 1.5rem;
            background: var(--clr-charcoal);
            color: var(--clr-offwhite);
            border-radius: 12px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        }

        .blog-post-content h1,
        .blog-post-content h2,
        .blog-post-content h3 {
            text-align: left;
            margin-top: 2rem;
            margin-bottom: 1rem;
            font-family: var(--font-head);
            color: var(--clr-pride);
        }

        @media (max-width: 900px) {
            .blog-post-content {
                margin: 2rem 0.5rem;
                padding: 1rem 0.5rem;
            }
        }

        .contact-section {
        max-width: 500px;
        margin: 4rem auto;
        padding: 2rem;
        border-radius: 10px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        }

        #contact-form label {
        display: block;
        margin-bottom: 1rem;
        color: var(--clr-offwhite);
        }

        #contact-form input,
        #contact-form textarea {
        width: 100%;
        padding: 0.5rem;
        margin-top: 0.25rem;
        border-radius: 5px;
        border: 1px solid var(--clr-ash);
        background: var(--clr-charcoal);
        color: var(--clr-offwhite);
        font-size: 1rem;
        font-family: var(--font-body);
        }

        #contact-form button {
        background: var(--clr-rust);
        color: #fff;
        border: none;
        padding: 0.75rem 2rem;
        border-radius: 5px;
        font-size: 1rem;
        font-family: var(--font-head);
        cursor: pointer;
        transition: background 0.2s;
        }

        #contact-form button:hover {
        background: var(--clr-pride);
        }

        #contact-form button:disabled {
        background: var(--clr-ash);
        cursor: not-allowed;
        }

        #contact-status {
        margin-top: 1rem;
        text-align: center;
        font-family: var(--font-body);
        color: var(--clr-offwhite);
        }

        .text-image-split {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 2rem;
            margin: 2rem 0;
            flex-wrap: nowrap;
          }
          
          .text-image-split .text-side {
            flex: 1;
            min-width: 0;
          }
          
          .text-image-split .image-side {
            flex: 0 0 auto;
            width: 350px; /* or whatever you want */
            max-width: 100%;
          }
          
          .text-image-split img {
            width: 100%;
            height: auto;
            border-radius: 0.5rem;
          }

            /* Swiss-style minimalist grid for blog index */

            .blog-container {
                display: grid;
                grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
                gap: 2rem;
                padding: 2rem;
            }
            
            .blog-post {
                display: flex;
                flex-direction: column;
                background: white;
                padding: 1.5rem;
                border: 1px solid #ccc;
                transition: transform 0.2s ease;
            }
            
            .blog-post:hover {
                transform: translateY(-4px);
            }
            
            .blog-meta-top {
                display: flex;
                align-items: center;
                margin-bottom: 0.75rem;
            }
            
            .blog-author.compact {
                display: flex;
                align-items: center;
                gap: 0.75rem;
            }
            
            .blog-author.compact .author-name {
                font-weight: bold;
                color: var(--clr-pride);
            }
            
            .author-image {
                width: 48px;
                height: 48px;
                border-radius: 50%;
                object-fit: cover;
            }
            
            .blog-title {
                font-size: 1.5rem;
                font-weight: 600;
                margin: 0;
                margin-bottom: 0.25rem;
            }
            
            .blog-description {
                font-size: 1rem;
                line-height: 1.4;
                margin: 0;
                margin-bottom: 0.75rem;
            }
            
            .blog-tags {
                display: flex;
                flex-wrap: wrap;
                gap: 0.5rem;
                margin-bottom: 0.5rem;
            }
            
            .blog-tag {
                display: inline-block;
                padding: 0.4rem 1rem;
                font-size: 0.9rem;
                font-weight: 500;
                border-radius: 999px;
                color: white;
                white-space: nowrap;
                line-height: 1;
                transition: background-color 0.3s ease;
            }
            
            .read-more {
                color: var(--clr-pride);
                font-weight: bold;
                text-decoration: none;
                align-self: flex-start;
                margin-top: auto;
            }
            
            @media (max-width: 640px) {
                .blog-container {
                padding: 1rem;
                }
                .blog-post {
                padding: 1rem;
                }
            }
            