/* 
    Jatala Property Adviser Services - Design System
    Theme: Luxury Navy & Gold
*/

:root {
    /* Color Palette */
    --primary-navy: #0F172A;
    --secondary-navy: #1E293B;
    --accent-gold: #D4AF37;
    --accent-gold-light: #F1D279;
    --text-white: #F8FAFC;
    --text-dim: #94A3B8;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --gold-glow: rgba(212, 175, 55, 0.3);
    
    /* Typography */
    --font-main: 'Plus Jakarta Sans', sans-serif;
    --font-heading: 'Outfit', sans-serif;
}

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

body {
    background-color: var(--primary-navy);
    color: var(--text-white);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Base Components */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

ul {
    list-style: none;
}

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

/* Background Effects */
.bg-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
    filter: blur(80px);
    z-index: -1;
    opacity: 0.2;
    pointer-events: none;
}

.glow-1 { top: -10%; right: -10%; }
.glow-2 { bottom: -10%; left: -10%; }

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    transition: 0.4s ease;
}

header.scrolled {
    padding: 1rem 8%;
    background: rgba(15, 23, 42, 0.9);
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(to right, #fff, var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

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

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 10%;
    background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.8)), url('one_kanal_house.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

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

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

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-dim);
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--accent-gold);
    color: var(--primary-navy);
    font-weight: 700;
    border-radius: 8px;
    box-shadow: 0 10px 20px var(--gold-glow);
    transform: translateY(0);
}

.btn-primary:hover {
    transform: translateY(-3px);
    background: var(--accent-gold-light);
    box-shadow: 0 15px 30px var(--gold-glow);
}

/* Sections */
section {
    padding: 100px 8%;
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-dim);
    max-width: 600px;
    margin: 0 auto;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 3rem 2rem;
    border-radius: 20px;
    transition: 0.4s;
}

.service-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

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

.service-card p {
    color: var(--text-dim);
    font-size: 0.95rem;
}

/* Listings Grid */
.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.listing-card {
    background: var(--secondary-navy);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: 0.4s;
}

.listing-card:hover {
    border-color: var(--accent-gold);
}

.listing-img {
    height: 250px;
    overflow: hidden;
}

.listing-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

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

.listing-content {
    padding: 1.5rem;
}

.listing-tag {
    background: var(--accent-gold);
    color: var(--primary-navy);
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 800;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 1rem;
}

.listing-content h3 {
    margin-bottom: 0.5rem;
}

.listing-content p {
    color: var(--text-dim);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.listing-meta {
    display: flex;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--glass-border);
    font-size: 0.9rem;
}

/* Testimonials */
.reviews-container {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 20px 0;
    scrollbar-width: none;
}

.review-card {
    min-width: 350px;
    background: var(--glass);
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
}

.review-card p {
    font-style: italic;
    color: var(--text-dim);
    margin-bottom: 1.5rem;
}

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

.reviewer-img {
    width: 50px;
    height: 50px;
    background: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--primary-navy);
}

/* Footer */
footer {
    background: var(--secondary-navy);
    padding: 80px 8% 40px;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

.footer-col p, .footer-col li {
    color: var(--text-dim);
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-dim);
    font-size: 0.85rem;
}

/* Floating Elements */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 1001;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    header { padding: 1rem 5%; }
    .nav-links { display: none; }
    .hero-content h1 { font-size: 2.8rem; }
    section { padding: 80px 5%; }
    .review-card { min-width: 280px; }
}
