/* Premium Design System for Borges Landeiro Prime */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: hsl(0, 0%, 8%);
    color: hsl(0, 0%, 95%);
    line-height: 1.6;
}

/* Typography */
.hero-heading {
    font-family: 'Playfair Display', serif;
    font-weight: 100;
    font-size: 2.5rem;
    line-height: 1.1;
    color: white;
}

@media (min-width: 1080px) {
    .hero-heading {
        font-size: 2rem;
    }
}

@media (min-width: 1250px) {
    .hero-heading {
        font-size: 2.5rem;
    }
}

.section-heading {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 2rem;
    color: hsl(0, 0%, 95%);
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .section-heading {
        font-size: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .section-heading {
        font-size: 3rem;
    }
}

.card-heading {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 1.5rem;
    color: hsl(0, 0%, 10%);
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, hsl(0, 0%, 75%) 0%, hsl(0, 0%, 85%) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 5rem 0;
}

.section-header {
    margin-bottom: 4rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: hsl(0, 0%, 70%);
    max-width: 48rem;
    margin: 0 auto;
}

.grid-2-col {
    display: grid;
    gap: 4rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .grid-2-col {
        grid-template-columns: 1fr 1fr;
    }
}

.space-y-8 > * + * {
    margin-top: 2rem;
}

.space-y-6 > * + * {
    margin-top: 1.5rem;
}

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

/* Background Colors */
.bg-secondary {
    background-color: hsl(0, 0%, 12%);
}

/* Navigation */
.nav-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-container.scrolled {
    background-color: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5rem;
}

.nav-logo {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: hsl(0, 0%, 95%);
}

.nav-logo-img {
    height:100px;
    width: auto;
    filter: brightness(0) invert(1);
}

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

.nav-links {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.nav-link {
    color: hsl(0, 0%, 95%);
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
    font-size: 1rem;
}

.nav-link:hover {
    color: hsl(0, 0%, 75%);
}

.nav-mobile {
    display: block;
}

@media (min-width: 768px) {
    .nav-mobile {
        display: none;
    }
}

/* Buttons */
.luxury-button {
    background: hsl(0, 0%, 75%);
    color: hsl(0, 0%, 10%);
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    display: inline-block;
    text-decoration: none;
}

.luxury-button:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
}

.hero-cta {
    font-size: 1.125rem;
    padding: 1.5rem 3rem;
    animation: luxuryFloat 3s ease-in-out infinite;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    z-index: -1;
    pointer-events: none;
    opacity: 0.6;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-text {
    text-align: center;
    padding: 0 1.5rem;
    max-width: 72rem;
    margin: 0 auto;
}

.hero-subtitle {
    font-family: 'Playfair Display', serif;
    font-weight: 100;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1rem;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-mouse {
    width: 1.5rem;
    height: 2.5rem;
    border: 2px solid white;
    border-radius: 1.25rem;
    display: flex;
    justify-content: center;
}

.scroll-dot {
    width: 0.25rem;
    height: 0.75rem;
    background-color: white;
    border-radius: 0.125rem;
    margin-top: 0.5rem;
    animation: pulse 2s infinite;
}

/* Cards */
.luxury-card {
    background: hsl(0, 0%, 95%);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.luxury-card:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    transform: translateY(-0.25rem);
}

.card-text {
    color: hsl(0, 0%, 25%);
    line-height: 1.7;
}

/* Images */
.image-container {
    position: relative;
}

.rounded-image {
    border-radius: 1rem;
    width: 100%;
    height: auto;
}

.luxury-shadow {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.2) 100%);
    border-radius: 1rem;
}

.image-overlay-light {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
    border-radius: 1rem;
}

.sticky-image {
    position: sticky;
    top: 2rem;
}

/* Features */
.feature-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: hsl(0, 0%, 25%);
    line-height: 1.7;
}

.feature-dot {
    width: 0.5rem;
    height: 0.5rem;
    background-color: hsl(0, 0%, 75%);
    border-radius: 50%;
    margin-top: 0.5rem;
    flex-shrink: 0;
}

/* Location */
.map-placeholder {
    height: 24rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.03);
}

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

.map-icon {
    width: 4rem;
    height: 4rem;
    color: hsl(0, 0%, 75%);
    margin: 0 auto 1rem;
}

.map-title {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 1.5rem;
    color: hsl(0, 0%, 10%);
    margin-bottom: 0.5rem;
}

.map-subtitle {
    color: hsl(0, 0%, 25%);
}

.location-heading {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 1.5rem;
    color: hsl(0, 0%, 95%);
    margin-bottom: 2rem;
}

.location-grid {
    display: grid;
    gap: 1rem;
}

.location-card {
    background: hsl(0, 0%, 95%);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: transform 0.3s ease;
}

.location-card:hover {
    transform: scale(1.05);
}

.location-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.location-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: hsl(0, 0%, 75%);
}

.location-name {
    font-weight: 600;
    color: hsl(0, 0%, 10%);
    margin-bottom: 0.25rem;
}

.location-type {
    display: inline-block;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.location-type.shopping {
    background-color: rgb(219, 234, 254);
    color: rgb(30, 64, 175);
}

.location-type.education {
    background-color: rgb(220, 252, 231);
    color: rgb(21, 128, 61);
}

.location-type.leisure {
    background-color: rgb(243, 232, 255);
    color: rgb(124, 58, 237);
}

.location-type.health {
    background-color: rgb(254, 226, 226);
    color: rgb(185, 28, 28);
}

.location-type.banking {
    background-color: rgb(254, 249, 195);
    color: rgb(161, 98, 7);
}

.location-distance {
    text-align: right;
}

.distance {
    font-size: 0.875rem;
    font-weight: 500;
    color: hsl(0, 0%, 75%);
}

.distance-label {
    font-size: 0.75rem;
    color: hsl(0, 0%, 25%);
    margin: 0;
}

/* Amenities */
.amenities-grid {
    display: grid;
    gap: 3rem;
    margin-bottom: 4rem;
}

@media (min-width: 1024px) {
    .amenities-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.amenity-category {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 1.25rem;
    color: hsl(0, 0%, 95%);
    margin-bottom: 1.5rem;
    text-align: center;
}

.amenity-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: hsl(0, 0%, 70%);
}

.amenity-dot {
    width: 0.5rem;
    height: 0.5rem;
    background-color: hsl(0, 0%, 75%);
    border-radius: 50%;
    flex-shrink: 0;
}

.featured-image {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.pool-image {
    width: 100%;
    height: 24rem;
    object-fit: cover;
}

.pool-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
}

.pool-content {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    color: white;
}

.pool-title {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.pool-subtitle {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Floor Plans */
.plans-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .plans-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .plans-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.plan-card {
    text-align: center;
}

.plan-header {
    margin-bottom: 2rem;
}

.plan-title {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 1.5rem;
    color: hsl(0, 0%, 95%);
    margin-bottom: 0.5rem;
}

.plan-area {
    color: hsl(0, 0%, 75%);
    font-weight: 600;
    font-size: 1.125rem;
}

.plan-features {
    margin-bottom: 2rem;
}

.plan-feature {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.feature-label {
    color: hsl(0, 0%, 70%);
}

.feature-value {
    font-weight: 600;
    color: hsl(0, 0%, 95%);
}

.plan-placeholder {
    background-color: rgba(0, 0, 0, 0.03);
    border-radius: 0.5rem;
    padding: 3rem 1rem;
    text-align: center;
}

.plan-icon {
    width: 4rem;
    height: 4rem;
    color: hsl(0, 0%, 75%);
    margin: 0 auto 1rem;
}

.plan-text {
    color: hsl(0, 0%, 70%);
    margin: 0;
}

/* Contact Form */
.contact-form {
    background: hsl(0, 0%, 100%);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    color: hsl(0, 0%, 15%);
    margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0.5rem;
    font-size: 1rem;
    background-color: hsl(0, 0%, 92%);
    transition: border-color 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: hsl(0, 0%, 75%);
}

.form-textarea {
    resize: vertical;
    min-height: 6rem;
}

.form-button {
    width: 100%;
    margin-top: 1rem;
}

/* Contact Info */
.contact-info {
    display: grid;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: hsl(0, 0%, 75%);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.contact-title {
    font-weight: 600;
    color: hsl(0, 0%, 95%);
    margin-bottom: 0.5rem;
}

.contact-text {
    color: hsl(0, 0%, 70%);
    line-height: 1.6;
    margin: 0;
}

/* Footer */
.footer {
    background-color: hsl(0, 0%, 5%);
    color: hsl(0, 0%, 95%);
    padding: 3rem 0;
}

.footer-content {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-text {
    color: rgba(248, 248, 248, 0.8);
    line-height: 1.7;
}

.footer-heading {
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.footer-info {
    color: rgba(248, 248, 248, 0.8);
}

.footer-info p {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(248, 248, 248, 0.2);
    padding-top: 2rem;
    text-align: center;
}

.footer-copyright {
    color: rgba(248, 248, 248, 0.6);
    margin: 0;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 50;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: hsl(0, 0%, 75%);
    color: hsl(0, 0%, 10%);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
}

.back-to-top svg {
    width: 1.25rem;
    height: 1.25rem;
}

.back-to-top.hidden {
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
}

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

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes luxuryFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

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

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Animation Classes */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in-scale {
    animation: fadeInScale 0.8s ease-out forwards;
}

.delay-150 {
    animation-delay: 150ms;
}

.delay-200 {
    animation-delay: 200ms;
}

.delay-300 {
    animation-delay: 300ms;
}

.delay-400 {
    animation-delay: 400ms;
}

.delay-450 {
    animation-delay: 450ms;
}

.delay-600 {
    animation-delay: 600ms;
}

.delay-750 {
    animation-delay: 750ms;
}

.delay-800 {
    animation-delay: 800ms;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: hsl(0, 0%, 94%);
}

::-webkit-scrollbar-thumb {
    background: hsl(0, 0%, 75%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: hsl(0, 0%, 65%);
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    .hero-heading {
        font-size: 1.25rem;
    }
    
    .section-heading {
        font-size: 1.75rem;
    }
    
    .section-padding {
        padding: 3rem 0;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .luxury-card {
        padding: 1.5rem;
    }
    
    .hero-cta {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}