/* ==========================================================================
   Lavish Deal Houses - Global Styles
   ========================================================================== */

/* Variables */
:root {
    --primary-color: #d4af37; /* Metallic Gold */
    --primary-dark: #b5952f;
    --bg-color: #0a0a0a; /* Deep Black */
    --surface-color: #1a1a1a;
    --surface-light: #2a2a2a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    --transition-fast: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

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

a:hover {
    color: var(--primary-dark);
}

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

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    padding: 100px 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 32px;
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    cursor: pointer;
    border-radius: 4px;
    transition: all var(--transition-fast);
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    color: var(--bg-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--text-primary);
}

.btn-outline:hover {
    background-color: var(--text-primary);
    color: var(--bg-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--bg-color);
}

.full-width {
    width: 100%;
}

/* Header & Nav */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: background-color var(--transition-fast), padding var(--transition-fast);
}

.main-header.scrolled {
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

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

.logo a {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-primary);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    position: relative;
}

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

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

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    transition: var(--transition-fast);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

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

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

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

.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 800px;
    animation: fadeIn 1.5s ease;
}

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

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

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: #e0e0e0;
}

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

/* Properties */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.property-card {
    background-color: var(--surface-color);
    border-radius: 8px;
    overflow: hidden;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border-color: rgba(212, 175, 55, 0.3);
}

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

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

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

.badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: var(--bg-color);
    padding: 5px 12px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
}

.card-content {
    padding: 30px;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.location {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.price {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.features {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 0;
}

.features li {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.features li span {
    color: var(--text-primary);
    font-weight: 700;
}

/* About Section */
.about {
    background-color: var(--surface-color);
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 50px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-top: 10px;
}

/* Subscribe */
.subscribe {
    background: linear-gradient(to right, rgba(212, 175, 55, 0.1), rgba(10, 10, 10, 1)), url('../images/hero_mansion.png') center/cover;
    background-blend-mode: overlay;
    padding: 120px 0;
    text-align: center;
}

.subscribe-box {
    background: rgba(26, 26, 26, 0.85);
    backdrop-filter: blur(15px);
    padding: 60px;
    border-radius: 12px;
    max-width: 700px;
    margin: 0 auto;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.subscribe-box h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.subscribe-box p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.subscribe-form {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.subscribe-form input {
    padding: 15px 20px;
    width: 100%;
    min-width: 300px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.5);
    color: var(--text-primary);
    border-radius: 4px;
    font-family: var(--font-body);
}

.subscribe-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
}

.info-item {
    margin-bottom: 30px;
}

.info-item h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.info-item p, .info-item a {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.info-item a:hover {
    color: var(--primary-color);
}

.contact-form {
    background-color: var(--surface-color);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px;
    background-color: var(--surface-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border-radius: 4px;
    font-family: var(--font-body);
    transition: border-color var(--transition-fast);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.feedback-msg {
    margin-top: 15px;
    font-size: 0.95rem;
    display: none;
}

.feedback-msg.success {
    color: #4CAF50;
    display: block;
}

.feedback-msg.error {
    color: #F44336;
    display: block;
}

/* Footer */
.main-footer {
    background-color: #050505;
    padding: 80px 0 30px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-brand h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.footer-brand p {
    color: var(--text-secondary);
}

.footer-links h4, .footer-legal h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-links ul li, .footer-legal ul li {
    margin-bottom: 10px;
}

.footer-links ul li a, .footer-legal ul li a {
    color: var(--text-secondary);
}

.footer-links ul li a:hover, .footer-legal ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

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

/* Legal Pages Typography enhancements */
.legal-page {
    padding-top: 150px; /* Offset for fixed header */
    padding-bottom: 100px;
}

.legal-content h1 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.legal-content h2 {
    font-size: 2rem;
    margin-top: 50px;
    margin-bottom: 20px;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.legal-content p {
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.legal-content ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.legal-content ul li {
    margin-bottom: 10px;
}

.last-updated {
    text-align: center;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 50px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content h1 { font-size: 3.5rem; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .mobile-menu-btn { display: flex; }
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--surface-color);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        gap: 20px;
        transform: translateY(-150%);
        opacity: 0;
        transition: all var(--transition-fast);
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
    }
    .hero-content h1 { font-size: 2.8rem; }
    .hero-actions { flex-direction: column; }
    .subscribe-form { flex-direction: column; }
    .stats { flex-direction: column; gap: 30px; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
}
