body {
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #121212, #2d2d2d);
    font-family: 'Poppins', sans-serif;
    color: #ffffff;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #2d2d2d;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #3b3b3b;
    border-radius: 10px;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: #d4a017;
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 80px;
    min-height: 100vh;
    background: #1a1a1a;
    padding: 20px 0;
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.7);
    z-index: 10;
    overflow-y: auto;
}

/* Menü container */
.nav-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* Menü öğesi */
.nav-item {
    position: relative;
    width: 50px;
    height: 50px;
    background: #000000;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.nav-item:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    background: #2d2d2d;
}

/* Bağlantı (ikon) */
.nav-item a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    color: #ffffff;
    text-decoration: none;
    position: relative;
}

/* İkon */
.nav-item i {
    font-size: 1.2rem;
    transition: none;
}

/* Global Tooltip */
.global-tooltip {
    position: fixed;
    background: linear-gradient(135deg, #2d2d2d, #1a1a1a);
    color: #ffeb3b;
    font-size: 1rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 12px;
    white-space: nowrap;
    display: none;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.6);
    border: 1px solid #ffeb3b;
    z-index: 1000;
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    transform: scale(0.95);
    box-sizing: border-box;
}

/* Tooltip'in sol tarafına ok ekleme */
.global-tooltip::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-right: 6px solid #ffeb3b;
    z-index: 1001;
}

/* Main Wrapper */
.main-wrapper {
    margin-left: 80px;
    width: calc(100% - 80px);
    position: relative;
    transition: none;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    box-sizing: border-box;
}

/* Main Content */
.main-content {
    flex: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Logo */
.logo {
    width: 270px;
    height: auto;
    display: block;
    margin: 1px auto;
    position: sticky;
    z-index: 5;
}

.search-container {
    text-align: center;
    padding: 20px 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 10px; /* Search ile dropdown arası boşluk */
    align-items: center; /* İçeriği ortala */
}

/* Search Bar */
.search-bar {
    width: 50%;
    max-width: 400px;
    padding: 10px 15px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    background: #2d2d2d;
    border: 2px solid #ffeb3b;
    border-radius: 25px;
    color: #ffffff;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-bar:focus {
    border-color: #d4a017;
}

/* Category Dropdown */
.category-dropdown {
    width: 50%;
    max-width: 400px;
    padding: 10px 15px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    background: #2d2d2d;
    border: 2px solid #ffeb3b;
    border-radius: 25px;
    color: #ffffff;
    outline: none;
    transition: border-color 0.3s ease;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23ffffff" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
}

.category-dropdown:focus {
    border-color: #d4a017;
}



@media (max-width: 768px) {
    .search-bar {
        width: 90%;
    }

    .category-dropdown {
        width: 90%;
    }
}

@media (max-width: 480px) {
    .search-bar {
        width: 80%;
    }

    .category-dropdown {
        width: 80%;
    }
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px 0;
}

/* Card */
.card {
    position: relative;
    width: 22%;  
    min-width: 220px;
    height: 270px;
    background: #1a1a1a;
    border-radius: 20px 40px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px #d4a017;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.3s ease;
}

.card:hover img {
    filter: blur(5px);
}

.base-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease;
}

.card:hover .base-overlay {
    background: rgba(0, 0, 0, 0.7);
}

.text {
    position: absolute;
    max-width: 95%;
    width: 95%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.card:hover .text {
    transform: translate(-50%, -50%);
}


.text h2 {
    margin: 0;
    font-size: 1rem;
    font-weight: 400;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.8);
    padding: 10px 15px;
    border-radius: 15px;
    display: inline-block;
    word-break: break-word;
    overflow-wrap: break-word;
    width: 100%;
    box-sizing: border-box;
}

.card:hover .text h2 {
    transform: scale(1.1);
}

.view-project-btn {
    background: #ffeb3b;
    color: #000000;
    font-size: 0.9rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    padding: 5px 15px;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.view-project-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(255, 235, 59, 0.7);
}

.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: flex-start;
    z-index: 100;
    overflow-y: auto;
    padding-top: 20px;
    box-sizing: border-box;
}

.popup-content {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    backdrop-filter: blur(5px);
    border-radius: 20px;
    padding: 30px;
    width: 50%;
    max-width: 700px;
    color: #ffffff;
    position: relative;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    max-height: 80vh;
    overflow-y: auto;
}

.popup-content h2 {
    margin: 0 0 20px;
    font-size: 1.5rem;
    font-weight: 600;
}

.popup-content p {
    margin: 0 0 20px;
    font-size: 1rem;
    line-height: 1.5;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2rem;
    color: #ffffff;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #d4a017;
}

.popup-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.virtual-tour-btn {
    display: flex;
    align-items: center;
    background: #ffeb3b;
    color: #000000;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    padding: 10px 20px;
    border-radius: 15px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.virtual-tour-btn i {
    margin-right: 8px;
    font-size: 1.2rem;
}

.virtual-tour-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(255, 235, 59, 0.7);
}

.whatsapp-share-btn {
    display: flex;
    align-items: center;
    background: #25D366;
    color: #ffffff;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    padding: 10px 20px;
    border-radius: 15px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-share-btn i {
    margin-right: 8px;
    font-size: 1.2rem;
}

.whatsapp-share-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(37, 211, 102, 0.7);
}

.contact-layout {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.contact-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-box {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    padding: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.info-box:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.7);
}

.info-box h3 {
    margin: 0 0 10px;
    font-size: 1.1rem;
    font-weight: 500;
    color: #ffeb3b;
}

.info-box p {
    margin: 0;
    font-size: 0.95rem;
    color: #ffffff;
}

.contact-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-right iframe {
    border-radius: 15px;
}

.info-layout {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.info-left {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.vertical-image {
    background: no-repeat center center;
    background-size: cover;
    width: 170px;
    height: 300px;
    border-radius: 15px;
}

.info-right {
    flex: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: center;
    max-height: 300px;
    overflow-y: auto;
}

.info-right p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    color: #ffffff;
}

.services-section {
    margin-top: 30px;
}

.title-rectangle {
    background: #ffeb3b;
    border-radius: 8px;
    padding: 10px 20px;
    margin-bottom: 20px;
    align-self: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.title-rectangle h3 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 400;
    color: #000000;
    letter-spacing: 0.5px;
}

.services-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.service-box {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 12px;
    padding: 15px;
    width: 180px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.service-box:hover {
    transform: scale(1.05);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
    background: rgba(0, 0, 0, 0.8);
}

.service-box h4 {
    margin: 0 0 8px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffeb3b;
}

.service-box p {
    margin: 0;
    font-size: 0.9rem;
    color: #d3d3d3;
    line-height: 1.4;
}

.footer {
    background: #1a1a1a;
    color: #ffffff;
    text-align: center;
    padding: 10px 0;
    font-size: 0.9rem;
    font-family: 'Poppins', sans-serif;
    margin-left: 80px;
    width: calc(100% - 80px);
}

/* Media Queries */
@media (max-width: 940px) and (min-width: 481px) {
    .card {
        width: 24%;
        min-width: 180px;
    }
    .container {
        gap: 10px;
    }
}

@media (max-width: 800px) {
    .popup {
        padding-top: 15px;
        align-items: flex-start;
    }
    .popup-content {
        width: 90%;
        max-width: none;
        padding: 20px;
        max-height: 85vh;
        margin-bottom: 20px;
    }
    .info-layout {
        flex-direction: column;
        align-items: center;
    }
    .vertical-image {
        width: 200px;
        height: 200px;
    }
    .info-right {
        max-height: none;
        overflow-y: visible;
    }
    .service-box {
        width: 160px;
    }
}

@media (max-width: 768px), (pointer: coarse) {
    .sidebar {
        width: 80px;
        transition: none;
        pointer-events: auto;
    }

    .nav-item {
        width: 50px;
        transition: none;
        pointer-events: auto;
        transform: none;
        box-shadow: none;
        background: #000000;
        border-radius: 8px;
    }

    .nav-item:hover {
        transform: scale(1.05);
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
        background: #2d2d2d;
    }

    .nav-item i {
        transition: none;
    }

    .main-wrapper {
        margin-left: 80px;
        width: calc(100% - 80px);
        transition: none;
    }

    .main-content {
        margin: 0;
    }

    .search-container {
        padding: 15px 0; /* Sağ ve sol padding kaldırıldı */
    }

    .search-bar {
        width: 90%;
        max-width: 100%;
    }

    .container {
        padding: 15px 0;
    }

    /* Mobil cihazlarda tooltip ve oku gizle */
    .global-tooltip,
    .global-tooltip::before {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .card {
        width: 90%;
        min-width: unset;
        border-radius: 16px;
    }
    .sidebar {
        width: 55px;
    }
    .main-wrapper {
        margin-left: 50px;
        width: calc(100% - 50px);
    }
    .logo {
        width: 200px;
    }
    .search-bar {
        width: 80%;
    }
    .nav-item {
        width: 45px;
        border-radius: 8px;
    }
    .popup-content {
        width: 90%;
        padding: 20px;
    }
    .info-box {
        padding: 10px;
    }
    .contact-right iframe {
        height: 150px;
    }
    .vertical-image {
        width: 250px;
        height: 150px;
    }
    .service-box {
        width: 100%;
    }
    .title-rectangle {
        padding: 8px 15px;
    }
    .footer {
        margin-left: 50px;
        width: calc(100% - 50px);
        font-size: 0.8rem;
        padding: 8px 0;
    }
    .filter-container {
    text-align: center;
    padding: 10px 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

 
}