@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

:root {
    --primary: #c5a059; /* Elegant Gold */
    --primary-light: #e0c28d;
    --dark: #0f172a;
    --dark-lighter: #1e293b;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text: #f8fafc;
    --text-muted: #94a3b8;
    --accent: #2dd4bf; /* Teal accent for "Satılık/Kiralık" badges */
    --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--dark);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--dark);
}
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@keyframes glow {
    0% { box-shadow: 0 0 5px rgba(197, 160, 89, 0.2); }
    50% { box-shadow: 0 0 20px rgba(197, 160, 89, 0.5); }
    100% { box-shadow: 0 0 5px rgba(197, 160, 89, 0.2); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    background: rgba(15, 23, 42, 0.8);
}

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

.nav-logo {
    height: 100px; /* Increased size */
    width: auto;
    transition: var(--transition);
    filter: drop-shadow(0 0 5px rgba(197, 160, 89, 0.2));
}

nav.scrolled .nav-logo {
    height: 75px; /* Proportional decrease */
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 400;
    transition: var(--transition);
    font-size: 14px;
    text-transform: uppercase;
}

.nav-links a:hover {
    color: var(--primary);
}

.btn-contact {
    background: var(--primary);
    color: var(--dark);
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--primary);
}

.btn-contact:hover {
    background: transparent;
    color: var(--primary);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.7)), url('assets/hero.png');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.hero h1 {
    font-size: clamp(40px, 8vw, 80px);
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(to bottom, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 40px;
}

/* Search Bar */
.search-container {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 10px;
    border-radius: 20px;
    display: flex;
    gap: 10px;
    width: 100%;
    max-width: 900px;
    flex-wrap: wrap;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.search-field {
    flex: 1;
    min-width: 150px;
    background: transparent;
    border: none;
    padding: 15px 20px;
    color: white;
    outline: none;
}

.search-field select {
    background: transparent;
    border: none;
    color: white;
    width: 100%;
    cursor: pointer;
}

.search-field select option {
    background: var(--dark);
    color: white;
}

.btn-search {
    background: var(--primary);
    color: var(--dark);
    border: none;
    padding: 15px 40px;
    border-radius: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    animation: glow 3s infinite;
}

.btn-search:hover {
    transform: scale(1.05);
    background: white;
    box-shadow: 0 0 30px rgba(197, 160, 89, 0.6);
}

/* Section Styling */
section {
    padding: 100px 5%;
}

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

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.section-title .underline {
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 0 auto;
    border-radius: 2px;
}

/* Hakkımızda Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-muted);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat-item {
    background: var(--glass);
    padding: 20px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    text-align: center;
}

.stat-item strong {
    display: block;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.stat-item span {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-image img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border: 1px solid var(--glass-border);
}
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.category-card {
    position: relative;
    height: 400px;
    border-radius: 25px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(15, 23, 42, 0.9));
    z-index: 2;
}

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

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* Listings */
.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.listing-card {
    background: var(--dark-lighter);
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    position: relative;
}

.listing-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    background-size: 200% 100%;
    pointer-events: none;
    transition: 0.5s;
}

.listing-card:hover::after {
    animation: shimmer 1.5s infinite;
}

.listing-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.listing-img-container {
    height: 250px;
    position: relative;
}

.listing-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.listing-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary);
    color: var(--dark);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.listing-content {
    padding: 30px;
}

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

.listing-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.listing-info {
    display: flex;
    gap: 20px;
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 25px;
    border-top: 1px solid var(--glass-border);
    padding-top: 20px;
}

.listing-info span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Contact Footer */
footer {
    background: var(--dark-lighter);
    padding: 80px 5% 20px;
    border-top: 1px solid var(--glass-border);
}

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

.footer-col h4 {
    color: var(--primary);
    margin-bottom: 25px;
    font-size: 1.2rem;
}

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

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    text-decoration: none;
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.copyright {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 14px;
}

/* Contact Form Section */
.contact-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input, 
.contact-form textarea {
    width: 100%;
    padding: 15px 20px;
    background: var(--dark-lighter);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: white;
    outline: none;
    transition: var(--transition);
}

.contact-form input:focus, 
.contact-form textarea:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
}

/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    overflow-y: auto;
}

.modal-content {
    position: relative;
    background: var(--dark-lighter);
    margin: 5% auto;
    padding: 40px;
    width: 90%;
    max-width: 1000px;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    animation: fadeInUp 0.5s ease-out;
}

.close-modal {
    position: absolute;
    right: 30px;
    top: 20px;
    color: var(--text-muted);
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--primary);
}

.modal-body {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    margin-top: 20px;
}

.modal-img-container {
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
}

.modal-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-details h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.modal-details p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.detail-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.spec-item {
    background: var(--glass);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    text-align: center;
}

.spec-item i {
    color: var(--primary);
    display: block;
    margin-bottom: 5px;
}

/* Mobile Refinements */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: var(--dark);
    z-index: 2100;
    padding: 60px 40px;
    transition: 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    border-left: 1px solid var(--glass-border);
}

.mobile-menu.active {
    right: 0;
}

.close-mobile-menu {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: var(--text-muted);
    cursor: pointer;
}

.mobile-menu ul {
    list-style: none;
    width: 100%;
    text-align: center;
}

.mobile-menu ul li {
    margin-bottom: 25px;
}

.mobile-menu ul li a {
    text-decoration: none;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
}

@media (max-width: 992px) {
    .nav-links, .desktop-only {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-logo {
        height: 70px;
    }
    
    nav.scrolled .nav-logo {
        height: 50px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 5%;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        padding: 25px;
        margin: 20px auto;
        width: 94%;
        height: auto;
        max-height: 90vh;
        border-radius: 25px;
        overflow-y: auto;
    }

    .modal-body {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .modal-img-container {
        width: 100%;
        height: auto;
        margin-bottom: 20px;
        border-radius: 15px;
    }

    .modal-img-container img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
    
    .modal-details h2 {
        font-size: 1.5rem;
    }
    
    .whatsapp-float {
        padding: 12px 20px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float span {
        display: none;
    }
}

/* FAQ Section */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--dark-lighter);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.03);
    color: var(--primary);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0, 1, 0, 1);
    color: var(--text-muted);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 10px 30px 30px;
    transition: all 0.5s cubic-bezier(1, 0, 1, 0);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--primary);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 1500;
    transition: var(--transition);
    animation: float 3s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.6);
    color: white;
}

.whatsapp-float i {
    font-size: 24px;
}

/* Social Icons Enhancement */
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(197, 160, 89, 0.1);
    border: 1px solid var(--accent);
    border-radius: 50%;
    color: var(--accent);
    font-size: 1.2rem;
    transition: var(--transition);
    text-decoration: none;
}

.footer-social a:hover {
    transform: translateY(-5px);
    background: var(--accent);
    color: var(--dark);
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.4);
}

.footer-social a.insta:hover,
.footer-social a.linked:hover,
.footer-social a.twit:hover { 
    color: var(--dark);
    border-color: white;
}

/* Admin Toast Notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
}

.toast {
    background: var(--dark-lighter);
    color: white;
    padding: 15px 25px;
    border-radius: 12px;
    border-left: 5px solid var(--primary);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    transform: translateX(120%);
    transition: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    backdrop-filter: blur(10px);
}

.toast.active { transform: translateX(0); }
.toast.success { border-left-color: #22c55e; }
.toast.error { border-left-color: #ef4444; }
.toast i { font-size: 1.2rem; }

/* Modal Slider Styles */
.modal-img-container {
    position: relative;
    width: 100%;
    max-height: 450px;
    background: #000;
    overflow: hidden;
}

.modal-img-container img {
    width: 100%;
    height: 450px;
    object-fit: contain;
    display: none;
}

.modal-img-container img.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: 0.3s;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover { background: var(--primary); color: var(--dark); }
.slider-prev { left: 20px; }
.slider-next { right: 20px; }

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: 0.3s;
}

.dot.active { background: var(--primary); transform: scale(1.3); }

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
