/* Zeth Technologies Premium Design System */

:root {
    --primary: #7f46eb;
    --primary-light: rgba(127, 70, 235, 0.08);
    --primary-solid: #6a35d4;
    --dark: #1a1a1a;
    --text: #282828;
    --text-muted: #5e697f;
    --bg: #ffffff;
    --glass: rgba(255, 255, 255, 0.85);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.06);
    --radius-lg: 40px;
    --radius-md: 24px;
}

/* Hide Framer Default Navigation */
.framer-1nbq6rh-container,
.framer-fdvmt4,
.framer-1uqs71n-container,
.framer-1t9mgxt-container,
[data-framer-name="Navigation"],
[data-framer-name="Desktop"] [data-framer-name="Items"],
[data-framer-name="Tablet"] [data-framer-name="Items"],
[data-framer-name="Phone"] [data-framer-name="Items"],
[data-framer-name="Logo Light"],
[data-framer-name="Nav Link Light"],
[data-framer-name="Links"],
[data-framer-component-type="NavigationContainer"] {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
}

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

body {
    font-family: "Inter", system-ui, -apple-system, sans-serif;
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: "Lexend", sans-serif !important;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.04em;
    line-height: 1.1;
}

/* --- Airbnb Style Floating Navbar --- */
/* Prevent transitions on page load */
.stop-transitions * {
    transition: none !important;
}

/* --- Hero Section --- */
.hero {
    padding: 240px 20px 120px;
    text-align: center;
    background: radial-gradient(circle at top, rgba(127, 70, 235, 0.08), transparent 60%);
}

.hero .project-tag {
    display: inline-block;
    padding: 8px 24px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 100px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 32px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero h1 {
    font-size: clamp(48px, 10vw, 84px);
    line-height: 0.95;
    margin-bottom: 32px;
}

.hero p {
    font-size: 22px;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    font-weight: 400;
}

/* --- Projects Listing --- */
.projects-container {
    max-width: 1200px;
    margin: 0 auto 120px;
    padding: 0 20px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
}

.project-card {
    text-decoration: none;
    display: block;
    border-radius: 40px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #f0f0f0;
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-16px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-light);
}

.project-image {
    height: 420px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: var(--transition);
}

.project-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(127, 70, 235, 0.02);
    mix-blend-mode: multiply;
}

.project-content {
    padding: 48px;
}

.project-content .project-tag {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.project-name {
    font-size: 36px;
    margin-bottom: 16px;
}

.project-desc {
    font-size: 18px;
    color: var(--text-muted);
}

/* --- Project Detail --- */
.project-detail-hero {
    padding-top: 200px;
}

.project-detail-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 48px;
    transition: var(--transition);
}

.back-link:hover {
    color: var(--primary);
    transform: translateX(-6px);
}

.detail-header {
    margin-bottom: 80px;
}

.detail-header h1 {
    font-size: 72px;
    line-height: 1;
    margin-bottom: 32px;
}

.detail-header p {
    font-size: 24px;
    color: var(--text-muted);
    max-width: 800px;
}

.main-image-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 100px;
    border-radius: 48px;
    overflow: hidden;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.12);
}

.main-image {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.main-image-wrapper:hover .main-image {
    transform: scale(1.02);
}

.visit-live-btn {
    position: absolute;
    bottom: 40px;
    right: 40px;
    background: #fff;
    color: var(--dark);
    padding: 16px 32px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    z-index: 10;
}

.visit-live-btn:hover {
    transform: translateY(-5px);
    background: var(--primary);
    color: #fff;
}

.tech-tag {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    background: var(--primary-light);
    padding: 6px 16px;
    border-radius: 20px;
    display: inline-block;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.detail-section {
    margin-bottom: 80px;
}

.detail-section h2 {
    font-size: 40px;
    margin-bottom: 32px;
}

.detail-section p {
    font-size: 20px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 24px;
}

.tech-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.tech-pill {
    padding: 12px 28px;
    background: #f8f9fa;
    border: 1px solid #eee;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 600;
}

/* --- Footer styles moved to footer.css --- */

.view-all-btn {
    display: inline-block;
    padding: 20px 48px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    font-family: "Lexend", sans-serif;
    font-weight: 700;
    font-size: 18px;
    border-radius: 40px;
    transition: var(--transition);
    box-shadow: 0 15px 30px rgba(127, 70, 235, 0.25);
}

.view-all-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(127, 70, 235, 0.35);
    background: var(--primary-solid);
}

@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .hero h1 {
        font-size: 48px;
    }

    .detail-header h1 {
        font-size: 48px;
    }
}

/* --- Featured Case Studies (Home Page) --- */
.case-studies-section {
    padding: 120px 40px;
    background-color: #ffffff;
    font-family: "Inter", sans-serif;
    position: relative;
    z-index: 10;
}

.case-studies-container {
    max-width: 1280px;
    margin: 0 auto;
}

.case-studies-header {
    text-align: center;
    margin-bottom: 80px;
}

.case-studies-title {
    font-family: "Lexend", sans-serif;
    font-size: 56px;
    font-weight: 700;
    color: #282828;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.case-studies-subtitle {
    font-size: 20px;
    color: rgb(94, 105, 127);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

@media (max-width: 1100px) {
    .case-studies-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .case-studies-section {
        padding: 80px 20px;
    }

    .case-studies-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .case-studies-title {
        font-size: 38px;
        letter-spacing: -1px;
    }

    .case-studies-subtitle {
        font-size: 18px;
    }
}

.case-study-card {
    background: #ffffff;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid #f2f2f2;
    display: flex;
    flex-direction: column;
}

.case-study-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(127, 70, 235, 0.1);
    border-color: rgba(127, 70, 235, 0.2);
}

.case-study-image {
    height: 280px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.6s ease;
    position: relative;
}

.case-study-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    transition: all 0.4s ease;
}

.case-study-card:hover .case-study-image::after {
    background-color: rgba(0, 0, 0, 0.05);
}

.case-study-card:hover .case-study-image {
    transform: scale(1.05);
}

.case-study-content {
    padding: 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.case-study-name {
    font-family: "Lexend", sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: #282828;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.case-study-desc {
    font-size: 16px;
    color: rgb(94, 105, 127);
    line-height: 1.7;
    margin-bottom: 30px;
    flex: 1;
}

.case-study-link {
    color: #7f46eb;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.2s ease;
}

.case-study-link:hover {
    gap: 12px;
}

/* View All Button */
.zeth-button.view-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    background-color: var(--dark);
    color: #ffffff;
    font-family: "Lexend", sans-serif;
    font-weight: 600;
    font-size: 16px;
    border-radius: 100px;
    border: 1px solid var(--dark);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.zeth-button.view-all:hover {
    background-color: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.zeth-button.view-all h1 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
}

/* Dynamic Project Additions */
.tech-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.tech-pill-small {
    font-size: 12px;
    font-weight: 600;
    color: #7f46eb;
    background: #f5f0ff;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.external-link {
    color: #94A3B8;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f8fafc;
}

.external-link:hover {
    color: #7f46eb;
    background: #f5f0ff;
    transform: rotate(15deg);
}