/*
Theme Name: MMG Yapı Malzemeleri
Theme URI: https://mmg.com
Description: MMG Yapı Malzemeleri için özel geliştirilmiş WordPress teması. ACF eklentisiyle yönetilenbilir, mobil uyumlu.
Version: 1.0.0
Author: MMG Web Team
Author URI: https://mmg.com
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mmg-tema
Domain Path: /languages
Requires at least: 5.9
Requires PHP: 7.4
Tags: responsive, construction, business, dark-mode, tailwindcss

MMG Yapı Malzemeleri Teması - Tüm hakları saklıdır.
*/

/* Tema CSS başlangıcı */
:root {
    --primary: #d4af35;
    --primary-hover: #b89628;
    --secondary: #0A192F;
    --background-light: #f8f7f6;
    --background-dark: #201d12;
    --surface-dark: #2a271d;
    --border-dark: #433d28;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', sans-serif;
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 48;
}

/* Mobil buton stili */
.mobile-contact-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    display: none;
    gap: 0;
    background: var(--background-dark);
    border-top: 1px solid var(--border-dark);
}

@media (max-width: 768px) {
    .mobile-contact-bar {
        display: flex;
    }
}

.mobile-contact-bar button {
    flex: 1;
    padding: 12px 16px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.mobile-contact-bar .btn-call {
    background: var(--primary);
    color: var(--background-dark);
    border-right: 1px solid var(--border-dark);
}

.mobile-contact-bar .btn-call:active {
    background: var(--primary-hover);
}

.mobile-contact-bar .btn-whatsapp {
    background: #25d366;
    color: white;
}

.mobile-contact-bar .btn-whatsapp:active {
    background: #1ead53;
}

/* Hamburger menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--background-dark);
    z-index: 998;
    overflow-y: auto;
    padding-top: 80px;
}

.mobile-menu.active {
    display: block;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
        background: none;
        border: none;
        color: white;
        cursor: pointer;
        font-size: 24px;
    }
}

@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: none;
    }
}
