﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --deep-navy: #0b1221;
    --navy: #1a2332;
    --dark-blue: #1e2d3d;
    --slate: #2a3f54;
    --blue: #4a90e2;
    --light-blue: #6ba3e8;
    --white: #ffffff;
    --off-white: #e8eef4;
    --grey: #94a3b8;
    --border: rgba(74, 144, 226, 0.15);
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--deep-navy);
    color: var(--off-white);
    -webkit-font-smoothing: antialiased;
    cursor: auto;
    overflow-x: hidden;
}


/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 5%;
    background: rgba(11, 18, 33, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

nav {
    max-width: 1800px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-image {
    height: 85px;
    width: auto;
}

.logo-text {
    font-size: 2.5rem;
    font-family: 'Lora';
    font-weight: 800;
    letter-spacing: 1px;
    /* Subtler, less banded chrome gradient */
    background: linear-gradient( 90deg, #f6f8fa 0%, #ffffff 10%, #d4d8dd 22%, #ffffff 34%, #b7bcc2 48%, #ffffff 62%, #a7adb3 76%, #e5e9ed 90%, #ffffff 100% );
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    /* Tighter, cleaner glow (less blur = sharper metal) */
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.28), 0 2px 4px rgba(0, 0, 0, 0.18), 0 0 6px rgba(255, 255, 255, 0.18);
    /* Finer stroke so highlights don’t look outlined */
    -webkit-text-stroke: 0.25px rgba(255, 255, 255, 0.22);
    /* Gentle global boost without washing out detail */
    filter: brightness(1.14) contrast(1.06);
}

.logo-text-secondary {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 0.2px;
    /* Mirror the primary style for consistency */
    background: linear-gradient( 90deg, #f6f8fa 0%, #ffffff 10%, #d4d8dd 22%, #ffffff 34%, #b7bcc2 48%, #ffffff 62%, #a7adb3 76%, #e5e9ed 90%, #ffffff 100% );
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.28), 0 2px 4px rgba(0, 0, 0, 0.18), 0 0 6px rgba(255, 255, 255, 0.18);
    -webkit-text-stroke: 0.25px rgba(255, 255, 255, 0.22);
    filter: brightness(1.04) contrast(1.06);
    margin-top: 10px;
}

/* Optional slow shimmer for extra “chrome” */
@keyframes sheen {
    0% {
        background-position: 0% 0;
    }

    50% {
        background-position: 100% 0;
    }

    100% {
        background-position: 0% 0;
    }
}

.logo-text.sheen {
    animation: sheen 4s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    .logo-text.sheen {
        animation: none;
    }
}

.nav-links {
    display: flex;
    gap: 3rem;
    align-items: center;
}

    .nav-links a {
        color: var(--grey);
        text-decoration: none;
        font-size: 0.9rem;
        font-weight: 400;
        transition: color 0.3s ease;
    }

        .nav-links a:hover {
            color: var(--blue);
        }

.contact-btn {
    padding: 0.625rem 1.5rem;
    background: transparent;
    border: 1px solid var(--blue);
    border-radius: 100px;
    color: var(--blue);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .contact-btn:hover {
        background: var(--blue);
        color: var(--white);
    }

/* Carousel Banner - 60vh */
.carousel-section {
    height: 60vh;
    position: relative;
    overflow: hidden;
}

@media (max-width:900px) {
    .carousel-section {
        height: 50vh;
    }
}

@media (max-width:600px) {
    .carousel-section {
        height: 40vh;
    }
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1.5s ease;
}

    .carousel-slide.active {
        opacity: 1;
    }

    .carousel-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: brightness(1);
    }

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(11, 18, 33, 0.4) 0%, rgba(11, 18, 33, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    pointer-events: none;
}

    .carousel-overlay * {
        pointer-events: auto;
    }

.carousel-content {
    position: absolute;
    bottom: 10%;
    text-align: center;
    max-width: 900px;
    padding: 0 5%;
}

.carousel-label {
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--blue);
    margin-bottom: 1rem;
    font-weight: 500;
    text-transform: uppercase;
}

.carousel-title {
    font-family: 'Lora', serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--white);
}

.carousel-subtitle {
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    color: var(--off-white);
    margin-bottom: 2rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* Search in Carousel */
.carousel-search {
    max-width: 800px;
    margin: 0 auto;
}

.search-wrapper {
    min-width: 600px;
    background: rgba(26, 35, 50, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}


.search-btn--pulse {
    animation: search-btn-pulse-interval 8s ease-in-out infinite;
    will-change: transform;
}

@keyframes search-btn-pulse-interval {
    3% {
        transform: scale(1);
    }

    6% {
        transform: scale(1.10);
    }

    9% {
        transform: scale(1);
    }

    11% {
        transform: scale(1.10);
    }

    14% {
        transform: scale(1);
    }

    100% {
        transform: scale(1);
    }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .search-btn--pulse {
        animation: none;
    }
}
/* Subtle, classy gold for a <span class="search-input"> */
span.search-input {
    display: inline-block;
    padding: 8px 14px;
    /* typography */
    font-family: fangsong;
    font-size: 15.5px;
    font-weight: 600;
    letter-spacing: 1px;
    /* restrained gold */
    background: linear-gradient(to bottom, #e9d7a8 0%, #cda96a 100%);
    color: #121212;
    /* fine border + gentle depth */
    border: 1px solid rgba(156, 123, 60, 0.55);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    /* keep it calm on hover */
    transition: filter .15s ease, box-shadow .15s ease;
    margin-left: 20px;
}

    span.search-input:hover {
        filter: brightness(1.02);
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.10);
    }


.search-btn {
    padding: 1.125rem 2.75rem;
    margin-left: auto;
    background: var(--blue);
    border: none;
    border-radius: 100px;
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .search-btn:hover {
        background: var(--light-blue);
    }

/* Carousel Navigation Arrows Only */

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(26, 35, 50, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    color: var(--white);
    font-size: 1.25rem;
}

    .carousel-arrow:hover {
        background: var(--blue);
        border-color: var(--blue);
    }

    .carousel-arrow.prev {
        left: 2rem;
    }

    .carousel-arrow.next {
        right: 2rem;
    }

.view-all-link {
    color: var(--blue);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

    .view-all-link:hover {
        color: var(--light-blue);
    }

.main-content {
    width: 100%;
}

.properties-grid {
    justify-items: center;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.property-card {
    width: 100%;
    max-width: 400px;
    background: var(--navy);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
}

    .property-card:hover {
        transform: translateY(-8px);
        border-color: var(--blue);
        box-shadow: 0 20px 60px rgb(214 255 252 / 50%);
    }

        .property-card:hover .property-favorite {
            background: var(--blue);
            transform: scale(1.1);
        }

.property-image {
    height: 240px;
    overflow: hidden;
    position: relative;
}

    .property-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s ease;
    }

.property-card:hover .property-image img {
    transform: scale(1.08);
}

.property-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.4rem 1rem;
    background: var(--blue);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 50px;
    text-transform: uppercase;
}

.property-favorite {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    background: rgba(26, 35, 50, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

    .property-favorite:hover {
        background: var(--blue);
        transform: scale(1.1);
    }

.property-content {
    padding: 1.75rem;
}

.property-location {
    font-size: 0.75rem;
    color: var(--blue);
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.property-title {
    font-family: 'Lora', serif;
    font-size: 2rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.property-features {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    color: var(--grey);
}

.property-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.property-price {
    font-family: 'Lora', serif;
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--white);
}

.logo-image-banner {
    position: absolute;
    left: 2%;
    bottom: -10px;
    width: auto;
    height: 50vh;
    z-index: 55;
}

@media (max-width:1279px) {
    .logo-image-banner {
        height: 30vh;
    }
}

@media (max-width:900px) {
    .logo-image-banner {
        height: 20vh;
    }
}

@media (max-width:700px) {
    .logo-image-banner {
        height: 7vh;
        left: 50%;
        transform: translateX(-50%);
    }
}

.view-btn {
    padding: 0.625rem 1.5rem;
    background: transparent;
    border: 1px solid var(--blue);
    border-radius: 100px;
    color: var(--blue);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .view-btn:hover {
        background: var(--blue);
        color: var(--white);
    }

/* Full Properties Section */
.all-properties {
    padding: 6rem 5%;
    background: var(--navy);
}

.all-properties-container {
    max-width: 1800px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 4rem;
}

.section-label {
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--blue);
    margin-bottom: 1rem;
    font-weight: 500;
    text-transform: uppercase;
}

.section-title {
    font-family: 'Lora', serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 500;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.section-description {
    font-size: 1.05rem;
    color: var(--grey);
    max-width: 700px;
    line-height: 1.6;
}

/* Footer */
footer {
    background: var(--deep-navy);
    padding: 5rem 5% 3rem;
    border-top: 1px solid var(--border);
}

.footer-content {
    max-width: 1800px;
    margin: 0 auto;
    margin-bottom: 3rem;
    display: flex;
    justify-content: space-between;
}


.footer-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    margin-left: 15%;
    justify-content: space-between;
    max-width: 555px;
}

@media (max-width:991px) {
    .footer-content {
        flex-direction: column;
    }

    .footer-container {
        margin-top: 50px;
        margin-left: 0;
    }
}

@media (max-width:552px) {

    .footer-container {
        flex-direction: column;
    }

    .footer-section h4 {
        margin-bottom: 0.5rem !important;
    }

    .footer-container ul {
        margin-bottom: 35px;
    }
}

.footer-brand .logo {
    display: flex;
    margin-bottom: 2rem;
}

.footer-brand p {
    line-height: 1.7;
    color: var(--grey);
    font-size: 0.9rem;
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.875rem;
}

.footer-section a {
    color: var(--grey);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

    .footer-section a:hover {
        color: var(--blue);
    }

.footer-bottom {
    max-width: 1800px;
    margin: 0 auto;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--grey);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 1200px) {
    .properties-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    body {
        cursor: auto;
    }

    .cursor, .cursor-ring {
        display: none;
    }

    header {
        padding: 1rem 5%;
    }

    .nav-links {
        display: none;
    }


    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

        .carousel-arrow.prev {
            left: 1rem;
        }

        .carousel-arrow.next {
            right: 1rem;
        }

    .recommended-section {
        padding: 2rem 5%;
    }

    .properties-grid {
        grid-template-columns: 1fr;
    }

    .all-properties {
        padding: 4rem 5%;
    }
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}
