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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, Helvetica Neue, sans-serif;
    background-color: #0B0B0B;
    color: #F5F5F2;
    line-height: 1.5;
    overflow-x: hidden;
}

h1, h2, h3, h4, .logo-text, .hero-name {
    font-family: 'Helvetica Neue', Helvetica, 'Inter', -apple-system, sans-serif;
    font-weight: 500;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: -0.02em;
}

.section-title {
    margin-bottom: 4rem;
    text-align: center;
}

.section-title h2 {
    color: #F5F5F2;
    font-weight: 400;
}

.section-subtitle {
    font-size: 0.85rem;
    color: #A0A0A0;
    letter-spacing: 1px;
    margin-top: 0.5rem;
    font-weight: 300;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(11, 11, 11, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-bottom: 1px solid #3A3A3A;
    height: 80px;
    padding: 0;
}

.logo-link {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    height: 100%;
    padding-left: 5%;
}

.logo {
    display: flex;
    align-items: center;
    height: 96%;
}

.logo-img {
    height: 95%;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 2px;
    color: #F5F5F2;
}

.logo-text span {
    font-weight: 400;
}

nav {
    display: flex;
    gap: 1.8rem;
    padding-right: 5%;
}

.nav-link {
    text-decoration: none;
    color: #A0A0A0;
    font-weight: 700;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    letter-spacing: 0.5px;
}

.nav-link:hover,
.nav-link.active {
    color: #F5F5F2;
}

.mobile-menu-btn {
    display: none;
}

.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
    margin-top: 70px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-name {
    font-size: 5.5rem;
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    color: #F5F5F2;
}

.hero-title {
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 4px;
    margin-bottom: 2rem;
    color: #D0D0D0;
}

.hero-tagline {
    font-size: 0.9rem;
    letter-spacing: 6px;
    color: #A0A0A0;
}

.portfolio-section {
    padding: 100px 5% 80px 5%;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.project-card {
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.project-card:hover {
    opacity: 0.8;
}

.project-image {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    margin-bottom: 1rem;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.02);
}

.project-info {
    width: 100%;
}

.project-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.project-title-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
}

.project-title {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: #F5F5F2;
    margin: 0;
    text-align: left;
}

.project-location {
    font-size: 0.7rem;
    letter-spacing: 1px;
    color: #A0A0A0;
    margin: 0;
    text-align: left;
}

.project-arrow {
    font-size: 1.2rem;
    color: #F5F5F2;
    opacity: 0.6;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.project-card:hover .project-arrow {
    opacity: 1;
    transform: translateX(4px);
}

.about-section {
    padding: 80px 5%;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.about-image {
    width: 100%;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #D0D0D0;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.contact-section {
    padding: 80px 5%;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item-with-icon {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-icon {
    width: 20px;
    height: 20px;
    color: #A0A0A0;
    flex-shrink: 0;
}

.contact-link {
    color: #F5F5F2;
    text-decoration: none;
    font-size: 0.9rem;
    transition: opacity 0.3s ease;
    word-break: break-all;
}

.contact-link:hover {
    opacity: 0.7;
}

.info-item p {
    color: #A0A0A0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    background: transparent;
    border: 1px solid #3A3A3A;
    padding: 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #F5F5F2;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #F5F5F2;
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #555;
}

.btn-primary {
    background: transparent;
    border: 1px solid #3A3A3A;
    padding: 1rem;
    color: #F5F5F2;
    font-size: 0.9rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #F5F5F2;
    color: #0B0B0B;
}

.success-msg {
    color: #4CAF50;
    text-align: center;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.error-msg {
    color: #f44336;
    text-align: center;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.footer {
    background: #0B0B0B;
    border-top: 1px solid #3A3A3A;
    padding: 3rem 5% 2rem;
}

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

.footer-logo-img {
    height: 35px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.7;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #A0A0A0;
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #F5F5F2;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.footer-social a {
    color: #A0A0A0;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.footer-social a:hover {
    color: #F5F5F2;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    font-size: 0.7rem;
    color: #555;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 11, 11, 0.98);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-content {
    background: #0B0B0B;
    max-width: 1100px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 2rem;
    border: 1px solid #3A3A3A;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    cursor: pointer;
    color: #A0A0A0;
    transition: color 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    color: #F5F5F2;
}

.modal-gallery {
    width: 100%;
}

.modal-main {
    width: 100%;
    max-height: 65vh;
    object-fit: contain;
    margin-bottom: 1.5rem;
    background: #1a1a1a;
    border-radius: 4px;
}

.modal-thumbnails {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 1.5rem 0;
    justify-content: center;
}

.modal-thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    border-radius: 4px;
}

.modal-thumb:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.modal-thumb.active {
    opacity: 1;
    border-color: #F5F5F2;
}

.modal-info {
    padding: 1.5rem 0 0.5rem 0;
    border-top: 1px solid #3A3A3A;
}

.modal-info h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #F5F5F2;
}

.modal-info p {
    color: #A0A0A0;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: #1A1A1A;
}

::-webkit-scrollbar-thumb {
    background: #3A3A3A;
}

@media (max-width: 992px) {
    .hero-name {
        font-size: 4rem;
    }
    
    .projects-grid {
        gap: 3rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
   
    .header {
        height: 85px;
    }
    
    .logo-link {
        padding-left: 4%;
    }
    
    .logo-img {
        height: 95%;
    }
 
    nav {
        display: flex;
        gap: 1.5rem;
        padding-right: 4%;
    }
    
    .nav-link {
        font-size: 0.85rem;
        font-weight: 700;
    }
    
    .hero {
        min-height: 60vh;
        margin-top: 85px;
    }
    
    .hero-name {
        font-size: 3rem;
    }
    
    .hero-title {
        font-size: 1rem;
        letter-spacing: 3px;
    }
    
    .hero-tagline {
        font-size: 0.75rem;
        letter-spacing: 4px;
    }
    
    .portfolio-section {
        padding: 70px 5% 60px 5%;
    }
    
    .about-section {
        padding: 60px 5%;
    }
    
    .contact-section {
        padding: 60px 5%;
    }
    
    .section-title {
        margin-bottom: 2.5rem;
    }
    
    .section-title h2 {
        font-size: 1.6rem;
    }
    
    .projects-grid {
        display: flex;
        flex-direction: column;
        gap: 7rem;
    }
    
    .project-card {
        width: 100%;
    }

    .project-image {
        aspect-ratio: 16/9;
    }
    
    .project-title {
        font-size: 1rem;
    }
    
    .project-arrow {
        font-size: 1.2rem;
    }
    
    .project-location {
        font-size: 0.7rem;
    }

    .modal {
        padding: 1rem;
    }
    
    .modal-content {
        padding: 1.5rem;
        max-height: 85vh;
    }
    
    .modal-main {
        max-height: 45vh;
    }
    
    .modal-thumb {
        width: 65px;
        height: 65px;
    }
    
    .modal-close {
        top: 0.5rem;
        right: 0.5rem;
        font-size: 1.8rem;
    }
    
    .modal-info h3 {
        font-size: 1.2rem;
    }
    
    .modal-info p {
        font-size: 0.8rem;
    }
    
    .about-text p {
        font-size: 0.95rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-links {
        justify-content: center;
        gap: 2rem;
    }
    
    .footer-social a svg {
        width: 26px;
        height: 26px;
    }
}

@media (max-width: 480px) {
    .header {
        height: 75px;
    }
    
    .logo-img {
        height: 95%;
    }
    
    nav {
        gap: 1rem;
    }
    
    .nav-link {
        font-size: 0.7rem;
    }
    
    .hero {
        min-height: 60vh;
        margin-top: 75px;
    }
    
    .hero-name {
        font-size: 2.2rem;
    }
    
    .hero-title {
        font-size: 0.8rem;
        letter-spacing: 3px;
    }
    
    .hero-tagline {
        font-size: 0.65rem;
        letter-spacing: 3px;
    }
    
    .portfolio-section {
        padding: 50px 4% 40px 4%;
    }
    
    .projects-grid {
        gap: 6rem;
    }
    
    .project-title {
        font-size: 0.9rem;
    }
    
    .project-arrow {
        font-size: 1rem;
    }
    
    .project-location {
        font-size: 0.65rem;
    }
    
    .about-text p {
        font-size: 0.85rem;
    }
    
    .modal-content {
        padding: 1rem;
    }
    
    .modal-main {
        max-height: 40vh;
    }
    
    .modal-thumb {
        width: 50px;
        height: 50px;
    }
    
    .modal-info h3 {
        font-size: 1rem;
    }
    
    .modal-info p {
        font-size: 0.75rem;
    }
    
    .footer-social a svg {
        width: 24px;
        height: 24px;
    }
}