/* =============================================== */
/* MOBILE RESPONSIVE UTILITIES                     */
/* Deniz Kombi - Mobile Styles                     */
/* =============================================== */

/* Desktop-only elements (hidden on mobile) */
/* Note: We don't set display here to avoid overriding element's own display */
.desktop-only {
    visibility: visible;
}

.desktop-only-flex {
    display: flex;
}

.desktop-only-grid {
    display: grid;
}

/* Mobile-only elements (hidden on desktop) */
.mobile-only {
    display: none !important;
}

.mobile-only-flex {
    display: none !important;
}

.mobile-only-grid {
    display: none !important;
}

/* Mobile breakpoint: 768px and below */
@media (max-width: 768px) {

    .desktop-only,
    .desktop-only-flex,
    .desktop-only-grid {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
    }

    .mobile-only-flex {
        display: flex !important;
    }

    .mobile-only-grid {
        display: grid !important;
    }

    /* Mobile typography adjustments */
    .mobile-text-center {
        text-align: center !important;
    }

    .mobile-text-sm {
        font-size: 14px !important;
    }

    .mobile-text-base {
        font-size: 16px !important;
    }

    .mobile-text-lg {
        font-size: 18px !important;
    }

    .mobile-text-xl {
        font-size: 20px !important;
    }

    .mobile-text-2xl {
        font-size: 24px !important;
    }

    /* Mobile spacing */
    .mobile-px-4 {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .mobile-py-4 {
        padding-top: 16px !important;
        padding-bottom: 16px !important;
    }

    .mobile-p-4 {
        padding: 16px !important;
    }

    .mobile-gap-4 {
        gap: 16px !important;
    }

    /* Mobile layout */
    .mobile-flex-col {
        flex-direction: column !important;
    }

    .mobile-w-full {
        width: 100% !important;
    }

    .mobile-hidden {
        display: none !important;
    }
}

/* =============================================== */
/* MOBILE HEADER STYLES - PREMIUM MODERN DESIGN    */
/* =============================================== */

/* Animasyonlar */
@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 0 15px rgba(246, 148, 30, 0.4);
    }

    50% {
        box-shadow: 0 0 25px rgba(246, 148, 30, 0.7);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-100%);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Masaüstünde GİZLE */
.mobile-header {
    display: none !important;
}

/* Mobilde GÖSTER (768px ve altı) */
@media (max-width: 768px) {
    .mobile-header {
        display: flex !important;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        /* ŞEFFAF ARKA PLAN */
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        padding: 16px 20px;
        align-items: center;
        justify-content: space-between;
        border-bottom: none;
        box-shadow: none;
        animation: slideInDown 0.4s ease-out;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    /* Menü açıkken header gizle */
    .mobile-header.nav-active {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    /* Alt çizgi kaldırıldı */
    .mobile-header::after {
        display: none;
    }
}


/* Logo Alanı - ORTA (Dikey Yerleşim) */
.mobile-header-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-decoration: none;
}

.mobile-header-logo img {
    height: 75px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.3) drop-shadow(0 2px 10px rgba(246, 148, 30, 0.4));
    transition: all 0.3s ease;
    margin-top: 45px;
}

.mobile-header-logo:active img {
    transform: scale(0.95);
}

.mobile-header-logo span {
    color: #ffffff;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    margin-top: -13px;
}

/* MENÜ BUTONU - SOL */
.mobile-menu-btn {
    width: 44px;
    height: 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    cursor: pointer;
    padding: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-btn:active {
    transform: scale(0.95);
    background: rgba(255, 255, 255, 0.2);
}

.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2.5px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.35s cubic-bezier(0.68, -0.6, 0.32, 1.6);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.mobile-menu-btn span:nth-child(2) {
    width: 16px;
}

/* Aktif durum (X şekli) */
.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    background: #f6941e;
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    background: #f6941e;
}

/* İLETİŞİM BUTONU - SAĞ (BEYAZ) */
.mobile-header-contact {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-header-contact:active {
    transform: scale(0.95);
    background: rgba(255, 255, 255, 0.2);
}

.mobile-header-contact svg {
    width: 22px;
    height: 22px;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.3));
}

/* Telefon Butonu - Premium */
.mobile-header-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(246, 148, 30, 0.15) 0%, rgba(246, 148, 30, 0.25) 100%);
    border: 1px solid rgba(246, 148, 30, 0.3);
    border-radius: 12px;
    color: #f6941e;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.mobile-header-phone::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.mobile-header-phone:hover::before,
.mobile-header-phone:active::before {
    left: 100%;
}

.mobile-header-phone:active {
    transform: scale(0.95);
    background: linear-gradient(135deg, #f6941e 0%, #e8850a 100%);
    color: white;
    animation: pulseGlow 1s ease-in-out infinite;
}

.mobile-header-phone svg {
    width: 22px;
    height: 22px;
    filter: drop-shadow(0 1px 3px rgba(246, 148, 30, 0.3));
}

/* Hamburger Menü Butonu - Premium */
.mobile-menu-btn {
    width: 44px;
    height: 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    padding: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.mobile-menu-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(246, 148, 30, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.mobile-menu-btn:active::before {
    width: 120px;
    height: 120px;
}

.mobile-menu-btn:active {
    transform: scale(0.95);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
}

.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2.5px;
    background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
    border-radius: 2px;
    transition: all 0.35s cubic-bezier(0.68, -0.6, 0.32, 1.6);
    transform-origin: center;
}

.mobile-menu-btn span:nth-child(1) {
    width: 22px;
}

.mobile-menu-btn span:nth-child(2) {
    width: 16px;
    margin-left: -6px;
}

.mobile-menu-btn span:nth-child(3) {
    width: 22px;
}

/* Aktif durum (X şekli) */
.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    background: linear-gradient(90deg, #f6941e 0%, #ff9f33 100%);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    background: linear-gradient(90deg, #f6941e 0%, #ff9f33 100%);
}

/* =============================================== */
/* MOBILE NAVIGATION OVERLAY - PREMIUM            */
/* =============================================== */

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Premium gradient background */
    background: linear-gradient(135deg,
            rgba(5, 10, 18, 0.98) 0%,
            rgba(15, 23, 42, 0.98) 50%,
            rgba(5, 10, 18, 0.98) 100%);
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

/* Dekoratif arka plan deseni */
.mobile-nav-overlay::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(246, 148, 30, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
    animation: slowRotate 30s linear infinite;
    pointer-events: none;
}

@keyframes slowRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Kapatma Butonu - Premium */
.mobile-nav-close {
    position: absolute;
    top: 14px;
    right: 20px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    cursor: pointer;
    color: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

.mobile-nav-close:active {
    transform: scale(0.9) rotate(90deg);
    background: linear-gradient(135deg, rgba(246, 148, 30, 0.3) 0%, rgba(246, 148, 30, 0.1) 100%);
    border-color: rgba(246, 148, 30, 0.5);
}

.mobile-nav-close svg {
    width: 24px;
    height: 24px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Navigasyon Linkleri */
.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    padding: 20px;
    position: relative;
    z-index: 5;
}

.mobile-nav-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 26px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px);
    position: relative;
    padding: 8px 20px;
}

/* Alt çizgi efekti */
.mobile-nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #f6941e, #ff9f33);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.mobile-nav-links a:active::after {
    width: 80%;
}

.mobile-nav-links a:active {
    color: #f6941e;
    transform: scale(1.05);
    text-shadow: 0 0 20px rgba(246, 148, 30, 0.5);
}

/* Staggered animasyonlar */
.mobile-nav-overlay.active .mobile-nav-links a {
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav-overlay.active .mobile-nav-links a:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-nav-overlay.active .mobile-nav-links a:nth-child(2) {
    transition-delay: 0.15s;
}

.mobile-nav-overlay.active .mobile-nav-links a:nth-child(3) {
    transition-delay: 0.2s;
}

.mobile-nav-overlay.active .mobile-nav-links a:nth-child(4) {
    transition-delay: 0.25s;
}

.mobile-nav-overlay.active .mobile-nav-links a:nth-child(5) {
    transition-delay: 0.3s;
}

.mobile-nav-overlay.active .mobile-nav-links a:nth-child(6) {
    transition-delay: 0.35s;
}

/* İletişim Alanı - Premium */
.mobile-nav-contact {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease 0.4s;
}

.mobile-nav-overlay.active .mobile-nav-contact {
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav-contact a {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, rgba(246, 148, 30, 0.15) 0%, rgba(246, 148, 30, 0.05) 100%);
    border: 1px solid rgba(246, 148, 30, 0.25);
    padding: 14px 28px;
    border-radius: 50px;
    color: #f6941e;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.mobile-nav-contact a:active {
    background: linear-gradient(135deg, #f6941e 0%, #e8850a 100%);
    color: white;
    transform: scale(0.98);
    box-shadow: 0 0 30px rgba(246, 148, 30, 0.4);
}

.mobile-nav-contact a svg {
    width: 20px;
    height: 20px;
    filter: drop-shadow(0 1px 3px rgba(246, 148, 30, 0.3));
}

/* =============================================== */
/* MOBILE FOOTER STYLES                            */
/* =============================================== */

.mobile-footer {
    background: linear-gradient(180deg, #444444 0%, #111111 100%);
    padding: 40px 20px 24px;
    color: #d1d5db;
}

.mobile-footer-logo {
    text-align: center;
    margin-bottom: 32px;
}

.mobile-footer-logo img {
    height: 50px;
    width: auto;
    margin: 0 auto 8px;
    filter: brightness(1.8);
    opacity: 0.9;
}

.mobile-footer-logo span {
    display: block;
    color: white;
    font-weight: 700;
    letter-spacing: 0.1em;
    font-size: 13px;
}

.mobile-footer-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}

.mobile-footer-nav a {
    color: #9ca3af;
    font-size: 14px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s;
}

.mobile-footer-nav a:hover {
    color: white;
}

.mobile-footer-contact {
    text-align: center;
    margin-bottom: 28px;
}

.mobile-footer-contact a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: white;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 10px;
}

.mobile-footer-contact a svg {
    width: 18px;
    height: 18px;
}

.mobile-footer-address {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    margin-bottom: 24px;
}

.mobile-footer-address h4 {
    color: white;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
}

.mobile-footer-address-bar {
    width: 30px;
    height: 3px;
    background: #f6941e;
    margin: 0 auto 12px;
    border-radius: 2px;
}

.mobile-footer-address p {
    color: #9ca3af;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.mobile-footer-address a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
}

.mobile-footer-address a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.mobile-footer-social {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}

.mobile-footer-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.mobile-footer-social a:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.mobile-footer-social a svg {
    width: 20px;
    height: 20px;
}

.mobile-footer-bottom {
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-footer-policies {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
}

.mobile-footer-policies a {
    color: #6b7280;
    font-size: 11px;
    text-decoration: none;
    transition: color 0.3s;
}

.mobile-footer-policies a:hover {
    color: white;
}

.mobile-footer-copyright {
    color: #4b5563;
    font-size: 10px;
}

/* =============================================== */
/* MOBILE CONTENT SPACING                          */
/* =============================================== */

@media (max-width: 768px) {

    /* Spacer for fixed header */
    .mobile-body-spacer {
        height: 60px;
    }

    /* Hero section mobile adjustments */
    .mobile-hero {
        padding: 40px 16px;
        min-height: auto;
    }

    .mobile-hero-title {
        font-size: 28px;
        line-height: 1.2;
        margin-bottom: 16px;
    }

    .mobile-hero-subtitle {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 24px;
    }

    /* Service cards mobile */
    .mobile-service-grid {
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding: 0 16px;
    }

    .mobile-service-card {
        background: white;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    }

    .mobile-service-card img {
        width: 100%;
        height: 180px;
        object-fit: cover;
    }

    .mobile-service-card-content {
        padding: 20px;
    }

    .mobile-service-card h3 {
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 8px;
        color: #111;
    }

    .mobile-service-card p {
        font-size: 14px;
        color: #666;
        line-height: 1.5;
    }

    /* Product page mobile */
    .mobile-product-layout {
        display: flex;
        flex-direction: column;
        padding: 16px;
    }

    .mobile-product-image {
        width: 100%;
        border-radius: 12px;
        margin-bottom: 20px;
    }

    .mobile-product-title {
        font-size: 22px;
        font-weight: 700;
        margin-bottom: 12px;
    }

    .mobile-product-price {
        font-size: 20px;
        font-weight: 600;
        color: #f6941e;
        margin-bottom: 16px;
    }

    .mobile-product-btn {
        width: 100%;
        padding: 14px 20px;
        border-radius: 10px;
        font-size: 16px;
        font-weight: 600;
        text-align: center;
        text-decoration: none;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin-bottom: 12px;
    }

    .mobile-product-btn-primary {
        background: #25D366;
        color: white;
    }

    .mobile-product-btn-secondary {
        background: #f6941e;
        color: white;
    }
}