:root {
    --bg-color: #ffffff;
    --text-color: #0d0d0d;
    --accent-color: #333333;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Outfit', sans-serif;
    --section-padding: 12rem 10%;
    --transition: cubic-bezier(0.16, 1, 0.3, 1);
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

header .logo {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    color: #000;
    pointer-events: auto;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

header .logo:hover {
    opacity: 0.5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

::selection {
    background-color: #000;
    color: #fff;
}

html {
    scroll-behavior: initial;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "ss01", "ss02", "cv01", "cv11";
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.05em;
}

/* Sections */
section {
    width: 100%;
    min-height: 100vh;
    padding: var(--section-padding);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: flex-end; /* Horizontal Right */
    justify-content: flex-end; /* Vertical Bottom */
    padding: 0 10% 13vh 10%;
    position: relative;
    overflow: hidden;
    background-color: #ffffff;
}

.hero h1 {
    font-size: clamp(4rem, 10vw, 8rem);
    line-height: 0.9;
    margin: 0;
    text-align: right;
    font-weight: 900;
    position: relative;
    z-index: 5;
    color: #000;
}

/* Hero Vertical Navigation */
.hero-nav {
    position: absolute;
    right: 5% !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 3rem !important;
    align-items: flex-end !important;
    z-index: 9999 !important;
}

.hero-nav a {
    text-decoration: none !important;
    color: #8b5cf6 !important;
    font-family: var(--font-heading) !important;
    text-transform: uppercase !important;
    font-size: 1.5rem !important;
    letter-spacing: 0.35em !important;
    font-weight: 900 !important;
    transition: all 0.4s var(--transition) !important;
    position: relative !important;
    padding: 1rem 2rem !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.hero-nav a:hover {
    color: #000 !important;
    transform: translateX(-20px) !important;
    background: rgba(139, 92, 246, 0.1) !important;
}

/* About Section */
.about {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--section-padding);
}

.about-tag {
    color: #8b5cf6;
    font-size: 1.2rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    margin-bottom: 4rem;
    font-weight: 700;
}

.about-text {
    max-width: 900px;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    line-height: 1.4;
    letter-spacing: -0.02em;
}

.about-text p {
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
}

/* Work Section (Horizontal Scroll) */
.work {
    padding: 10rem 0;
    overflow: hidden;
}

.work-header {
    padding: 0 10%;
    margin-bottom: 5rem;
}

.horizontal-container {
    display: flex;
    padding-left: 10%;
    width: fit-content;
}

.work-item {
    flex-shrink: 0;
    width: 45vw;
    height: 55vh;
    margin-right: 5vw;
    overflow: hidden;
    position: relative;
    background: #f0f0f0;
}

.work-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-item:hover img {
    transform: scale(1.05);
}

.many-more {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10%;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 300;
    letter-spacing: 0.1em;
    text-align: center;
}

/* Services Section Redesign */
.services {
    padding: 15vh 10%;
    min-height: 100vh;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    max-width: 1400px;
    gap: 0;
    margin-top: 5rem;
    border: 1px solid #eee;
}

.service-card {
    padding: 6rem 4rem;
    text-decoration: none;
    color: #000 !important;
    display: flex !important;
    flex-direction: column;
    justify-content: flex-end;
    border: 1px solid #eee;
    transition: all 0.6s var(--transition);
    aspect-ratio: 16/10;
    position: relative;
    overflow: hidden;
    background: #fafafa; /* Subtle background for visibility */
    opacity: 1 !important; /* Force visibility */
    visibility: visible !important;
}

.service-card:hover {
    background: #000 !important;
    color: #fff !important;
    border-color: #8b5cf6;
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.1);
    z-index: 2;
}

.service-num {
    font-family: var(--font-main);
    font-size: 1rem;
    color: #8b5cf6 !important;
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: 0.1em;
    display: block;
}

.service-title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    text-transform: uppercase;
    font-weight: 800;
    line-height: 1.1;
    max-width: 80%;
    transition: transform 0.6s var(--transition);
    display: block;
    color: inherit;
}

.service-card:hover .service-title {
    transform: translateX(20px);
}

/* Subpages Styling */
.subpage main {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
}

.service-detail {
    max-width: 900px;
    padding: 0 10%;
}

.purple-text {
    color: #8b5cf6;
    font-family: var(--font-heading);
    font-size: clamp(3rem, 10vw, 8rem);
    text-transform: uppercase;
    margin-bottom: 2rem;
    line-height: 1;
}

.service-desc {
    font-size: clamp(1.2rem, 3vw, 2rem);
    line-height: 1.4;
    color: #333;
    margin-bottom: 3rem;
}

.back-btn {
    display: inline-block;
    padding: 1.5rem 3.5rem;
    background: #000;
    color: #fff;
    text-decoration: none;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
    transition: opacity 0.3s ease;
}

.back-btn:hover {
    opacity: 0.7;
}

@media (max-width: 1024px) {
    .service-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact Section */
.contact {
    padding: 10rem 10%;
    background: #fff;
}

.contact-form {
    max-width: 800px;
    margin-top: 4rem;
}

.form-group {
    margin-bottom: 4rem;
    position: relative;
}

.form-group input, 
.form-group textarea,
.form-group select {
    width: 100%;
    border: none;
    border-bottom: 1px solid #000;
    padding: 1rem 0;
    font-family: var(--font-main);
    font-size: 1.2rem;
    background: transparent;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #888;
    position: absolute;
    top: -1.5rem;
    left: 0;
}

.submit-btn {
    background: #000;
    color: #fff;
    border: none;
    padding: 1.5rem 4rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: opacity 0.3s ease;
    margin-top: 2rem;
}

.submit-btn:hover {
    opacity: 0.8;
}

/* Footer */
footer {
    padding: 5rem 10%;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
}

.footer-links {
    display: flex;
    gap: 3rem;
}

.footer-links a {
    text-decoration: none;
    color: #888;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #000;
}

@media (max-width: 768px) {
    :root {
        --section-padding: 8rem 5%;
    }
    .hero { padding: 0 5%; }
    .work-item { width: 85vw; }
    .footer-links { gap: 1rem; }
}


}