/* ============ BASE ============ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #222;
    background-color: #fff;
    overflow-x: hidden;
}

img {
    width: 67%;
    height: auto;
}

.project-2-detail-page .project-images img {
    width: 100%;
}

.project-2-detail-page .grid-item-3 {
    grid-column: 1 / -1;
    grid-row: auto;
}

.project-2-detail-page .project-2-spotify {
    width: 35%;
    max-width: 360px;
    aspect-ratio: 9 / 16;
    height: auto;
    object-fit: cover;
    margin-left: auto;
    margin-right: auto;
}

.project-2-full-width {
    width: 100%;
}

/* ============ GLOBAL LAYERING ============ */
body > * {
    position: relative;
    z-index: 1;
}

/* ============ TOP BANNER ============ */

.top-banner {
    height: 0;
    background: linear-gradient(90deg, #0052cc 0%, #0066ff 50%, #0052cc 100%);
    position: relative;
    overflow: hidden;
    display: none;
}

.top-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="1000" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

/* ============ NAVIGATION ============ */

.main-nav {
    background-color: transparent;
    padding: 15px 40px;
    position: sticky;
    top: 0;
    z-index: 1000;
    border: none;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: none !important;
}

.nav-links {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: #666;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 1px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    display: none;
}

.nav-link:hover {
    color: #222;
}

/* ============ HAMBURGER MENU ============ */

.hamburger-menu {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    border: none;
    background: none;
    padding: 0.5rem;
    gap: 6px;
}

.hamburger-menu span {
    width: 25px;
    height: 3px;
    background-color: #222;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Navigation Dropdown */
.nav-links.active {
    display: flex;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: #fff;
    flex-direction: column;
    gap: 0;
    max-height: 500px;
    overflow: hidden;
    transition: max-height 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 99;
    border-bottom: 1px solid #f0f0f0;
}

.nav-links.active li {
    border-bottom: 1px solid #f0f0f0;
    padding: 0;
}

.nav-links.active li:last-child {
    border-bottom: none;
}

.nav-links.active .nav-link {
    display: block;
    padding: 1rem 2rem;
    text-align: center;
}

.nav-links.active .nav-link::after {
    display: none;
}

/* Desktop Navigation (show nav-links normally) */
@media (min-width: 769px) {
    .hamburger-menu {
        display: flex;
    }
}

/* ============ LANDING PAGE ============ */

.landing-page {
    min-height: calc(100vh - 60px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
    padding: 4rem 2rem;
}

.landing-content {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.landing-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #222;
    text-shadow: none;
}

.landing-text .subtitle {
    font-size: 1.5rem;
    color: #666;
    font-weight: 600;
    margin-bottom: 1rem;
    text-shadow: none;
}

.landing-text .description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #222 0%, #333 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #333;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.landing-image {
    position: relative;
}

.landing-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: none;
    animation: fadeInUp 0.8s ease;
}

/* ============ PORTFOLIO GRID (MASONRY) ============ */

.portfolio-main {
    min-height: 100vh;
    background-color: #2a2a2a;
    padding: 4rem 2rem;
}

/* Portfolio featured strip */
.featured-strip {
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 3rem;
}

.marquee {
    display: flex;
    gap: 3rem;
    white-space: nowrap;
    font-size: 1rem;
    letter-spacing: 0.35rem;
    text-transform: uppercase;
    color: #e6e6e6;
    padding: 1rem 0;
    position: relative;
}

.marquee-track {
    animation: marqueeSlide 18s linear infinite;
}

@keyframes marqueeSlide {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

/* Featured row */
.featured-row {
    margin-bottom: 4rem;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

.featured-card {
    text-decoration: none;
    color: #f5f5f5;
    display: block;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.featured-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.featured-card .featured-media {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.featured-meta {
    padding: 1rem 0 0;
}

.featured-meta h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.35rem 0;
    color: #f5f5f5;
}

.featured-meta p {
    margin: 0;
    color: #bdbdbd;
}

.featured-card.revealed {
    opacity: 1;
}

/* Hero list */
.portfolio-hero-list {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-bottom: 6rem;
}

.hero-project {
    text-decoration: none;
    color: #fff;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.hero-project.revealed {
    opacity: 1;
}

.hero-media img {
    width: 100%;
    height: 70vh;
    object-fit: cover;
    display: block;
}

.hero-caption {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 1.25rem 0 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-caption h2 {
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 0.75rem 0;
}

.hero-caption span {
    color: #cfcfcf;
    font-size: 1rem;
}

.portfolio-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 6rem;
    padding: 0 2rem;
}

.project-item {
    position: relative;
    overflow: visible;
    border-radius: 0;
    cursor: pointer;
    box-shadow: none;
    transition: all 0.3s ease;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    background-color: transparent;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.portfolio-main .project-item {
    opacity: 0;
    transform: translateY(30px);
    animation: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.portfolio-main .project-item.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Different positioning for projects */
.project-1 { 
    animation-delay: 0s;
    width: 45%;
    margin-left: 0;
}
.project-2 { 
    animation-delay: 0.15s;
    width: 55%;
    margin-left: auto;
}
.project-3 { 
    animation-delay: 0.3s;
    width: 48%;
    margin-left: 8%;
}
.project-4 { 
    animation-delay: 0.45s;
    width: 42%;
    margin-left: auto;
    margin-right: 5%;
}
.project-5 { 
    animation-delay: 0.6s;
    width: 52%;
    margin-left: 0;
}
.project-6 { 
    animation-delay: 0.75s;
    width: 46%;
    margin-left: auto;
}
.project-7 { 
    animation-delay: 0.9s;
    width: 50%;
    margin-left: 10%;
}
.project-8 { 
    animation-delay: 1.05s;
    width: 54%;
    margin-left: auto;
    margin-right: 0;
}

/* Portfolio tile media */

.project-image-container {
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border: none;
    min-height: 400px;
}

/* Portfolio tile overrides */

.project-item.project-3 {
    min-height: 0;
}

.project-item.project-3 .project-image-container {
    aspect-ratio: 9 / 16;
    height: auto;
}

.project-item.project-3 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-item.project-4 .project-image-container.project-4-portrait {
    aspect-ratio: 9 / 16;
    height: auto;
}

.project-item.project-4 .project-4-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
    padding: 0;
}

.project-item:hover img {
    transform: scale(1.05);
}

.project-image-container:hover {
    box-shadow: none;
}

.project-info-card {
    background-color: transparent;
    padding: 1.5rem 0;
    color: #222;
}

.project-info-card h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #222;
}

.project-info-card p {
    margin: 0;
    font-size: 1.1rem;
    color: #666;
    font-weight: 400;
}

/* ============ PROJECT DETAIL PAGE ============ */

.project-detail-page {
    min-height: 100vh;
    background-color: #fff;
    padding: 4rem 2rem;
}

.project-detail-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.project-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.project-header h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: #222;
    font-weight: 800;
    text-shadow: none;
}

.project-meta p {
    color: #666;
    line-height: 1.8;
    font-size: 1.1rem;
    max-width: 900px;
    margin: 0 auto;
}

.project-detail-header h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: #222;
    font-weight: 800;
    text-shadow: none;
}

.project-4-hero {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 1.5rem;
}

.project-detail-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.project-images {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Project 1 detail: one image per row */
.project-1-detail-page .project-images {
    grid-template-columns: 1fr;
}

.project-1-detail-page .grid-item-1,
.project-1-detail-page .grid-item-2,
.project-1-detail-page .grid-item-3,
.project-1-detail-page .grid-item-4,
.project-1-detail-page .grid-item-5,
.project-1-detail-page .grid-item-6 {
    grid-column: span 1;
    grid-row: span 1;
}

/* Project 3 detail hero sizing */
.project-3-detail-page .project-images {
    grid-template-columns: 1fr;
}

.project-3-detail-page .grid-item-1 {
    grid-column: span 1;
    grid-row: span 1;
}

.project-3-detail-page .project-3-hero {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.grid-item-1 { grid-column: span 2; grid-row: span 2; animation-delay: 0s; }
.grid-item-2 { grid-column: span 4; grid-row: span 1; animation-delay: 0.15s; }
.grid-item-3 { grid-column: span 1; grid-row: span 1; animation-delay: 0.3s; }
.grid-item-4 { grid-column: span 2; grid-row: span 2; animation-delay: 0.45s; }
.grid-item-5 { grid-column: span 2; grid-row: span 2; animation-delay: 0.6s; }
.grid-item-6 { grid-column: span 2; grid-row: span 1; animation-delay: 0.75s; }

/* Project 1 detail: one image per row (override layout spans) */
.project-1-detail-page .project-images {
    display: block;
    grid-template-columns: 1fr !important;
}

.project-1-detail-page .grid-item-1,
.project-1-detail-page .grid-item-2,
.project-1-detail-page .grid-item-3,
.project-1-detail-page .grid-item-4,
.project-1-detail-page .grid-item-5,
.project-1-detail-page .grid-item-6 {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
}

.project-1-detail-page .project-images img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    max-width: none;
    margin-bottom: 2rem;
}

.project-1-gif-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.project-1-gif-row img {
    margin-bottom: 0;
}

.project-1-detail-page .project-1-fullscreen {
    height: auto;
    object-fit: contain;
}

.project-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
    transition: transform 0.3s ease;
    background-color: transparent;
    border: none;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

/* Project 1 jar grid */
.project-1-jar-section {
    margin-top: 2rem;
}

.project-1-jar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.project-1-jar-grid img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}


.project-images img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.project-info {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    height: fit-content;
    position: relative;
    top: 0;
    margin-top: 3rem;
    border: 1px solid #f0f0f0;
    opacity: 0;
    animation: slideInUp 0.8s ease forwards 0.3s;
}

.project-info h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #222;
    font-weight: 700;
    text-shadow: none;
}

.project-info p {
    margin-bottom: 1.5rem;
    color: #666;
    line-height: 1.8;
    font-size: 1rem;
}

.project-details {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #f0f0f0;
}

.detail-item {
    margin-bottom: 1.5rem;
}

.detail-item strong {
    color: #222;
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.detail-item span {
    color: #666;
    font-size: 0.95rem;
}

.back-to-portfolio {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #222 0%, #333 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #333;
}

.back-to-portfolio:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #333 0%, #444 100%);
}

/* ============ PORTFOLIO GRID SECTION ============ */

.portfolio-grid-section {
    padding: 4rem 2rem;
    background-color: #f9f9f9;
}

.portfolio-grid-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #222;
    text-shadow: none;
    font-weight: 800;
}

/* ============ FOOTER ============ */

.footer {
    background-color: #222;
    color: #fff;
    text-align: center;
    padding: 3rem 2rem;
    font-size: 0.95rem;
    border-top: 1px solid #f0f0f0;
}

.footer p {
    max-width: 1200px;
    margin: 0 auto;
}

/* ============ CONTENT PAGES (ABOUT, MOTION, CONTACT) ============ */

.content-page {
    min-height: calc(100vh - 120px);
    padding: 4rem 2rem;
    background-color: #fff;
}

.content-container {
    max-width: 1000px;
    margin: 0 auto;
    background-color: #f9f9f9;
    padding: 4rem;
    border-radius: 10px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.content-container h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #222;
    font-weight: 800;
    text-shadow: none;
}

.content-container p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 1.5rem;
}

/* ============ ANIMATIONS ============ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.reveal {
    opacity: 1;
    transform: translateY(0);
}

.project-item {
    animation: fadeInUp 0.6s ease forwards;
}

.project-info {
    animation: slideInUp 0.8s ease forwards;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============ RESPONSIVE DESIGN ============ */

@media (max-width: 1024px) {
    .landing-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .landing-text h1 {
        font-size: 2.5rem;
    }

    .project-detail-container {
        grid-template-columns: 1fr;
    }

    .project-images {
        gap: 2rem;
    }

    .project-info {
        position: relative;
        top: 0;
    }

    .project-1-jar-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-links {
        gap: 2rem;
    }

    .featured-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-media img {
        height: 55vh;
    }
}

@media (max-width: 768px) {
    .top-banner {
        height: 0;
        display: none;
    }

    .main-nav {
        padding: 1rem;
        position: relative;
    }

    .nav-container {
        flex-direction: row;
        justify-content: space-between;
        gap: 0;
    }

    .hamburger-menu {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        text-align: center;
        z-index: 99;
    }

    .nav-links.active {
        max-height: 400px;
    }

    .nav-links li {
        border-bottom: 1px solid rgba(0, 255, 65, 0.2);
        padding: 0;
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links .nav-link {
        display: block;
        padding: 1rem 2rem;
    }

    .landing-text h1 {
        font-size: 2rem;
    }

    .landing-text .subtitle {
        font-size: 1.2rem;
    }

    .portfolio-grid {
        gap: 5rem;
        padding: 0 1rem;
    }

    .project-item {
        min-height: 300px;
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .project-detail-header h1 {
        font-size: 2rem;
    }

    .project-images {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .featured-grid {
        grid-template-columns: 1fr;
    }

    .hero-caption {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-media img {
        height: 45vh;
    }

    .project-1-gif-row {
        grid-template-columns: 1fr;
    }
    
    .grid-item-1 { grid-column: span 1; grid-row: span 1; }
    .grid-item-2 { grid-column: span 1; grid-row: span 1; }
    .grid-item-3 { grid-column: span 1; grid-row: span 1; }
    .grid-item-4 { grid-column: span 2; grid-row: span 1; }
    .grid-item-5 { grid-column: span 2; grid-row: span 1; }
    .grid-item-6 { grid-column: span 2; grid-row: span 1; }

    .content-container {
        padding: 2rem;
    }

    .content-container h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .main-nav {
        padding: 0.75rem;
    }

    .nav-logo {
        font-size: 1.1rem;
    }

    .hamburger-menu {
        display: flex;
    }

    .nav-links {
        top: 60px;
    }

    .landing-page {
        padding: 2rem 1rem;
    }

    .landing-text h1 {
        font-size: 1.5rem;
    }

    .landing-text .description {
        font-size: 0.95rem;
    }

    .landing-image img {
        height: 250px;
    }

    .portfolio-grid {
        gap: 4rem;
        padding: 0 1rem;
    }
    
    .project-item {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .project-images {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .grid-item-1 { grid-column: span 1; grid-row: span 1; }
    .grid-item-2 { grid-column: span 1; grid-row: span 1; }
    .grid-item-3 { grid-column: span 1; grid-row: span 1; }
    .grid-item-4 { grid-column: span 1; grid-row: span 1; }
    .grid-item-5 { grid-column: span 1; grid-row: span 1; }
    .grid-item-6 { grid-column: span 1; grid-row: span 1; }

    .project-1-jar-grid {
        grid-template-columns: 1fr;
    }

    .project-1-jar-grid img {
        height: auto;
    }

    .portfolio-main {
        padding: 2rem 1rem;
    }

    .project-detail-container {
        padding: 0;
    }

    .project-info {
        padding: 1.5rem;
    }
}

/* More Projects Section Styles */
.more-projects {
    padding: 80px 40px;
    background-color: #f5f5f5;
    text-align: center;
}

.more-projects h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
    font-weight: 700;
    letter-spacing: 1px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    overflow: hidden;
    border-radius: 8px;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.project-image-wrapper {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background-color: #e0e0e0;
}

.project-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image-wrapper img {
    transform: scale(1.05);
}

.project-meta {
    padding: 25px 20px;
    text-align: left;
}

.project-meta h3 {
    font-size: 1.3rem;
    margin: 0 0 8px 0;
    font-weight: 600;
}

.project-meta p {
    font-size: 0.95rem;
    color: #666;
    margin: 0 0 15px 0;
}

.view-project {
    display: inline-block;
    color: #007bff;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.project-card:hover .view-project {
    color: #0056b3;
    text-decoration: underline;
}

/* Index Main */
.index-main {
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
}

/* Hero Section - Full Screen Background */
.hero-section {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25);
    z-index: 2;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    text-align: center;
    color: white;
    width: 90%;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 0 0 20px 0;
    line-height: 1.1;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.4rem;
    margin: 0 0 40px 0;
    line-height: 1.6;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.cta-button {
    display: inline-block;
    padding: 15px 50px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.cta-button:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .cta-button {
        padding: 12px 40px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .cta-button {
        padding: 10px 30px;
        font-size: 0.85rem;
    }
}
