/* UrbanEdge Realty - Neumorphic Design System */
:root {
    --primary-color: #6C5CE7;
    --secondary-color: #A29BFE;
    --accent-color: #FD79A8;
    --bg-color: #E0E5EC;
    --text-primary: #2C3E50;
    --text-secondary: #7F8C8D;
    --shadow-light: #FFFFFF;
    --shadow-dark: #A3B1C6;
    --success-color: #00B894;
    --warning-color: #FDCB6E;
}

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

body {
    font-family: 'Nunito', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Neumorphic Elements */
.neuro-card {
    background: var(--bg-color);
    border-radius: 20px;
    box-shadow: 9px 9px 16px var(--shadow-dark), -9px -9px 16px var(--shadow-light);
    padding: 30px;
    transition: all 0.3s ease;
}

.neuro-card:hover {
    box-shadow: 12px 12px 20px var(--shadow-dark), -12px -12px 20px var(--shadow-light);
    transform: translateY(-5px);
}

.neuro-inset {
    background: var(--bg-color);
    border-radius: 15px;
    box-shadow: inset 6px 6px 12px var(--shadow-dark), inset -6px -6px 12px var(--shadow-light);
    padding: 20px;
}

.neuro-btn {
    background: var(--bg-color);
    border: none;
    border-radius: 12px;
    box-shadow: 6px 6px 12px var(--shadow-dark), -6px -6px 12px var(--shadow-light);
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.neuro-btn:hover {
    box-shadow: 4px 4px 8px var(--shadow-dark), -4px -4px 8px var(--shadow-light);
    transform: scale(0.98);
}

.neuro-btn:active {
    box-shadow: inset 4px 4px 8px var(--shadow-dark), inset -4px -4px 8px var(--shadow-light);
}

.neuro-btn-primary {
    background: linear-gradient(145deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 6px 6px 12px var(--shadow-dark), -6px -6px 12px var(--shadow-light);
}

.neuro-btn-primary:hover {
    background: linear-gradient(145deg, var(--secondary-color), var(--primary-color));
    box-shadow: 4px 4px 8px var(--shadow-dark), -4px -4px 8px var(--shadow-light);
}

/* Header & Navigation */
header {
    background: var(--bg-color);
    box-shadow: 0 4px 20px rgba(163, 177, 198, 0.4);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 20px 0;
}

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

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(145deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 10px;
    flex-wrap: wrap;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    padding: 10px 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.nav-links a:hover,
.nav-links a.active {
    background: var(--bg-color);
    box-shadow: 6px 6px 12px var(--shadow-dark), -6px -6px 12px var(--shadow-light);
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    background: var(--bg-color);
    border: none;
    border-radius: 10px;
    box-shadow: 6px 6px 12px var(--shadow-dark), -6px -6px 12px var(--shadow-light);
    padding: 10px 15px;
    cursor: pointer;
    font-size: 20px;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(145deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero p {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Image Slider */
.slider-container {
    margin: 60px 0;
    overflow: hidden;
    background: var(--bg-color);
    border-radius: 20px;
    box-shadow: inset 4px 4px 8px var(--shadow-dark), inset -4px -4px 8px var(--shadow-light);
    padding: 20px;
}

.slider-wrapper {
    display: flex;
    animation: slideRightToLeft 30s linear infinite;
    gap: 20px;
}

.slider-item {
    min-width: 300px;
    height: 200px;
    border-radius: 15px;
    background: var(--bg-color);
    box-shadow: 6px 6px 12px var(--shadow-dark), -6px -6px 12px var(--shadow-light);
    overflow: hidden;
    flex-shrink: 0;
}

.slider-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes slideRightToLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Features Grid */
.features-section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 50px;
    color: var(--text-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

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

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    background: linear-gradient(145deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-box h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-primary);
    font-weight: 700;
}

.feature-box p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Stats Section */
.stats-section {
    padding: 60px 0;
    background: var(--bg-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-box {
    text-align: center;
    padding: 40px 20px;
}

.stat-number {
    font-size: 42px;
    font-weight: 800;
    background: linear-gradient(145deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: var(--text-secondary);
    font-weight: 600;
}

/* Contact Section */
.contact-section {
    padding: 60px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

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

.contact-icon {
    font-size: 40px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.contact-box h3 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 700;
}

.contact-box a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

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

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px;
    background: var(--bg-color);
    border: none;
    border-radius: 12px;
    box-shadow: inset 4px 4px 8px var(--shadow-dark), inset -4px -4px 8px var(--shadow-light);
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    box-shadow: inset 6px 6px 12px var(--shadow-dark), inset -6px -6px 12px var(--shadow-light);
}

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

/* Footer */
footer {
    background: var(--bg-color);
    padding: 60px 0 20px;
    box-shadow: 0 -4px 20px rgba(163, 177, 198, 0.4);
}

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

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.footer-section p,
.footer-section a {
    color: var(--text-secondary);
    line-height: 1.8;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

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

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-color);
    border-radius: 50%;
    box-shadow: 6px 6px 12px var(--shadow-dark), -6px -6px 12px var(--shadow-light);
    color: var(--primary-color);
    font-size: 20px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    box-shadow: inset 4px 4px 8px var(--shadow-dark), inset -4px -4px 8px var(--shadow-light);
    transform: scale(0.95);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 2px solid rgba(163, 177, 198, 0.3);
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        margin-top: 20px;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .slider-item {
        min-width: 250px;
        height: 180px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .neuro-btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .slider-item {
        min-width: 200px;
        height: 150px;
    }
}

/* Additional Utility Classes */
.text-center {
    text-align: center;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mt-40 {
    margin-top: 40px;
}

.fade-in {
    animation: fadeIn 0.6s ease-in;
}

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


/* Slider Hover Preview */
.slider-preview {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* Responsive Slider Preview */
.slider-preview-content {
    background: #fff;
    padding: 20px;
    border-radius: 18px;
    width: min(92vw, 900px);
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    overflow: visible;
}

.slider-preview-image-wrapper {
    width: 100%;
    max-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 14px;
}


.slider-preview-image-wrapper img {
    width: 100%;
    height: auto;
    max-height: 50vh;
    object-fit: contain;
}



}

.preview-text {
    padding-top: 12px;
}

.preview-text h3 {
    font-size: clamp(18px, 2.2vw, 24px);
    margin-bottom: 6px;
}

.preview-text p {
    font-size: clamp(14px, 1.6vw, 16px);
    color: #555;
}


.slider-preview-content img {
    width: 100%;
    border-radius: 14px;
    margin-bottom: 15px;
}

.preview-text h3 {
    font-size: 24px;
    margin-bottom: 6px;
}

.preview-text p {
    font-size: 16px;
    color: #555;
}

@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Sticky Action Buttons */
.sticky-actions {
    position: fixed;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9998;
}

.sticky-actions a {
    width: 52px;
    height: 52px;
    background: #000;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, background 0.3s ease;
}

.sticky-actions a:hover {
    transform: translateX(-6px);
    background: #333;
}

@media (max-width: 768px) {
    .slider-preview-content img {
        max-height: 45vh;
    }
}

.slider-center-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 2;
    background: rgba(0,0,0,0.35);
    padding: 14px 22px;
    border-radius: 14px;
    backdrop-filter: blur(4px);
}

.slider-center-overlay h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
}

.slider-center-overlay p {
    margin: 6px 0 0;
    font-size: 16px;
    font-weight: 400;
}
