/* ===== BUHARA TEAM - Brand Colors =====
   Primary: #e62630 (Kızıl)
   Background: #262a35 (Siyah)
   Text: #f6f6f6 (Beyaz)
=========================================== */

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.6;
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-slide-up {
    animation: slideUp 1s ease-out;
}

.animate-slide-up-delay {
    animation: slideUp 1s ease-out 0.2s both;
}

.animate-slide-up-delay-2 {
    animation: slideUp 1s ease-out 0.4s both;
}

/* Hero Background Animation */
.hero-bg-animation {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-bg-animation::before,
.hero-bg-animation::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    animation: float 12s ease-in-out infinite, pulse 6s ease-in-out infinite;
}

.hero-bg-animation::before {
    width: 600px;
    height: 600px;
    background: rgba(230, 38, 48, 0.15);
    top: -200px;
    right: -100px;
}

.hero-bg-animation::after {
    width: 500px;
    height: 500px;
    background: rgba(230, 38, 48, 0.1);
    bottom: -150px;
    left: -100px;
    animation-delay: 3s;
}

/* Navigation */
.nav-link {
    color: rgba(246, 246, 246, 0.7);
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    padding: 8px 0;
}

.nav-link:hover {
    color: #e62630;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #e62630;
    transition: width 0.3s;
    border-radius: 2px;
}

.nav-link:hover::after {
    width: 100%;
}

#navbar.navbar-scrolled {
    background: rgba(38, 42, 53, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(246, 246, 246, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    background: linear-gradient(135deg, #e62630, #c41d26);
    color: #f6f6f6;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(230, 38, 48, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #ff3d47, #e62630);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(230, 38, 48, 0.5);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary i,
.btn-primary span {
    position: relative;
    z-index: 1;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    background: rgba(246, 246, 246, 0.05);
    border: 2px solid rgba(246, 246, 246, 0.1);
    color: #f6f6f6;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: rgba(246, 246, 246, 0.1);
    border-color: #e62630;
    color: #e62630;
}

/* Feature Items */
.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(246, 246, 246, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(246, 246, 246, 0.05);
    transition: all 0.3s;
}

.feature-item:hover {
    background: rgba(230, 38, 48, 0.1);
    border-color: rgba(230, 38, 48, 0.3);
    transform: translateX(5px);
}

.feature-item span {
    color: #f6f6f6;
    font-weight: 500;
    font-size: 0.95rem;
}

/* Service Cards */
.service-card {
    background: linear-gradient(145deg, rgba(50, 54, 63, 0.5), rgba(38, 42, 53, 0.8));
    border: 1px solid rgba(246, 246, 246, 0.05);
    border-radius: 24px;
    padding: 40px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #e62630, #ff3d47);
    transform: scaleX(0);
    transition: transform 0.4s;
    transform-origin: left;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(230, 38, 48, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e62630, #c41d26);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 24px;
    box-shadow: 0 10px 30px rgba(230, 38, 48, 0.3);
}

/* Property Cards */
.property-card {
    background: rgba(50, 54, 63, 0.5);
    border: 1px solid rgba(246, 246, 246, 0.05);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    border-color: rgba(230, 38, 48, 0.3);
}

.property-image {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.1);
}

.property-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 8px 18px;
    background: linear-gradient(135deg, #e62630, #c41d26);
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(230, 38, 48, 0.4);
}

.property-badge.rent {
    background: linear-gradient(135deg, #32363f, #262a35);
}

.property-price {
    position: absolute;
    bottom: 16px;
    right: 16px;
    padding: 10px 18px;
    background: rgba(26, 29, 36, 0.9);
    backdrop-filter: blur(10px);
    color: #f6f6f6;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 10px;
    border: 1px solid rgba(246, 246, 246, 0.1);
}

.property-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 29, 36, 0.9), transparent 50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    transition: opacity 0.4s;
}

.property-card:hover .property-overlay {
    opacity: 1;
}

.property-btn {
    width: 50px;
    height: 50px;
    background: #e62630;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.property-card:hover .property-btn {
    transform: translateY(0);
    opacity: 1;
}

.property-btn:hover {
    background: #ff3d47;
    transform: scale(1.1) !important;
}

.property-card:hover .property-btn:nth-child(2) {
    transition-delay: 0.1s;
}

.property-content {
    padding: 24px;
}

.property-features {
    display: flex;
    gap: 20px;
    color: rgba(246, 246, 246, 0.6);
    font-size: 0.9rem;
    padding-top: 16px;
    border-top: 1px solid rgba(246, 246, 246, 0.05);
}

.property-features span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.property-features i {
    color: #e62630;
}

/* Card Slider Styles */
.card-slider {
    position: relative;
}

.card-slider .slider-img {
    transition: opacity 0.3s ease;
}

.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: rgba(26, 29, 36, 0.8);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 0.9rem;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-prev {
    left: 10px;
}

.slider-next {
    right: 10px;
}

.property-card:hover .slider-prev,
.property-card:hover .slider-next {
    opacity: 1;
}

.slider-prev:hover,
.slider-next:hover {
    background: #e62630;
    transform: translateY(-50%) scale(1.1);
}

.slider-dots {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 5;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.property-card:hover .slider-dots {
    opacity: 1;
}

.slider-dots .dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dots .dot.active {
    background: #e62630;
    transform: scale(1.2);
}

.slider-dots .dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Property Detail Button */
.property-detail-btn {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    padding: 12px 28px;
    background: linear-gradient(135deg, #e62630, #c41d26);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 30px;
    text-decoration: none;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 20px rgba(230, 38, 48, 0.4);
}

.property-card:hover .property-detail-btn {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.property-detail-btn:hover {
    background: linear-gradient(135deg, #ff3d47, #e62630);
    box-shadow: 0 6px 30px rgba(230, 38, 48, 0.6);
    transform: translateX(-50%) translateY(-3px);
}

/* Filter Buttons */
.filter-btn {
    padding: 12px 28px;
    background: rgba(246, 246, 246, 0.05);
    border: 2px solid rgba(246, 246, 246, 0.1);
    color: rgba(246, 246, 246, 0.7);
    border-radius: 10px;
    transition: all 0.3s;
    cursor: pointer;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: #e62630;
    border-color: #e62630;
    color: white;
    box-shadow: 0 4px 20px rgba(230, 38, 48, 0.4);
}

/* Testimonial Cards */
.testimonial-card {
    background: linear-gradient(145deg, rgba(50, 54, 63, 0.5), rgba(38, 42, 53, 0.8));
    border: 1px solid rgba(246, 246, 246, 0.05);
    border-radius: 24px;
    padding: 32px;
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(230, 38, 48, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Contact */
.contact-info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(230, 38, 48, 0.2), rgba(230, 38, 48, 0.05));
    border: 1px solid rgba(230, 38, 48, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e62630;
    font-size: 1.4rem;
}

.contact-form-wrapper {
    background: linear-gradient(145deg, rgba(50, 54, 63, 0.5), rgba(38, 42, 53, 0.8));
    border: 1px solid rgba(246, 246, 246, 0.05);
    border-radius: 24px;
    padding: 40px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: rgba(246, 246, 246, 0.8);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(26, 29, 36, 0.8);
    border: 2px solid rgba(246, 246, 246, 0.1);
    border-radius: 12px;
    padding: 16px 20px;
    color: #f6f6f6;
    transition: all 0.3s;
    outline: none;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #e62630;
    background: rgba(230, 38, 48, 0.05);
    box-shadow: 0 0 0 4px rgba(230, 38, 48, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(246, 246, 246, 0.3);
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: #262a35;
    color: #f6f6f6;
}

/* Social Links */
.social-link {
    width: 48px;
    height: 48px;
    background: rgba(246, 246, 246, 0.05);
    border: 1px solid rgba(246, 246, 246, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(246, 246, 246, 0.7);
    font-size: 1.1rem;
    transition: all 0.3s;
}

.social-link:hover {
    background: #e62630;
    border-color: #e62630;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(230, 38, 48, 0.4);
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #1a1d24;
}

::-webkit-scrollbar-thumb {
    background: #e62630;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ff3d47;
}

/* Selection */
::selection {
    background: #e62630;
    color: #f6f6f6;
}

/* Map grayscale */
.grayscale {
    filter: grayscale(100%) contrast(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .service-card {
        padding: 28px;
    }

    .property-image {
        height: 220px;
    }

    .contact-form-wrapper {
        padding: 28px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 14px 24px;
    }
}

/* Team Cards */
.team-card {
    background: rgba(50, 54, 63, 0.5);
    border: 1px solid rgba(246, 246, 246, 0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.team-card:hover {
    transform: translateY(-8px);
    border-color: rgba(230, 38, 48, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.team-card-featured {
    background: linear-gradient(145deg, rgba(50, 54, 63, 0.8), rgba(38, 42, 53, 0.9));
    border: 2px solid rgba(230, 38, 48, 0.3);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.team-card-featured:hover {
    border-color: #e62630;
    box-shadow: 0 30px 60px rgba(230, 38, 48, 0.2);
}

.team-social-btn {
    width: 44px;
    height: 44px;
    background: rgba(230, 38, 48, 0.9);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s;
}

.team-social-btn:hover {
    background: #e62630;
    transform: translateY(-3px);
}

.team-social-btn-sm {
    width: 36px;
    height: 36px;
    background: rgba(230, 38, 48, 0.9);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.team-social-btn-sm:hover {
    background: #e62630;
    transform: scale(1.1);
}

/* Feature Checkbox */
.feature-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(26, 29, 36, 0.8);
    border: 2px solid rgba(246, 246, 246, 0.1);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.feature-checkbox:hover {
    border-color: rgba(230, 38, 48, 0.5);
}

.feature-checkbox input {
    width: 18px;
    height: 18px;
    accent-color: #e62630;
}

.feature-checkbox span {
    color: rgba(246, 246, 246, 0.8);
    font-size: 0.9rem;
}

.feature-checkbox:has(input:checked) {
    background: rgba(230, 38, 48, 0.1);
    border-color: #e62630;
}

/* Detail Item */
.detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(26, 29, 36, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(246, 246, 246, 0.05);
}

.detail-item i {
    font-size: 1.1rem;
}

.detail-item span {
    color: rgba(246, 246, 246, 0.9);
    font-weight: 500;
}

/* Slider Styles */
.property-slider .slider-main img {
    transition: opacity 0.3s ease;
}

.thumb-btn {
    transition: all 0.3s ease;
    opacity: 0.7;
}

.thumb-btn:hover,
.thumb-btn.active {
    opacity: 1;
}

/* Slider Thumbs Scrollbar */
.slider-thumbs::-webkit-scrollbar {
    height: 6px;
}

.slider-thumbs::-webkit-scrollbar-track {
    background: rgba(26, 29, 36, 0.5);
    border-radius: 3px;
}

.slider-thumbs::-webkit-scrollbar-thumb {
    background: #e62630;
    border-radius: 3px;
}