*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: var(--color-bg);
    overflow-x: clip;
    max-width: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: clip;
    max-width: 100%;
}

.page {
    overflow-x: clip;
    max-width: 100%;
}

img,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

ul,
ol {
    list-style: none;
}

address {
    font-style: normal;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-padding);
}

.section {
    padding-block: var(--space-3xl);
}

.section--alt,
.section--muted {
    background-color: var(--color-white);
}

.section--white {
    background-color: var(--color-white);
}

.section--dark {
    background-color: var(--color-dark);
    color: var(--color-white);
}

.section--gold {
    background-color: var(--color-dark);
    color: var(--color-white);
}

.section-label,
.home-label {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #D4A500;
    margin-bottom: var(--space-sm);
}

.section-label--gold,
.home-label--gold {
    color: var(--color-primary);
}

.section-title,
.home-title {
    font-family: var(--font-heading);
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.035em;
    margin-bottom: var(--space-md);
    color: var(--color-secondary);
}

.home-title--light,
.section-header--light .section-title {
    color: var(--color-white);
}

.section-text {
    font-size: 1.0625rem;
    color: var(--color-text-muted);
    max-width: 540px;
    line-height: 1.8;
}

.section-text--center {
    margin-inline: auto;
    text-align: center;
}

.section-text--light {
    color: rgba(255, 255, 255, 0.65);
}

.section-header {
    margin-bottom: var(--space-2xl);
}

.section-header--light .section-title {
    color: var(--color-white);
}

/* Reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal--delay {
    transition-delay: 0.15s;
}

.reveal--delay-1 {
    transition-delay: 0.1s;
}

.reveal--delay-2 {
    transition-delay: 0.2s;
}

.reveal--delay-3 {
    transition-delay: 0.3s;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Mobil üst seviye: taşma, dokunma, iOS zoom */
@media (max-width: 768px) {
    .slider-arrow,
    .slider-arrows--under .slider-arrow,
    .latest-slider__arrow,
    .services__arrow {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
    }

    .listing-card__favorite {
        opacity: 1;
        transform: none;
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
    }

    .office-tabs__item {
        min-height: 44px;
    }

    input:not([type='checkbox']):not([type='radio']):not([type='range']):not([type='file']),
    select,
    textarea {
        font-size: 16px !important;
    }

    .btn {
        min-height: 44px;
    }

    .detail-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 0.55rem;
    }

    .detail-actions .btn {
        flex: 1 1 auto;
    }
}
