/* 
* İcon Emlak - Ana Sayfa CSS
* Ana sayfa için özel stillemeler
*/

/* HERO SECTION */
.hero-section {
    position: relative;
    height: 700px;
    overflow: hidden;
}

.hero-slider,
.hero-slider .swiper-slide {
    height: 100%;
}

.hero-slider .swiper-slide {
    background-size: cover;
    background-position: center;
    position: relative;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-slider .swiper-slide-active {
    opacity: 1;
    z-index: 1;
}

.hero-slider .swiper-slide:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 5;
    color: #fff;
    max-width: 700px;
    padding: 100px 0;
}

.hero-slider .swiper-wrapper {
    z-index: 0;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    position: relative;
    z-index: 5;
}

.hero-slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.7);
    opacity: 1;
}

.hero-slider .swiper-pagination-bullet-active {
    background: var(--secondary-color);
}

.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 5;
}

.hero-slider .swiper-button-next:hover,
.hero-slider .swiper-button-prev:hover {
    background: var(--secondary-color);
}

.hero-slider .swiper-button-next:after,
.hero-slider .swiper-button-prev:after {
    font-size: 20px;
}

.hero-slider .swiper-pagination {
    z-index: 5;
}

/* SEARCH SECTION */
.search-section {
    position: relative;
    margin-top: -80px;
    z-index: 10;
    margin-bottom: 20px;
}

.search-form-wrapper {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.search-form .form-select,
.search-form .form-control {
    height: 56px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

/* PROPERTY CARD */
.property-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    background: #fff;
    transition: all 0.3s ease;
    height: 100%;
}

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

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

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

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

.property-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 15px;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    border-radius: 30px;
    z-index: 1;
}

.property-badge.sale {
    background-color: #28a745;
}

.property-badge.rent {
    background-color: #17a2b8;
}

.property-content {
    padding: 25px;
}

.property-price {
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.property-title {
    font-size: 20px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.property-title a {
    color: var(--dark-color);
}

.property-title a:hover {
    color: var(--primary-color);
}

.property-location {
    color: #666;
    margin-bottom: 15px;
    font-size: 15px;
}

.property-location i {
    color: var(--secondary-color);
    margin-right: 5px;
}

.property-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.property-details span {
    display: flex;
    align-items: center;
    color: #777;
    font-size: 14px;
}

.property-details i {
    color: var(--primary-color);
    margin-right: 8px;
    font-size: 16px;
}

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

/* REGION EXPERTISE */
.region-expertise {
    background-color: #f9f9f9;
}

.map-wrapper {
    height: 450px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

#istanbul-map {
    height: 100%;
    width: 100%;
    background: url('../images/istanbul-map.jpg') no-repeat center/cover;
}

.region-content {
    padding: 20px;
}

.region-tabs .nav-tabs {
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 20px;
}

.region-tabs .nav-link {
    border: none;
    color: var(--text-color);
    font-weight: 600;
    padding: 10px 20px;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}

.region-tabs .nav-link.active {
    color: var(--primary-color);
    background: none;
    border-bottom: 2px solid var(--primary-color);
}

.region-tabs .tab-content {
    padding: 20px 0;
}

.region-tabs h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.region-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.region-features li {
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
}

.region-features li i {
    position: absolute;
    left: 0;
    top: 5px;
    color: var(--secondary-color);
}

/* SELL HOME SECTION */
.sell-home-section {
    background-color: #fff;
}

.sell-home-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.sell-home-content {
    padding: 20px;
}

.sell-home-content h2 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.sell-process {
    margin-top: 30px;
}

.process-item {
    display: flex;
    margin-bottom: 25px;
}

.process-icon {
    width: 60px;
    height: 60px;
    background: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-color);
    margin-right: 20px;
    flex-shrink: 0;
}

.process-content h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.process-content p {
    margin-bottom: 0;
    color: #666;
}

/* BLOG SECTION */
.blog-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.blog-card:hover {
    box-shadow: var(--hover-shadow);
    transform: translateY(-5px);
}

.blog-image {
    height: 220px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 25px;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    color: #777;
    font-size: 14px;
}

.blog-meta span {
    display: flex;
    align-items: center;
}

.blog-meta i {
    margin-right: 5px;
    color: var(--secondary-color);
}

.blog-title {
    font-size: 20px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-title a {
    color: var(--dark-color);
}

.blog-title a:hover {
    color: var(--primary-color);
}

.blog-excerpt {
    color: #666;
    margin-bottom: 20px;
}

.read-more {
    font-weight: 600;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.read-more i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.read-more:hover {
    color: var(--secondary-color);
}

.read-more:hover i {
    transform: translateX(5px);
}

/* CONSULTANT VIDEO */
.consultant-video {
    background-color: #fff;
}

.video-wrapper {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.video-thumbnail {
    position: relative;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--secondary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    z-index: 1;
    box-shadow: 0 0 0 10px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}

.video-play-btn:hover {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 0 0 15px rgba(28, 60, 107, 0.3);
}

.consultant-features {
    margin-top: 30px;
}

.feature-item {
    display: flex;
    margin-bottom: 25px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary-color);
    margin-right: 15px;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.feature-text p {
    margin-bottom: 0;
    color: #666;
}

/* TESTIMONIALS */
.testimonial-card {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.testimonial-card:hover {
    box-shadow: var(--hover-shadow);
}

.testimonial-rating {
    color: var(--secondary-color);
    font-size: 18px;
    margin-bottom: 15px;
}

.testimonial-content p {
    font-style: italic;
    color: #666;
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.author-info span {
    color: #777;
    font-size: 14px;
}

.testimonial-video {
    margin-top: 20px;
    text-align: center;
}

.video-btn {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
}

.video-btn i {
    margin-right: 8px;
    font-size: 14px;
}

.video-btn:hover {
    color: var(--secondary-color);
}

/* CTA SECTION */
.cta-section {
    background-size: cover;
    background-position: center;
    position: relative;
    color: #fff;
}

.cta-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

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

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #fff;
}

.cta-content p {
    margin-bottom: 30px;
}

/* RESPONSIVE STYLES */
@media (max-width: 992px) {
    .hero-section {
        height: 600px;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-content p {
        font-size: 18px;
    }
    
    .property-image {
        height: 220px;
    }
    
    .map-wrapper {
        height: 350px;
        margin-bottom: 30px;
    }
    
    .sell-home-image {
        margin-bottom: 30px;
    }
    
    .video-wrapper {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 500px;
    }
    
    .hero-content h1 {
        font-size: 30px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .search-section {
        margin-top: -60px;
    }
    
    .search-form-wrapper {
        padding: 20px;
    }
    
    .property-price {
        font-size: 20px;
    }
    
    .property-title {
        font-size: 18px;
    }
    
    .property-details span {
        font-size: 13px;
    }
    
    .map-wrapper {
        height: 300px;
    }
    
    .blog-image {
        height: 200px;
    }
    
    .blog-title {
        font-size: 18px;
    }
    
    .testimonial-card {
        padding: 20px;
    }
    
    .cta-content h2 {
        font-size: 28px;
    }
    
    .video-play-btn {
        width: 60px;
        height: 60px;
        font-size: 24px;
        box-shadow: 0 0 0 5px rgba(212, 175, 55, 0.3);
    }
} 