.project-page {
    --project1-primary: rgb(64, 0, 128);
    --project1-accent: rgb(255, 82, 182);
    --project2-primary: rgb(0, 48, 130);
    --project2-accent: rgb(0, 255, 240);
}

.project1-theme {
    background: rgb(45, 25, 80);
    --overlay-red: rgba(255, 0, 0, 0.15);
    --deep-red: rgb(139, 0, 0);
}

.project1-theme .gradient-background {
    display: none;
}

.project2-theme {
    background: linear-gradient(
        to bottom,
        var(--project2-primary) 0%,
        rgb(0, 80, 170) 50%,
        rgb(0, 100, 200) 90%
    );
}

.back-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-light);
    text-decoration: none;
    font-size: 1rem;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.back-button:hover {
    opacity: 1;
}

.project-header {
    max-width: 800px;
    margin: 0 auto 4rem;
    padding: 0 2rem;
}

.project-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    padding: 0 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.showcase-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.showcase-item:hover {
    transform: translateY(-5px) scale(1.02);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.showcase-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transform: translateX(-100%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    100% { transform: translateX(100%); }
}

.showcase-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
    margin: 0 auto 1.5rem;
    position: relative;
}

.icon-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: pulseIcon 2s ease-in-out infinite;
}

@keyframes pulseIcon {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.showcase-item:hover .icon-wrapper {
    animation: spinIcon 0.5s ease-out;
}

@keyframes spinIcon {
    0% { transform: scale(1) rotate(0); }
    50% { transform: scale(1.2) rotate(180deg); }
    100% { transform: scale(1) rotate(360deg); }
}

.showcase-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.95),
        rgba(255, 255, 255, 0.8)
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}

.showcase-item:hover h3 {
    transform: scale(1.05);
    background: linear-gradient(90deg,
        var(--project1-accent),
        rgb(255, 130, 220)
    );
    -webkit-background-clip: text;
    background-clip: text;
}

.showcase-item p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.showcase-item:hover p {
    color: rgba(255, 255, 255, 0.95);
}

.project1-theme .animated-text {
    background-image: linear-gradient(90deg, 
        var(--project1-accent),
        rgb(255, 130, 220),
        var(--project1-accent)
    );
}

.project2-theme .animated-text {
    background-image: linear-gradient(90deg, 
        var(--project2-accent),
        rgb(100, 255, 255),
        var(--project2-accent)
    );
}

/* Fix navbar blur on project pages */
.project-page .navbar {
    background: transparent;
    backdrop-filter: none;
}

/* Ensure text stays sharp */
.project-page .navbar * {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

/* Privacy Policy Styles */
.policy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: left;
}

.policy-section {
    margin-bottom: 3rem;
}

.policy-section:last-child {
    margin-bottom: 0;
}

.policy-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.95),
        rgba(255, 255, 255, 0.8)
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.policy-section p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.policy-section ul {
    list-style: none;
    padding: 0;
}

.policy-section ul li {
    color: rgba(255, 255, 255, 0.8);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 1.1rem;
}

.policy-section ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--project1-accent);
}

.extension-ui {
    margin: 4rem 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

.screenshots-container {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0 auto;
}

.screenshot {
    background: rgba(0, 0, 0, 0.4);
    padding: 1rem;
    border-radius: 16px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
    flex: 0 1 300px;
}

.screenshot:hover {
    transform: translateY(-5px);
}

.ui-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.screenshot-caption {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* Stealth Mode Styles */
.stealth-mode {
    --stealth-accent: var(--project1-accent);
}

.stealth-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--stealth-accent);
    margin-bottom: 1rem;
    font-weight: 500;
}

.stealth-content {
    margin-top: 4rem;
}

.encrypted-box {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--stealth-accent);
    border-radius: 16px;
    padding: 2rem;
    max-width: 600px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
}

.encrypted-text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
    margin-bottom: 2rem;
    font-family: monospace;
    font-size: 1.1rem;
    color: var(--stealth-accent);
    opacity: 0.8;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 255, 240, 0.2);
}

.pulse {
    width: 10px;
    height: 10px;
    background: var(--stealth-accent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.stealth-mode .project2-theme {
    background: linear-gradient(
        to bottom,
        rgba(0, 20, 40, 0.95) 0%,
        rgba(0, 30, 60, 0.9) 50%,
        rgba(0, 40, 80, 0.95) 100%
    );
}

.highlight-text {
    background: linear-gradient(90deg, 
        var(--project1-accent),
        rgb(255, 130, 220),
        var(--project1-accent)
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    padding: 0 0.2rem;
    display: inline-block;
    margin-top: 0.5rem;
}

.subtitle {
    font-size: 1.5rem;
    opacity: 0.8;
    color: var(--primary-light);
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.subtitle-wrapper {
    display: inline-block;
    max-width: 900px;
    line-height: 1.4;
}

/* Cyberpunk Theme Additions */
.cyberpunk {
    --neon-blue: #00fff9;
    --neon-pink: #ff00ff;
    --cyber-yellow: #ffff00;
}

.cyber-grid {
    position: fixed;
    inset: 0;
    background: 
        linear-gradient(90deg, rgba(0, 255, 249, 0.1) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255, 0, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    transform: perspective(500px) rotateX(60deg);
    transform-origin: top;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { background-position: 0 0; }
    100% { background-position: 30px 30px; }
}

.floating-particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
}

.floating-particles::before,
.floating-particles::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(
        circle at center,
        var(--neon-blue) 0%,
        transparent 10%
    );
    background-size: 3px 3px;
    animation: particleFloat 8s linear infinite;
    opacity: 0.5;
}

.cyber-text {
    color: var(--neon-blue);
    text-shadow: 0 0 10px var(--neon-blue);
    font-weight: 800;
}

.neon-text {
    color: var(--neon-pink);
    text-shadow: 0 0 15px var(--neon-pink);
    font-weight: 800;
    animation: blink 1s step-end infinite;
}

.typing-text {
    border-right: 2px solid var(--neon-blue);
    white-space: nowrap;
    overflow: hidden;
    animation: typing 3.5s steps(40, end), blink-caret .75s step-end infinite;
}

.scanner-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--neon-blue);
    animation: scan 2s linear infinite;
}

.cyber-line {
    font-family: 'Courier New', monospace;
    color: var(--neon-blue);
    text-shadow: 0 0 5px var(--neon-blue);
    position: relative;
    padding-left: 20px;
}

.cyber-line::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--neon-pink);
}

.glitch {
    position: relative;
    animation: glitch 1s linear infinite;
}

@keyframes glitch {
    2%, 64% { transform: translate(2px,0) skew(0deg); }
    4%, 60% { transform: translate(-2px,0) skew(0deg); }
    62% { transform: translate(0,0) skew(5deg); }
}

.stealth-background {
    position: fixed;
    inset: 0;
    background: var(--primary-dark);
    overflow: hidden;
}

.gradient-circles {
    position: absolute;
    inset: 0;
    opacity: 0.6;
}

.gradient-circles::before,
.gradient-circles::after {
    content: '';
    position: absolute;
    width: 50vmax;
    height: 50vmax;
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.gradient-circles::before {
    background: radial-gradient(circle, var(--project1-accent) 0%, transparent 70%);
    top: -20%;
    left: -10%;
}

.gradient-circles::after {
    background: radial-gradient(circle, var(--project2-accent) 0%, transparent 70%);
    bottom: -20%;
    right: -10%;
    animation-delay: -10s;
}

.blur-overlay {
    position: absolute;
    inset: 0;
    backdrop-filter: blur(100px);
}

.status-line {
    font-family: var(--font-main);
    color: var(--primary-light);
    opacity: 0.8;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: opacity 0.3s;
}

.status-line:hover {
    opacity: 1;
}

.progress-line {
    position: absolute;
    top: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        var(--project1-accent),
        var(--project2-accent)
    );
    width: 100%;
    opacity: 0.5;
}

.fade-text {
    display: inline-block;
    animation: fadeIn 2s ease-out;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(5%, 5%); }
}

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

/* Contact Page Styles */
.contact-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contact-info h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.95),
        rgba(255, 255, 255, 0.8)
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.email-link {
    display: inline-block;
    color: var(--project1-accent);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    transition: opacity 0.3s;
    margin-bottom: 3rem;
}

.email-link:hover {
    opacity: 0.8;
}

/* Contact Button Styles */
.contact-button {
    background: var(--project1-accent);
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    transition: transform 0.3s, opacity 0.3s;
}

.contact-button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.project-links {
    margin-top: 3rem;
    text-align: center;
}

.policy-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-light);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.policy-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.nav-content {
    margin-left: auto;
    display: flex;
    align-items: center;
}

.nav-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-link {
    color: var(--primary-light);
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
}

.nav-link:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.15);
}

.privacy-content {
    max-width: 800px;
    margin: 4rem auto;
    padding: 0 2rem;
    text-align: left;
}

.privacy-content h2 {
    font-size: 2.5rem;
    margin: 2rem 0 1rem;
    background-image: linear-gradient(90deg, 
        rgb(255, 70, 70),
        rgb(255, 140, 50),
        rgb(255, 200, 50),
        rgb(255, 140, 50),
        rgb(255, 70, 70)
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientMove 12s linear infinite;
}

.privacy-content h3 {
    font-size: 2rem;
    margin: 1.5rem 0 1rem;
    background-image: linear-gradient(90deg, 
        rgb(255, 70, 70),
        rgb(255, 140, 50),
        rgb(255, 200, 50),
        rgb(255, 140, 50),
        rgb(255, 70, 70)
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientMove 12s linear infinite;
}

.privacy-content p {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
    margin-bottom: 1rem;
}

.privacy-content a {
    color: var(--project1-accent);
    text-decoration: none;
}

.privacy-content a:hover {
    text-decoration: underline;
}

.storage-list {
    list-style: none;
    padding: 0;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.permission-item {
    margin-bottom: 2rem;
}

.permission-item h3 {
    font-size: 2rem;
    color: var(--primary-light);
    margin-bottom: 0.5rem;
}

.permission-item p {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.stealth-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 4rem auto;
}

.project2-theme .showcase-item {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.project2-theme .showcase-item:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
}

.project2-theme .showcase-item h3 {
    background: linear-gradient(90deg,
        rgba(255, 255, 255, 0.95),
        rgba(255, 255, 255, 0.8)
    );
}

.project2-theme .showcase-item:hover h3 {
    background: linear-gradient(90deg,
        var(--project2-accent),
        rgb(100, 255, 255)
    );
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

/* Mobile Styles - Only applies to screens 768px and below */
@media screen and (max-width: 768px) {
    /* Prevent horizontal scroll */
    body {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }

    /* Adjust main container */
    .content {
        width: 100%;
        padding: 0 1rem;
        margin: 0;
        overflow: hidden;
    }

    /* Fix main heading size */
    h1 {
        font-size: 2.2rem;
        width: 100%;
        word-wrap: break-word;
        margin-top: 4rem;
    }

    /* Adjust text sizes */
    .static-text,
    .animated-text {
        font-size: 2.2rem;
        display: inline-block;
        width: auto;
    }

    /* Fix subtitle text */
    .subtitle {
        font-size: 1rem;
        padding: 0;
        margin: 1rem auto;
        max-width: 100%;
        line-height: 1.4;
    }

    /* Adjust headline wrapper */
    .headline-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    /* Fix navigation */
    .navbar {
        width: 100%;
        padding: 1rem;
        position: fixed;
        top: 0;
        background: rgba(26, 15, 46, 0.9);
        backdrop-filter: blur(10px);
    }

    .nav-container {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }

    /* Adjust logo and menu */
    .logo-buttons {
        margin-left: 1rem;
    }

    /* Navigation */
    .nav-container {
        padding: 0.5rem 1rem;
        width: 100%;
        justify-content: space-between;
    }

    /* Logo area */
    .logo {
        font-size: 1.2rem;
        gap: 0.5rem;
    }

    /* Projects dropdown */
    .dropdown-content {
        right: 0;
        left: auto;
        min-width: 250px;
    }

    .back-button span {
        display: none;  /* Hide "Back to Home" text, keep arrow */
    }

    /* Header */
    .project-header h1 {
        font-size: 2.2rem;
        padding: 0 1rem;
        margin-top: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
        padding: 0 1rem;
        line-height: 1.4;
    }

    /* Screenshots Section */
    .screenshots-container {
        flex-direction: column;  /* Stack vertically */
        align-items: center;
        gap: 1rem;
    }

    .screenshot {
        width: 90%;  /* Take up most of screen width */
        margin-bottom: 1rem;
    }

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

    /* Feature Boxes */
    .project-showcase {
        grid-template-columns: 1fr;  /* Single column */
        gap: 1rem;
        padding: 1rem;
    }

    .showcase-item {
        padding: 1.2rem;
        margin-bottom: 0.5rem;
    }

    /* Privacy Policy Content */
    .privacy-content {
        padding: 0 1rem;
    }

    .privacy-content h2 {
        font-size: 1.8rem;
        margin: 1.5rem 0 1rem;
    }

    .privacy-content h3 {
        font-size: 1.4rem;
    }

    .privacy-content p {
        font-size: 1rem;
        line-height: 1.5;
    }

    .privacy-content ul {
        padding-left: 1rem;
    }
}

/* Extra Small Devices (iPhone SE, etc) */
@media screen and (max-width: 375px) {
    .project-header h1 {
        font-size: 2rem;
    }

    .screenshot {
        width: 95%;  /* Even more width on very small screens */
    }
}

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

/* Blog Styles */
.blog-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 2rem 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.blog-post {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    font-family: "Playfair Display", serif;
    color: rgb(26, 15, 46);
    height: 320px;
}

.blog-post:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 1);
    border-color: rgba(255, 255, 255, 0.3);
}

.post-date {
    font-size: 0.9rem;
    color: rgba(0, 0, 0, 0.6);
    opacity: 0.6;
    margin-bottom: 1rem;
}

.blog-post h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: rgb(26, 15, 46);
    font-weight: 600;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-excerpt {
    font-family: "Playfair Display", serif;
    color: rgba(0, 0, 0, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.read-more {
    background: none;
    border: none;
    color: rgb(255, 20, 147);
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    position: relative;
    transition: transform 0.3s ease;
}

.read-more:hover {
    transform: translateX(5px);
}

.coming-soon {
    opacity: 0.8;
    background: rgba(255, 255, 255, 0.8);
}

.read-more.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Mobile Blog Styles */
@media screen and (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    
    .blog-post {
        padding: 1.5rem;
    }
    
    .blog-post h2 {
        font-size: 1.3rem;
    }
} 

/* Journal-style Blog Styles */
.blog-title {
    font-family: "Playfair Display", serif;
    font-size: 3.5rem;
    color: var(--primary-light);
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.blog-subtitle {
    font-family: "Playfair Display", serif;
    font-style: italic;
    display: block;
    margin-bottom: 0.5rem;
}

.blog-date {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.7;
}

.featured-post {
    background: rgba(255, 255, 255, 0.95);
    color: rgb(26, 15, 46);
    border-radius: 24px;
    padding: 3rem;
    margin: 2rem 0 4rem 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    animation: slideInFromRight 0.8s ease-out forwards;
    transform-origin: right;
    font-family: "Playfair Display", serif;
}

@keyframes slideInFromRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.featured-post:hover {
    transform: translateY(-5px) !important;
    background: rgba(255, 255, 255, 1);
    border-color: rgba(255, 255, 255, 0.3);
}

.featured-post h2 {
    font-family: "Playfair Display", serif;
    font-size: 2.5rem;
    margin: 1rem 0;
    line-height: 1.2;
    color: rgb(26, 15, 46);
}

.post-meta {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    color: rgb(255, 20, 147);
    margin-bottom: 1rem;
}

.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.post-divider {
    text-align: center;
    font-family: "Playfair Display", serif;
    font-style: italic;
    font-size: 2.5rem;
    margin: 4rem 0;
    position: relative;
    color: rgb(255, 255, 255);
    opacity: 0.8;
}

.post-divider::before,
.post-divider::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.post-divider::before {
    left: 0;
}

.post-divider::after {
    right: 0;
}

.hidden {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.full-content {
    margin-top: 2rem;
}

.full-content.visible {
    display: block;
    opacity: 1;
}

.full-content h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: rgb(26, 15, 46);
}

.full-content p {
    font-family: "Playfair Display", serif;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: rgb(26, 15, 46);
}

.full-content ul {
    list-style-type: none;
    margin-left: 0;
    margin-bottom: 1.5rem;
}

.full-content li {
    margin-bottom: 0.5rem;
    color: rgb(26, 15, 46);
    padding-left: 0;
    text-align: center;
}

.read-more {
    background: none;
    border: none;
    color: rgb(255, 20, 147);
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    position: relative;
    transition: transform 0.3s ease;
}

.read-more:hover {
    transform: translateX(5px);
}

/* Remove height matching between grid items */
.blog-grid > * {
    height: auto;
    align-self: start;
} 

/* Style for expanded blog post */
.blog-post.expanded {
    height: auto;
    max-width: 900px;
    margin: 2rem auto;
    padding: 3rem;
    grid-column: 1 / -1;  /* Make it span full width */
    border-radius: 24px;
}

.blog-post.expanded .post-excerpt {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.blog-post.expanded h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
} 

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.cta-buttons .primary-btn {
    background: transparent;
    color: var(--primary-light);
    text-decoration: none;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    font-weight: 600;
    border: 2px solid var(--primary-light);
    border-radius: 8px;
    transition: all 0.3s ease;
    /* Add focus state for accessibility */
    &:focus {
        outline: 2px solid var(--accent-coral);
        outline-offset: 2px;
    }
}

.cta-buttons .primary-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
} 

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* Safari support */
    z-index: 100;
    height: 60px;
    transform: translate3d(0,0,0);
    -webkit-transform: translate3d(0,0,0);
}

/* Combined fixes for both Chrome and Safari on iOS */
@supports (-webkit-touch-callout: none) {
    .navbar {
        position: sticky;
        top: env(safe-area-inset-top, 0px);
        height: auto;
        padding: 1rem;
    }
    
    body {
        padding-top: constant(safe-area-inset-top);
        padding-top: env(safe-area-inset-top);
    }
}

/* Mobile-specific adjustments */
@media only screen and (max-width: 768px) {
    .navbar {
        position: sticky;
        top: env(safe-area-inset-top, 0px);
        height: auto;
        padding: 1rem;
    }
    
    /* Landscape mode handling */
    @media (orientation: landscape) {
        .navbar {
            position: fixed;
            top: 0;
            height: 50px;
        }
    }
    
    /* Additional Chrome-specific fix */
    @media (-webkit-min-device-pixel-ratio:0) {
        .navbar {
            transform: translateZ(0);
            -webkit-transform: translateZ(0);
        }
    }
} 