/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #000;
    --text-color: #333;
    --background-color: #000;
    --white: #ffffff;
    --gray: #f5f5f5;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
    overflow-x: hidden;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(143, 163, 176, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(143, 163, 176, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: #ffffff;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(143, 163, 176, 0.2);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.nav-menu {
    margin-left: auto;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
}

.logo-placeholder {
    width: 40px;
    height: 40px;
}

.logo img {
    vertical-align: middle;
    margin-top: -2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(90deg, var(--primary-color), #8fa3b0);
    transition: width 0.3s ease;
    border-radius: 1px;
}

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



/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0 50px;
    background-color: var(--background-color);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 60px;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(143, 163, 176, 0.1);
    width: 100%;
    max-width: 1200px;
    overflow: hidden;
    position: relative;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(143, 163, 176, 0.3), transparent);
}

.hero-content {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 500;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.hero-image {
    background-color: #8fa3b0;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0 60px 60px 0;
    overflow: hidden;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    position: relative;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-color);
    margin-bottom: 5px;
    transition: var(--transition);
    transform-origin: center;
}

.mobile-menu-toggle span:last-child {
    margin-bottom: 0;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Header scroll effects */
.header {
    transition: transform 0.3s ease;
}

.header.scroll-down {
    transform: translateY(-100%);
}

.header.scroll-up {
    transform: translateY(0);
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-up {
    animation: fadeUp 0.8s ease-out forwards;
}

.animate-fade-up-delay {
    opacity: 0;
    animation: fadeUp 0.8s ease-out forwards;
    animation-delay: 0.2s;
}

.animate-fade-up-delay-2 {
    opacity: 0;
    animation: fadeUp 0.8s ease-out forwards;
    animation-delay: 0.4s;
}

.animate-fade-up-delay-3 {
    opacity: 0;
    animation: fadeUp 0.8s ease-out forwards;
    animation-delay: 0.6s;
}

.animate-scale-in {
    opacity: 0;
    animation: scaleIn 1s ease-out forwards;
    animation-delay: 0.3s;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .hero-card {
        grid-template-columns: 1fr;
        border-radius: 40px;
    }
    
    .hero-content {
        padding: 3rem;
        text-align: center;
    }
    
    .hero-image {
        border-radius: 0 0 40px 40px;
        min-height: 400px;
    }
}

@media screen and (max-width: 768px) {
    /* Mobile Navigation */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        margin-left: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    

    
    .hero {
        padding: 100px 0 50px;
    }
    
    .hero-card {
        border-radius: 30px;
    }
    
    .hero-content {
        padding: 2rem;
    }
    
    .hero-image {
        border-radius: 0 0 30px 30px;
        min-height: 350px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .hero-container {
        padding: 0 1rem;
    }
    
    .hero-card {
        border-radius: 20px;
    }
    
    .hero-content {
        padding: 1.5rem;
    }
    
    .hero-image {
        border-radius: 0 0 20px 20px;
        min-height: 300px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

/* Works Page Styles */
.works-section {
    min-height: calc(100vh - 200px);
    background-color: var(--background-color);
    padding: 120px 0 50px;
}

.works-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.works-title {
    color: var(--white);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: left;
}

.works-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 2rem;
    height: auto;
}

.work-item {
    position: relative;
    padding: 1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(143, 163, 176, 0.1);
    transition: all 0.3s ease;
}

.work-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.work-images {
    display: grid;
    gap: 1rem;
    margin-bottom: 1rem;
    cursor: pointer;
    overflow: hidden;
}

.work-category {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
}

.work-image-placeholder {
    background-color: #666;
    border-radius: 8px;
    transition: transform 0.3s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photography-section .work-image-placeholder,
.typography-section .work-image-placeholder {
    object-fit: cover;
    object-position: center;
}



/* Logo Section */
.logo-section .work-images {
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
    height: 300px;
}

.logo-section .work-image-placeholder:first-child {
    grid-row: 1 / 3;
}

/* 3D Art Section */
.art-section .work-images {
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
    height: 300px;
}

.art-section .work-image-placeholder:first-child {
    grid-row: 1 / 3;
}

/* Photography Section */
.photography-section .work-images {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    height: 300px;
}

.photography-section .work-image-placeholder:first-child {
    grid-column: 1 / 3;
}

/* Typography Section */
.typography-section .work-images {
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
    height: 300px;
}

.typography-section .work-image-placeholder:first-child {
    grid-row: 1 / 3;
}

/* Active nav link */
.nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

.nav-link.active::after {
    width: 100%;
}

/* About Page Styles */
.about-section {
    min-height: 100vh;
    background-color: var(--background-color);
    padding: 120px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.about-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 60px;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(143, 163, 176, 0.1);
    overflow: hidden;
    position: relative;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(143, 163, 176, 0.3), transparent);
}

.about-content {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.about-image {
    background-color: #8fa3b0;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0 60px 60px 0;
    overflow: hidden;
}

.about-image-placeholder {
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
    object-fit: cover;
    object-position: center;
}

.about-image-placeholder:hover {
    transform: scale(1.02);
}

/* Responsive Design for Works */
@media screen and (max-width: 1024px) {
    .works-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .works-title {
        text-align: center;
    }
    
    .about-card {
        grid-template-columns: 1fr;
        border-radius: 40px;
    }
    
    .about-content {
        padding: 3rem;
        text-align: center;
    }
    
    .about-image {
        border-radius: 0 0 40px 40px;
        min-height: 400px;
    }
}

@media screen and (max-width: 768px) {
    .works-section {
        padding: 100px 0 50px;
    }
    
    .works-container {
        padding: 0 1rem;
    }
    
    .logo-section .work-images,
    .art-section .work-images,
    .photography-section .work-images,
    .typography-section .work-images {
        height: 250px;
    }
    
    .work-category {
        font-size: 1.3rem;
    }
    
    .about-section {
        padding: 100px 0;
    }
    
    .about-container {
        padding: 0 1rem;
    }
    
    .about-card {
        border-radius: 30px;
    }
    
    .about-content {
        padding: 2rem;
    }
    
    .about-title {
        font-size: 2rem;
    }
    
    .about-text {
        font-size: 1rem;
    }
    
    .about-image {
        border-radius: 0 0 30px 30px;
        min-height: 350px;
    }
}

@media screen and (max-width: 480px) {
    .logo-section .work-images,
    .art-section .work-images,
    .photography-section .work-images,
    .typography-section .work-images {
        height: 200px;
    }
    
    .works-grid {
        gap: 2rem;
    }
}

/* Category View Styles */
.category-view {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease;
}

.category-view.active {
    opacity: 1;
    transform: translateY(0);
}

.category-title {
    color: var(--white);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 5rem;
}

.category-image-placeholder {
    background-color: #666;
    border-radius: 8px;
    height: auto;
    max-height: 300px;
    transition: transform 0.3s ease;
    width: 100%;
    object-fit: contain;
}

.category-image-placeholder:hover {
    transform: scale(1.05);
    cursor: pointer;
}

/* Image Modal Styles */
.image-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
}

.modal-close:hover {
    opacity: 0.7;
}

.modal-image {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 10px;
}

.modal-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: white;
    padding: 10px 0;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.2rem;
}

@media screen and (max-width: 768px) {
    .modal-close {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }
    
    .modal-image {
        max-width: 95%;
        max-height: 85%;
    }
    
    .modal-caption {
        font-size: 1rem;
        bottom: 10px;
    }
}

.back-btn {
    background-color: var(--white);
    color: var(--text-color);
    border: 2px solid var(--text-color);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 2rem auto;
    font-size: 1rem;
}

.back-btn:hover {
    background-color: var(--text-color);
    color: var(--white);
    transform: translateY(-2px);
}

.back-btn svg {
    transition: transform 0.3s ease;
}

.back-btn:hover svg {
    transform: translateX(-3px);
}
    
    .about-card {
        border-radius: 20px;
    }
    
    .about-content {
        padding: 1.5rem;
    }
    
    .about-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .about-text {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .about-image {
        border-radius: 0 0 20px 20px;
        min-height: 300px;
    }
    
    .category-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .category-image-placeholder {
        max-height: 200px;
    }
    
    .back-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 480px) {
    .category-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .category-image-placeholder {
        max-height: 150px;
    }
}

/* Contact Page Styles */
.contact-section {
    min-height: 100vh;
    background-color: var(--background-color);
    padding: 120px 0 50px;
    color: var(--white);
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: left;
}

.social-icons {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

.social-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon:hover {
    transform: scale(1.1);
}

.social-icon.facebook {
    background-color: #1877f2;
}

.social-icon.twitter {
    background-color: #000;
}

.social-icon.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.contact-info {
    font-size: 1.1rem;
    line-height: 2;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

.contact-detail {
    margin-bottom: 1rem;
}



/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #f5f5f5 0%, #e9ecef 100%);
    padding: 3rem 0 1rem;
    margin-top: auto;
    border-top: 1px solid rgba(143, 163, 176, 0.2);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(143, 163, 176, 0.3), transparent);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #ddd;
    padding-top: 1rem;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

/* Mobile Navigation Update */
@media screen and (max-width: 768px) {
    
    .contact-section {
        padding: 100px 0 50px;
    }
    
    .social-icons {
        gap: 1.5rem;
        justify-content: flex-start;
    }
    
    .social-icon {
        width: 50px;
        height: 50px;
    }
    
    .contact-info {
        font-size: 1rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

.resume-btn {
    display: block;
    background-color: var(--text-color);
    color: var(--white);
    padding: 0.8rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    margin: 2rem auto 0;
    width: fit-content;
    transition: var(--transition);
}

.resume-btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Resume Page Styles */
.resume-section {
    min-height: 100vh;
    background-color: var(--background-color);
    padding: 120px 0 50px;
    color: var(--white);
}

.resume-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.resume-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
}

.resume-viewer {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 1rem;
    margin-bottom: 2rem;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(143, 163, 176, 0.1);
    position: relative;
}

.resume-viewer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(143, 163, 176, 0.3), transparent);
    border-radius: 20px 20px 0 0;
}

.resume-iframe {
    width: 100%;
    height: 80vh;
    border: none;
    border-radius: 15px;
}

.resume-actions {
    text-align: center;
}

.download-btn {
    background-color: var(--white);
    color: var(--text-color);
    border: 2px solid var(--text-color);
    padding: 0.8rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.download-btn:hover {
    background-color: var(--text-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@media screen and (max-width: 768px) {
    .resume-iframe {
        height: 60vh;
    }
    
    .resume-viewer {
        padding: 0.5rem;
    }
    
    .download-btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Additional hover effects */
.hero-content {
    transition: transform 0.3s ease;
}

.hero-content:hover {
    transform: translateX(-10px);
}

.image-wrapper {
    transition: transform 0.3s ease;
}

.image-wrapper:hover {
    transform: translateY(-10px);
}

/* Loading animation for images */
.image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}