/* ZPV EKHN - Modern CSS inspired by NeuraTech */

:root {
    --primary-color: #0066b3;
    --secondary-color: #38bdf8;
    --accent-color: #8b5cf6;
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    --text-color: #334155;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;
}

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

body {
    font-family: var(--font-secondary);
    color: var(--text-color);
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
}

/* Navbar */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 2.2rem;
}

.logo-text {
    color: var(--primary-color);
}

.accent-color {
    color: var(--accent-color);
}

.nav-link {
    font-family: var(--font-primary);
    font-weight: 600;
    padding: 0.5rem 1rem !important;
    position: relative;
    color: var(--text-color) !important;
}

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

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

/* Buttons */
.btn {
    font-family: var(--font-primary);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
}

.btn-outline-primary {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.btn-light {
    background: white;
    color: var(--primary-color);
    border: none;
}

.btn-light:hover {
    background: var(--light-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
}

/* Hero Section */
.hero-modern {
    background: var(--light-color);
    padding-top: 4rem;
}

.hero-modern .row {
    align-items: center;
}

.hero-modern .col-lg-7 {
    padding-right: 4rem;
}

.min-vh-75 {
    min-height: 75vh;
}

.hero-image-placeholder {
    background: white;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Stats Section */
.stat-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    color: #666;
    font-size: 1rem;
}

/* Section Styling */
.section-title {
    color: var(--primary-color);
    font-size: 2.5rem;
}

.section-line {
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* About Section */
.about-image-placeholder {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Service Cards */
.service-card {
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15) !important;
}

.service-left-panel {
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px;
}

.service-left-panel img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.service-left-panel::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: rgba(255,255,255,0.1);
    top: -50%;
    left: -50%;
    transform: rotate(30deg);
    transition: transform 0.6s ease;
}

.service-card:hover .service-left-panel::before {
    transform: rotate(30deg) translateX(10%) translateY(-10%);
}

.service-icon-large {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.service-card:hover .service-icon-large {
    transform: scale(1.1);
    background: rgba(255,255,255,0.3);
}

.service-icon-large i {
    font-size: 3rem;
    color: white;
}

.service-link {
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    position: relative;
    padding-bottom: 5px;
}

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

.service-link:hover {
    color: var(--primary-color);
}

.service-link:hover::after {
    width: 100%;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Property Cards */
.property-card {
    transition: all 0.3s ease;
    background: white;
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15) !important;
}

.property-image-placeholder {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: rgba(255,255,255,0.05);
    top: -50%;
    left: -50%;
    transform: rotate(30deg);
}

/* Footer */
footer a:hover {
    color: white !important;
    text-decoration: underline !important;
}

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

.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .navbar-collapse {
        background: white;
        padding: 1rem;
        border-radius: 0.5rem;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        margin-top: 0.5rem;
    }
    
    .service-left-panel {
        min-height: 180px;
    }
    
    .service-icon-large {
        width: 80px;
        height: 80px;
    }
    
    .service-icon-large i {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .service-left-panel {
        min-height: 120px;
    }
}

/* Dropdown Menu */
.dropdown-menu {
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 0.5rem;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: var(--light-color);
    color: var(--primary-color);
    padding-left: 2rem;
}
