/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #fff;
    color: #1a1a1a;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    height: 72px;
    background: #fff;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
    border-bottom-color: #e5e5e5;
    box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 180px;
}

/* Logo with hamburger hover */
.logo-hamburger {
    position: relative;
    cursor: pointer;
    width: 44px;
    height: 44px;
}

.logo-hamburger .logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.logo-hamburger .hamburger-lines {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    gap: 5px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.logo-hamburger .hamburger-lines span {
    display: block;
    width: 24px;
    height: 2px;
    background: #1a1a1a;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.logo-hamburger:hover .logo-img {
    opacity: 0;
}

.logo-hamburger:hover .hamburger-lines {
    opacity: 1;
}

.logo-hamburger.active .logo-img {
    opacity: 0;
}

.logo-hamburger.active .hamburger-lines {
    opacity: 1;
}

.logo-hamburger.active .hamburger-lines span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.logo-hamburger.active .hamburger-lines span:nth-child(2) {
    opacity: 0;
}

.logo-hamburger.active .hamburger-lines span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Company Name - always visible */
.company-name {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #1a1a1a;
    white-space: nowrap;
}

/* Main Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 60px;
}

.nav-link {
    font-size: 22px;
    font-weight: 300;
    letter-spacing: 0.5px;
    color: #888;
    transition: color 0.2s ease;
    position: relative;
}

.nav-link:hover {
    color: #1a1a1a;
}

.nav-link.active {
    color: #1a1a1a;
    font-weight: 400;
}



/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.97);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-container {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 600px;
    padding: 0 32px;
}

.search-input {
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 300;
    border: none;
    outline: none;
    width: 100%;
    background: transparent;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}

.search-input::placeholder {
    color: #ccc;
}

.search-close {
    background: none;
    border: none;
    font-size: 36px;
    cursor: pointer;
    color: #888;
    line-height: 1;
    transition: color 0.2s ease;
}

.search-close:hover {
    color: #1a1a1a;
}

/* Mobile Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.mobile-nav-link {
    font-size: 28px;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #888;
    transition: color 0.2s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: #1a1a1a;
}

/* Projects Container */
.projects-container {
    margin-top: 70px;
    padding: 40px 0 80px;
}

/* Project Card */
.project-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 32px 60px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.project-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.project-card.hidden {
    display: none;
}

.project-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    min-width: 240px;
    max-width: 300px;
    gap: 8px;
}

.project-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 4px;
}

.project-icon svg {
    width: 100%;
    height: 100%;
}

.project-title {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.5px;
    line-height: 1.3;
    color: #1a1a1a;
}

.project-location {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 1.5px;
    color: #999;
    text-transform: uppercase;
}

.project-image {
    width: 100%;
    max-width: 560px;
    overflow: hidden;
    border-radius: 0;
}

.project-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/10;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

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

/* Project Detail View */
.project-detail {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    z-index: 500;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.project-detail.active {
    opacity: 1;
    visibility: visible;
}

.detail-close {
    position: fixed;
    top: 20px;
    right: 28px;
    background: none;
    border: none;
    font-size: 32px;
    color: #888;
    cursor: pointer;
    z-index: 510;
    line-height: 1;
    transition: color 0.2s ease;
}

.detail-close:hover {
    color: #1a1a1a;
}

.detail-layout {
    display: flex;
    min-height: 100vh;
    padding-top: 40px;
}

.detail-left {
    width: 260px;
    flex-shrink: 0;
    padding: 40px 32px 40px 40px;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.detail-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 16px;
}

.detail-icon svg {
    width: 100%;
    height: 100%;
}

.detail-title {
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: #1a1a1a;
    margin-bottom: 4px;
    line-height: 1.3;
}

.detail-location {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 1.5px;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.detail-meta {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.detail-meta-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: flex-end;
}

.meta-label {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 1.5px;
    color: #999;
    text-transform: uppercase;
}

.meta-value {
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-center {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 40px 0 40px 20px;
    min-width: 0;
}

.detail-scroll-gallery {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding-right: 40px;
    -webkit-overflow-scrolling: touch;
}

.detail-scroll-gallery::-webkit-scrollbar {
    height: 4px;
}

.detail-scroll-gallery::-webkit-scrollbar-track {
    background: #eee;
}

.detail-scroll-gallery::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 2px;
}

.detail-scroll-gallery::-webkit-scrollbar-thumb:hover {
    background: #999;
}

.detail-scroll-gallery img {
    scroll-snap-align: start;
    flex-shrink: 0;
    height: 70vh;
    width: auto;
    max-width: 85vw;
    object-fit: cover;
    display: block;
    border-radius: 2px;
}

.detail-scroll-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    font-size: 12px;
    font-weight: 400;
    color: #999;
    letter-spacing: 0.5px;
    transition: opacity 0.3s ease;
}

.detail-right {
    width: 300px;
    flex-shrink: 0;
    padding: 40px 40px 40px 20px;
}

.detail-description {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.8;
    color: #444;
}

@media (max-width: 1024px) {
    .detail-layout {
        flex-direction: column;
        padding-top: 60px;
    }

    .detail-left {
        width: 100%;
        text-align: center;
        align-items: center;
        padding: 20px 24px;
    }

    .detail-meta {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .detail-meta-item {
        align-items: center;
    }

    .detail-center {
        padding: 0 24px 20px;
    }

    .detail-right {
        width: 100%;
        padding: 0 24px 40px;
    }
}

/* Gallery Trigger */
.project-gallery-trigger {
    cursor: pointer;
    position: relative;
}

.project-gallery-trigger::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
}

.project-gallery-trigger:hover::after {
    background: rgba(0, 0, 0, 0.15);
}


/* About Section */
.about-section {
    padding: 80px 60px;
    border-top: 1px solid #e5e5e5;
}

.about-content {
    max-width: 720px;
    margin: 0 auto;
}

.about-heading {
    font-size: 28px;
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 32px;
    color: #1a1a1a;
}

.about-text p {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* Founders */
.founders {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.founder-card {
    border-top: 1px solid #e5e5e5;
    padding-top: 32px;
}

.founder-name {
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.founder-role {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 1px;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.founder-bio p {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.8;
    color: #444;
    margin-bottom: 16px;
}

.founder-bio p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .about-section {
        padding: 60px 20px;
    }
}

/* News & Views Section */
.news-views-section {
    padding: 80px 60px;
    border-top: 1px solid #e5e5e5;
}

.news-views-content {
    max-width: 720px;
    margin: 0 auto;
}

.section-heading {
    font-size: 28px;
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 24px;
    color: #1a1a1a;
}

.section-placeholder {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.8;
    color: #888;
    font-style: italic;
}

/* Contact Section */
.contact-section {
    padding: 80px 60px;
    border-top: 1px solid #e5e5e5;
    background: #fafafa;
}

.contact-container {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    gap: 80px;
}

.contact-left {
    flex: 1.2;
}

.contact-right {
    flex: 0.8;
    padding-top: 8px;
}

.contact-heading {
    font-size: 28px;
    font-weight: 300;
    letter-spacing: 1px;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.contact-subtext {
    font-size: 15px;
    font-weight: 300;
    color: #888;
    margin-bottom: 32px;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #666;
}

.form-group input,
.form-group textarea {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 300;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    color: #1a1a1a;
    outline: none;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #1a1a1a;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #bbb;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-submit {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    padding: 14px 32px;
    background: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    align-self: flex-start;
    transition: background 0.2s ease;
}

.form-submit:hover {
    background: #333;
}

/* Contact Info */
.contact-info-block {
    margin-bottom: 40px;
}

.contact-info-heading {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.contact-person {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 16px;
}

.contact-person-name {
    font-size: 15px;
    font-weight: 400;
    color: #1a1a1a;
}

.contact-phone {
    font-size: 14px;
    font-weight: 300;
    color: #666;
    transition: color 0.2s ease;
}

.contact-phone:hover {
    color: #1a1a1a;
}

.contact-social {
    display: flex;
    gap: 24px;
}

.contact-social a {
    font-size: 13px;
    font-weight: 400;
    color: #888;
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
}

.contact-social a:hover {
    color: #1a1a1a;
}

@media (max-width: 768px) {
    .contact-section {
        padding: 60px 20px;
    }

    .contact-container {
        flex-direction: column;
        gap: 48px;
    }
}

/* Footer */
.footer {
    padding: 40px 60px;
    border-top: 1px solid #e5e5e5;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.footer-tagline {
    font-size: 12px;
    color: #888;
    margin-top: 4px;
}

.footer-right {
    display: flex;
    gap: 28px;
}

.footer-right a {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 1px;
    color: #888;
    transition: color 0.2s ease;
}

.footer-right a:hover {
    color: #1a1a1a;
}

/* Responsive */
@media (max-width: 1024px) {
    .project-card {
        padding: 24px 32px;
        gap: 24px;
    }

    .project-info {
        min-width: 180px;
        max-width: 220px;
    }

    .project-image {
        max-width: 480px;
    }

    .main-nav {
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 0 20px;
    }

    .main-nav {
        display: none;
    }

    .header-left {
        min-width: auto;
    }

    .header-right {
        min-width: auto;
    }

    .rotating-text {
        display: none;
    }

    .sub-nav {
        padding: 12px 20px;
        gap: 16px;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .sub-nav::-webkit-scrollbar {
        display: none;
    }

    .project-card {
        flex-direction: column;
        padding: 24px 20px;
        gap: 16px;
    }

    .project-info {
        align-items: center;
        text-align: center;
        min-width: auto;
        max-width: none;
        order: 1;
    }

    .project-image {
        max-width: 100%;
        order: 2;
    }

    .footer {
        padding: 32px 20px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* Scroll animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
