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

:root {
    --white: rgb(255, 255, 255);
    --black: rgb(0, 0, 0);
    --blue: rgb(51, 102, 255);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--white);
    background-color: var(--black);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 4rem;
    background: transparent;
    transition: background 0.3s ease;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 100%;
    margin: 0;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s ease;
    flex-shrink: 0;
}

.logo-link:hover {
    opacity: 0.8;
}

.logo-img {
    height: 60px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--white);
    transition: width 0.3s ease;
}

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

.nav-link:hover {
    color: var(--white);
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/one.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    transform: scale(1);
    transition: transform 0.3s ease;
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    image-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.5) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
    max-width: 1200px;
}

.hero-title {
    font-size: 6rem;
    font-weight: 700;
    letter-spacing: 8px;
    margin-bottom: 1rem;
    color: var(--white);
    text-transform: uppercase;
    opacity: 0;
    animation: fadeInUp 1s ease 0.5s forwards;
}

.hero-subtitle {
    font-size: 3rem;
    font-weight: 600;
    letter-spacing: 4px;
    margin-bottom: 2rem;
    color: var(--white);
    text-transform: uppercase;
    opacity: 0;
    animation: fadeInUp 1s ease 0.7s forwards;
}

.hero-description {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--white);
    opacity: 0;
    animation: fadeInUp 1s ease 0.9s forwards;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    font-size: 0.8rem;
    letter-spacing: 2px;
    animation: bounce 2s infinite;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: var(--white);
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -4px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 10px solid var(--white);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Content Section */
.content-section {
    padding: 4rem 4rem 3rem 4rem;
    background-color: var(--black);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.content-wrapper {
    max-width: 1400px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.content-text {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease 0.1s, transform 0.8s ease 0.1s;
}

.content-text.visible {
    opacity: 1;
    transform: translateX(0);
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 2rem;
    color: var(--white);
    text-transform: uppercase;
}

.section-description {
    font-size: 1.1rem;
    font-weight: 450;
    line-height: 1.8;
    color: var(--white);
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.content-image {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
}

.content-image.visible {
    opacity: 1;
    transform: translateX(0);
}

.content-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.words-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    text-align: center;
    padding-top: 3rem;
    width: 100%;
    max-width: 1400px;
    padding-left: 2rem;
    padding-right: 2rem;
}

.rotating-word {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.2;
    white-space: nowrap;
    display: inline-block;
    opacity: 0;
    transform: scale(0.6) translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), 
                transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.rotating-word.show {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.word-filled {
    color: var(--white);
    -webkit-text-stroke: 0;
}

.word-outlined {
    color: transparent;
    -webkit-text-stroke: 2px var(--white);
}

.rotating-word:hover {
    transform: scale(1.05) translateY(0);
}

/* Our Company Page Styles */
.company-hero-section {
    padding: 8rem 4rem 4rem;
    background-color: var(--black);
    min-height: calc(100vh - 100px);
}

.company-content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: flex-start;
}

.company-text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.company-title {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 6px;
    color: var(--white);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.company-description {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.company-description p {
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--white);
    letter-spacing: 1px;
}

.company-image {
    position: sticky;
    top: 120px;
}

.company-img {
    width: 100%;
    height: 800px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Core Values Section */
.core-values-section {
    padding: 6rem 4rem;
    background-color: var(--black);
    position: relative;
    overflow: hidden;
}

.core-values-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.core-values-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.core-values-title {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--white);
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 4rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.value-item {
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    background-color: rgba(255, 255, 255, 0.01);
    transition: transform 0.3s ease, border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease, opacity 0.6s ease;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.value-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.value-item:nth-child(1) { transition-delay: 0s; }
.value-item:nth-child(2) { transition-delay: 0.1s; }
.value-item:nth-child(3) { transition-delay: 0.2s; }
.value-item:nth-child(4) { transition-delay: 0.3s; }
.value-item:nth-child(5) { transition-delay: 0.4s; }
.value-item:nth-child(6) { transition-delay: 0.5s; }

.value-item:hover {
    transition-delay: 0s;
}

.value-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.value-item:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.03);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.05);
}

.value-item:hover::before {
    opacity: 1;
}

.value-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.2);
    transition: color 0.3s ease, transform 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.value-item:hover .value-number {
    color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.value-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: border-color 0.3s ease, width 0.3s ease, height 0.3s ease;
}

.value-corner-top-left {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

.value-corner-bottom-right {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}

.value-item:hover .value-corner {
    border-color: rgba(255, 255, 255, 0.4);
}

.value-item:hover .value-corner-top-left {
    width: 30px;
    height: 30px;
}

.value-item:hover .value-corner-bottom-right {
    width: 30px;
    height: 30px;
}

.value-title {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--white);
    text-transform: uppercase;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.value-description {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--white);
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
}

/* Footer (All Pages) */
.site-footer {
    background-color: rgba(20, 20, 20, 0.95);
    padding: 2.5rem 4rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 4rem;
    align-items: flex-start;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    flex-shrink: 0;
}

.footer-logo-img {
    height: 70px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-info {
    display: flex;
    gap: 4rem;
    flex: 1;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-heading {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 0.25rem;
    opacity: 0.8;
}

.footer-text {
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 1px;
    color: var(--white);
    line-height: 1.6;
}

.footer-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 2rem;
}

.footer-link {
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 1px;
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s ease;
    line-height: 1.6;
}

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

.footer-copyright {
    max-width: 1400px;
    margin: 1rem auto 0;
    padding-top: 1rem;
    text-align: center;
    font-size: 0.75rem;
    color: var(--white);
    opacity: 0.6;
    letter-spacing: 1px;
}

/* Password Protection Section */
.password-section {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 4rem 4rem;
    background-color: var(--black);
}

.password-container {
    text-align: center;
    max-width: 500px;
    width: 100%;
}

.password-title {
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 2px;
    color: var(--white);
    text-transform: uppercase;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.password-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0;
    padding: 1rem 1.5rem;
    padding-right: 3.5rem;
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
    transition: border-color 0.3s ease;
    outline: none;
    width: 100%;
}

.password-input:focus {
    border-color: rgba(255, 255, 255, 0.5);
}

.password-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.password-submit {
    background-color: transparent;
    border: 1px solid var(--white);
    color: var(--white);
    padding: 1rem 2rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    outline: none;
}

.password-submit:hover {
    background-color: var(--white);
    color: var(--black);
}

.password-error {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    letter-spacing: 1px;
    min-height: 1.5rem;
    margin-top: -0.5rem;
}

.toggle-password-btn {
    position: absolute;
    right: 1rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s ease;
    outline: none;
}

.toggle-password-btn:hover {
    color: rgba(255, 255, 255, 0.8);
}

.toggle-password-btn:focus {
    color: rgba(255, 255, 255, 0.8);
}

.eye-icon,
.eye-off-icon {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

/* Portfolio Content Section */
.portfolio-content-section {
    background-color: var(--black);
}

/* Portfolio Numbers Section */
.portfolio-numbers-section {
    padding: 8rem 4rem 6rem;
    background-color: var(--black);
}

.portfolio-numbers-container {
    max-width: 1400px;
    margin: 0 auto;
}

.numbers-title {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--white);
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 4rem;
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    align-items: center;
}

.number-item {
    text-align: center;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.02);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 220px;
    width: 100%;
}

.number-item:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
}

.number-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: border-color 0.3s ease, width 0.3s ease, height 0.3s ease;
    z-index: 1;
}

.number-corner-top-left {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

.number-corner-bottom-right {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}

.number-item:hover .number-corner {
    border-color: rgba(255, 255, 255, 0.4);
}

.number-item:hover .number-corner-top-left {
    width: 30px;
    height: 30px;
}

.number-item:hover .number-corner-bottom-right {
    width: 30px;
    height: 30px;
}

.number-value {
    font-size: 4rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.5rem;
    min-height: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.number-label {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 1rem;
}

/* Portfolio Properties Section */
.portfolio-properties-section {
    padding: 4rem 4rem 8rem;
    background-color: var(--black);
}

.portfolio-properties-container {
    max-width: 1400px;
    margin: 0 auto;
}

.properties-title {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--white);
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 4rem;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.property-item {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.property-item:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
}

.property-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: border-color 0.3s ease, width 0.3s ease, height 0.3s ease;
    z-index: 2;
}

.property-corner-top-left {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

.property-corner-bottom-right {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}

.property-item:hover .property-corner {
    border-color: rgba(255, 255, 255, 0.4);
}

.property-item:hover .property-corner-top-left {
    width: 30px;
    height: 30px;
}

.property-item:hover .property-corner-bottom-right {
    width: 30px;
    height: 30px;
}

.property-image-wrapper {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.05);
    position: relative;
}

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

.property-item:hover .property-image {
    transform: scale(1.05);
}

/* Zoom out under construction images */
.property-image-construction {
    object-fit: contain;
    transform: scale(0.85);
}

.property-item:hover .property-image-construction {
    transform: scale(0.90);
}

.property-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.property-image-overlay-construction {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(255, 0, 0, 0.5);
}

.construction-text {
    color: rgba(255, 0, 0, 0.9);
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.property-under-construction {
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.1) 0%, rgba(255, 0, 0, 0.05) 100%);
    border: 2px dashed rgba(255, 0, 0, 0.3);
}

.property-info {
    padding: 2rem;
}

.property-address {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--white);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.property-city {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.property-type {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 2px;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.portfolio-hero-section {
    padding: 8rem 4rem 4rem;
    background-color: var(--black);
}

.portfolio-content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: flex-start;
}

.portfolio-title {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 6px;
    color: var(--white);
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.portfolio-description {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.portfolio-description p {
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--white);
    letter-spacing: 1px;
}

.portfolio-image {
    position: sticky;
    top: 120px;
}

.portfolio-img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Portfolio Images Grid */
.portfolio-images-section {
    padding: 4rem;
    background-color: var(--black);
}

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

.portfolio-image-placeholder {
    width: 100%;
    height: 400px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.02);
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.portfolio-image-placeholder:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.04);
}

.placeholder-content {
    text-align: center;
}

.placeholder-text {
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .content-text,
    .content-image {
        transform: translateY(30px);
    }
    
    .content-text.visible,
    .content-image.visible {
        transform: translateY(0);
    }
    
    .rotating-word {
        font-size: 3rem;
        letter-spacing: 2px;
    }
    
    .words-wrapper {
        gap: 2.5rem;
        padding-top: 2.25rem;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .company-content-wrapper {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .company-image {
        position: relative;
        top: 0;
    }
    
    .company-img {
        height: 550px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .core-values-title {
        font-size: 2.5rem;
    }
    
    .footer-container {
        gap: 3rem;
    }
    
    .footer-info {
        gap: 3rem;
    }
    
    .site-footer {
        padding: 2rem 4rem 0.75rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem 2rem;
    }
    
    .nav-container {
        justify-content: flex-start;
        gap: 1rem;
    }
    
    .logo-img {
        height: 45px;
        max-width: 150px;
        flex-shrink: 0;
    }
    
    .nav-menu {
        gap: 0.5rem;
        font-size: 0.65rem;
        flex: 0 0 auto;
    }
    
    /* Hide Home link on mobile - users click logo to go home */
    .nav-menu li:first-child {
        display: none;
    }
    
    /* Shorten navigation text on mobile - hide original text and show shortened version */
    .nav-menu li:nth-child(2) .nav-link {
        font-size: 0;
        position: relative;
        display: inline-block;
    }
    
    .nav-menu li:nth-child(2) .nav-link::before {
        content: 'Company';
        font-size: 0.65rem;
        letter-spacing: 2px;
        text-transform: uppercase;
        color: var(--white);
        visibility: visible;
        position: relative;
        display: inline-block;
    }
    
    .nav-menu li:nth-child(3) .nav-link {
        font-size: 0;
        position: relative;
        display: inline-block;
    }
    
    .nav-menu li:nth-child(3) .nav-link::before {
        content: 'Portfolio';
        font-size: 0.65rem;
        letter-spacing: 2px;
        text-transform: uppercase;
        color: var(--white);
        visibility: visible;
        position: relative;
        display: inline-block;
    }
    
    .nav-menu li:nth-child(4) .nav-link {
        font-size: 0;
        position: relative;
        display: inline-block;
    }
    
    .nav-menu li:nth-child(4) .nav-link::before {
        content: 'Contact';
        font-size: 0.65rem;
        letter-spacing: 2px;
        text-transform: uppercase;
        color: var(--white);
        visibility: visible;
        position: relative;
        display: inline-block;
    }
    
    /* Make hero background static on mobile - remove parallax effects */
    .hero-background {
        background-attachment: scroll !important;
        transform: none !important;
        will-change: auto !important;
        transition: none !important;
    }
    
    .hero-title {
        font-size: 3rem;
        letter-spacing: 4px;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .content-section {
        padding: 3rem 2rem 2.25rem 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .rotating-word {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
    
    .words-wrapper {
        gap: 2rem;
        flex-direction: column;
        padding-top: 2.25rem;
    }
    
    .company-hero-section {
        padding: 6rem 2rem 3rem;
    }
    
    .company-title {
        font-size: 2.5rem;
        letter-spacing: 3px;
    }
    
    .company-description p {
        font-size: 1rem;
    }
    
    .company-img {
        height: 450px;
    }
    
    .core-values-section {
        padding: 4rem 2rem;
    }
    
    .core-values-title {
        font-size: 2rem;
        margin-bottom: 3rem;
    }
    
    .value-item {
        padding: 2rem;
    }
    
    .value-title {
        font-size: 1.2rem;
    }
    
    .value-description {
        font-size: 0.9rem;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-info {
        flex-direction: column;
        gap: 2rem;
    }
    
    .site-footer {
        padding: 2rem 2rem 0.5rem;
    }
    
    .footer-copyright {
        margin: 0.75rem auto 0;
        padding-top: 0.75rem;
    }
    
    .password-title {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .portfolio-hero-section {
        padding: 6rem 2rem 3rem;
    }
    
    .portfolio-title {
        font-size: 2.5rem;
        letter-spacing: 3px;
    }
    
    .portfolio-content-wrapper {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .portfolio-image {
        position: relative;
        top: 0;
    }
    
    .portfolio-img {
        height: 400px;
    }
    
    .portfolio-numbers-section {
        padding: 6rem 2rem 4rem;
    }
    
    .numbers-title {
        font-size: 2rem;
        margin-bottom: 3rem;
    }
    
    .numbers-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .number-value {
        font-size: 2.5rem;
        min-height: 3rem;
    }
    
    .portfolio-properties-section {
        padding: 4rem 2rem 6rem;
    }
    
    .properties-title {
        font-size: 2rem;
        margin-bottom: 3rem;
    }
    
    .properties-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .property-image-wrapper {
        height: 250px;
    }
    
    .portfolio-images-section {
        padding: 3rem 2rem;
    }
    
    .portfolio-images-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .portfolio-image-placeholder {
        height: 300px;
    }
    
    .contact-section {
        padding: 6rem 2rem 3rem;
    }
    
    .contact-title {
        font-size: 2.5rem;
        letter-spacing: 3px;
    }
    
    .contact-subtitle {
        font-size: 1rem;
    }
}

/* Mobile Portrait - Contact Page Adjustments */
@media (max-width: 768px) and (orientation: portrait) {
    .contact-section {
        padding: 6rem 1.5rem 3rem;
    }
    
    .contact-title {
        font-size: 2rem !important;
        letter-spacing: 3px;
        text-align: left !important;
        margin-left: 0;
    }
    
    .contact-container {
        margin: 0 !important;
        max-width: 100% !important;
        padding: 0;
    }
    
    .contact-content-wrapper {
        display: block !important;
        grid-template-columns: 1fr !important;
        justify-items: start !important;
        text-align: left !important;
        margin-left: 0;
        padding-left: 0;
        gap: 0;
    }
    
    .contact-form-wrapper {
        width: 100% !important;
        text-align: left !important;
        margin-left: 0;
        padding-left: 0;
        transform: none !important;
    }
    
    .contact-subtitle {
        text-align: left !important;
        margin-left: 0;
        font-size: 0.85rem !important;
    }
    
    .form-group,
    .form-row {
        text-align: left !important;
        margin-left: 0;
        width: 100%;
    }
    
    .form-label {
        text-align: left !important;
        margin-left: 0;
    }
    
    .inquiry-type-grid {
        justify-content: flex-start !important;
    }
    
    /* Hide contact image on mobile */
    .contact-image-wrapper {
        display: none !important;
    }
    
    .contact-image-container {
        height: 450px;
    }
    
    .inquiry-type-grid {
        gap: 0.75rem;
    }
    
    .inquiry-type-option {
        padding: 0.75rem 1rem;
    }
}

/* Mobile Portrait - Our Company Page - Hide Core Values Numbers */
@media (max-width: 768px) and (orientation: portrait) {
    .value-number {
        display: none !important;
    }
}

/* Contact Section */
.contact-section {
    padding: 8rem 4rem 4rem;
    background-color: var(--black);
    min-height: calc(100vh - 200px);
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
}

.contact-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: flex-start;
}

.contact-form-wrapper {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease 0.1s, transform 0.8s ease 0.1s;
}

.contact-form-wrapper.visible {
    opacity: 1;
    transform: translateX(0);
}

.contact-title {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 6px;
    color: var(--white);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.contact-subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 2px;
    color: var(--white);
    margin-bottom: 3rem;
    text-transform: uppercase;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 2px;
    color: var(--white);
    text-transform: uppercase;
}

.required {
    color: rgba(255, 255, 255, 0.6);
}

.optional {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    font-weight: 300;
}

/* Inquiry Type Selection */
.inquiry-type-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.inquiry-type-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.01);
    cursor: pointer;
    transition: border-color 0.3s ease, background-color 0.3s ease;
    position: relative;
}

.inquiry-type-option:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.02);
}

.inquiry-type-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    transition: border-color 0.3s ease;
}

.inquiry-type-option input[type="radio"]:checked + .radio-custom {
    border-color: var(--white);
}

.inquiry-type-option input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background-color: var(--white);
    border-radius: 50%;
}

.radio-label {
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 1px;
    color: var(--white);
    text-transform: uppercase;
}

/* Form Inputs */
.form-input,
.form-textarea {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: border-color 0.3s ease;
    outline: none;
    width: 100%;
}

.form-input:focus,
.form-textarea:focus {
    border-color: rgba(255, 255, 255, 0.4);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.form-submit {
    background-color: transparent;
    border: 1px solid var(--white);
    color: var(--white);
    padding: 1rem 2rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    outline: none;
    margin-top: 1rem;
}

.form-submit:hover {
    background-color: var(--white);
    color: var(--black);
}

.form-submit:active {
    transform: scale(0.98);
}

.form-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.form-message {
    font-size: 1.2rem;
    letter-spacing: 1px;
    min-height: 1.5rem;
    margin-top: -0.5rem;
    text-align: center;
    color: var(--white);
    font-weight: 500;
}

.form-message.success {
    color: var(--white);
}

.form-message.error {
    color: var(--white);
}

/* Contact Image */
.contact-image-wrapper {
    position: sticky;
    top: 120px;
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
}

.contact-image-wrapper.visible {
    opacity: 1;
    transform: translateX(0);
}

.contact-image-container {
    position: relative;
    width: 100%;
    height: 800px;
    overflow: hidden;
}

.contact-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.5s ease;
}

.contact-image-wrapper:hover .contact-image {
    transform: scale(1.05);
}

.contact-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.1) 0%,
        transparent 50%,
        rgba(0, 0, 0, 0.2) 100%
    );
    pointer-events: none;
}

/* Contact Page Responsive */
@media (max-width: 1024px) {
    .contact-content-wrapper {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .contact-image-wrapper {
        position: relative;
        top: 0;
    }
    
    .contact-image-container {
        height: 550px;
    }
    
    .contact-form-wrapper,
    .contact-image-wrapper {
        transform: translateY(30px);
    }
    
    .contact-form-wrapper.visible,
    .contact-image-wrapper.visible {
        transform: translateY(0);
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
