/* Bimed Cryo Platform - Shared Base Stylesheet */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Share+Tech+Mono&display=swap');

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #ffffff;
    color: #1e293b;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

button, input, textarea, select {
    font-family: inherit;
    outline: none;
    border: none;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #00d4ff;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.4);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    z-index: 9999;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.05);
    background-color: #0078ff;
    box-shadow: 0 6px 20px rgba(0, 120, 255, 0.6);
}

/* WhatsApp Bubble Widget */
.whatsapp-live-bubble {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    z-index: 9999;
    transition: all 0.3s ease;
}

.whatsapp-live-bubble:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-live-bubble.shake {
    animation: bubbleShake 0.8s ease-in-out;
}

@keyframes bubbleShake {
    0%, 100% { transform: rotate(0); }
    15% { transform: rotate(-15deg) scale(1.1); }
    30% { transform: rotate(15deg) scale(1.1); }
    45% { transform: rotate(-10deg) scale(1.1); }
    60% { transform: rotate(10deg) scale(1.1); }
    75% { transform: rotate(-5deg) scale(1.1); }
    85% { transform: rotate(5deg) scale(1.1); }
}

/* Flag Icon Helper (CSS Flag Sprites or simple text-based flags for compatibility) */
.flag-icon {
    display: inline-block;
    width: 20px;
    height: 14px;
    background-size: cover;
    background-position: center;
    border-radius: 2px;
    margin-right: 8px;
    vertical-align: middle;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Language selector flag helper */
.flag-tr { background-image: url('https://flagcdn.com/w20/tr.png'); }
.flag-gb { background-image: url('https://flagcdn.com/w20/gb.png'); }
.flag-fr { background-image: url('https://flagcdn.com/w20/fr.png'); }
.flag-de { background-image: url('https://flagcdn.com/w20/de.png'); }
.flag-ru { background-image: url('https://flagcdn.com/w20/ru.png'); }
.flag-sa { background-image: url('https://flagcdn.com/w20/sa.png'); }
.flag-it { background-image: url('https://flagcdn.com/w20/it.png'); }
.flag-pt { background-image: url('https://flagcdn.com/w20/pt.png'); }

/* Announcement Popup Modal styles */
.cryo-popup-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 25, 41, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.cryo-popup-modal.active {
    opacity: 1;
    visibility: visible;
}

.popup-content-box {
    background: #ffffff;
    border-radius: 16px;
    padding: 35px;
    width: 90%;
    max-width: 550px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    transform: scale(0.85);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cryo-popup-modal.active .popup-content-box {
    transform: scale(1);
}

.popup-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: #64748b;
    cursor: pointer;
    background: none;
    border: none;
    transition: color 0.3s ease;
}

.popup-close-btn:hover {
    color: #ef4444;
}

.popup-title {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    color: #0f172a;
    margin-bottom: 15px;
    border-bottom: 2px solid #38bdf8;
    padding-bottom: 8px;
}

.popup-body {
    color: #475569;
    font-size: 15px;
    line-height: 1.6;
}

/* Shared Responsive Grids & Layout Containers */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

@media (max-width: 991px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .grid-2 { grid-template-columns: 1fr; }
    .grid-3 { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: 1fr; }
}

/* Header Logo Size Constraints */
.logo-box img.site-logo,
.site-logo {
    height: auto !important;
    max-height: 50px !important;
    max-width: 180px !important;
    object-fit: contain !important;
    display: inline-block !important;
    vertical-align: middle;
}

/* Footer Map Container Alignment */
.site-footer .map-box {
    display: flex;
    flex-direction: column;
}
.site-footer .map-container {
    position: relative;
    width: 100%;
    height: 180px;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.site-footer .map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
}

/* KVKK page ordered list styling */
.kvkk-list {
    list-style-type: lower-alpha !important;
    padding-left: 20px !important;
    margin-top: 10px;
    margin-bottom: 15px;
}

/* Shared Footer Layout & List Resets */
.site-footer {
    padding: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding: 60px 0 40px 0;
}

.footer-block {
    display: flex;
    flex-direction: column;
}

.footer-block h3, .footer-block h4 {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 700;
    position: relative;
    padding-bottom: 8px;
}

.footer-block h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: #00d4ff;
}

.site-footer ul, 
.site-footer ol,
.quick-links-box ul,
.contact-info-box ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.site-footer ul li,
.site-footer ol li {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 12px 0 !important;
}

.site-footer ul li a {
    color: inherit;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.site-footer ul li a:hover {
    opacity: 1;
    padding-left: 4px;
}

.contact-info-box p {
    margin-bottom: 12px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info-box p i {
    width: 16px;
    text-align: center;
    color: #00d4ff;
}

/* Social media icon buttons */
.social-links {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    color: inherit;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    background-color: #00d4ff;
    color: #070b13;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.3);
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

/* Responsive Footer Grid */
@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        padding: 50px 0 30px 0;
    }
    .bottom-container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}


