:root {
    --primary-blue: #5468ff;
    --dark-blue: #3b4fd9;
    --light-blue: #7c8fff;
    --purple: #9b59d1;
    --purple-dark: #7d3fa8;
    --black: #0a0a0a;
    --dark-gray: #1a1a1a;
    --gray: #2a2a2a;
    --light-gray: #f5f7fa;
    --white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --text-dark: #1a1d29;
    --text-gray: #6b7280;
    --gradient: linear-gradient(135deg, var(--primary-blue) 0%, var(--purple) 100%);
    --gradient-light: linear-gradient(135deg, #5468ff 0%, #9b59d1 100%);
}

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

/* Performance: Disable animations on low-end devices */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8f0ff 50%, #f5f7fa 100%);
    z-index: -1;
    pointer-events: none;
}

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

main {
    position: relative;
    z-index: 1;
    min-height: 100vh;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #ffffff;
    z-index: 1000;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(84, 104, 255, 0.1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 0 20px;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 0 0 auto;
}

.brand-text-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: inherit;
}

.header-logo {
    width: 220px;
    height: auto;
    max-height: 60px;
    object-fit: contain;
    border-radius: 5px;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
}

/* Logo hover removed for better performance */

.brand-text {
    display: flex;
    flex-direction: column;
}

.nav-brand h2 {
    font-size: 1.9rem;
    background: var(--gradient-light);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    line-height: 1.2;
    font-weight: 700;
}

.brand-subtitle {
    font-size: 1rem;
    color: var(--text-gray);
    display: block;
    margin-top: -2px;
    line-height: 1.2;
    font-weight: 500;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: center;
    align-items: center;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.3rem;
    position: relative;
    padding: 0.7rem 1.3rem;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-light);
    transition: width 0.2s ease;
}

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex: 0 0 auto;
}

@media (max-width: 768px) {
    .navbar .container {
        flex-wrap: nowrap;
        justify-content: space-between;
    }
    
    .nav-brand {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        flex: 0 0 auto;
    }
    
    .nav-actions {
        order: 3;
        margin-left: auto;
        display: flex;
    }
    
    .hamburger {
        display: flex;
        order: 1;
        margin-right: 0;
        margin-left: 0;
    }
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #25D366;
    color: var(--white);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    white-space: nowrap;
}

.whatsapp-btn i {
    font-size: 1.3rem;
}

.whatsapp-btn:hover {
    background: #20BA5A;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.instagram-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: var(--white);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(225, 48, 108, 0.3);
    white-space: nowrap;
}

.instagram-btn i {
    font-size: 1.3rem;
}

.instagram-btn:hover {
    box-shadow: 0 6px 20px rgba(225, 48, 108, 0.5);
    filter: brightness(1.05);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
    padding: 10px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 1;
    background: transparent;
    --slide-position: 0%;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/images/anasayfa.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    opacity: 1;
    z-index: 0;
    image-rendering: auto;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    will-change: auto;
}


.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem;
}

.hero-title {
    font-size: 5.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    opacity: 1;
}

.gradient-text {
    background: var(--gradient-light);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.hero-subtitle {
    font-size: 2.5rem;
    color: var(--white);
    font-weight: 600;
    margin-bottom: 1.5rem;
    opacity: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: 1.8rem;
    color: var(--white);
    font-weight: 500;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    opacity: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 1;
}

/* Animations removed for better performance */

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-light);
    color: var(--white);
    box-shadow: 0 10px 30px rgba(84, 104, 255, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 15px 40px rgba(84, 104, 255, 0.4);
}

.btn-secondary {
    background: var(--gradient-light);
    color: var(--white);
    box-shadow: 0 10px 30px rgba(84, 104, 255, 0.3);
    border: none;
}

.btn-secondary:hover {
    box-shadow: 0 15px 40px rgba(84, 104, 255, 0.4);
}

/* Scroll indicator removed for better performance */

/* Features Section */
.features {
    padding: 6rem 0;
    background: var(--bg-white);
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: var(--gradient-light);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: var(--text-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(84, 104, 255, 0.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

/* Feature card hover effects removed for better performance */
.feature-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-blue);
}

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

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-gray);
}

/* Stats Section */
.stats {
    padding: 6rem 0;
    background: linear-gradient(135deg, #5468ff 0%, #9b59d1 100%);
    position: relative;
    z-index: 1;
}

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

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

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

/* Brand Showcase Section */
.brand-showcase {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 50%, #f0f4ff 100%);
    position: relative;
    z-index: 1;
}

.brand-showcase-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.brand-showcase-logo {
    flex: 0 0 350px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.showcase-logo-img {
    width: 450px;
    height: 450px;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(84, 104, 255, 0.2));
}

/* Showcase logo hover removed for better performance */

.brand-showcase-text {
    flex: 1;
}

.brand-showcase-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-light);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.brand-tagline {
    font-size: 1.3rem;
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.brand-description {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.brand-highlights {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(84, 104, 255, 0.1);
}

.highlight-item:hover {
    box-shadow: 0 8px 25px rgba(84, 104, 255, 0.2);
}

.highlight-item i {
    font-size: 1.3rem;
    color: var(--primary-blue);
}

.highlight-item span {
    font-weight: 600;
    color: var(--text-dark);
}

@media (max-width: 968px) {
    .brand-showcase-content {
        flex-direction: column;
        text-align: center;
    }
    
    .brand-showcase-logo {
        flex: none;
    }
    
    .showcase-logo-img {
        width: 350px;
        height: 350px;
    }
    
    .brand-showcase-text h2 {
        font-size: 2rem;
    }
    
    .brand-highlights {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .showcase-logo-img {
        width: 280px;
        height: 280px;
    }
    
    .brand-showcase-text h2 {
        font-size: 1.6rem;
    }
    
    .brand-tagline {
        font-size: 1.1rem;
    }
    
    .highlight-item {
        padding: 0.8rem 1.2rem;
    }
}

/* Portfolio Preview */
.mission-vision {
    padding: 6rem 0;
    background: var(--bg-white);
    position: relative;
    z-index: 1;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.mission-vision-card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    border: 1px solid rgba(84, 104, 255, 0.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.mission-vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-light);
    transform: scaleX(0);
}

/* Mission vision card hover removed for better performance */

.mission-vision-card:hover {
    box-shadow: 0 10px 30px rgba(84, 104, 255, 0.2);
}

.mission-vision-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    background: var(--gradient-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(84, 104, 255, 0.3);
}

.mission-vision-card:hover .mission-vision-icon {
    transform: scale(1.05);
}

.mission-vision-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-light);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: var(--text-dark);
}

.mission-vision-text {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 1.1rem;
    text-align: left;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.portfolio-item {
    background: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(84, 104, 255, 0.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.portfolio-item:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.portfolio-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #5468ff 0%, #9b59d1 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px 15px 0 0;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-link {
    color: var(--white);
    font-size: 2rem;
}

/* Portfolio link hover removed for better performance */

.portfolio-info {
    padding: 1.5rem;
}

.portfolio-info h3 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.portfolio-info p {
    color: var(--text-gray);
}

/* Page Header */
.page-header {
    padding: 0;
    background: transparent;
    text-align: center;
    margin-top: 70px;
    position: relative;
    z-index: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    contain: layout style paint;
}

@media (max-width: 768px) {
    .page-header {
        margin-top: 60px;
    }
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: -1;
}

/* Hakkımda Sayfası - Modern Bina Arka Planı */
.page-header-about {
    background-image: url('/images/hakkimda.jpg');
    background-attachment: scroll;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Hakkımda Sayfası - Modern Bina Arka Planı */
.page-header-about {
    background-image: url('/images/hakkimda.jpg');
    background-attachment: scroll;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    contain: layout style paint;
    image-rendering: auto;
}

/* İletişim Sayfası - Şehir Manzarası */
.page-header-contact {
    background-image: url('/images/iletisim.jpg');
    background-attachment: scroll;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    contain: layout style paint;
    image-rendering: auto;
}

/* Portföy Sayfası - Gayrimenkul Projeleri */
.page-header-properties {
    background-image: url('/images/porfoy.jpg');
    background-attachment: scroll;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    contain: layout style paint;
    image-rendering: auto;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.page-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.page-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* About Section */
.about-section {
    padding: 6rem 0;
    background: var(--bg-white);
    position: relative;
    z-index: 1;
}

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

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

.profile-card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(84, 104, 255, 0.15);
    display: inline-block;
}

.profile-card:hover {
    box-shadow: 0 15px 40px rgba(84, 104, 255, 0.2);
}

.profile-image {
    width: 400px;
    height: 400px;
    border-radius: 15px;
    object-fit: cover;
    margin: 0 auto;
    display: block;
    box-shadow: 0 20px 60px rgba(0, 102, 255, 0.3);
    border: 5px solid rgba(0, 102, 255, 0.3);
}

.profile-image:hover {
    box-shadow: 0 25px 70px rgba(0, 102, 255, 0.5);
    border-color: var(--primary-blue);
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    background: var(--gradient-light);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text h3 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1rem;
    color: var(--text-gray);
    line-height: 1.8;
}

.about-skills {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark);
}

.skill-item i {
    color: var(--primary-blue);
}

/* Experience Section */
.experience-section {
    padding: 6rem 0;
    background: var(--bg-light);
    position: relative;
    z-index: 1;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-light);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 3rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--primary-blue);
    border-radius: 50%;
    border: 3px solid var(--bg-white);
}

.timeline-year {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.timeline-content h3 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.timeline-content p {
    color: var(--text-gray);
}

/* Properties Section */
.properties-section {
    padding: 6rem 0;
    background: var(--bg-white);
    position: relative;
    z-index: 1;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: rgba(42, 42, 42, 0.8);
    border: 2px solid rgba(0, 102, 255, 0.2);
    color: var(--white);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient);
    border-color: transparent;
    transform: translateY(-3px);
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.property-card {
    background: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(84, 104, 255, 0.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
}

.property-card:hover {
    box-shadow: 0 15px 40px rgba(84, 104, 255, 0.2);
    border-color: var(--primary-blue);
}

.property-image {
    width: 100%;
    height: 250px;
    background: var(--gradient);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    image-rendering: auto;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.property-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-blue);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
    z-index: 2;
}

.property-eye-link {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(84, 104, 255, 0.95);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    z-index: 10;
    box-shadow: 0 4px 20px rgba(84, 104, 255, 0.4);
    transition: opacity 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    opacity: 0;
    pointer-events: none;
}

.property-card:hover .property-eye-link {
    opacity: 1;
    pointer-events: auto;
}

.property-eye-link:hover {
    background: var(--gradient-light);
    box-shadow: 0 6px 25px rgba(84, 104, 255, 0.6);
}

.property-info {
    padding: 1.5rem;
}

.property-info h3 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-size: 1.3rem;
}

.property-location {
    color: var(--text-gray);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.property-details {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.property-details span {
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.property-price {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-light);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 1rem;
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background: var(--bg-light);
    position: relative;
    z-index: 1;
}

.contact-content {
    display: flex;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-info h2 {
    margin-bottom: 1rem;
    background: var(--gradient-light);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-info p {
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.contact-items {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

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

.contact-details h3 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-size: 1.3rem;
    font-weight: 600;
}

.contact-details p {
    color: var(--text-dark);
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
}

.contact-link {
    color: var(--primary-blue) !important;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    z-index: 10;
}

.contact-link:hover {
    color: var(--purple) !important;
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.contact-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(42, 42, 42, 0.8);
    border: 2px solid rgba(0, 102, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    text-decoration: none;
}

.social-link:hover {
    background: var(--gradient);
    border-color: transparent;
}

.form-group {
    position: relative;
}

.form-control {
    width: 100%;
    padding: 1rem;
    background: rgba(42, 42, 42, 0.8);
    border: 2px solid rgba(0, 102, 255, 0.2);
    border-radius: 10px;
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

/* Footer */
.footer {
    background: var(--text-dark);
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(84, 104, 255, 0.2);
    position: relative;
    z-index: 1;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
    background: var(--gradient-light);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(84, 104, 255, 0.2);
    color: rgba(255, 255, 255, 0.6);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 0.8rem 0;
    }

    .navbar .container {
        padding: 0 15px;
        gap: 0.75rem;
        justify-content: space-between;
        flex-wrap: nowrap;
    }

    .nav-brand {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        flex: 0 0 auto;
    }

    .hamburger {
        display: flex;
        margin-right: 0;
        margin-left: 0;
        order: 1;
    }

    .nav-actions {
        margin-right: 0;
        gap: 0.3rem;
        flex-direction: row;
        align-items: center;
        order: 3;
        margin-left: 0;
        flex: 0 0 auto;
    }

    .instagram-btn {
        display: none;
    }

    .whatsapp-btn {
        padding: 0;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 30px;
    }

    .whatsapp-btn span {
        display: none;
    }

    .whatsapp-btn i {
        font-size: 0.85rem;
        margin: 0;
    }

    .contact-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .contact-buttons .whatsapp-btn,
    .contact-buttons .instagram-btn {
        width: 100%;
        justify-content: center;
    }

    .contact-buttons .whatsapp-btn span,
    .contact-buttons .instagram-btn span {
        display: inline;
    }

    .nav-brand {
        gap: 0.5rem;
        min-width: 0;
    }

    .header-logo {
        height: 35px;
        width: auto;
    }

    .brand-text-link {
        gap: 0.5rem;
    }

    .header-logo {
        width: 150px !important;
        max-height: 50px !important;
    }

    .nav-brand h2 {
        font-size: 1.1rem;
    }

    .brand-subtitle {
        font-size: 0.6rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        padding: 1.5rem 0;
        border-top: 1px solid rgba(84, 104, 255, 0.2);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .nav-link {
        display: block;
        width: 100%;
        padding: 1rem 2rem;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(84, 104, 255, 0.1);
    }

    .nav-link:hover {
        background: rgba(84, 104, 255, 0.05);
    }

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

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .properties-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .mission-vision-card {
        padding: 2rem;
    }

    .mission-vision-title {
        font-size: 1.5rem;
    }

    .mission-vision-text {
        font-size: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Error Section */
.error-section {
    padding: 6rem 0;
    background: rgba(10, 10, 10, 0.7);
    min-height: 50vh;
    position: relative;
    z-index: 1;
}

.error-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.error-icon {
    font-size: 5rem;
    color: var(--primary-blue);
    margin-bottom: 2rem;
}

.error-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.error-content p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

/* Performance Optimizations - Animations removed for better performance */
.feature-card,
.portfolio-item,
.property-card {
    opacity: 1;
}

/* Filter animations - CSS only */
.property-card.filtered-out {
    display: none;
}

.property-card.filtered-in {
    display: block;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .hero::before,
    .page-header,
    .page-header-about,
    .page-header-contact,
    .page-header-properties,
    .page-header-about::before,
    .page-header-contact::before,
    .page-header-properties::before {
        background-attachment: scroll !important;
    }

    .page-header {
        min-height: 50vh;
        height: auto;
        margin-top: 60px;
    }

    .hero {
        height: 100vh;
        min-height: 600px;
    }

    .hero-title {
        font-size: 2.5rem !important;
    }

    .hero-subtitle {
        font-size: 1.2rem !important;
    }

    .hero-description {
        font-size: 1rem !important;
    }
}

/* Image lazy loading */
img[loading="lazy"] {
    content-visibility: auto;
}

/* Reduce repaints */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

