/* General Styles */
:root {
    --primary-color: #D4AF37; /* Gold */
    --secondary-color: #1A1A1A; /* Dark */
    --text-color: #333;
    --light-bg: #F9F9F9;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
}

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

ul {
    list-style: none;
}

/* Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 10px 22px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
}

.btn-primary:hover {
    background-color: #B8860B;
    transform: translateY(-2px);
}

/* Header & Nav */
header {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: var(--secondary-color);
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
}

.logo {
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

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

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 10s linear;
    transform: scale(1);
}

.slide.active {
    opacity: 1;
    transform: scale(1.1);
}

.pitch-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

#play-presentation {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.4);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

#play-presentation:hover {
    transform: translateY(-5px);
    background: #fff;
    color: var(--primary-color);
}

.overlay, .overlaya {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2));
}

.hero-content {
    color: #fff;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 64px;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-content h1 span {
    color: var(--primary-color);
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 40px;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Section Common */
.section-container {
    padding: 100px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.subtitle {
    color: var(--primary-color);
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 3px;
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: 42px;
}

.bg-light {background-color: var(--light-bg);}
.bg-dark {background-color: var(--secondary-color);}
.text-white {color: #fff;}

/* Overview Section */
.overview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.overview-text p {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-top: 4px solid var(--primary-color);
}

.stat-item h3 {
    font-size: 32px;
    color: var(--secondary-color);
}

.stat-item p {
    font-size: 12px;
    margin: 0;
    text-transform: uppercase;
    color: #999;
}

.overview-img img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Amenities Section */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.amenity-card {
    background: #fff;
    padding: 40px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.amenity-card:hover {
    transform: translateY(-10px);
}

.amenity-card ion-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.amenity-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.amenity-card p {
    color: #777;
    font-size: 14px;
}

.amenities-extra-img img {
    width: 100%;
    border-radius: 8px;
    margin-top: 40px;
}

/* Floor Plans Tab Bar */
.tab-container {
    max-width: 900px;
    margin: 0 auto;
}

.tab-btns {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 12px 30px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.tab-btn.active {
    background-color: var(--secondary-color);
    color: #fff;
    border-color: var(--secondary-color);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

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

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

.plan-display img {
    width: 100%;
    max-width: 600px;
    margin-bottom: 30px;
    border: 1px solid #eee;
    padding: 10px;
    background: #fff;
}

/* Location Section */
.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.location-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 40px;
}

.location-item ion-icon {
    font-size: 32px;
    color: var(--primary-color);
}

.location-item h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.location-item p {
    color: #bbb;
}

.location-img img {
    width: 100%;
    border-radius: 8px;
    border: 5px solid rgba(255,255,255,0.1);
}

/* Developer Section */
.developer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.dev-img img {
    width: 100%;
    border-radius: 8px;
}

.dev-text p {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

.rera-badge {
    background: var(--light-bg);
    padding: 20px;
    border-left: 4px solid var(--primary-color);
    font-weight: 600;
    color: var(--secondary-color);
}

/* Footer */
footer {
    background: #111;
    color: #fff;
    padding: 80px 40px;
    text-align: center;
}

.footer-logo {
    color: var(--primary-color);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}

.socials {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    font-size: 24px;
}

.socials ion-icon:hover {
    color: var(--primary-color);
    cursor: pointer;
}

/* Chat Widget */
#chat-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 30px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

#chat-widget {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    height: 500px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    display: none;
    flex-direction: column;
    z-index: 2000;
    overflow: hidden;
    animation: fadeIn 0.3s ease;
}

#chat-header {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bot-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bot-icon {
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 12px;
    color: var(--secondary-color);
}

#close-chat {
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

#chat-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #f0f2f5;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message {
    padding: 10px 15px;
    border-radius: 12px;
    max-width: 80%;
    font-size: 14px;
}

.bot-msg {
    background: #fff;
    align-self: flex-start;
}

.user-msg {
    background: var(--primary-color);
    color: #fff;
    align-self: flex-end;
}

#chat-footer {
    padding: 15px;
    display: flex;
    gap: 10px;
}

#chat-input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    outline: none;
}

#send-msg {
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 4px;
    width: 40px;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {display: none;}
    .hero-content h1 {font-size: 42px;}
    .overview-content, .location-content, .developer-content {grid-template-columns: 1fr;}
    .section-container {padding: 60px 20px;}
    #chat-widget {width: 90%; right: 5%;}
}
