*

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

/* Geist Font Family */
@font-face {
    font-family: 'Geist';
    src: url('fonts/Geist-Thin.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Geist';
    src: url('fonts/Geist-ExtraLight.woff2') format('woff2');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Geist';
    src: url('fonts/Geist-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Geist';
    src: url('fonts/Geist-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Geist';
    src: url('fonts/Geist-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Geist';
    src: url('fonts/Geist-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


:root {
    --primary-color: #1a1a1a;
    --secondary-color: #bfbfbf;
    --accent-color: #646464;
    --transition-speed: 0.7s;
}

body {
    font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--primary-color);
    overflow-x: hidden;
    line-height: 1.6;
    background-color: rgb(246, 246, 246);
}

body.menu-open {
    overflow: hidden;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 3rem;
    z-index: 101;
    background: transparent;
    transition: background 0.3s ease;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 400;
    text-decoration: none;
    color: var(--primary-color);
    letter-spacing: -0.5px;
    transition: color 0.3s ease;
    z-index: 102;  /* Add this line */

}

/* Add this new rule */
.header.menu-active .logo a {
    color: var(--secondary-color);
}

/* Burger Menu Button */
.burger-menu {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 102;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: all 0.3s ease;
    position: relative;
}

.burger-menu:hover {
    opacity: 0.7;
}

.burger-line {
    display: block;
    width: 30px;
    height: 2.5px;
    background-color: var(--primary-color);
    transition: all var(--transition-speed) ease;
    transform-origin: center;
    border-radius: 5px; /* Optional: adds slight rounded ends */
}

/* Burger animation when menu is open */
.burger-menu.active .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.burger-menu.active .burger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

.burger-menu.active .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.burger-menu.active .burger-line {
    background-color: var(--secondary-color);
}

/* Main Content */
.main-content {
    height: 100vh;
    padding: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Hero Section */
.hero {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 3rem; /* Match header padding */
    display: flex;
    flex-direction: column;
    position: relative;
}



/* Hero Title */
.hero-title {
    font-family: 'Geist', sans-serif !important;
    font-size: clamp(3rem, 6.5vw, 6.5rem) !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    letter-spacing: -3px !important;
    margin: 0 !important;
    text-align: left !important;
    width: 100%;
}

.hero-title span {
    display: inline;
    transition: transform 0.3s ease, color 0.3s ease;
}


/* Text Color Variations */
.text-primary {
    color: var(--primary-color);
}

.text-accent {
    color: var(--accent-color);
}

/* Remove floating images */
.floating-images {
    display: none;
}

/* Responsive - Hero */
@media (max-width: 768px) {
    .hero {
        padding: 0 2rem; /* Match header tablet padding */
        gap: 2rem;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 4rem) !important;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 0 1.5rem; /* Match header mobile padding */
        gap: 1.5rem;
    }
    
    .hero-title {
        font-size: clamp(1.8rem, 9vw, 3rem) !important;
        letter-spacing: -2px !important;
    }
}

/* Hero Title with Scrolling */
.hero-title {
    font-family: 'Geist', sans-serif !important;
    font-size: clamp(2.5rem, 5vw, 5rem) !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
    letter-spacing: -2px !important;
    margin: 0 !important;
    text-align: left !important;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-title > span {
    display: block;
}

/* Scrolling Keywords Container */
.scrolling-keywords {
    width: 100%;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(
        to right,
        transparent,
        black 5%,
        black 95%,
        transparent
    );
    -webkit-mask-image: linear-gradient(
        to right,
        transparent,
        black 5%,
        black 95%,
        transparent
    );
}

/* Keywords Track */
.keywords-track {
    display: inline-flex;
    white-space: nowrap;
    animation: scroll-left 25s linear infinite;
}

.keywords-track span {
    display: inline-block;
    padding-right: 0;
}

/* Scroll Animation */
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}


/* Text Color Variations */
.text-primary {
    color: var(--primary-color);
}

.text-accent {
    color: var(--accent-color);
}

/* Responsive - Scrolling Keywords */
@media (max-width: 768px) {
    .keywords-track {
        animation: scroll-left 20s linear infinite;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(1.8rem, 9vw, 3rem) !important;
        letter-spacing: -2px !important;
    }
    
    .keywords-track {
        animation: scroll-left 15s linear infinite;
    }
}

/* Index Page Copyright */
.index-copyright {
    position: fixed;
    bottom: 2rem;
    left: 3rem;
    font-size: 0.75rem;
    font-weight: 300;
    color: var(--accent-color);
    opacity: 0.5;
}

.index-copyright p {
    margin: 0;
}

/* Responsive - Copyright */
@media (max-width: 768px) {
    .index-copyright {
        left: 2rem;
        bottom: 1.5rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .index-copyright {
        left: 1.5rem;
        bottom: 1.5rem;
    }
}

/* Menu Overlay - Slides up from bottom */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Initially hidden below the viewport */
    transform: translateY(100%);
    transition: transform var(--transition-speed) cubic-bezier(0.77, 0, 0.175, 1);
    visibility: hidden;
}

.menu-overlay.active {
    transform: translateY(0);
    visibility: visible;
}

.menu-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 8rem 3rem 3rem;
    overflow-y: auto;
}

/* Menu Links */
.menu-links {
    list-style: none;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    padding: 2rem 0;
    z-index: 10; /* Add this */
    position: relative; /* Add this */
}




.menu-link {
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 300;
    color: var(--secondary-color);
    text-decoration: none;
    display: inline-block;
    position: relative;
    transition: transform 0.3s ease, opacity 0.3s ease;
    letter-spacing: -2px;
}

.menu-link:hover {
    transform: translateX(20px);
    opacity: 0.7;
}

.menu-link::after {
    content: '';
    position: absolute;
    bottom: 0.5rem;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--secondary-color);
    transition: width 0.4s ease;
}

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

/* Menu Footer */
.menu-footer {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    border-top: 2px solid rgb(196, 196, 196);
    padding-top: 2rem;
    margin-top: 2rem;
}

.menu-overlay.active .menu-footer {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

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

.footer-section h3 {
    font-size: 1rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.footer-section p {
    font-size: 1rem;
    font-weight: 100;
    margin-bottom: 0.5rem;
}



.footer-section h3 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.footer-section p {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}


.footer-section a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.footer-section a:hover {
    opacity: 0.7;
    transform: translateX(5px);
}

.footer-section a:visited {
    color: var(--secondary-color);
}




/* Tablet Styles */
@media (max-width: 768px) {
    .header {
        padding: 1.5rem 2rem;
    }

    .main-content {
        padding: 6rem 2rem 2rem;
    }

    .menu-content {
        padding: 6rem 2rem 2rem;
    }

    .menu-links {
        gap: 1.5rem;
    }

    .menu-link {
        font-size: clamp(2rem, 10vw, 4rem);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Mobile Styles */
@media (max-width: 480px) {
    .header {
        padding: 1.25rem 1.5rem;
    }

    .logo a {
        font-size: 1.25rem;
    }

    .burger-line {
        width: 25px;
    }

    .main-content {
        padding: 5rem 1.5rem 2rem;
    }

    .menu-content {
        padding: 5rem 1.5rem 2rem;
    }

    .menu-links {
        gap: 1.25rem;
        justify-content: flex-start;
        padding-top: 3rem;
    }

    .menu-link {
        font-size: clamp(2rem, 12vw, 3.5rem);
        letter-spacing: -1px;
    }

    .menu-link:hover {
        transform: translateX(10px);
    }

    .menu-footer {
        padding-top: 1.5rem;
    }

    .footer-section h3 {
        font-size: 0.75rem;
    }

    .footer-section p,
    .social-links a {
        font-size: 0.875rem;
    }


}

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

/* Accessibility - Focus styles */
.burger-menu:focus-visible,
.menu-link:focus-visible,
.social-links a:focus-visible {
    outline: 2px solid var(--secondary-color);
    outline-offset: 4px;
}

.logo a:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 4px;
}

/* About Page Styles */
.about-page {
    min-height: 100vh;
    padding: 10rem 3rem 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5rem;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.about-text {
    font-size: clamp(2rem, 5vw, 4.5rem);
    font-weight: 300;
    line-height: 1.3;
    letter-spacing: -1px;
    margin: 0;
}

.about-text span {
    display: inline;
}

.text-primary {
    color: var(--primary-color);
}

.text-accent {
    color: var(--accent-color);
}

/* About Contact Section */
.about-contact {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    border-top: 2px solid #e0e0e0;
    padding-top: 3rem;
}

.contact-info h2 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.contact-info p {
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    font-weight: 300;
    margin-bottom: 1rem;
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.contact-info a:hover {
    color: var(--accent-color);
    transform: translateX(10px);
}

/* Responsive - About Page */
@media (max-width: 768px) {
    .about-page {
        padding: 8rem 2rem 4rem;
        gap: 3rem;
    }

    .about-text {
        font-size: clamp(1.5rem, 6vw, 3rem);
    }

    .contact-info h2 {
        font-size: clamp(1.2rem, 4vw, 2rem);
    }

    .contact-info p {
        font-size: clamp(1rem, 3vw, 1.5rem);
    }
}

@media (max-width: 480px) {
    .about-page {
        padding: 6rem 1.5rem 3rem;
        gap: 2rem;
    }

    .about-contact {
        padding-top: 2rem;
    }
}

/* Subtle About Page Animation */
.about-content {
    opacity: 0;
    animation: fadeIn 1.2s ease forwards;
    animation-delay: 0.2s;
}

.about-contact {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: 0.8s;
}

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

/* Projects Hero Page */
.projects-hero-page {
    min-height: 100vh;
    padding: 10rem 3rem 5rem;
}

/* Intro Text Section */
.projects-intro {
    max-width: 1200px;
    margin: 0 auto 6rem;
}

.intro-text {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 300;
    line-height: 1.3;
    letter-spacing: -1px;
    margin: 0;
}

.intro-text span {
    display: inline;
}

/* Projects Hero Grid - 3 Columns */
.projects-hero-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Changed from 2 to 3 */
    gap: 3rem 2rem; /* Slightly smaller gap */
    max-width: 1200px;
    margin: 0 auto;
}
/* Project Links */
.project-image-link {
    display: block;
    text-decoration: none;
}

.project-title-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
    transition: opacity 0.3s ease;
}

.project-title-link:hover {
    opacity: 0.6;
}
/* Individual Project Cards */
.project-hero-card {
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
    width: 100%;
}

.project-hero-card:hover {
    transform: translateY(-10px);
}

/* Remove the staggered positioning */
.project-hero-card:nth-child(1),
.project-hero-card:nth-child(2),
.project-hero-card:nth-child(3),
.project-hero-card:nth-child(4),
.project-hero-card:nth-child(5) {
    grid-column: auto;
    margin-top: 0;
}



/* Project Hero Image */
.project-hero-image {
    width: 100%;
    aspect-ratio: 4 / 3.5;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    background-color: #f0f0f0;
}

.project-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-hero-card:hover .project-hero-image img {
    transform: scale(1.05);
}

/* Project Info */
.project-hero-info {
    padding: 0 0.5rem;
}

.project-keywords {
    font-size: 0.875rem;
    font-weight: 300;
    color: var(--accent-color);
    text-transform: lowercase;
    margin-bottom: 0.5rem;
}

.project-hero-title {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -1px;
    margin: 0;
    color: var(--primary-color);
}

/* Project Links */
.project-image-link {
    display: block;
    text-decoration: none;
}

.project-title-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
    transition: opacity 0.3s ease;
}

.project-title-link:hover {
    opacity: 0.6;
}

.project-title-link:hover .project-hero-title {
    text-decoration: none; /* Add this */
}
/* Responsive - Tablet */
@media (max-width: 1024px) {
    .projects-hero-page {
        padding: 8rem 2rem 4rem;
    }

    .projects-intro {
        margin-bottom: 4rem;
    }

    .intro-text {
        font-size: clamp(1.5rem, 6vw, 3rem);
    }

}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .projects-hero-page {
        padding: 7rem 1.5rem 3rem;
    }

    .projects-intro {
        margin-bottom: 3rem;
    }

    /* Single column on mobile */
    .projects-hero-grid {
        display: block;
    }

    .project-hero-card {
        margin-bottom: 3rem;
        margin-top: 0 !important;
    }

    .project-hero-title {
        font-size: clamp(1.8rem, 5vw, 2.2rem);
    }
}

@media (max-width: 480px) {
    .projects-hero-page {
        padding: 6rem 1rem 2rem;
    }

    .intro-text {
        font-size: clamp(1.2rem, 5vw, 2rem);
    }

    .project-keywords {
        font-size: 0.75rem;
    }
}

/* Projects Hero Page Animation */
.projects-intro {
    opacity: 0;
    animation: fadeIn 1.2s ease forwards;
    animation-delay: 0.2s;
}

.projects-hero-grid {
    opacity: 0;
    animation: fadeIn 1.2s ease forwards;
    animation-delay: 0.4s;
}

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

/* Project Single Page */
.project-single-page {
    min-height: 100vh;
    padding-top: 6rem;
}

/* Hero Image */
.project-single-hero {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 4rem;
    padding: 0 3rem;
}

.project-single-hero img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

/* Project Header */
.project-single-header {
    max-width: 1200px;
    margin: 0 auto 6rem;
    padding: 0 3rem;
}

.project-single-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

/* Project Meta */
.project-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.project-meta-item h3 {
    font-size: 0.75rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
    color: var(--accent-color);
}

.project-meta-item p {
    font-size: 1rem;
    font-weight: 300;
    color: var(--primary-color);
    line-height: 1.6;
}

/* Project Content */
.project-single-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3rem 5rem;
}

/* Image Rows */
.project-image-row {
    display: grid;
    gap: 2rem;
    margin-bottom: 4rem;
}

.project-image-row.two-columns {
    grid-template-columns: repeat(2, 1fr);
}

.project-image-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

/* Text Block */
.project-text {
    max-width: 1200px;
    margin: 0 auto 4rem;
}

.project-text p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 300;
    line-height: 1.7;
    color: var(--accent-color);
}

/* Navigation */
.project-single-navigation {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 3rem 5rem;
    text-align: center;
}

.back-to-projects {
    font-size: 1rem;
    font-weight: 300;
    color: var(--primary-color);
    text-decoration: none;
    transition: opacity 0.3s ease;
    display: inline-block;
}

.back-to-projects:hover {
    opacity: 0.6;
}

/* Responsive - Project Single Page */
@media (max-width: 768px) {
    .project-single-page {
        padding-top: 5rem;
    }

    .project-single-hero {
        padding: 0 2rem;
        margin-bottom: 3rem;
    }

    .project-single-header {
        padding: 0 2rem;
        margin-bottom: 4rem;
    }

    .project-single-content {
        padding: 0 2rem 4rem;
    }

    .project-meta {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .project-image-row.two-columns {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .project-image-row {
        margin-bottom: 3rem;
    }

    .project-text {
        margin-bottom: 3rem;
    }
}

@media (max-width: 480px) {
    .project-single-hero {
        padding: 0 1.5rem;
    }

    .project-single-header {
        padding: 0 1.5rem;
    }

    .project-single-content {
        padding: 0 1.5rem 3rem;
    }

    .project-meta {
        padding-top: 2rem;
    }

    .project-image-row {
        gap: 1rem;
        margin-bottom: 2rem;
    }
}

