/* ==========================================================================
   SENTZIA LOFT & LIVING - High-End Real Estate Design System
   ========================================================================== */

:root {
    --bg-main: #faf9f6;
    --bg-card: #ffffff;
    --bg-dark: #141414;
    --text-primary: #1c1917;
    --text-secondary: #57534e;
    --text-muted: #8c857b;
    --accent-gold: #c5a880;
    --accent-gold-hover: #b39366;
    --border-light: #e7e5e4;
    --border-subtle: #f0eee9;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.08);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.7;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.2;
    letter-spacing: -0.01em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
}

p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utility Containers */
.container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

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

.text-center { text-align: center; }
.text-gold { color: var(--accent-gold); }

/* Glassmorphism Sticky Navbar */
.navbar-sticky {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(250, 249, 246, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(231, 229, 228, 0.6);
    transition: var(--transition);
}

.nav-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.brand-main {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--text-primary);
    line-height: 1;
}

.brand-sub {
    font-family: var(--font-sans);
    font-size: 0.625rem;
    letter-spacing: 0.35em;
    color: var(--accent-gold);
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.2rem;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    position: relative;
    padding: 4px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--accent-gold);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

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

/* Buttons & CTA */
.btn-primary-gold {
    background-color: var(--accent-gold);
    color: #ffffff;
    padding: 0.9rem 2rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    border: 1px solid var(--accent-gold);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(197, 168, 128, 0.25);
    transition: var(--transition);
}

.btn-primary-gold:hover {
    background-color: var(--accent-gold-hover);
    border-color: var(--accent-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(197, 168, 128, 0.4);
}

.btn-primary-outline {
    background: transparent;
    color: var(--text-primary);
    padding: 0.85rem 1.8rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    border: 1px solid var(--text-primary);
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary-outline:hover {
    background: var(--text-primary);
    color: #ffffff;
    transform: translateY(-2px);
}

.wa-icon {
    fill: currentColor;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition);
}

/* Hero Section */
.hero-wrapper {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
    padding: 4rem 1.5rem;
}

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

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    text-align: center;
}

.hero-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    border: 1px solid var(--accent-gold);
    padding: 6px 16px;
    border-radius: 20px;
    background: rgba(197, 168, 128, 0.1);
}

.hero-title {
    color: #ffffff;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-weight: 300;
    margin-bottom: 2.5rem;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.hero-ctas {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Trust Signals Bar */
.trust-bar {
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border-light);
    padding: 2.5rem 0;
}

.trust-flex {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.trust-val {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.trust-lbl {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* Feature Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card-luxury {
    background-color: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.card-luxury:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-gold);
}

.card-img-wrapper {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.card-luxury:hover .card-img-wrapper img {
    transform: scale(1.05);
}

.card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(20, 20, 20, 0.8);
    backdrop-filter: blur(4px);
    color: var(--accent-gold);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    padding: 4px 12px;
    border-radius: 3px;
    text-transform: uppercase;
}

.card-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-title {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.card-specs {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 1rem;
}

.card-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    flex: 1;
}

/* ROI Investment Calculator Widget */
.calc-wrapper {
    background: linear-gradient(135deg, #1c1917 0%, #0d0d0d 100%);
    color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 3.5rem 2.5rem;
    margin-top: 4rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(197, 168, 128, 0.3);
}

.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.calc-title {
    color: #ffffff;
    margin-bottom: 1rem;
}

.calc-desc {
    color: rgba(255, 255, 255, 0.8);
}

.calc-input-group {
    margin-bottom: 1.5rem;
}

.calc-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.calc-range {
    width: 100%;
    accent-color: var(--accent-gold);
    height: 6px;
    background: #333;
    border-radius: 3px;
    cursor: pointer;
}

.calc-results-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 2rem;
    text-align: center;
}

.calc-num {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-gold);
    line-height: 1;
}

.calc-subnum {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.5rem;
}

/* Amenity Pill Tags */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.amenity-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    padding: 1.8rem;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.amenity-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-4px);
}

.amenity-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--accent-gold);
}

/* Blog Styles */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.blog-post-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.blog-content {
    padding: 2rem;
}

.blog-meta {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-gold);
    margin-bottom: 0.75rem;
}

.blog-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

/* Footer Section */
.footer-section {
    background-color: var(--bg-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 5rem 0 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-logo .brand-main { color: #ffffff; }

.footer-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 1.25rem;
    line-height: 1.6;
    font-style: italic;
}

.footer-heading {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-sans);
    font-weight: 600;
    letter-spacing: 0.05em;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

.badge-tag {
    display: inline-block;
    font-size: 0.7rem;
    border: 1px solid rgba(197, 168, 128, 0.4);
    color: var(--accent-gold);
    padding: 2px 8px;
    border-radius: 3px;
    margin-right: 4px;
    margin-top: 8px;
}

/* Floating WhatsApp Widget */
.wa-floating-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
}

.wa-floating-btn {
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    position: relative;
}

.wa-floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
}

.wa-tooltip {
    position: absolute;
    right: 70px;
    background: #1c1917;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 20px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    pointer-events: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.wa-floating-btn:hover .wa-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Media Queries Responsive */
@media (max-width: 992px) {
    .nav-links { display: none; }
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-card);
        padding: 2rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        border-bottom: 1px solid var(--border-light);
    }
    .mobile-toggle { display: flex; }
    .calc-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; }
    .hero-wrapper { min-height: 75vh; }
    .btn-primary-gold, .btn-primary-outline { width: 100%; justify-content: center; }
}
