/* Mavitepe TR - small site-specific additions layered on top of the Ecomus theme. */

/* ---------- Text-based brand logo (used when no logo image is uploaded) ---------- */
.brand-text-logo {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}
.brand-text-logo .brand-name {
    font-size: 24px;
    font-weight: 800;
    color: var(--main);
    letter-spacing: -0.5px;
}
.brand-text-logo .brand-name-accent {
    color: var(--primary);
}
.brand-text-logo .brand-slogan {
    font-size: 10px;
    color: var(--text-2);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}

/* ---------- Slider (top image row) ---------- */
.tf-sw-mavitepe-slider .collection-item .collection-image {
    aspect-ratio: 4 / 3;
}
.tf-sw-mavitepe-slider .collection-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------- Promo / "Slider Altı" section ---------- */
.promo-section {
    padding: 60px 0;
}
.promo-section .promo-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}
.promo-section .promo-content {
    max-width: 620px;
}
.promo-section .promo-title {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}
.promo-section .promo-slogan {
    color: rgba(255, 255, 255, 0.92);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}
.promo-section .promo-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.promo-section .promo-buttons .tf-btn {
    background-color: #fff;
    color: #111;
    border: 1px solid #fff;
    border-radius: 30px;
    font-weight: 600;
    padding: 12px 26px;
}
.promo-section .promo-buttons .tf-btn:hover {
    background-color: transparent;
    color: #fff;
}

/* ---------- Map section ---------- */
.map-section {
    padding: 0 0 70px;
}
.map-section .map-embed {
    position: relative;
    width: 100%;
    height: 560px;
}
.map-section .map-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}
.map-section .map-info-card {
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    background: #fff;
    padding: 32px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    max-width: 340px;
    z-index: 5;
}
.map-section .map-info-card h5 {
    margin-bottom: 16px;
    font-weight: 700;
}
.map-section .map-info-card p {
    margin-bottom: 4px;
    color: var(--text);
    font-size: 14px;
}
.map-section .map-info-card .map-info-row {
    margin-bottom: 14px;
}
.map-section .map-info-card .map-info-row:last-of-type {
    margin-bottom: 20px;
}
@media (max-width: 991px) {
    .map-section .map-embed {
        height: 420px;
    }
    .map-section .map-info-card {
        position: static;
        transform: none;
        max-width: 100%;
        margin: -60px 15px 0;
        top: auto;
        left: auto;
    }
    .map-section {
        padding-bottom: 40px;
    }
}

/* ---------- WhatsApp floating button ---------- */
.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    z-index: 999;
    transition: transform 0.2s ease;
}
.whatsapp-float:hover {
    transform: scale(1.08);
    color: #fff;
}

/* ---------- Simple content pages (about/privacy/terms) ---------- */
.page-content-simple {
    max-width: 860px;
    margin: 0 auto;
}
.page-content-simple p {
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 16px;
}

/* ---------- Contact page ---------- */
.contact-info-list li {
    margin-bottom: 14px;
}
.contact-form-message {
    padding: 14px 18px;
    border-radius: 4px;
    margin-bottom: 24px;
}
.contact-form-message.success {
    background: #eafaf1;
    border: 1px solid var(--success);
    color: #1f5c3d;
}
.contact-form-message.error {
    background: #fdecec;
    border: 1px solid var(--primary);
    color: var(--primary);
}
