/* ========== GLOBAL ========== */

body {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    font-weight: 200;
    background-color: #000;
    color: white;
    overflow-x: hidden;
}

::-webkit-scrollbar {
    display: none;
}

* {
    -ms-overflow-style: none;
    scrollbar-width: none; /* Firefox */
    box-sizing: border-box;
}


/* ========== NAVBAR ========== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 12px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    background-color: #000;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);
    transition: 0.4s;
}

.logo {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.logo img {
    max-height: 120px;
    height: 120px;
    width: auto;
    cursor: pointer;
}

.menu {
    flex: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
}

.navbar a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
}

.navbar a:hover {
    opacity: 0.7;
}

.menu .active-link {
    border-bottom: 2px solid #A8FF35;
    padding-bottom: 4px;
}

.right-img {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}


/* ========== DROPDOWN (LANGUAGE) ========== */

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    border: 1px solid #ddd;
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    border-bottom: 1px solid #f1f1f1;
    font-size: 0.9rem;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
    display: block;
}


/* ========== HOME PAGE (INDEX) ========== */

.container {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    padding: 140px 16px 40px; /* navbar + boşluk */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.5s ease-out, opacity 0.5s ease-out;
}

h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 500px;
    width: 100%;
    justify-content: center;
}

#search-input {
    flex: 1;
    padding: 0.5rem 0.9rem;
    border-radius: 40px;
    border: 1px solid #333;
    background: #000;
    color: #fff;
    font-size: 0.95rem;
    outline: none;
}

#search-input:focus {
    border-color: #A8FF35;
}

.search-btn {
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    color: #000;
    background-color: #A8FF35;
    border-radius: 40px;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.search-btn:hover {
    opacity: 0.9;
}

/* Footer */

.footer {
    position: fixed;
    left: 0;
    bottom: 1rem;
    width: 100%;
    text-align: center;
}

.container-ftr p {
    font-size: 1rem;
    cursor: pointer;
}


/* ========== ACCORDION & SERVICES (ABOUT / EXTRA) ========== */

.accordion-section {
    width: 100%;
    text-align: left;
    margin: 0 auto;
    padding: 40px;
}

.accordion {
    background-color: transparent;
    color: #A8FF35;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    transition: 0.4s;
}

.active,
.accordion:hover {
    background-color: transparent;
}

.panel {
    padding: 0 18px;
    background-color: transparent;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

.accordion-section .text-section {
    padding-left: 1%;
}

.bosluq {
    margin-top: 5rem;
}

.services-section {
    width: 100%;
    padding: 20px;
    background-color: #333;
    color: white;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.service-category {
    flex-basis: 20%;
    margin: 10px;
}

.service-category h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.service-category ul {
    list-style-type: none;
    padding: 0;
}

.service-category li {
    margin-bottom: 5px;
}


/* ========== CONTACT PAGE ========== */

.contact-page {
    min-height: calc(100vh - 70px);
    padding: 140px 24px 40px;
    max-width: 1100px;
    margin: 0 auto;
    color: #f5f5f5;
}

.contact-header {
    text-align: center;
    margin-bottom: 32px;
}

.contact-header h1 a {
    color: #A8FF35;
    text-decoration: none;
    font-size: 32px;
    font-weight: 700;
}

.contact-header-sub {
    margin-top: 8px;
    color: #8c8c8c;
    font-size: 14px;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 40px;
    align-items: flex-start;
}

.contact-text h2 {
    font-size: 26px;
    margin-bottom: 12px;
}

.contact-text p {
    color: #b3b3b3;
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 18px;
}

.contact-points {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-points li {
    font-size: 14px;
    color: #d0d0d0;
    margin-bottom: 6px;
    position: relative;
    padding-left: 18px;
}

.contact-points li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #A8FF35;
}

/* CONTACT CARD + FORM */

.contact-card {
    background: #050505;
    border-radius: 16px;
    padding: 22px 22px 24px;
    border: 1px solid #1f1f1f;
    box-shadow: 0 18px 45px rgba(0,0,0,0.7);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-form .form-row {
    display: flex;
    gap: 16px;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.contact-form label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #a4a4a4;
    margin-bottom: 6px;
}

/* input & textarea */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    background: #000;
    border-radius: 999px;
    border: 1px solid #2b2b2b;
    padding: 10px 14px;
    font-size: 14px;
    color: #fff;
    outline: none;
    width: 100%;
}

.contact-form textarea {
    border-radius: 16px;
    min-height: 120px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #A8FF35;
    box-shadow: 0 0 0 1px rgba(168, 255, 53, 0.3);
}

/* SUCCESS + ERROR */

.alert-success {
    background: #0d2d11;
    border: 1px solid #24c965;
    color: #b8ffd1;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 13px;
    margin-bottom: 14px;
}

.error {
    color: #ff6b6b;
    font-size: 12px;
    margin-top: 4px;
}

/* BUTTON */

.btn-primary {
    background: #A8FF35;
    color: #000;
    font-weight: 600;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    padding: 10px 20px;
    font-size: 14px;
    transition: transform 0.08s ease, box-shadow 0.08s ease, opacity 0.1s ease;
}

.btn-primary:hover {
    opacity: 0.95;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(168, 255, 53, 0.4);
}

.btn-full {
    width: 100%;
    margin-top: 4px;
}


/* ========== SEARCH RESULTS GRID ========== */

.results-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px 80px;
    color: #f5f5f5;
}

.results-section.loading {
    opacity: 0.7;
}

.results-header {
    margin-top: 10px;
    margin-bottom: 16px;
}

.results-header h2 {
    font-size: 20px;
    margin: 0 0 4px;
}

.results-header p {
    margin: 0;
    font-size: 13px;
    color: #a0a0a0;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 8px;
}

.results-empty,
.results-error {
    font-size: 14px;
    margin-top: 16px;
}

.results-empty {
    color: #a0a0a0;
}

.results-error {
    color: #ff6b6b;
}

.hidden {
    display: none;
}

/* Company cards */

.company-card {
    background: #050505;
    border-radius: 16px;
    border: 1px solid #1f1f1f;
    padding: 14px 14px 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.6);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.company-card-header {
    display: flex;
    gap: 10px;
    align-items: center;
}

.company-logo-wrap {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    overflow: hidden;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-logo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.company-logo-placeholder {
    font-size: 18px;
    font-weight: 700;
    color: #A8FF35;
}

.company-main-info {
    flex: 1;
}

.company-name {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 2px;
}

.company-meta {
    font-size: 11px;
    color: #a0a0a0;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.company-meta span::before {
    content: "• ";
}

.company-meta span:first-child::before {
    content: "";
}

.company-card-body {
    font-size: 13px;
    color: #d0d0d0;
}

.company-address {
    margin: 0 0 6px;
}

.company-listing {
    margin-top: 4px;
}

.company-listing .listing-title {
    font-weight: 500;
    margin-bottom: 2px;
}

.company-listing .listing-service {
    font-size: 12px;
    color: #A8FF35;
}


/* ========== MODAL (PLATFORM CHOICE) ========== */

.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1200;
}

.modal-content {
    background: #050505;
    border-radius: 18px;
    padding: 22px 22px 18px;
    border: 1px solid #1f1f1f;
    box-shadow: 0 18px 45px rgba(0,0,0,0.7);
    max-width: 360px;
    width: 90%;
    text-align: center;
}

.modal-content h2 {
    margin-top: 0;
    margin-bottom: 14px;
    font-size: 20px;
}

.platform-toggle {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 14px;
}

.platform-btn {
    flex: 1;
    border-radius: 999px;
    border: 1px solid #333;
    background: #000;
    color: #fff;
    padding: 6px 10px;
    font-size: 13px;
    cursor: pointer;
}

.platform-btn.active {
    background: #A8FF35;
    color: #000;
    border-color: #A8FF35;
}

.app-link {
    display: block;
    margin-bottom: 8px;
    color: #A8FF35;
    text-decoration: none;
    font-size: 14px;
}

.app-link:hover {
    text-decoration: underline;
}

.close-btn {
    margin-top: 10px;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 14px;
    cursor: pointer;
}

.close-btn:hover {
    background: #444;
}


/* ========== RESPONSIVE ========== */

@media (max-width: 900px) {

    .navbar {
        padding: 10px 16px;
    }

    .menu {
        gap: 16px;
    }

    .container {
        padding-top: 120px;
        padding-bottom: 70px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-page {
        padding-top: 120px;
    }

    .footer {
        position: static;
        margin-top: 40px;
    }

    .results-section {
        padding: 0 16px 70px;
    }
}

@media (max-width: 600px) {

    .contact-card {
        padding: 18px 16px 20px;
    }

    .contact-form .form-row {
        flex-direction: column;
    }

    .search-box {
        flex-direction: column;
        align-items: stretch;
    }
}


/* ========== PARTNERS PAGE ========== */

.partners-page {
    min-height: calc(100vh - 70px);
    padding: 140px 24px 80px; /* navbar + boşluk */
    display: flex;
    justify-content: center;
}

.partners-section {
    width: 100%;
    max-width: 1100px;
    text-align: center;
}

.partners-title {
    font-size: 28px;
    margin-bottom: 32px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    justify-items: center;
}

.partner-card {
    background: #ffffff;
    color: #111;
    border-radius: 18px;
    padding: 14px 20px 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.35);
    text-decoration: none;
    min-width: 180px;
    max-width: 240px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.12s ease, box-shadow 0.12s ease, opacity 0.08s ease;
}

.partner-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.55);
    opacity: 0.96;
}

.partner-logo-wrap {
    width: 140px;
    height: 70px;
    border-radius: 14px;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.partner-logo-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.partner-logo-placeholder {
    font-size: 28px;
    font-weight: 700;
    color: #0b8f3c;
}

.partner-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.partners-empty {
    color: #a0a0a0;
    font-size: 14px;
    margin-top: 12px;
}

@media (max-width: 900px) {
    .partners-page {
        padding-top: 120px;
        padding-bottom: 60px;
    }
}
