/**
 * Şebnem Kalmaz Yazar Web Sitesi
 * Temiz ve Modern Tasarım
 */

:root {
    --primary-color: #8B6F47;
    --secondary-color: #D4A574;
    --text-color: #2c3e50;
    --text-light: #6c757d;
    --bg-color: #fdfbf7;
    --bg-light: #f5f1e8;
    --white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.15);
}

/* Genel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lora', serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.7;
    padding-top: 76px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1rem;
}

/* Navbar */
.navbar {
    background-color: var(--white) !important;
    border-bottom: 1px solid rgba(139, 111, 71, 0.1);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.navbar-nav .nav-link {
    color: var(--text-color);
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 80%;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--bg-color) 0%, var(--bg-light) 100%);
    padding: 4rem 0;
    min-height: calc(100vh - 76px);
    display: flex;
    align-items: center;
    position: relative;
}

.hero-content {
    animation: fadeInUp 0.8s ease;
}

.hero-badge {
    display: inline-block;
}

.badge-custom {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 10px rgba(139, 111, 71, 0.3);
}

.badge-custom i {
    font-size: 1rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-title-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    opacity: 0.9;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-style: italic;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-stats {
    padding-top: 2rem;
    border-top: 1px solid rgba(139, 111, 71, 0.1);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

.hero-image-placeholder {
    background: var(--bg-light);
    border: 2px dashed var(--secondary-color);
    border-radius: 15px;
    padding: 4rem 2rem;
    text-align: center;
    color: var(--text-light);
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-image-placeholder i {
    font-size: 5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.hero-image-frame {
    position: relative;
    padding: 20px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 15px 40px var(--shadow);
}

.hero-author-image {
    border-radius: 15px;
    max-width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.hero-author-image:hover {
    transform: scale(1.02);
}

/* Butonlar */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 2rem;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #6b5635;
    border-color: #6b5635;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-hover);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 2rem;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Section Başlıkları */
.section-header {
    position: relative;
}

.section-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    display: block;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.section-title, .page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 0 auto 2rem;
    border-radius: 2px;
}

/* İstatistikler Bölümü */
.stats-section {
    border-top: 1px solid rgba(139, 111, 71, 0.1);
    border-bottom: 1px solid rgba(139, 111, 71, 0.1);
}

.stat-card-home {
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 15px;
    border: 1px solid rgba(139, 111, 71, 0.1);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    opacity: 0.9;
}

.stat-number-home {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
    margin: 0.5rem 0;
}

.stat-label-home {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Kitap Kartları */
.latest-book-section {
    background-color: var(--white);
}

.section-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.book-cover-container {
    position: relative;
    display: inline-block;
}

.book-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 3px 15px rgba(139, 111, 71, 0.4);
    z-index: 2;
}

.book-cover-wrapper {
    text-align: center;
}

.book-cover {
    border-radius: 10px;
    box-shadow: 0 10px 30px var(--shadow);
    transition: transform 0.3s ease;
    max-width: 100%;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    background: var(--bg-light);
    display: block;
}

.book-cover:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow-hover);
}

.book-cover-placeholder {
    background: var(--bg-light);
    border: 2px dashed var(--secondary-color);
    border-radius: 10px;
    padding: 3rem 2rem;
    text-align: center;
    color: var(--text-light);
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.book-cover-placeholder i {
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.book-info {
    padding: 2rem;
}

.book-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.book-year {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.book-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* Kitap Grid */
.book-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(139, 111, 71, 0.1);
}

.book-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px var(--shadow-hover);
}

.book-card-image {
    overflow: hidden;
    position: relative;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 350px;
}

.book-card-image img {
    width: 100%;
    height: auto;
    min-height: 350px;
    max-height: 500px;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
    background: var(--bg-light);
    display: block;
}

.book-card:hover .book-card-image img {
    transform: scale(1.1);
}

.book-year-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 3px 15px rgba(139, 111, 71, 0.4);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.book-card-body {
    padding: 1.5rem;
}

.book-card-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    font-weight: 600;
}

.book-card-title i {
    color: var(--secondary-color);
    opacity: 0.8;
}

.book-card-year {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.book-card-description {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
    min-height: 80px;
}

.book-card-actions {
    border-top: 1px solid rgba(139, 111, 71, 0.1);
    padding-top: 1rem;
}

.empty-state {
    padding: 3rem 1rem;
}

.books-stats-info {
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 10px;
    border: 1px solid rgba(139, 111, 71, 0.1);
}

/* Medya Kartları */
.media-card {
    background: var(--white);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px var(--shadow);
    border: 1px solid rgba(139, 111, 71, 0.1);
    transition: all 0.3s ease;
}

.media-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow-hover);
}

.media-card-title {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.media-card-description {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.media-embed-wrapper {
    margin: 1.5rem 0;
    border-radius: 10px;
    overflow: hidden;
}

.media-embed-wrapper iframe {
    width: 100%;
    border-radius: 10px;
}

/* Tüm Kitaplar Özeti */
.all-books-preview {
    background: var(--bg-light);
}

.book-preview-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(139, 111, 71, 0.1);
    position: relative;
}

.book-preview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.book-preview-card:hover::before {
    opacity: 1;
}

.book-preview-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px var(--shadow-hover);
}

.book-preview-image {
    min-height: 250px;
    max-height: 350px;
    overflow: hidden;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.book-preview-image img {
    width: 100%;
    height: auto;
    min-height: 250px;
    max-height: 350px;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
    background: var(--bg-light);
    display: block;
}

.book-preview-card:hover .book-preview-image img {
    transform: scale(1.05);
}

.book-preview-content {
    padding: 1.5rem;
}

.book-preview-title {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.book-preview-year {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Yazı Kartları */
.post-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(139, 111, 71, 0.1);
    height: 100%;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow-hover);
}

.post-title {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.post-excerpt {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.post-date {
    font-size: 0.9rem;
}

/* Hakkımda Sayfası */
.about-section {
    background: var(--white);
}

.about-image-placeholder {
    background: var(--bg-light);
    border: 2px dashed var(--secondary-color);
    border-radius: 50%;
    width: 300px;
    height: 300px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.about-image-placeholder i {
    font-size: 5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-color);
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-text ul {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.about-text ul li {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about-signature {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--bg-light);
}

.signature-text {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.signature-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.social-links-about {
    text-align: center;
}

/* İletişim Formu */
.contact-form-wrapper {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
}

.contact-form .form-label {
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.contact-form .form-control {
    border: 2px solid var(--bg-light);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(139, 111, 71, 0.25);
}

.contact-info {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--bg-light);
}

/* Footer */
.footer {
    background-color: var(--bg-light);
    border-top: 1px solid rgba(139, 111, 71, 0.1);
    margin-top: 4rem;
}

.footer-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-text {
    color: var(--text-light);
    line-height: 1.7;
}

.footer-heading {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.social-link {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.social-link:hover {
    color: var(--primary-color);
}

.footer-copyright {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Animasyonlar */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .hero-title-icon {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title, .page-title {
        font-size: 2rem;
    }
    
    .section-icon {
        font-size: 2.5rem;
    }
    
    .book-card-image img {
        height: 250px;
    }
    
    .about-image-placeholder {
        width: 200px;
        height: 200px;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-number-home {
        font-size: 1.5rem;
    }
    
    .hero-stats {
        margin-top: 2rem;
    }
    
    .book-preview-image {
        min-height: 200px;
        max-height: 280px;
    }
    
    .stat-icon {
        font-size: 2rem;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Google Translate Widget Styles */
.translate-header {
    display: inline-block;
    margin-left: 1rem;
    vertical-align: middle;
}

.translate-footer {
    margin-top: 1rem;
    text-align: center;
}

.translate-floating {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background: white;
    padding: 12px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.translate-sidebar {
    margin: 1rem 0;
}

/* Hide Google Translate Banner and Footer */
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
.goog-te-footer,
body > .skiptranslate,
iframe.goog-te-banner-frame,
iframe.goog-te-menu-frame {
    display: none !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

body.skiptranslate {
    top: 0 !important;
    position: static !important;
}

/* Hide Google branding icon */
.goog-te-gadget-icon {
    display: none !important;
}

/* Hide "Powered by Google" and "Google Çeviri" text completely - ONLY in translate element */
/* Keep flags, images, and select menu visible */

/* Keep ALL images visible - flags - HIGHEST PRIORITY */
#google_translate_element img,
#google_translate_element .goog-te-gadget img,
#google_translate_element .goog-te-gadget-simple img,
#google_translate_element * img {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: auto !important;
    height: auto !important;
    max-width: none !important;
    max-height: none !important;
}

/* Keep select menu visible */
#google_translate_element select,
#google_translate_element .goog-te-menu-value,
#google_translate_element .goog-te-menu-value span {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: 14px !important;
}

/* Hide all text containing "Google", "Çeviri", "Translate", "Powered by" - but keep select and flags */
#google_translate_element .goog-te-gadget {
    font-size: 0 !important;
}

/* Hide only text spans that contain branding - not images or select */
#google_translate_element .goog-te-gadget > span:not(.goog-te-menu-value) {
    font-size: 0 !important;
    color: transparent !important;
}

/* Specifically hide text containing Google branding */
#google_translate_element *:not(select):not(img):not(.goog-te-menu-value) {
    color: transparent !important;
}

/* Specifically target Google Translate branding text - keep select visible */
#google_translate_element .goog-te-gadget-simple .goog-te-menu-value {
    font-size: 14px !important;
    color: var(--text-color) !important;
}

#google_translate_element .goog-te-gadget-simple .goog-te-menu-value span {
    font-size: 14px !important;
    color: var(--text-color) !important;
}

/* Ensure Bootstrap Icons and other icons are always visible */
[class*="bi-"],
[class^="bi-"],
i[class*="bi"],
.bi {
    font-size: inherit !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Google Translate Widget - Let it work naturally, don't interfere */
#google_translate_element {
    display: inline-block;
}

/* Custom Translate Widget Styles */

/* Custom Select - Base Styles */
.custom-translate-select {
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    background: white;
    color: var(--text-color);
    cursor: pointer;
    min-width: 150px;
    font-family: 'Lora', serif;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238B6F47' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 12px;
    padding-right: 2.5rem;
}

.custom-translate-select:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 2px 8px rgba(139, 111, 71, 0.2);
}

.custom-translate-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(139, 111, 71, 0.25);
}

/* Dropdown Style */
.custom-translate-dropdown {
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    background: white;
    color: var(--text-color);
    min-width: 150px;
}

/* Button Style */
.custom-translate-button {
    border: none !important;
    border-radius: 8px !important;
    padding: 0.6rem 1.5rem !important;
    font-size: 0.9rem !important;
    background: var(--primary-color) !important;
    color: white !important;
    min-width: 150px !important;
    font-weight: 500 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='white' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
}

.custom-translate-button:hover {
    background-color: var(--secondary-color) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 111, 71, 0.3);
}

/* Minimal Style */
.custom-translate-minimal {
    border: none !important;
    background: transparent !important;
    padding: 0.5rem !important;
    font-size: 1.2rem !important;
    color: var(--primary-color) !important;
    min-width: auto !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238B6F47' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
}

.custom-translate-minimal:hover {
    opacity: 0.7;
}

/* Horizontal Style */
.custom-translate-horizontal {
    border: 1px solid var(--bg-light);
    border-radius: 5px;
    padding: 0.5rem;
    font-size: 0.9rem;
    background: white;
    color: var(--text-color);
}

/* Vertical Style */
.translate-style-vertical .custom-translate-select {
    width: 100%;
    margin-bottom: 0.5rem;
}

/* Translate Widget in Navbar */
.navbar .translate-header {
    display: inline-flex;
    align-items: center;
}

/* Floating position styles */
.translate-floating {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .translate-floating {
        bottom: 10px;
        right: 10px;
        padding: 10px;
    }
    
    .translate-header {
        margin-left: 0;
        margin-top: 0.5rem;
        width: 100%;
    }
}

