/* Language Dropdown Styles */
.tg-header__top-info .dropdown-toggle::after, .tg-header__top-info .lang li::before {
    display: none;
}

.tg-header__top-info .dropdown-toggle {
    color: var(--tg-heading-color);
    text-decoration: none;
    padding: 5px 10px;
    display: flex;
    align-items: center;
}

.tg-header__top-info .dropdown-toggle:hover,
.tg-header__top-info .dropdown-toggle:focus {
    color: var(--tg-theme-primary);
}

.tg-header__top-info .dropdown-menu {
    min-width: 120px;
    margin-top: 10px;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 8px 0;
}

.tg-header__top-info .dropdown-item {
    padding: 8px 16px;
    color: var(--tg-heading-color);
    font-size: 14px;
}

.tg-header__top-info .dropdown-item:hover,
.tg-header__top-info .dropdown-item:focus {
    background-color: var(--tg-theme-primary);
    color: #fff !important;
    text-shadow: none;
}

.tg-header__top-info .dropdown-item.active {
    background-color: var(--tg-theme-primary);
    color: #fff;
}

.accordion-card .accordion-button:hover {
    background-color: var(--tg-theme-primary);
    color: var(--tg-color-white-default);
}
.accordion-card .accordion-button:not(.collapsed) {
  background-color: var(--tg-theme-primary) !important;
  color: var(--tg-color-white-default);
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
}

/* WhatsApp Icon */
.whatsapp-icon {
    position: fixed;
    bottom: 100px;
    right: 15px;
    background-color: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 34px;
    line-height: 60px;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: whatsappBounce 1s ease infinite;
}

.whatsapp-icon:hover {
    background-color: #128c7e;
    color: #fff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.whatsapp-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #25d366;
    border-radius: 50%;
    z-index: -1;
    animation: whatsappPulse 2s ease-out infinite;
}

@keyframes whatsappBounce {
    0%, 100% {
        transform: translateY(-50%);
    }
    50% {
        transform: translateY(-60%);
    }
}

@keyframes whatsappPulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@media (max-width: 767px) {
    .whatsapp-icon {
        width: 50px;
        height: 50px;
        line-height: 50px;
        font-size: 28px;
        right: 20px;
    }
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    left: 30px;
    bottom: -100%;
    max-width: 420px;
    padding: 25px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
    z-index: 999;
    transition: bottom 0.5s ease;
}

.cookie-consent.active {
    bottom: 30px;
}

.cookie-consent__title {
    color: var(--tg-heading-color);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.cookie-consent__text {
    color: var(--tg-body-color);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.cookie-consent__buttons {
    display: flex;
    gap: 10px;
}

.cookie-consent__button {
    display: inline-block;
    padding: 12px 25px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.cookie-consent__button--accept {
    background: var(--tg-theme-primary);
    color: #fff;
}

.cookie-consent__button--reject {
    background: #f1f1f1;
    color: var(--tg-heading-color);
}

.cookie-consent__button--accept:hover {
    background: var(--tg-heading-color);
    color: #fff;
}

.cookie-consent__button--reject:hover {
    background: #e5e5e5;
}

@media (max-width: 767px) {
    .cookie-consent {
        left: 15px;
        right: 15px;
        max-width: none;
        bottom: -100%;
    }
    
    .cookie-consent.active {
        bottom: 15px;
    }
}

/* Gallery Styles */
.sidebar-gallery {
    margin-top: 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: #f8f9fa;
}

.gallery-item::before {
    content: '';
    display: block;
    padding-top: 100%;
}

.gallery-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    border: none;
    padding: 0;
    margin: 0;
    background: none;
}

.gallery-link img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* Fancybox özelleştirmeleri */
.fancybox__container {
    --fancybox-bg: rgba(0, 0, 0, 0.95);
}

.fancybox__toolbar {
    --carousel-button-bg: var(--tg-theme-primary);
}

@media (max-width: 767px) {
    .sidebar-insta-feed-list .list-wrap {
        grid-template-columns: repeat(2, 1fr);
    }
}

.insta-thumb .overlay-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(var(--tg-theme-primary-rgb), 0.9);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 0;
    transition: all 0.3s ease;
}

.insta-thumb:hover img {
    transform: scale(1.1);
}

.insta-thumb:hover .overlay-icon {
    opacity: 1;
}

/* Fancybox Customization */
.fancybox__container {
    --fancybox-bg: rgba(0, 0, 0, 0.95);
}

.fancybox__toolbar {
    --carousel-button-bg: var(--tg-theme-primary);
}

/* Contact Info Links */
.info-card_link {
    font-size: 14px !important;
    line-height: 1.4;
}

/* Footer Styles */
.footer__content {
    color: #fff !important;
}

.footer__links .list-wrap li a {
    color: #fff !important;
}

.footer__links .list-wrap li a:hover {
    color: var(--tg-theme-primary) !important;
}

.footer__developer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

@media (max-width: 767px) {
    .footer__developer {
        justify-content: center;
    }
}

.footer__developer a {
    display: inline-block;
    transition: all 0.3s ease;
}

.footer__developer a:hover {
    opacity: 0.8;
}

/* Services Slider */
.services-slider {
    position: relative;
    padding-bottom: 50px;
}

/* Services Slider Navigation */
.services-slider-nav {
    position: relative;
    margin-top: -30px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.services-slider-prev,
.services-slider-next {
    width: 50px;
    height: 50px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.services-slider-prev:hover,
.services-slider-next:hover {
    background: var(--tg-theme-primary);
    color: #fff;
    border-color: var(--tg-theme-primary);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.services-slider-prev i,
.services-slider-next i {
    font-size: 18px;
}

/* Desktop Navigation */
@media (min-width: 1200px) {
    .service-area-2 .container {
        position: relative;
    }
    
    .services-slider-nav {
        position: absolute;
        top: 50%;
        left: -50px;
        right: -50px;
        margin-top: 0;
        justify-content: space-between;
        z-index: 20;
        width: calc(100% + 100px);
    }
    
    .services-slider-prev,
    .services-slider-next {
        position: static;
    }
}

/* Larger screens */
@media (min-width: 1400px) {
    .services-slider-nav {
        left: -100px;
        right: -100px;
        width: calc(100% + 200px);
    }
}

/* Blog Slider */
.blog-slider {
    position: relative;
    padding-bottom: 50px;
}

/* Blog Slider Navigation */
.blog-slider-nav {
    position: relative;
    margin-top: -30px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.blog-slider-prev,
.blog-slider-next {
    width: 50px;
    height: 50px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.blog-slider-prev:hover,
.blog-slider-next:hover {
    background: var(--tg-theme-primary);
    color: #fff;
    border-color: var(--tg-theme-primary);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.blog-slider-prev i,
.blog-slider-next i {
    font-size: 18px;
}

/* Desktop Navigation */
@media (min-width: 1200px) {
    .blog-area-4 .container {
        position: relative;
    }
    
    .blog-slider-nav {
        position: absolute;
        top: 50%;
        left: -50px;
        right: -50px;
        margin-top: 0;
        justify-content: space-between;
        z-index: 20;
        width: calc(100% + 100px);
    }
    
    .blog-slider-prev,
    .blog-slider-next {
        position: static;
    }
}

/* Larger screens */
@media (min-width: 1400px) {
    .blog-slider-nav {
        left: -100px;
        right: -100px;
        width: calc(100% + 200px);
    }
}

/* Newsletter Form */
.footer__newsletter {
    position: relative;
    margin-bottom: 35px;
}

.newsletter__title {
    color: #fff;
    font-size: 20px;
    margin-bottom: 15px;
}

.newsletter-form .form-group {
    position: relative;
    margin-bottom: 0;
}

.newsletter-form .form-control {
    height: 45px;
    background: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 50px 10px 15px;
    width: 100%;
    color: var(--tg-heading-color);
    font-size: 14px;
}

.newsletter-form .btn {
    position: absolute;
    right: 5px;
    top: 5px;
    height: 35px;
    min-width: 35px;
    max-width: 35px;
    background: var(--tg-theme-primary);
    border-radius: 6px;
    border: none;
    color: #fff;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
}

.newsletter-form .btn:hover {
    background: var(--tg-heading-color);
}

/* Newsletter Form Alert Messages */
.newsletter-alert {
    position: absolute;
    bottom: -30px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 14px;
    padding: 5px;
    border-radius: 4px;
}

.newsletter-alert.success {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
}

.newsletter-alert.error {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
}

.crop-text-1 {
  -webkit-line-clamp: 1;
  overflow : hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}
.crop-text-2 {
  -webkit-line-clamp: 2;
  overflow : hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}
.crop-text-3 {
  -webkit-line-clamp: 3;
  overflow : hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}