:root {
    --gold: #C5A059;
    --gold-dark: #A68445;
    --charcoal: #1A1A1A;
    --dark-grey: #2D2D2D;
    --light-grey: #F5F5F5;
    --white: #FFFFFF;
    --glass: rgba(255, 255, 255, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background: var(--white);
    color: var(--charcoal);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.gold {
    color: var(--gold);
}

.text-white {
    color: var(--white);
}

.dim {
    opacity: 0.7;
}

.bg-dark {
    background: var(--charcoal);
    color: var(--white);
}

.bg-light {
    background: var(--light-grey);
}

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

/* Navbar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

nav.scrolled {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--gold);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 80px;
    /* Increased size for visibility */
    width: auto;
    object-fit: contain;
    transition: var(--transition);
    mix-blend-mode: screen;
    /* Makes black background transparent */
}

nav.scrolled .logo img {
    height: 60px;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--gold);
}

.btn-primary {
    background: var(--gold);
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    color: var(--white) !important;
}

.btn-primary:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?auto=format&fit=crop&q=80&w=2070') no-repeat center center/cover;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--white);
}

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

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    letter-spacing: 1px;
}

.hero-ctas {
    display: flex;
    gap: 1.5rem;
}

.btn-gold {
    background: var(--gold);
    color: var(--white);
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition);
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition);
}

.btn-gold:hover,
.btn-outline:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Sections */
.section {
    padding: 8rem 0;
}

.subtitle {
    display: block;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 3px;
    margin-bottom: 1rem;
}

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

.about-image {
    max-width: 450px;
    /* Minimized size */
    margin: 0 auto;
    position: relative;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    border: 5px solid var(--gold);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.about-image::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 2px solid var(--gold);
    border-radius: 20px;
    z-index: -1;
}

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

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

/* Project Cards */
.project-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--charcoal);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.project-img {
    height: 250px;
    position: relative;
    overflow: hidden;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gold);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 4px;
}

.project-info {
    padding: 2rem;
}

.loc {
    font-size: 0.9rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.amenities {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.btn-card {
    text-decoration: none;
    color: var(--charcoal);
    font-weight: 700;
    font-size: 0.9rem;
    border-bottom: 2px solid var(--gold);
    transition: var(--transition);
}

.btn-card:hover {
    color: var(--gold);
}

/* Service Box */
.service-box i {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.service-box h3 {
    margin-bottom: 1rem;
}

/* Lead Form */
.glass {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

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

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    outline: none;
}

.btn-gold-full {
    width: 100%;
    background: var(--gold);
    border: none;
    padding: 1.2rem;
    color: var(--white);
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

/* Footer */
footer {
    padding: 4rem 0;
    background: var(--charcoal);
    color: var(--white);
    border-top: 1px solid var(--gold);
}

.footer-logo {
    height: 100px;
    margin-bottom: 2rem;
    filter: brightness(1.2);
    mix-blend-mode: screen;
}

footer p {
    margin-bottom: 0.5rem;
}

.small {
    font-size: 0.8rem;
}

/* AI Chatbot */
#chatbot-ui {
    position: fixed;
    bottom: 100px;
    right: 2rem;
    width: 350px;
    height: 450px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    z-index: 2000;
    overflow: hidden;
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.chat-header {
    background: var(--charcoal);
    color: var(--white);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bot-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.bot-logo {
    width: 30px;
    height: 30px;
    object-fit: contain;
    mix-blend-mode: screen;
}

.bot-status {
    width: 10px;
    height: 10px;
    background: #00ff00;
    border-radius: 50%;
}

#chat-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.msg {
    padding: 0.8rem 1rem;
    border-radius: 12px;
    max-width: 80%;
    font-size: 0.9rem;
}

.bot-msg {
    background: var(--light-grey);
    align-self: flex-start;
}

.user-msg {
    background: var(--gold);
    color: var(--white);
    align-self: flex-end;
}

.chat-input-area {
    padding: 1rem;
    border-top: 1px solid #eee;
    display: flex;
    gap: 0.5rem;
}

.chat-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #f9f9f9;
    border-top: 1px solid #eee;
}

.chip {
    background: var(--white);
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.chip:hover {
    background: var(--gold);
    color: var(--white);
}

.chat-input-area input {
    flex: 1;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    outline: none;
}

#chat-send {
    background: var(--gold);
    border: none;
    color: var(--white);
    padding: 0 1rem;
    border-radius: 4px;
    cursor: pointer;
}

#chat-trigger {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: var(--gold);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(197, 160, 89, 0.4);
    z-index: 1000;
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease forwards;
}

.fade-in-delayed {
    animation: fadeIn 1.5s ease forwards;
    animation-delay: 0.5s;
    opacity: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
    }

    .container {
        padding: 0 1.5rem;
    }
}