/* Property Website Styles - Dedicated stylesheet for property websites only */

/* ==========================================================================
   CSS CUSTOM PROPERTIES (CSS Variables) - Color Palette System
   ========================================================================== */

:root {
    /* Primary Colors - Main brand colors */
    --primary-50: #f5f3ff;
    --primary-100: #ede9fe;
    --primary-200: #ddd6fe;
    --primary-300: #c4b5fd;
    --primary-400: #a78bfa;
    --primary-500: #8b5cf6;  /* Main primary color */
    --primary-600: #7c3aed;
    --primary-700: #6d28d9;
    --primary-800: #5b21b6;
    --primary-900: #4c1d95;

    /* Secondary Colors - Accent colors */
    --secondary-50: #f0f9ff;
    --secondary-100: #e0f2fe;
    --secondary-200: #bae6fd;
    --secondary-300: #7dd3fc;
    --secondary-400: #38bdf8;
    --secondary-500: #0ea5e9;  /* Main secondary color */
    --secondary-600: #0284c7;
    --secondary-700: #0369a1;
    --secondary-800: #075985;
    --secondary-900: #0c4a6e;

    /* Neutral Colors - Text, borders, backgrounds */
    --neutral-50: #fafafa;
    --neutral-100: #f5f5f5;
    --neutral-200: #e5e5e5;
    --neutral-300: #d4d4d4;
    --neutral-400: #a3a3a3;
    --neutral-500: #737373;
    --neutral-600: #525252;
    --neutral-700: #404040;
    --neutral-800: #262626;
    --neutral-900: #171717;

    /* Semantic Colors - Success, warning, error */
    --success-50: #f0fdf4;
    --success-100: #dcfce7;
    --success-500: #22c55e;
    --success-600: #16a34a;
    --success-700: #15803d;

    --warning-50: #fffbeb;
    --warning-100: #fef3c7;
    --warning-500: #f59e0b;
    --warning-600: #d97706;
    --warning-700: #b45309;

    --error-50: #fef2f2;
    --error-100: #fee2e2;
    --error-500: #ef4444;
    --error-600: #dc2626;
    --error-700: #b91c1c;

    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: var(--neutral-50);
    --bg-tertiary: var(--neutral-100);

    /* Text Colors */
    --text-primary: var(--neutral-900);
    --text-secondary: var(--neutral-600);
    --text-tertiary: var(--neutral-500);
    --text-inverse: #ffffff;

    /* Border Colors */
    --border-light: var(--neutral-200);
    --border-medium: var(--neutral-300);
    --border-dark: var(--neutral-400);

    /* Shadow Colors */
    --shadow-light: rgba(0, 0, 0, 0.08);
    --shadow-medium: rgba(0, 0, 0, 0.12);
    --shadow-dark: rgba(0, 0, 0, 0.16);

    /* Gradient Colors */
    --gradient-primary: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary-500) 0%, var(--secondary-600) 100%);
    --gradient-hero: linear-gradient(135deg, var(--primary-400) 0%, var(--primary-700) 100%);
}

/* Alternative Color Schemes - Uncomment to use different palettes */

/* Modern Blue Theme  */
/* :root {
    --primary-500: #3b82f6;
    --primary-600: #2563eb;
    --primary-700: #1d4ed8;
    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    --gradient-hero: linear-gradient(135deg, #60a5fa 0%, #1d4ed8 100%);
} */


/* Elegant Green Theme */
/* :root {
    --primary-500: #059669;
    --primary-600: #047857;
    --primary-700: #065f46;
    --gradient-primary: linear-gradient(135deg, #059669 0%, #047857 100%);
    --gradient-hero: linear-gradient(135deg, #34d399 0%, #065f46 100%);
} */


/* Professional Gray Theme 
:root {
    --primary-500: #6b7280;
    --primary-600: #4b5563;
    --primary-700: #374151;
    --gradient-primary: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    --gradient-hero: linear-gradient(135deg, #9ca3af 0%, #374151 100%);
}
*/

/* Base styles for property websites */
.property-website {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
}

/* Hero sections */
.hero-section {
    /* background: #ffffff; */
    color: var(--text-inverse);
    padding: 0;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.4);
    -webkit-backdrop-filter: blur(2px);
            backdrop-filter: blur(2px);
}

/* Property cards and containers */
.property-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.property-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Modern contact forms */
.contact-form-modern {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    border: 1px solid #e5e7eb;
}

.contact-form-modern .form-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: #fafafa;
}

.contact-form-modern .form-input:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
    background: white;
}

.contact-form-modern .form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Floating label contact forms */
.contact-form-floating {
    background: white;
    border-radius: 12px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
    padding: 2rem;
}

.floating-input-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.floating-input {
    width: 100%;
    padding: 1.25rem 1rem 0.75rem;
    border: 1px solid var(--border-medium);
    border-radius: 8px;
    font-size: 1rem;
    background: var(--bg-primary);
    transition: border-color 0.3s ease;
}

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

.floating-label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: var(--text-tertiary);
    font-size: 1rem;
    transition: all 0.3s ease;
    pointer-events: none;
}

.floating-input:not(:-moz-placeholder) + .floating-label {
    top: 0.25rem;
    font-size: 0.75rem;
    color: var(--primary-500);
}

.floating-input:focus + .floating-label,
.floating-input:not(:placeholder-shown) + .floating-label {
    top: 0.25rem;
    font-size: 0.75rem;
    color: var(--primary-500);
}

/* Minimal contact forms */
.contact-form-minimal {
    background: transparent;
    padding: 1.5rem;
}

.minimal-input {
    width: 100%;
    padding: 1rem 0;
    border: none;
    border-bottom: 2px solid var(--border-light);
    font-size: 1rem;
    background: transparent;
    transition: border-color 0.3s ease;
}

.minimal-input:focus {
    outline: none;
    border-bottom-color: var(--primary-500);
}

/* Buttons */
.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-inverse);
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.3);
}

.btn-secondary {
    background: var(--bg-primary);
    color: var(--text-primary);
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--border-light);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary:hover {
    border-color: var(--primary-500);
    color: var(--primary-500);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-light);
}

/* Image galleries */
.image-gallery {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px var(--shadow-medium);
}

.gallery-main-image {
    width: 100%;
    height: 400px;
    -o-object-fit: cover;
       object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-thumbnails {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.gallery-thumbnail {
    width: 80px;
    height: 60px;
    -o-object-fit: cover;
       object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.gallery-thumbnail:hover,
.gallery-thumbnail.active {
    opacity: 1;
}

/* Property details */
.property-details {
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px var(--shadow-light);
}

.property-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.property-stat {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.property-stat:hover {
    background: var(--bg-tertiary);
}

.property-stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-500);
    margin-bottom: 0.5rem;
}

.property-stat-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Agent cards */
.agent-card {
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 40px var(--shadow-light);
    position: relative;
    overflow: hidden;
}

.agent-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.agent-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    border: 4px solid var(--border-light);
    -o-object-fit: cover;
       object-fit: cover;
}

/* Text sections */
.text-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 0;
}

.text-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.text-section p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Testimonials */
.testimonial {
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px var(--shadow-light);
    position: relative;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary-500);
    font-weight: 700;
}

.testimonial-text {
    font-style: italic;
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.testimonial-author {
    font-weight: 600;
    color: var(--text-primary);
}

/* Interactive elements */
.tabs {
    border-bottom: 2px solid var(--border-light);
    margin-bottom: 2rem;
}

.tab-button {
    padding: 1rem 2rem;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s ease;
    border-bottom: 2px solid transparent;
}

.tab-button.active {
    color: var(--primary-500);
    border-bottom-color: var(--primary-500);
}

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

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

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

/* Responsive design */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0;
    }
    
    .contact-form-modern,
    .contact-form-floating {
        padding: 1.5rem;
    }
    
    .property-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .text-section h2 {
        font-size: 2rem;
    }
    
    .property-stat {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .property-stats {
        grid-template-columns: 1fr;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
}
