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

html { scroll-behavior: smooth; }

body {
    background-color: #000;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    line-height: 1.5;
    overflow-x: hidden;
}

.border-b { border-bottom: 2px solid #fff; }
.section-padding { padding: 160px 32px; }
.padding-x { padding: 32px; }

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px; 
}

nav {
    display: flex;
    justify-content: space-between;
    padding: 32px;
    position: sticky;
    top: 0;
    background: #000;
    z-index: 1000;
}

.brand-name { font-weight: 900; font-size: 24px; }
.nav-links a {
    color: #fff;
    text-decoration: none;
    margin-left: 40px;
    font-weight: 700;
    font-size: 16px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    min-height: 85vh;
}

.hero-text-area {
    padding: 128px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-image-area {
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
}

.hero-img {
    height: 600px;
    width: auto;
    filter: grayscale(100%) contrast(110%);
    display: block;
}

.headline { 
    font-size: clamp(40px, 10vw, 120px); 
    font-weight: 900; 
    line-height: 0.85; 
    letter-spacing: -4px; 
}

.sub-headline { 
    max-width: 600px; 
    margin-top: 48px; 
    text-transform: none; 
    font-size: 24px; 
    opacity: 0.9;
}

.section-title { font-size: 40px; font-weight: 900; line-height: 1; }
.project-row { display: flex; min-height: 480px; }
.project-content { 
    flex: 1; 
    padding: 64px 32px; 
    border-right: 2px solid #fff; 
    display: flex; 
    flex-direction: column; 
    justify-content: space-between; 
}

.project-visual { 
    flex: 1; 
    background: #111; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
}

.project-name { 
    font-size: clamp(32px, 5vw, 72px); 
    font-weight: 900; 
    line-height: 1; 
    margin: 16px 0; 
}

.category { font-size: 16px; font-weight: 700; opacity: 0.6; }

.stack-tags { 
    display: flex; 
    gap: 16px; 
    flex-wrap: wrap; 
    margin-top: 32px; 
}

.stack-tags span {
    border: 2px solid #fff; 
    padding: 16px 32px; 
    font-size: 16px; 
    font-weight: 900;
    letter-spacing: 1px;
}

.preview-box { font-weight: 900; font-size: 32px; opacity: 0.1; }

.group-label { font-size: 16px; font-weight: 900; margin-bottom: 24px; opacity: 0.6; }
.large-text { font-size: 24px; text-transform: none; line-height: 1.5; max-width: 800px; }

.email-link {
    display: inline-block;
    font-size: clamp(24px, 5vw, 64px);
    font-weight: 900;
    color: #fff;
    text-decoration: none;
    border-bottom: 8px solid #fff;
}

.social-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.social-link {
    padding: 64px 32px;
    border-right: 2px solid;
    text-decoration: none;
    font-weight: 900;
    font-size: 20px;
    text-align: center;
    background-color: #000;
}

.brand-fiverr { color: #1dbf73; border-color: #ffffff; }
.brand-upwork { color: #14a800; border-color: #ffffff; }
.brand-behance { color: #0057ff; border-color: #ffffff; }
.brand-dribbble { color: #ea4c89; border-color: #ffffff; }
.brand-linkedin { color: #0077b5; border-color: #ffffff; }
.brand-instagram { color: #e4405f; border-color: #ffffff; }
.brand-facebook { color: #1877f2; border-color: #ffffff; }

.social-link:last-child { border-right: none; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding: 40px 32px;
    font-size: 16px;
    font-weight: 700;
    opacity: 0.4;
}

@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-text-area { border-right: none; border-bottom: 2px solid #fff; padding: 80px 32px; }
    .hero-image-area { height: auto; padding: 64px 32px; }
    .hero-img { height: 400px; max-width: 100%; } /* Smaller fixed height for tablet */
    .grid-2 { grid-template-columns: 1fr; gap: 48px; }
    .project-row { flex-direction: column; }
    .project-content { border-right: none; border-bottom: 2px solid #fff; }
    .social-link { border-right: none; border-bottom: 2px solid; }
}

@media (max-width: 600px) {
    .section-padding { padding: 80px 16px; }
    .stack-tags span { padding: 12px 24px; font-size: 14px; }
    .headline { letter-spacing: -2px; }
    .hero-img { height: 320px; }
}

.project-visual { 
    flex: 1; 
    background: #111; 
    display: flex;
    overflow: hidden;
    position: relative;
}

.project-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

@media (max-width: 1024px) {
    .project-visual { 
        height: 500px;
        border-bottom: 2px solid #fff;
    }
}