
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Playfair+Display:wght@500;600;700;800&display=swap');


/* PRESTIGE EMLAK
   DEVELOPED BY SK YAZILIM */

:root {
    --navy: #0b192c;
    --navy-light: #172d47;
    --gold: #d4af37;
    --gold-dark: #92701b;
    --cream: #f5f1e8;
    --white: #ffffff;
    --gray: #68717c;
    --border: #e3e3e3;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--cream);
    color: var(--navy);
    font-family: 'Manrope', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

button {
    cursor: pointer;
}

[hidden] {
    display: none !important;
}

h1,
h2 {
    font-family: 'Playfair Display', serif;
}

:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}


/* DEMO BİLGİ ÇUBUĞU */

.demo-bar {
    background: var(--gold);
    color: var(--navy);
    padding: 10px 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    font-size: 11px;
    font-weight: 800;
}


/* ÜST MENÜ */

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 25px 6%;
    background: var(--navy);
    color: white;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo span {
    color: var(--gold);
    margin-left: 5px;
}

.header nav {
    display: flex;
    gap: 28px;
}

.header nav a {
    font-size: 13px;
    font-weight: 600;
    transition: 0.3s;
}

.header nav a:hover {
    color: var(--gold);
}


/* BUTONLAR */

.primary-button,
.outline-button {
    display: inline-block;
    padding: 15px 25px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 800;
    text-align: center;
    transition: 0.3s;
}

.primary-button {
    background: linear-gradient(
        135deg,
        #f2d779,
        #c49b2c
    );
    color: var(--navy);
    border: 1px solid var(--gold);
}

.primary-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212,175,55,0.3);
}

.outline-button {
    background: transparent;
    color: var(--navy);
    border: 1px solid var(--navy);
}

.outline-button:hover {
    background: var(--navy);
    color: white;
}


/* ANA SAYFA */

.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 100px 8%;
    color: white;
    background:
        linear-gradient(
            90deg,
            rgba(11,25,44,0.95),
            rgba(11,25,44,0.2)
        ),
        linear-gradient(
            135deg,
            #0b192c,
            #526c80
        );

    background-size: cover;
    background-position: center;
}

.hero-content {
    max-width: 850px;
    animation: fadeUp 1s ease both;
}

.tag {
    display: inline-block;
    color: var(--gold-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 22px;
}

.hero .tag {
    color: var(--gold);
}

.hero h1 {
    font-size: clamp(40px, 6vw, 82px);
    line-height: 1.15;
    font-weight: 700;
}

.hero h1 span {
    color: var(--gold);
}

.hero p {
    max-width: 570px;
    color: #eeeeee;
    font-size: 16px;
    line-height: 1.9;
    margin: 30px 0;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.hero .outline-button {
    border-color: white;
    color: white;
}

.hero .outline-button:hover {
    background: white;
    color: var(--navy);
}

@keyframes fadeUp {

    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* İSTATİSTİKLER */

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 35px 6%;
    background: var(--navy);
    color: white;
    border-top: 3px solid var(--gold);
}

.stats div {
    padding: 20px;
    text-align: center;
}

.stats strong {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    color: var(--gold);
}

.stats span {
    color: #c6ced8;
    font-size: 13px;
}


/* GENEL BÖLÜMLER */

.section {
    padding: 100px 7%;
    text-align: center;
}

.section h2 {
    font-size: clamp(30px, 4vw, 48px);
    margin-bottom: 20px;
    font-weight: 700;
}

.section-description {
    color: var(--gray);
    font-size: 15px;
    line-height: 1.8;
}


/* İLAN FİLTRELEME */

.filters {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 40px 0 25px;
    padding: 25px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(11,25,44,0.06);
}

.filters input,
.filters select {
    width: 100%;
    min-width: 0;
    padding: 15px;
    background: #fafafa;
    border: 1px solid #dddddd;
    border-radius: 5px;
    color: var(--navy);
    font-size: 13px;
}

.filters input:focus,
.filters select:focus {
    border-color: var(--gold);
}

.results-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 25px;
}

#propertyCount {
    color: var(--gray);
    font-size: 13px;
}

.favorite-filter {
    background: white;
    color: var(--navy);
    border: 1px solid var(--border);
    padding: 12px 18px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 800;
}

.favorite-filter:hover,
.favorite-filter[aria-pressed="true"] {
    background: var(--navy);
    color: white;
}


/* GAYRİMENKUL KARTLARI */

.property-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.property-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 5px 20px rgba(11,25,44,0.05);
    transition: 0.35s;
}

.property-card:hover {
    transform: translateY(-7px);
    border-color: var(--gold);
    box-shadow: 0 15px 35px rgba(11,25,44,0.12);
}

.property-image {
    position: relative;
    height: 260px;
    background: linear-gradient(
        135deg,
        #d4dce4,
        #8597aa
    );

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.property-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 9px 13px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    border-radius: 4px;
}

.property-badge.sale {
    background: var(--navy);
    color: white;
}

.property-badge.rent {
    background: var(--gold);
    color: var(--navy);
}


/* FAVORİ BUTONLARI */

.favorite-button {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 42px;
    height: 42px;
    background: white;
    color: var(--navy);
    border: none;
    border-radius: 50%;
    font-size: 26px;
    display: grid;
    place-items: center;
    transition: 0.3s;
    box-shadow: 0 3px 15px rgba(0,0,0,0.15);
}

.favorite-button:hover {
    transform: scale(1.1);
    color: #d62839;
}

.favorite-button.active,
.favorite-button[aria-pressed="true"] {
    color: #d62839;
    background: #fff0f1;
}


/* İLAN BİLGİLERİ */

.property-info {
    padding: 25px;
}

.property-location {
    display: block;
    color: var(--gold-dark);
    font-size: 12px;
    font-weight: 800;
}

.property-info h3 {
    font-size: 21px;
    margin: 12px 0 20px;
}

.property-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}

.property-specs span {
    padding: 9px 12px;
    background: #f4f5f7;
    color: #536174;
    border: 1px solid #e6e9ed;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.property-price {
    display: block;
    color: var(--navy);
    font-size: 25px;
    font-weight: 800;
    margin-bottom: 20px;
}

.detail-button {
    width: 100%;
    padding: 14px;
    background: var(--navy);
    color: white;
    border: 1px solid var(--navy);
    border-radius: 5px;
    font-size: 13px;
    font-weight: 800;
    transition: 0.3s;
}

.detail-button:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
}

#noProperties {
    padding: 40px;
    color: var(--gray);
}

.demo-notice {
    color: var(--gray);
    font-size: 12px;
    line-height: 1.8;
    margin-top: 30px;
}


/* HİZMETLER */

.services {
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 45px;
}

.service-card {
    padding: 40px 25px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--cream);
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
}

.service-icon {
    display: grid;
    place-items: center;
    width: 65px;
    height: 65px;
    margin: 0 auto 25px;
    background: var(--navy);
    color: var(--gold);
    border-radius: 50%;
    font-size: 32px;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.service-card p {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.9;
}


/* HAKKIMIZDA */

.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    text-align: left;
    background: var(--navy);
    color: white;
}

.about-image {
    min-height: 420px;
    border-radius: 12px;
    background: linear-gradient(
        135deg,
        #526c80,
        #172d47
    );

    background-size: cover;
    background-position: center;
    border: 2px solid var(--gold);
}

.about .tag {
    color: var(--gold);
}

.about-content p {
    color: #c6ced8;
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 20px;
}

.about-content .primary-button {
    margin-top: 15px;
}


/* RANDEVU FORMU */

.contact {
    background: var(--cream);
}

#appointmentForm {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    max-width: 850px;
    margin: 40px auto 20px;
    padding: 35px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(11,25,44,0.07);
}

#appointmentForm input,
#appointmentForm select,
#appointmentForm textarea {
    width: 100%;
    min-width: 0;
    padding: 17px;
    background: #fafafa;
    color: var(--navy);
    border: 1px solid #dddddd;
    border-radius: 5px;
    font-size: 14px;
}

#appointmentForm input:focus,
#appointmentForm select:focus,
#appointmentForm textarea:focus {
    border-color: var(--gold);
}

#appointmentForm textarea {
    grid-column: 1 / -1;
    min-height: 130px;
    resize: vertical;
}

#appointmentForm button {
    grid-column: 1 / -1;
}

#formStatus {
    grid-column: 1 / -1;
    font-size: 14px;
    line-height: 1.8;
}


/* İLAN DETAY PENCERESİ */

.property-modal {
    position: fixed;
    inset: 0;
    margin: auto;
    width: min(750px, 92%);
    max-height: 90vh;
    overflow-y: auto;
    background: white;
    color: var(--navy);
    border: 1px solid var(--gold);
    border-radius: 12px;
    padding: 30px;
}

.property-modal::backdrop {
    background: rgba(11,25,44,0.85);
    backdrop-filter: blur(5px);
}

#closeModal {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: var(--navy);
    color: white;
    font-size: 25px;
}

#modalContent .property-image {
    height: 320px;
    border-radius: 8px;
}

#modalContent h2 {
    font-size: 30px;
    margin: 20px 0;
}

#modalContent p {
    color: var(--gray);
    line-height: 1.8;
    margin: 15px 0;
}

#modalContact {
    width: 100%;
    margin-top: 20px;
}


/* ALT MENÜ */

footer {
    padding: 60px 5%;
    background: var(--navy);
    color: white;
    text-align: center;
    border-top: 3px solid var(--gold);
}

footer h2 {
    color: var(--gold);
    font-size: 28px;
    letter-spacing: 2px;
}

footer p {
    color: #c6ced8;
    font-size: 13px;
    margin: 20px 0;
}

footer a {
    color: var(--gold);
    font-size: 13px;
    font-weight: 800;
}


/* TABLET UYUMLULUĞU */

@media (max-width: 1100px) {

    .header {
        flex-wrap: wrap;
        justify-content: center;
    }

    .header nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .property-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about {
        gap: 30px;
    }

}


/* TELEFON UYUMLULUĞU */

@media (max-width: 650px) {

    .demo-bar {
        flex-direction: column;
        text-align: center;
    }

    .header {
        flex-direction: column;
    }

    .header nav {
        gap: 15px;
    }

    .logo {
        font-size: 24px;
    }

    .hero {
        min-height: 75vh;
        padding: 70px 6%;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats strong {
        font-size: 32px;
    }

    .section {
        padding: 65px 5%;
    }

    .filters {
        grid-template-columns: 1fr;
        padding: 15px;
    }

    .results-bar {
        flex-wrap: wrap;
    }

    .property-grid {
        grid-template-columns: 1fr;
    }

    .property-image {
        height: 230px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about {
        grid-template-columns: 1fr;
    }

    .about-image {
        min-height: 260px;
    }

    #appointmentForm {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .property-modal {
        padding: 20px;
    }

    #modalContent .property-image {
        height: 220px;
    }

}


/* HAREKET EFEKTİ ERİŞİLEBİLİRLİĞİ */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

}

/* PRESTIGE EMLAK FOTOĞRAFLARI */

.hero {
    background-image:
        linear-gradient(
            90deg,
            rgba(11,25,44,0.92),
            rgba(11,25,44,0.25)
        ),
        url("images/hero.jpg");

    background-size: cover;
    background-position: center;
}


/* HAVUZLU LÜKS VİLLA */

.villa-image {
    background-image: url("images/villa.jpg");
}


/* MODERN AİLE DAİRESİ */

.apartment-image {
    background-image: url("images/apartment.jpg");
}


/* PREMIUM VİLLA */

.luxury-image {
    background-image: url("images/luxury.jpg");
}


/* LÜKS REZİDANS */

.residence-image {
    background-image: url("images/residence.jpg");
}


/* YATIRIMLIK ARSA */

.land-image {
    background-image: url("images/land.jpg");
}


/* KURUMSAL OFİS */

.office-image {
    background-image: url("images/office.jpg");
}


/* HAKKIMIZDA */

.about-image {
    background-image:
        linear-gradient(
            rgba(11,25,44,0.05),
            rgba(11,25,44,0.15)
        ),
        url("images/about.jpg");
}


/* FOTOĞRAF AYARLARI */

.property-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


/* MOBİL FOTOĞRAF AYARLARI */

@media (max-width: 650px) {

    .hero {
        background-image:
            linear-gradient(
                rgba(11,25,44,0.75),
                rgba(11,25,44,0.85)
            ),
            url("images/hero.jpg");
    }

}
