/* Theós Realty - Shared Styles */

:root {
    --color-primary: #c9a962;
    --color-primary-light: #e0c88a;
    --color-primary-dark: #a68b4b;
    --color-secondary: #1a1a2e;
    --color-dark: #0f0f1a;
    --color-darker: #080810;
    --color-light: #f8f9fa;
    --color-white: #ffffff;
    --color-gray-500: #adb5bd;
    --color-gray-600: #6c757d;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1400px; margin: 0 auto; padding: 0 24px; }

/* Navigation */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.nav.scrolled {
    background: rgba(15, 15, 26, 0.95);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo-icon {
    height: 36px;
    width: auto;
}

.logo-text {
    height: 28px;
    width: auto;
}

.nav-menu { display: flex; align-items: center; gap: 32px; }

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-gray-500);
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover, .nav-link.active { color: var(--color-white); }

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: var(--color-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-cta {
    background: var(--color-primary);
    color: var(--color-dark);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(201, 169, 98, 0.3);
}

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 10px; }
.nav-toggle span { display: block; width: 25px; height: 2px; background: var(--color-white); transition: all 0.3s ease; }

/* Page Header */
.page-header {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-secondary) 100%);
    text-align: center;
}

.page-header h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.page-header h1 em { font-style: normal; color: var(--color-primary); }

.page-header p {
    font-size: 1.2rem;
    color: var(--color-gray-500);
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--color-gray-500);
}

.breadcrumb a { color: var(--color-primary); }
.breadcrumb a:hover { text-decoration: underline; }

/* Section Styles */
.section { padding: 100px 0; }
.section.alt { background: var(--color-secondary); }

.section-header { text-align: center; max-width: 700px; margin: 0 auto 60px; }

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-primary);
    margin-bottom: 16px;
    font-weight: 600;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.section-title em { font-style: normal; color: var(--color-primary); }
.section-subtitle { font-size: 1.1rem; color: var(--color-gray-500); }

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--color-primary);
    color: var(--color-dark);
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--color-primary-light);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(201, 169, 98, 0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    padding: 14px 34px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

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

/* Steps */
.steps-grid { display: grid; gap: 24px; }

.step-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    gap: 24px;
    transition: all 0.4s ease;
}

.step-card:hover {
    border-color: rgba(201, 169, 98, 0.3);
    transform: translateX(10px);
}

.step-number {
    width: 60px; height: 60px;
    background: var(--color-primary);
    color: var(--color-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.step-content p { color: var(--color-gray-500); line-height: 1.7; }

/* Grid layouts */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Contact Form */
.contact-form {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 50px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.form-group { position: relative; }
.form-group.full-width { grid-column: span 2; }

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 18px 20px;
    color: var(--color-white);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(201, 169, 98, 0.05);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--color-gray-600); }
.form-group select option { background: var(--color-dark); }
.form-group textarea { min-height: 140px; resize: vertical; }

/* Footer */
.footer { padding: 80px 0 30px; background: var(--color-darker); }

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    text-decoration: none;
}

.footer-logo-icon {
    height: 40px;
    width: auto;
}

.footer-logo-text {
    height: 32px;
    width: auto;
}

.footer-tagline { font-size: 1rem; color: var(--color-gray-500); margin-bottom: 20px; max-width: 300px; }
.footer-license { font-size: 0.85rem; color: var(--color-gray-600); }

.footer-links h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--color-white);
}

.footer-links a {
    display: block;
    font-size: 0.9rem;
    color: var(--color-gray-500);
    margin-bottom: 14px;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p { font-size: 0.85rem; color: var(--color-gray-600); }

.footer-legal { display: flex; gap: 30px; }

.footer-legal a {
    font-size: 0.85rem;
    color: var(--color-gray-600);
    transition: color 0.3s ease;
}

.footer-legal a:hover { color: var(--color-primary); }

/* Agent Card */
.agent-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 50px;
    text-align: center;
    max-width: 500px;
}

.agent-photo {
    width: 200px; height: 200px;
    border-radius: 50%;
    margin: 0 auto 24px;
    overflow: hidden;
    border: 4px solid var(--color-primary);
}

.agent-photo img { width: 100%; height: 100%; object-fit: cover; }

.agent-name { font-family: var(--font-heading); font-size: 1.8rem; margin-bottom: 8px; }
.agent-title { color: var(--color-primary); font-size: 1rem; margin-bottom: 20px; }
.agent-bio { color: var(--color-gray-500); line-height: 1.8; margin-bottom: 24px; }

.agent-contact { display: flex; flex-direction: column; gap: 12px; }

.agent-contact a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--color-gray-500);
    transition: color 0.3s ease;
}

.agent-contact a:hover { color: var(--color-primary); }

/* Info boxes */
.info-box {
    background: rgba(201, 169, 98, 0.1);
    border: 1px solid rgba(201, 169, 98, 0.3);
    border-radius: 16px;
    padding: 30px;
    margin: 30px 0;
}

.info-box h4 { font-family: var(--font-heading); color: var(--color-primary); margin-bottom: 12px; }
.info-box p { color: var(--color-gray-500); margin: 0; }

/* CTA Banner */
.cta-banner {
    padding: 80px 0;
    background: url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?w=1920&q=80') center/cover no-repeat fixed;
    position: relative;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(15, 15, 26, 0.95) 0%, rgba(26, 26, 46, 0.9) 100%);
}

.cta-banner .container { position: relative; z-index: 1; text-align: center; }

.cta-banner h2 { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; }
.cta-banner h2 em { font-style: normal; color: var(--color-primary); }

.cta-banner p {
    color: var(--color-gray-500);
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }

/* Contact details */
.contact-details { display: grid; gap: 24px; }

.contact-item { display: flex; gap: 16px; }

.contact-icon {
    width: 50px; height: 50px;
    background: rgba(201, 169, 98, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-item strong { display: block; font-size: 0.9rem; margin-bottom: 4px; }
.contact-item p { font-size: 0.9rem; color: var(--color-gray-500); line-height: 1.5; margin: 0; }

/* Responsive */
@media (max-width: 1200px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 991px) {
    .nav-menu, .nav-cta { display: none; }
    .nav-toggle { display: flex; }
    .two-column { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .form-grid { grid-template-columns: 1fr; }
    .form-group.full-width { grid-column: span 1; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .step-card { flex-direction: column; text-align: center; }
    .step-number { margin: 0 auto; }
}

/* Legal Content Styles */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal-content p {
    color: var(--color-gray-500);
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal-content ul {
    color: var(--color-gray-500);
    line-height: 1.8;
    margin-bottom: 20px;
    padding-left: 24px;
}

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

.legal-content strong {
    color: var(--color-white);
}

.legal-content .contact-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 30px;
    margin-top: 20px;
}

.legal-content .contact-box p {
    margin-bottom: 8px;
}

.legal-content .contact-box a {
    color: var(--color-primary);
}

.legal-content .contact-box a:hover {
    text-decoration: underline;
}

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-darker);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    z-index: 9999;
    display: none;
}

.cookie-consent.show {
    display: block;
}

.cookie-consent-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.cookie-consent p {
    color: var(--color-gray-500);
    font-size: 0.9rem;
    margin: 0;
    flex: 1;
    min-width: 300px;
}

.cookie-consent a {
    color: var(--color-primary);
}

.cookie-consent-buttons {
    display: flex;
    gap: 12px;
}

.cookie-consent .btn-accept {
    background: var(--color-primary);
    color: var(--color-dark);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.cookie-consent .btn-accept:hover {
    background: var(--color-primary-light);
}

.cookie-consent .btn-decline {
    background: transparent;
    color: var(--color-gray-500);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.cookie-consent .btn-decline:hover {
    border-color: var(--color-gray-500);
    color: var(--color-white);
}

@media (max-width: 768px) {
    .cookie-consent-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-consent p {
        min-width: auto;
    }
}
