/* =========================================
   Neo Klingl | Premium Estate Agent Styles
   ========================================= */

/* CSS Variables */
:root {
    --color-primary: #1a1f24;       /* Deep Charcoal */
    --color-primary-light: #2c343b; /* Lighter Charcoal */
    --color-accent: #d4af37;        /* Champagne Gold */
    --color-accent-hover: #e0be4e;  /* Lighter Gold */
    --color-text: #f0f0f0;          /* Off-White */
    --color-text-muted: #9e9e9e;    /* Gray */
    --color-bg: #0f1215;            /* Very Dark Gray/Black */
    --color-surface: #15191c;       /* Slightly lighter than bg */
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

p {
    margin-bottom: 1.5rem;
    color: var(--color-text-muted);
}

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

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

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

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

.mt-4 {
    margin-top: 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 2px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-primary) !important;
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

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

.btn-secondary:hover {
    background-color: var(--color-accent);
    color: var(--color-primary) !important;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--transition-smooth);
    background: linear-gradient(to bottom, rgba(15, 18, 21, 0.9), transparent);
}

.navbar.solid-nav {
    background-color: var(--color-bg);
    border-bottom: 1px solid var(--color-primary-light);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
}

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

.nav-links a {
    color: #ffffff;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
    position: relative;
}

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

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

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

.hamburger {
    display: none;
    font-size: 1.5rem;
    color: #ffffff;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    /* Unsplash Luxury Mansion */
    background: url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') center/cover no-repeat;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(15, 18, 21, 0.6), rgba(15, 18, 21, 0.9));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
    animation: fadeInUp 1s ease forwards;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 5px 15px rgba(0,0,0,0.5);
    background: linear-gradient(to right, #fff, var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #e0e0e0;
    margin-bottom: 2.5rem;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

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

/* Sections General */
section {
    padding: 6rem 0;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: var(--color-accent);
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

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

.lead-text {
    font-size: 1.25rem;
    font-style: italic;
    font-family: var(--font-heading);
    color: var(--color-accent);
    margin-bottom: 2rem;
}

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

.about-image-wrapper, .attributes-image-wrapper {
    position: relative;
    padding: 2rem;
}

.about-img, .attributes-img {
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    filter: grayscale(20%) contrast(110%);
    transition: var(--transition-smooth);
}

.about-img:hover, .attributes-img:hover {
    filter: grayscale(0%) contrast(100%);
}

.image-accent, .image-accent-alt {
    position: absolute;
    z-index: 1;
    border: 1px solid var(--color-accent);
}

.image-accent {
    top: 0;
    left: 0;
    right: 4rem;
    bottom: 4rem;
}

.image-accent-alt {
    top: 4rem;
    left: 4rem;
    right: 0;
    bottom: 0;
}

/* Services Section */
.services {
    background-color: var(--color-surface);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.service-card {
    background-color: var(--color-bg);
    padding: 3rem 2rem;
    border: 1px solid var(--color-primary-light);
    transition: var(--transition-smooth);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 3px;
    background-color: var(--color-accent);
    transform: scaleX(0);
    transition: var(--transition-smooth);
    transform-origin: left;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
    border-color: rgba(212, 175, 55, 0.3);
}

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

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

/* Attributes Section */
.attributes {
    background-color: var(--color-bg);
}

.attributes-list {
    list-style: none;
    margin-top: 3rem;
}

.attributes-list li {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.attributes-list i {
    font-size: 1.8rem;
    color: var(--color-accent);
    margin-top: 0.3rem;
}

.attributes-list h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact {
    background-color: var(--color-surface);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

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

.form-control {
    width: 100%;
    padding: 1rem;
    background-color: var(--color-bg);
    border: 1px solid var(--color-primary-light);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1rem;
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.1);
}

.contact-form .btn {
    width: 100%;
    margin-top: 1rem;
}

/* Page Header (for Terms) */
.page-header {
    padding: 10rem 0 4rem;
    background-color: var(--color-surface);
    text-align: center;
    border-bottom: 1px solid var(--color-primary-light);
}

.page-header .hero-title {
    font-size: 3.5rem;
    background: none;
    -webkit-text-fill-color: initial;
    color: #fff;
    text-shadow: none;
}

/* Terms Content */
.terms-content {
    background-color: var(--color-bg);
    padding: 4rem 0;
}

.content-container {
    max-width: 800px;
}

.terms-section {
    margin-bottom: 3rem;
}

.terms-section h2 {
    font-size: 1.5rem;
    color: var(--color-accent);
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--color-primary-light);
    padding-bottom: 0.5rem;
}

.terms-section p {
    font-size: 1rem;
}

/* Footer */
.footer {
    background-color: #080a0c;
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--color-primary-light);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-brand h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--color-accent);
    font-style: italic;
    margin-bottom: 0;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: #fff;
    font-size: 1.2rem;
    border: 1px solid transparent;
}

.footer-social a:hover {
    background-color: transparent;
    border-color: var(--color-accent);
    color: var(--color-accent);
    transform: translateY(-3px);
}

.footer-links a {
    color: var(--color-text-muted);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--color-primary-light);
    color: #555;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 900px) {
    .section-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .reverse-grid .attributes-text {
        order: 2;
    }
    
    .reverse-grid .attributes-image-wrapper {
        order: 1;
    }

    .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-surface);
        flex-direction: column;
        text-align: center;
        padding: 2rem 0;
        gap: 1.5rem;
        border-top: 1px solid var(--color-primary-light);
    }

    .nav-links.active {
        display: flex;
        animation: fadeIn 0.3s ease;
    }

    .hamburger {
        display: block;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
