/* ========================================
   XRE Commercial - CSS (Premium)
   ======================================== */

/* Root Variables */
:root {
    --primary-color: #0066CC;
    --secondary-color: #00AA44;
    --dark-color: #1a1a1a;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 20px rgba(0, 0, 0, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    background: var(--white);
    line-height: 1.6;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 48px; }
h2 { font-size: 36px; margin-bottom: 15px; }
h3 { font-size: 24px; }
h4 { font-size: 18px; }

p {
    margin-bottom: 15px;
    color: #666;
}

/* Header */
.header {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--dark-color);
}

.logo-img {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.logo:hover .logo-img {
    transform: scale(1.05) rotate(2deg);
    box-shadow: var(--shadow);
}

.logo-text {
    font-size: 20px;
    margin: 0;
}

.logo-subtitle {
    font-size: 12px;
    color: #999;
    margin: 0;
}

/* Navigation */
.nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
}

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

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

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    box-shadow: var(--shadow);
    z-index: 99;
}

.mobile-menu-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #0052A3);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

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

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

.btn-white {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: var(--shadow);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-small {
    padding: 8px 16px;
    font-size: 12px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.05) 0%, rgba(0, 170, 68, 0.05) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(0, 170, 68, 0.1);
    color: var(--secondary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-text h1 {
    margin-bottom: 20px;
    color: var(--dark-color);
}

.hero-text p {
    font-size: 16px;
    margin-bottom: 30px;
    color: #666;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

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

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

.stat-card {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.05), rgba(0, 170, 68, 0.05));
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(0, 102, 204, 0.1);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 14px;
    color: #666;
    font-weight: 600;
}

/* Featured Properties */
.featured-properties {
    padding: 80px 0;
    background: var(--light-bg);
}

.featured-properties h2 {
    text-align: center;
    margin-bottom: 10px;
}

.featured-properties > p {
    text-align: center;
    margin-bottom: 50px;
    color: #999;
}

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

.property-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.property-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #87CEEB, #E0F6FF);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.property-image svg {
    width: 100%;
    height: 100%;
}

.property-content {
    padding: 20px;
}

.property-content h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--dark-color);
}

.property-type {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
}

.property-details {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
}

.property-details span {
    display: flex;
    align-items: center;
    gap: 5px;
}

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

/* Services Section */
.services {
    padding: 80px 0;
    background: var(--white);
}

.services h2 {
    text-align: center;
    margin-bottom: 10px;
}

.services > p {
    text-align: center;
    margin-bottom: 50px;
    color: #999;
}

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

.service-card {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.05), rgba(0, 170, 68, 0.05));
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(0, 102, 204, 0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 28px;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--dark-color);
}

.service-card p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 15px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    font-size: 16px;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 60px 0 20px;
}

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

.footer-section h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 16px;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo-img {
    width: 70px;
    height: 70px;
    border-radius: 6px;
}

.footer-logo h4,
.footer-logo p {
    margin: 0;
    color: var(--white);
}

.footer-logo p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00AA44, #008C3A);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    text-decoration: none;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    z-index: 50;
}

.whatsapp-btn:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 170, 68, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav {
        display: none;
    }

    .mobile-menu.active {
        display: flex;
    }

    h1 { font-size: 32px; }
    h2 { font-size: 24px; }

    .hero-content .container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-image {
        display: none;
    }

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

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

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

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

    .whatsapp-btn {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    h1 { font-size: 24px; }
    h2 { font-size: 18px; }

    .btn {
        padding: 10px 20px;
        font-size: 12px;
    }

    .hero {
        padding: 40px 0;
    }

    .stats {
        padding: 40px 0;
    }

    .featured-properties {
        padding: 40px 0;
    }

    .services {
        padding: 40px 0;
    }

    .cta-section {
        padding: 40px 0;
    }

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

    .stat-card {
        padding: 20px;
    }

    .stat-number {
        font-size: 24px;
    }
}



.hero-highlights{
    display:flex;
    gap:20px;
    margin-top:30px;
    flex-wrap:wrap;
}

.hero-highlight{
    background:rgba(255,255,255,0.08);
    border:1px solid rgba(255,255,255,0.12);
    padding:18px 22px;
    border-radius:16px;
    backdrop-filter:blur(10px);
    min-width:140px;
}

.hero-highlight strong{
    display:block;
    font-size:24px;
    color:#000000;
    margin-bottom:6px;
}

.hero-highlight span{
    color:#000000;
    font-size:14px;
}

.featured-investment{
    padding:40px;
    border-radius:24px;
    background:linear-gradient(
        135deg,
        #111827,
        #1f2937
    );
    color:white;
}

.investment-badge{
    display:inline-block;
    background:#7c3aed;
    padding:10px 18px;
    border-radius:999px;
    margin-bottom:20px;
    font-size:14px;
    font-weight:600;
}

.investment-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:18px;
    margin:30px 0;
}

.investment-item{
    background:rgba(255,255,255,0.06);
    padding:20px;
    border-radius:18px;
    border:1px solid rgba(255,255,255,0.08);
}

.investment-item strong{
    display:block;
    font-size:26px;
    color:#fff;
    margin-bottom:8px;
}

.investment-item span{
    color:#cfcfcf;
    font-size:14px;
}

.property-description{
    line-height:1.8;
    color:#e5e7eb;
}

/* HERO SECTION */

.hero{
    position:relative;
    overflow:hidden;
    padding:120px 0;
    background:
        radial-gradient(circle at top left,#1e293b 0%,#0f172a 45%,#020617 100%);
}

.hero-background-glow{
    position:absolute;
    width:600px;
    height:600px;
    background:rgba(124,58,237,0.18);
    filter:blur(120px);
    border-radius:50%;
    top:-200px;
    right:-200px;
    z-index:0;
}

.hero-container{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:60px;
    position:relative;
    z-index:2;
}

.hero-text{
    flex:1;
    max-width:620px;
}

.hero-badge{
    display:inline-flex;
    align-items:center;
    gap:10px;

    padding:12px 20px;

    border-radius:999px;

    background:
        rgba(255,255,255,0.08);

    border:
        1px solid rgba(255,255,255,0.12);

    backdrop-filter:blur(12px);

    color:#fff;

    font-size:14px;
    font-weight:600;

    margin-bottom:28px;
}

.hero h1{
    font-size:68px;
    line-height:1.05;
    font-weight:800;
    color:#fff;
    margin-bottom:28px;
}

.gradient-text{
    background:linear-gradient(
        90deg,
        #ffffff,
        #a855f7,
        #38bdf8
    );

    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

.hero-description{
    font-size:19px;
    line-height:1.9;
    color:#cbd5e1;
    margin-bottom:40px;
}

.hero-highlights{
    display:flex;
    flex-wrap:wrap;
    gap:20px;
    margin-bottom:40px;
}

.hero-highlight{
    min-width:160px;

    padding:22px;

    border-radius:22px;

    background:
        rgba(255,255,255,0.06);

    border:
        1px solid rgba(255,255,255,0.08);

    backdrop-filter:blur(18px);

    transition:0.3s ease;
}

.hero-highlight:hover{
    transform:translateY(-6px);
    background:rgba(255,255,255,0.09);
}

.hero-highlight strong{
    display:block;
    font-size:30px;
    color:#fff;
    margin-bottom:8px;
    font-weight:700;
}

.hero-highlight span{
    color:#cbd5e1;
    font-size:14px;
}

.hero-buttons{
    display:flex;
    gap:18px;
    flex-wrap:wrap;
}

.hero-buttons .btn{
    display:inline-flex;
    align-items:center;
    gap:10px;

    padding:16px 28px;

    border-radius:16px;

    text-decoration:none;
    font-weight:600;

    transition:0.3s ease;
}

.btn-primary{
    background:linear-gradient(
        135deg,
        #7c3aed,
        #2563eb
    );

    color:#fff;

    box-shadow:
        0 15px 40px rgba(124,58,237,0.35);
}

.btn-primary:hover{
    transform:translateY(-4px);
}

.btn-outline{
    border:1px solid rgba(255,255,255,0.18);
    color:#fff;
    background:rgba(255,255,255,0.04);
}

.btn-outline:hover{
    background:rgba(255,255,255,0.08);
}

/* HERO IMAGE */

.hero-image{
    flex:1;
    position:relative;
}

.hero-video-wrapper{
    position:relative;

    width:100%;
    height:620px;

    border-radius:34px;

    overflow:hidden;

    box-shadow:
        0 40px 80px rgba(0,0,0,0.45);

    border:
        1px solid rgba(255,255,255,0.08);
}

.hero-video{
    width:100%;
    height:100%;
    object-fit:cover;
    transform:scale(1.04);
}

.hero-video-overlay{
    position:absolute;
    inset:0;

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,0.82),
            rgba(0,0,0,0.12)
        );
}

/* FLOATING CARD */

.hero-floating-card{
    position:absolute;

    bottom:30px;
    left:30px;

    width:320px;

    padding:28px;

    border-radius:28px;

    background:
        rgba(15,23,42,0.72);

    backdrop-filter:blur(20px);

    border:
        1px solid rgba(255,255,255,0.08);

    color:#fff;

    z-index:3;
}

.card-badge{
    display:inline-block;

    background:
        linear-gradient(
            135deg,
            #7c3aed,
            #2563eb
        );

    padding:8px 14px;

    border-radius:999px;

    font-size:13px;
    font-weight:600;

    margin-bottom:16px;
}

.hero-floating-card h3{
    font-size:48px;
    margin-bottom:14px;
    font-weight:800;
}

.hero-floating-card p{
    color:#cbd5e1;
    line-height:1.7;
    margin-bottom:24px;
}

.floating-stats{
    display:flex;
    gap:18px;
}

.floating-stats div{
    flex:1;

    background:
        rgba(255,255,255,0.05);

    padding:14px;

    border-radius:16px;
}

.floating-stats strong{
    display:block;
    font-size:24px;
    color:#fff;
}

.floating-stats span{
    font-size:13px;
    color:#cbd5e1;
}

/* ROI CARD */

.hero-roi-card{
    position:absolute;

    top:28px;
    right:28px;

    display:flex;
    align-items:center;
    gap:12px;

    background:
        rgba(255,255,255,0.08);

    border:
        1px solid rgba(255,255,255,0.12);

    backdrop-filter:blur(16px);

    padding:14px 18px;

    border-radius:18px;

    color:#fff;

    font-size:14px;
    font-weight:600;

    z-index:3;
}

.hero-roi-card i{
    color:#22c55e;
}

/* MOBILE */

@media(max-width:1100px){

    .hero-container{
        flex-direction:column;
    }

    .hero h1{
        font-size:52px;
    }

    .hero-video-wrapper{
        height:520px;
    }

}

@media(max-width:768px){

    .hero{
        padding:80px 0;
    }

    .hero h1{
        font-size:40px;
    }

    .hero-description{
        font-size:16px;
    }

    .hero-highlights{
        flex-direction:column;
    }

    .hero-highlight{
        width:100%;
    }

    .hero-buttons{
        flex-direction:column;
    }

    .hero-buttons .btn{
        width:100%;
        justify-content:center;
    }

    .hero-video-wrapper{
        height:420px;
    }

    .hero-floating-card{
        width:calc(100% - 40px);
        left:20px;
        bottom:20px;
        padding:20px;
    }

    .hero-floating-card h3{
        font-size:34px;
    }

    .hero-roi-card{
        top:18px;
        right:18px;
        font-size:12px;
    }

}


.property-image{
    position:relative;
    overflow:hidden;
    height:240px;
}

.property-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:0.5s ease;
}

.property-card:hover .property-image img{
    transform:scale(1.08);
}

.property-card{
    overflow:hidden;
    border-radius:24px;
}


/* Ana bölüm ayarları ve yüksekliği */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 50vh; 
    max-height: 850px; 
    display: flex;
    align-items: center; 
    padding: 100px 0; 
}

/* Arka plan videosu ayarları */
.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    z-index: 0;
    opacity: 0.4; 
    pointer-events: none; 
}

/* Sola kayma sorununu çözen ve içeriği üstte tutan kod */
.hero-content {
    position: relative;
    z-index: 1;
    width: 100%; /* İçeriğin daralmasını ve sola yaslanmasını engeller */
}


/* Alt sayfalardaki Hero (Banner) alanını küçültme */
.hero.inner-page-hero {
    min-height: 35vh; /* Yüksekliği ekranın %35'ine düşürdük */
    max-height: 400px; /* Maksimum 400 piksel olsun */
    padding: 60px 0; /* İç boşlukları biraz daralttık */
}