  /* Code by: @mceylanofficial
	Theme for Royal Property Alanya  */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: white;
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #2c3e50;
    color: white;
    border: none;
}

.btn-primary:hover {
    background-color: #1a252f;
}

.btn-blue {
    background-color: #3498db;
    color: white;
    border: none;
}

.btn-blue:hover {
    background-color: #2980b9;
}

/* Üst Bilgi Çubuğu */
.top-bar {
    background-color: #2c3e50;
    color: white;
    padding: 10px 0;
    font-size: 14px;
    transition: transform 0.3s ease;
}

.top-bar.hidden {
    transform: translateY(-100%);
}

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

.contact-info {
    display: flex;
    gap: 20px;
}

.social-media {
    display: flex;
    gap: 15px;
}

.social-media a {
    color: white;
    font-size: 16px;
    transition: color 0.3s;
}

.social-media a:hover {
    color: #1abc9c;
}

/* Navigasyon */
.navbar {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 40px;
    z-index: 1000;
    transition: top 0.3s ease;
}

.navbar.top {
    top: 0;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 90px;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    font-weight: 600;
    color: #2c3e50;
    font-size: 18px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #1abc9c;
}

/* Dropdown Menus (Desktop) */
.nav-links li {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    padding: 10px 0;
    min-width: 180px;
    z-index: 1001;
}

.nav-links li:hover > .dropdown-menu {
    display: block;
}

/* Desktop Sub-menu Item Spacing and Padding */
.dropdown-menu a {
    padding: 12px 20px;
    display: block;
    transition: background-color 0.3s, color 0.3s;
}
.dropdown-menu a:hover {
    background-color: #f5f5f5;
    color: #1abc9c;
}

/* Arrow icon for dropdowns */
.nav-links .has-dropdown > a {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links .has-dropdown > a i {
    margin-left: auto;
    font-size: 14px;
    transition: transform 0.3s ease;
}

.nav-links .has-dropdown:hover > a i {
    transform: rotate(180deg);
}


.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Language and Currency Selectors */
.language-selector,
.currency-selector {
    position: relative;
}

.language-btn,
.currency-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    color: #2c3e50;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.language-btn:hover,
.currency-btn:hover {
    background-color: #f0f0f0;
}

.language-btn img,
.currency-btn img {
    width: 24px;
    height: 16px;
    border: 1px solid #ddd;
    vertical-align: middle;
}

.language-dropdown,
.currency-dropdown {
    position: absolute;
    right: 0;
    top: 100%;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    padding: 10px 0;
    width: 120px;
    display: none;
    z-index: 1001;
}

.language-dropdown a,
.currency-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 15px;
    transition: background-color 0.3s;
}

.language-dropdown a:hover,
.currency-dropdown a:hover {
    background-color: #f5f5f5;
}

/* These hover rules will be overridden for mobile */
.language-selector:hover .language-dropdown,
.currency-selector:hover .currency-dropdown {
    display: block;
}

/* Action Buttons (WhatsApp, Phone) */
.action-buttons {
    display: flex;
    gap: 10px;
}

.action-btn {
    width: 40px;
    height: 40px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    transition: all 0.3s;
}

.whatsapp-btn {
    background-color: #1abc9c;
}

.whatsapp-btn:hover {
    background-color: #16a085;
}

.phone-btn {
    background-color: #3498db;
}

.phone-btn:hover {
    background-color: #2980b9;
}

.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: #2c3e50;
}

/* Close button for mobile menu - hidden on desktop by default */
.close-btn {
    display: none;
}


/* Slider */
.slider {
    margin-top: 75px;
    position: relative;
    height: 700px;
    overflow: hidden;
    user-select: none;
}

.slider .item img {
    width: 100%;
    height: 700px;
    object-fit: cover;
}


/* Owl Carousel Custom Navigation (General for all carousels) */
.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.7) !important;
    color: #2c3e50 !important;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50% !important;
    font-size: 20px !important;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    margin: 0 !important;
    z-index: 10;
}

.owl-carousel .owl-nav button.owl-prev {
    left: 20px;
}

.owl-carousel .owl-nav button.owl-next {
    right: 20px;
}

.owl-carousel .owl-nav button.owl-prev:hover,
.owl-carousel .owl-nav button.owl-next:hover {
    background-color: white !important;
}

.owl-carousel .owl-dots {
    display: none;
}

/* Arama Formu */
.search-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    background-color: transparent;
    position: absolute;
    z-index:1;
    margin-top:-110px;
    margin-left:40px;
}

.search-tab {
    padding: 12px 30px;
    color: #2c3e50;
    cursor: pointer;
    font-weight: 600;
    border-radius: 5px 5px 0 0;
    margin-right: 5px;
    transition: all 0.3s;
    background-color: #f5f5f5;

}

.search-tab.active {
    background-color: #3498db;
    color: white;
}

.search-tab:hover {
    background-color: #3498db;
    color: white;
}

.search-section {
    background: linear-gradient(135deg, #2c3e50, #3498db);
    padding: 40px 0;
    margin-top: -50px;
    position: relative;
    z-index: 100;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    margin-bottom: 50px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.search-container {
    max-width: 1100px;
    margin: 0 auto;
}

.search-form {
    display: grid;
    grid-template-columns: repeat(4, 1fr) auto;
    gap: 15px;
}

.form-group {
    position: relative;
}

.form-group select, .form-group input {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.form-group select:hover, .form-group input:hover {
    background-color: white;
    transform: translateY(-2px);
}

.search-btn {
    background: linear-gradient(45deg, #3498db, #1abc9c);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0 30px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-btn:hover {
    background: linear-gradient(45deg, #2980b9, #16a085);
    transform: scale(1.05);
}

/* Özellikler */
.features {
    padding: 50px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.section-title p {
    color: #7f8c8d;
    max-width: 700px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-img {
    height: 200px;
    overflow: hidden;
}

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

.feature-card:hover .feature-img img {
    transform: scale(1.1);
}

.feature-content {
    padding: 20px;
}

.feature-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #2c3e50;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.feature-content p {
    color: #7f8c8d;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 700;
}

/* Öne Çıkanlar */
.featured {
    background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)), url('/alanya.jpg') no-repeat center center/cover;
    padding: 70px 0;
    color: white;
}

.featured .section-title h2 {
    color: white;
}

.featured .section-title p {
    color: #bdc3c7;
}

.featured-slider {
    position: relative;
    padding: 20px 0;
}

.property-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: #333;
}

.property-img {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.property-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.property-id {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #3498db;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
}

.property-price {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background-color: white;
    padding: 5px 15px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.property-details {
    padding: 20px;
}

.property-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1abc9c;
    font-weight: 600;
    margin-bottom: 10px;
}

.property-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #2c3e50;
}

.property-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    color: #7f8c8d;
}

.property-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Haberler */
.news {
    padding: 70px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.news-img {
    height: 200px;
    overflow: hidden;
}

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

.news-card:hover .news-img img {
    transform: scale(1.1);
}

.news-content {
    padding: 20px;
}

.news-date {
    color: #7f8c8d;
    font-size: 14px;
    margin-bottom: 10px;
}

.news-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #2c3e50;
}

.news-excerpt {
    color: #7f8c8d;
    margin-bottom: 15px;
}

.read-more {
    color: #1abc9c;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Bölgeler Slider */
.regions {
    padding: 50px 0;
    background-color: #f5f5f5;
}

.regions-slider {
    position: relative;
    padding: 20px 0;
}

.region-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    height: 500px;
}

.region-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.region-img {
    height: 100%;
    overflow: hidden;
}

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

.region-card:hover .region-img img {
    transform: scale(1.1);
}

.region-content {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    padding: 20px;
    color: white;
    text-align: center;
    background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0));
}

.region-content h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.region-content p {
    font-size: 20px;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #2c3e50, #3498db);
    color: white;
    padding: 70px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 90px;
}

.footer-about p {
    color: #bdc3c7;
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: white;
    font-size: 22px;
    transition: color 0.3s, transform 0.3s;
}

.footer-social a:hover {
    color: #1abc9c;
    transform: scale(1.2);
}

.footer-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

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

.footer-links a {
    color: #bdc3c7;
    font-size: 18px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-contact-item {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    color: #bdc3c7;
    font-size: 18px;
}

.footer-contact-item i {
    color: #1abc9c;
}

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

/* Responsive */
@media (max-width: 992px) {
    .search-form {
        grid-template-columns: repeat(2, 1fr);
    }

    .search-btn {
        grid-column: span 2;
    }

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

    .property-card, .region-card {
        flex: 0 0 calc(50% - 15px);
    }

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

@media (max-width: 768px) {
    .navbar {
        top: 0;
        position: fixed;
        width: 100%;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .featured-slider .owl-carousel .owl-nav {
        display: none;
    }


    .slider {
        margin-top: 0 !important;
        height: 500px;
    }

    .slider .item img {
        height: 500px;
    }

    .navbar-container {
        flex-wrap: nowrap;
        padding: 10px 15px;
        justify-content: space-between;
        align-items: center;
    }

    .logo img {
        height: 70px;
    }

    .nav-links {
        display: block;
        position: fixed;
        top: 0;
        right: -300px;
        width: 280px;
        max-width: 80%;
        height: 100%;
        background-color: white;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
        transition: right 0.3s ease-in-out;
        overflow-y: auto;
        flex-direction: column;
        align-items: flex-start;
        z-index: 1001;
    }

    .nav-links.active {
        right: 0;
        padding: 70px 20px 20px 20px;
    }

    .nav-links li {
        width: 100%;
        text-align: left;
        margin-bottom: 10px;
    }

    .nav-links li a {
        padding: 10px 0;
        display: block;
    }

    /* Dropdowns on mobile (click to open) */
    .dropdown-menu {
        position: static;
        box-shadow: none;
        padding: 0;
        margin-top: 5px;
        width: 100%;
        display: none !important;
    }

    .nav-links li.active-dropdown > .dropdown-menu {
        display: block !important;
    }

    /* Mobile Sub-menu Indentation with dash */
    .dropdown-menu a {
        padding-left: 20px;
        font-size: 16px;
        position: relative;
    }
    .dropdown-menu a::before {
        content: '- ';
        position: absolute;
        left: 10px;
        color: #2c3e50;
    }

    /* Mobile arrow icon for dropdowns */
    .nav-links .has-dropdown > a i {
        display: inline-block;
        transform: rotate(0deg);
        margin-left: auto;
    }
    .nav-links .has-dropdown.active-dropdown > a i {
        transform: rotate(180deg);
    }

    .menu-toggle {
        display: block;
    }

    /* Mobile X button styling */
    .close-btn {
        display: none;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 15px;
        right: 15px;
        font-size: 20px;
        color: white;
        background-color: #7f8c8d;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        cursor: pointer;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        z-index: 1002;
        transition: background-color 0.3s;
    }

    .nav-links.active .close-btn {
        display: flex;
    }

    .close-btn:hover {
        background-color: #95a5a6;
    }

    /* Adjust nav-actions for mobile header */
    .nav-actions {
        display: flex;
        align-items: center;
        gap: 10px;
        flex-grow: 1;
        justify-content: flex-end;
    }

    .nav-actions .action-buttons {
        display: none;
    }

    /* Mobile Currency and Language button styling */
    .currency-selector,
    .language-selector {
        position: relative;
    }
    .currency-btn,
    .language-btn {
        background-color: #f0f0f0;
        border: 1px solid #ccc;
        padding: 8px 12px;
        border-radius: 20px;
        font-size: 14px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    }
    .language-btn img {
        width: 20px;
        height: 14px;
    }
    .currency-dropdown,
    .language-dropdown {
        position: absolute;
        top: 100%;
        right: 0;
        left: auto;
        width: 120px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        border-radius: 5px;
        padding: 10px 0;
        margin-top: 5px;
        background-color: white;
    }
    /* Remove hover effect for mobile */
    .language-selector:hover .language-dropdown,
    .currency-selector:hover .currency-dropdown {
        display: none;
    }

    /* Mobile Search Button Styling */
    .search-section {
        padding: 30px 15px 50px 15px;
        margin-top: -60px;
    }
    .search-form {
        grid-template-columns: 1fr;
    }
    .search-btn {
        grid-column: 1 / -1;
        font-size: 24px;
        padding: 18px 0;
        height: auto;
        justify-content: center;
        margin-top: 15px;
    }
    .search-tabs {
        margin-left: 0;
        justify-content: center;
    }

    /* Neden Bizimle Çalışmalısınız? ve Haberler & Bilgiler kartları tek tek alt alta */
    .features-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

    /* Footer mobil düzenleme */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-about,
    .footer-links-section,
    .footer-contact {
        padding-bottom: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .footer-about:last-child,
    .footer-links-section:last-child,
    .footer-contact:last-child {
        border-bottom: none;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-contact-item {
        justify-content: center;
    }
}


.sold .property-img img {
    filter: grayscale(100%);
}

.sold-ribbon {
    position: absolute;
    top: 25px;
    right: -50px; 
    transform: rotate(53deg);
    background-color: red;
    color: white;
    padding: 5px 60px; 
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    z-index: 10; 
    text-transform: uppercase; 
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3); 
}

.sold-ribbon {
    pointer-events: none; 
}