@import 'tailwindcss/base';

/* Navigation Links */
.nav-link {
    position: relative;
    font-weight: 500;
    color: #1C2B3A !important;
    transition: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #fff;
    transition: width 0.3s cubic-bezier(0.4,0,0.2,1), height 0.3s cubic-bezier(0.4,0,0.2,1);
}

.nav-link:hover::after {
    width: 100%;
    height: 3px;
}

/* Transparent Header */
.header-transparent {
    transition: all 0.3s ease-in-out;
}

.header-transparent.scrolled {
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
}

.header-transparent .nav-link {
    color: white;
}



#mobile-menu-button span {
    transition: all 0.3s ease-in-out;
}


/* Mobile Menu Styles */
#mobile-menu {
    transition: all 0.3s ease-in-out;
}

#mobile-menu.flex {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Tab Content */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Swiper Navigation */
.swiper-button-next, .swiper-button-prev {
    color: white !important;
    background: rgba(47, 79, 79, 0.5);
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
}

.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 20px !important;
}

/* Real Estate Specific Styles */
.realty-gradient {
    background: linear-gradient(135deg, #2C3E50 0%, #34495E 100%);
}

.realty-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(44, 62, 80, 0.1);
}

.realty-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(44, 62, 80, 0.1);
}

.realty-pattern {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232C3E50' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.property-feature {
    position: relative;
    padding-left: 1.5rem;
}

.property-feature::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: #E67E22;
    border-radius: 50%;
}

/* Real Estate Hero Section */
.realty-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.realty-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.9) 0%, rgba(52, 73, 94, 0.9) 100%);
    z-index: 1;
}

.realty-hero-content {
    position: relative;
    z-index: 2;
}

.realty-hero-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 9999px;
    padding: 0.75rem 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.realty-hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.realty-hero-description {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 42rem;
}

.realty-hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.realty-hero-button {
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.realty-hero-button-primary {
    background: white;
    color: #2C3E50;
}

.realty-hero-button-primary:hover {
    background: #E67E22;
    color: white;
}

.realty-hero-button-secondary {
    border: 2px solid white;
    color: white;
}

.realty-hero-button-secondary:hover {
    background: white;
    color: #2C3E50;
}

/* Real Estate About Section */
.realty-about {
    padding: 5rem 0;
}

.realty-about-content {
    max-width: 42rem;
}

.realty-about-badge {
    color: #E67E22;
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}

.realty-about-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.realty-about-description {
    color: #4B5563;
    margin-bottom: 2rem;
}

.realty-about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.realty-about-feature {
    background: #F3F4F6;
    padding: 1.5rem;
    border-radius: 1rem;
}

.realty-about-feature-icon {
    color: #E67E22;
    font-size: 1.875rem;
    margin-bottom: 1rem;
}

.realty-about-feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.realty-about-feature-description {
    color: #4B5563;
}

.realty-about-image {
    position: relative;
}

.realty-about-image::before {
    content: '';
    position: absolute;
    top: -1.5rem;
    left: -1.5rem;
    width: 8rem;
    height: 8rem;
    background: rgba(44, 62, 80, 0.2);
    border-radius: 50%;
    z-index: 0;
}

.realty-about-image::after {
    content: '';
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    width: 8rem;
    height: 8rem;
    background: rgba(230, 126, 34, 0.2);
    border-radius: 50%;
    z-index: 0;
}

.realty-about-image img {
    position: relative;
    z-index: 1;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Real Estate Services Section */
.realty-services {
    padding: 5rem 0;
    background: #F3F4F6;
}

.realty-services-header {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto 4rem;
}

.realty-services-badge {
    color: #E67E22;
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}

.realty-services-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.realty-services-description {
    color: #4B5563;
}

.realty-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.realty-service-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.realty-service-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.realty-service-icon {
    width: 5rem;
    height: 5rem;
    background: rgba(44, 62, 80, 0.1);
    color: #2C3E50;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.875rem;
    margin-bottom: 1.5rem;
}

.realty-service-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.realty-service-description {
    color: #4B5563;
    margin-bottom: 1.5rem;
}

.realty-service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.realty-service-feature {
    position: relative;
    padding-left: 1.5rem;
    color: #4B5563;
    margin-bottom: 0.75rem;
}

.realty-service-feature::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0.5rem;
    height: 0.5rem;
    background: #E67E22;
    border-radius: 50%;
}

/* Real Estate Projects Section */
.realty-projects {
    padding: 5rem 0;
}

.realty-projects-header {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto 4rem;
}

.realty-projects-badge {
    color: #E67E22;
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}

.realty-projects-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.realty-projects-description {
    color: #4B5563;
}

.realty-projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.realty-project-card {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
}

.realty-project-image {
    width: 100%;
    height: 24rem;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.realty-project-card:hover .realty-project-image {
    transform: scale(1.1);
}

.realty-project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}

.realty-project-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    z-index: 2;
}

.realty-project-badge {
    background: #E67E22;
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: inline-block;
}

.realty-project-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
}

.realty-project-location {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.realty-project-details {
    display: flex;
    gap: 2rem;
    color: white;
}

.realty-project-detail {
    display: flex;
    flex-direction: column;
}

.realty-project-detail-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.realty-project-detail-value {
    font-weight: 600;
}

.realty-projects-button {
    text-align: center;
    margin-top: 3rem;
}

.realty-projects-button a {
    display: inline-block;
    background: #2C3E50;
    color: white;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.realty-projects-button a:hover {
    background: #34495E;
}

/* Real Estate Footer */
.realty-footer {
    background: #1F2937;
    color: white;
    padding: 5rem 0 2rem;
}

.realty-footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.realty-footer-logo {
    margin-bottom: 1.5rem;
}

.realty-footer-description {
    color: #9CA3AF;
    margin-bottom: 2rem;
}

.realty-footer-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.realty-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.realty-footer-link {
    margin-bottom: 0.75rem;
}

.realty-footer-link a {
    color: #9CA3AF;
    transition: color 0.3s ease;
}

.realty-footer-link a:hover {
    color: #E67E22;
}

.realty-footer-social {
    display: flex;
    gap: 1rem;
}

.realty-footer-social-link {
    color: #9CA3AF;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.realty-footer-social-link:hover {
    color: #E67E22;
}

.realty-footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9CA3AF;
}

/* Tab Menu Active State Styles */
.tab-btn.active[data-tab="raday"] {
    color: #905647 !important; /* raday-brown */
    border-left: 4px solid #905647 !important;
    background-color: #f9fafb !important; /* bg-gray-50 */
}
.tab-btn.active[data-tab="taahhut"] {
    color: #7a5649 !important; /* raad-taahut */
    border-left: 4px solid #7a5649 !important;
    background-color: #f9fafb !important;
}
.tab-btn.active[data-tab="gayrimenkul"] {
    color: #1c3664 !important; /* raad-gayrimenkul */
    border-left: 4px solid #1c3664 !important;
    background-color: #f9fafb !important;
}
.tab-btn.active[data-tab="enerji"] {
    color: #d5af33 !important; /* raad-enerji */
    border-left: 4px solid #d5af33 !important;
    background-color: #f9fafb !important;
}
.tab-btn.active[data-tab="nus"] {
    color: #2c3e50 !important; /* nus-primary */
    border-left: 4px solid #2c3e50 !important;
    background-color: #f9fafb !important;
}
.tab-btn.active[data-tab="yapi"] {
    color: #27ae60 !important; /* yapi-primary */
    border-left: 4px solid #27ae60 !important;
    background-color: #f9fafb !important;
}

/* Form inputlarda normalde gri, seçili olunca kahverengi border gözüksün */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
textarea,
select {
    border: 1px solid #d1d5db !important; /* Tailwind gray-300 */
    box-shadow: none !important;
    transition: border-color 0.2s;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
    border: 2px solid #905647 !important;
    outline: none !important;
    box-shadow: none !important;
} 

.newsSwiper {
    position: relative;
    padding-bottom: 60px;
}
.newsSwiper .swiper-pagination {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
    margin-left: auto;
    margin-right: auto;
    z-index: 30;
    text-align: center;
}
.newsSwiper .swiper-pagination-bullet {
    background: #fff;
    opacity: 1;
}
.newsSwiper .swiper-pagination-bullet-active {
    background: #905647;
}
/* Bizden Haberler açıklama kısmı için min. 2 satır */
.newsSwiper .swiper-slide .haber-aciklama {
    min-height: 3.2em; /* 2 satır için, line-height ile uyumlu */
    line-height: 1.6em;
    display: block;
}
/* Bizden Haberler kartlarını eşit yükseklikte yap */
.newsSwiper .swiper-slide {
    height: 100% !important;
    display: flex;
    align-items: stretch;
}
.newsSwiper .swiper-slide > div {
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 480px;
}
.newsSwiper .swiper-slide .aspect-w-16.aspect-h-9 {
    aspect-ratio: 16/9;
    width: 100%;
    min-height: 220px;
    max-height: 260px;
    overflow: hidden;
}
.newsSwiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.newsSwiper .swiper-slide .p-6 {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.newsSwiper .swiper-slide h3 {
    min-height: 60px;
    display: flex;
    align-items: flex-end;
}
.newsSwiper .swiper-slide .haber-aciklama {
    min-height: 48px;
    line-height: 1.6em;
    display: block;
}

/* Banner Slider Styles */
.heroSwiper {
    width: 100%;
    height: 100vh;
}
.heroSwiper .swiper-pagination {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 30px;
    margin-left: auto;
    margin-right: auto;
    z-index: 30;
    text-align: center;
}
.heroSwiper .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.7;
    width: 12px;
    height: 12px;
}
.heroSwiper .swiper-pagination-bullet-active {
    background: #905647;
    opacity: 1;
}
.heroSwiper .swiper-button-next,
.heroSwiper .swiper-button-prev {
    color: white;
}

/* Responsive image handling */
@media (max-width: 768px) {
    .heroSwiper .mobile-banner {
        display: block;
    }
    .heroSwiper .desktop-banner {
        display: none;
    }
}
@media (min-width: 769px) {
    .heroSwiper .mobile-banner {
        display: none;
    }
    .heroSwiper .desktop-banner {
        display: block;
    }
}