﻿/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    display: none;
}

.header-main {
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-text {
    font-size: 28px;
    font-weight: bold;
    margin-left: 10px;
}

.logo-resto {
    color: #34a853;
}

.logo-bilgi {
    color: #1a73e8;
}

.logo-subtitle {
    color: #1a73e8;
    font-size: 14px;
    margin-left: 10px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: #1a73e8;
    color: white;
}

.btn-primary:hover {
    background: #1557b0;
}

.btn-outline {
    background: white;
    color: #1a73e8;
    border: 1px solid #1a73e8;
}

.btn-outline:hover {
    background: #1a73e8;
    color: white;
}

/* Main Content */
.main-content {
    padding: 40px 0;
    min-height: calc(100vh - 200px);
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    margin-bottom: 40px;
}

/* Companies Grid */
.companies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.company-card-grid {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
}

.company-card-grid:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.company-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background: #f8f9fa;
}

.company-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.company-image-placeholder {
    width: 100%;
    height: 100%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    border: 2px dashed #ddd;
}

.company-image-placeholder i {
    font-size: 48px;
}

.company-card-grid:hover .company-image img {
    transform: scale(1.05);
}

.company-image.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a73e8, #34a853);
    color: white;
    font-size: 48px;
}

.company-content {
    padding: 20px;
}

.company-title {
    font-size: 18px;
    font-weight: bold;
    color: #1a73e8;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    line-height: 1.3;
}

.company-title:hover {
    text-decoration: underline;
}

.company-description {
    color: #5f6368;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.company-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.company-location,
.company-time {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #5f6368;
}

.company-location i,
.company-time i {
    color: #1a73e8;
    width: 14px;
}

.main-column {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.sidebar {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 20px;
    height: fit-content;
}

/* Card Styles */
.card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.card-title {
    font-size: 18px;
    font-weight: bold;
    color: #1a73e8;
    margin-bottom: 10px;
    text-decoration: none;
    display: block;
}

.card-title:hover {
    text-decoration: underline;
}

.card-description {
    color: #5f6368;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 13px;
    color: #5f6368;
    margin-bottom: 10px;
}

.card-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.card-company {
    color: #202124;
    font-weight: 500;
    margin-bottom: 5px;
}

.card-location {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #5f6368;
    font-size: 13px;
}

.card-time {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #5f6368;
    font-size: 13px;
}

/* Company Card Styles */
.company-card {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #e0e0e0;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.2s ease;
}

.company-card:hover {
    background-color: #f8f9fa;
}

.company-card:last-child {
    border-bottom: none;
}

.company-card-title {
    font-weight: bold;
    color: #1a73e8;
    margin-bottom: 5px;
    font-size: 16px;
}

.company-card-info {
    color: #5f6368;
    font-size: 13px;
}

/* Sidebar Styles */
.sidebar-title {
    font-size: 21px;
    font-weight: 700;
    color: #202124;
    margin-bottom: 5px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.sidebar-list {
    list-style: none;
}

.sidebar-list li {
    margin-bottom: 15px;
}

.sidebar-list a {
    text-decoration: none;
    color: #1a73e8;
    font-weight: 600;
    font-size: 18px;
    display: block;
    padding: 3px 0;
    border-bottom: 1px solid #f0f0f0;
}

.sidebar-list a:hover {
    color: #1557b0;
}

.sidebar-list a:hover .company-card-title {
    text-decoration: underline;
}

.sidebar-address {
    color: #5f6368;
    font-size: 14px;
    margin-top: 4px;
    line-height: 1.2;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
    display: block !important;
    word-break: keep-all;
}

/* Blog Section Styles */
.blog-section {
    margin-top: 60px;
    padding: 40px 0;
    background: transparent;
    width: 100%;
}

.blog-section-title {
    font-size: 28px;
    color: #1a73e8;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
}

.blog-posts-container {
    overflow-x: auto;
    padding: 20px 0;
}

.blog-posts-scroll {
    display: flex;
    gap: 20px;
    padding: 10px 0;
    min-width: max-content;
}

.blog-post-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
    width: 320px;
    min-width: 320px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.blog-post-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.blog-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-post-card:hover .blog-post-image img {
    transform: scale(1.05);
}

.blog-post-image.placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 48px;
}

.blog-post-content {
    padding: 20px;
}

.blog-post-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 12px;
    color: #6c757d;
}

.blog-author,
.blog-date {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-post-title {
    margin: 0 0 15px 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

.blog-post-title a {
    color: #202124;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-post-title a:hover {
    color: #1a73e8;
}

.blog-post-excerpt {
    color: #5f6368;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1a73e8;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
}

.blog-read-more:hover {
    color: #1557b0;
    transform: translateX(5px);
}

/* Mobile Responsive for Blog Section */
@media (max-width: 768px) {
    .blog-section {
        margin-top: 40px;
        padding: 30px 20px;
    }
    
    .blog-section-title {
        font-size: 24px;
    }
    
    .blog-post-card {
        width: 280px;
        min-width: 280px;
    }
    
    .blog-posts-scroll {
        gap: 15px;
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {
    .blog-post-card {
        width: 260px;
        min-width: 260px;
    }
    
    .blog-posts-scroll {
        gap: 10px;
        padding: 10px 15px;
    }
}

/* Blog Post Styles */
.blog-post {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
}

.blog-post:last-child {
    border-bottom: none;
}

.blog-post-title {
    font-size: 24px;
    font-weight: bold;
    color: #1a73e8;
    margin-bottom: 15px;
    text-decoration: none;
}

.blog-post-title:hover {
    text-decoration: underline;
}

.blog-post-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #5f6368;
}

.blog-post-excerpt {
    color: #5f6368;
    line-height: 1.6;
    margin-bottom: 15px;
}

.blog-post-read-more {
    color: #1a73e8;
    text-decoration: none;
    font-weight: 500;
}

.blog-post-read-more:hover {
    text-decoration: underline;
}

/* Company Detail Styles */
.company-detail {
    margin-bottom: 30px;
}

.company-detail h1 {
    font-size: 28px;
    color: #1a73e8;
    margin-bottom: 5px;
}

.company-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.company-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    gap: 10px;
}

.company-info-item:last-child {
    margin-bottom: 0;
}

.company-info-label {
    font-weight: bold;
    color: #202124;
    min-width: 100px;
}

.company-info-value {
    color: #5f6368;
}

.company-map {
    margin-top: 20px;
}

.map-container {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    position: relative;
}

.map-container iframe {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    position: absolute;
    top: 0;
    left: 0;
}

.company-map #map {
    width: 100% !important;
    height: 400px !important;
    border-radius: 8px;
}

/* Footer Styles */
.footer {
    background: #f8f9fa;
    padding: 40px 0 20px;
    margin-top: 60px;
    border-top: 1px solid #e0e0e0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-logo {
    font-size: 24px;
    font-weight: bold;
    color: #202124;
    margin-bottom: 10px;
}

.footer-copyright {
    color: #5f6368;
    font-size: 14px;
}

.footer-section h3 {
    font-size: 16px;
    font-weight: bold;
    color: #202124;
    margin-bottom: 15px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #5f6368;
    text-decoration: none;
    font-size: 14px;
}

.footer-links a:hover {
    color: #1a73e8;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #5f6368;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: #1a73e8;
    color: white;
    border-color: #1a73e8;
}

.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #1a73e8;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
}

.scroll-top:hover {
    background: #1557b0;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .companies-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
        flex-wrap: nowrap;
    }
    
    .logo {
        flex-shrink: 0;
    }
    
    .header-actions {
        display: flex;
        justify-content: flex-end;
        gap: 8px;
        flex-shrink: 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .company-card-grid {
        margin-bottom: 0;
    }
    
    .company-image {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .companies-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .company-content {
        padding: 15px;
    }
    
    .company-title {
        font-size: 16px;
    }
    
    .company-description {
        font-size: 13px;
    }
}

/* Admin Panel Styles */
.admin-header {
    background: #2c3e50;
    color: white;
    padding: 20px 0;
    margin-bottom: 30px;
}

.admin-nav {
    display: flex;
    gap: 8px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.admin-nav a {
    color: white;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    display: inline-block;
}

.admin-nav .btn-nav {
    background: #1a73e8;
    border: 1px solid #1a73e8;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.admin-nav .btn-nav:hover,
.admin-nav .btn-nav.active {
    background: #1557b0;
    border-color: #1557b0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    transform: translateY(-1px);
}

.admin-form {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #202124;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.btn-success {
    background: #34a853;
    color: white;
}

.btn-success:hover {
    background: #2d8f47;
}

.btn-danger {
    background: #ea4335;
    color: white;
}

.btn-danger:hover {
    background: #d33b2c;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-30 {
    margin-top: 30px;
}

.hidden {
    display: none;
}

/* Icons */
.icon {
    width: 16px;
    height: 16px;
    display: inline-block;
}

.icon-pin::before {
    content: "ğŸ“";
}

.icon-clock::before {
    content: "ğŸ•’";
}

.icon-phone::before {
    content: "ğŸ“";
}

.icon-email::before {
    content: "âœ‰ï¸";
}

.icon-globe::before {
    content: "ğŸŒ";
}


.company-info-value {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

/* Company location info styling */
.company-location-info {
    margin-top: 1px !important;
    margin-bottom: 20px;
}

/* Header Search Bar Styles */
.search-container {
    flex: 1;
    max-width: 600px;
    margin: 0 20px;
}

.search-form {
    width: 100%;
}

.search-input-group {
    display: flex;
    background: white;
    border: 1px solid #dadce0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.search-field {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 16px;
    position: relative;
}

.search-icon {
    color: #9aa0a6;
    font-size: 16px;
    margin-right: 12px;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 12px 0;
    font-size: 16px;
    color: #202124;
}

.search-input::placeholder {
    color: #9aa0a6;
}

.search-btn {
    background: #1a73e8;
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 0 8px 8px 0;
    transition: background-color 0.2s;
}

.search-btn:hover {
    background: #1557b0;
}

/* Header Actions Styles */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.employer-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: transparent;
    color: #1a73e8;
    text-decoration: none;
    border-radius: 0;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.2s;
    border: none;
}

.employer-link:hover {
    background: #e0edff;
    color: #1a73e8;
    text-decoration: none;
    border-radius: 6px;
}

.employer-link i {
    font-size: 18px;
}

.login-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: transparent;
    color: #525c6b;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.2s;
    border-radius: 0;
    border: none;
}

.login-btn:hover {
    background: #f5f5f5;
    color: #525c6b;
    text-decoration: none;
    border-radius: 6px;
}

.login-btn i {
    font-size: 18px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }
    
    .search-container {
        margin: 0;
        max-width: none;
    }
    
    .header-actions {
        gap: 6px;
    }
    
    .employer-link {
        padding: 10px 20px;
        font-size: 15px;
        white-space: nowrap;
        font-weight: 500;
    }
    
    .employer-link i {
        display: inline;
        margin-right: 6px;
        font-size: 15px;
    }
    
    .employer-link span {
        display: inline;
    }
    
    .login-btn {
        display: none !important;
    }
    
    /* Çıkış yap butonu için özel stil */
    .login-btn[href="/cikis"] {
        padding: 6px 8px;
        min-width: auto;
    }
    
    .login-btn[href="/cikis"] i {
        display: inline;
        font-size: 16px;
    }
    
    .login-btn[href="/cikis"] span {
        display: none;
    }
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.pagination-btn {
    padding: 10px 20px;
    background: #1a73e8;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pagination-btn:hover {
    background: #1557b0;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(26, 115, 232, 0.3);
}

.pagination-numbers {
    display: flex;
    gap: 6px;
    align-items: center;
}

.pagination-number {
    padding: 8px 14px;
    background: white;
    color: #5f6368;
    text-decoration: none;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    min-width: 40px;
    text-align: center;
}

.pagination-number:hover {
    background: #f8f9fa;
    border-color: #1a73e8;
    color: #1a73e8;
}

.pagination-number.active {
    background: #1a73e8;
    color: white;
    border-color: #1a73e8;
}

.pagination-dots {
    color: #5f6368;
    padding: 0 8px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .pagination {
        gap: 6px;
        margin: 30px 0;
    }
    
    .pagination-btn {
        padding: 8px 14px;
        font-size: 13px;
    }
    
    .pagination-number {
        padding: 6px 10px;
        font-size: 13px;
        min-width: 36px;
    }
    
    .pagination-btn span {
        display: none;
    }
}

/* Blog page styles - Orijinal tasarÄ±m */

/* Blog section on company page */
.blog-section .blog-posts-grid .blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.blog-section .blog-posts-grid .blog-post-card h4 a:hover {
    color: #1a73e8;
}

@media (max-width: 768px) {
    .blog-section .blog-posts-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 480px) {
    .blog-section h3 {
        font-size: 20px !important;
    }
    
    .blog-section .blog-posts-grid {
        gap: 15px !important;
    }
}

/* Hero Section Styles */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 20px;
    text-align: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,106.7C1248,96,1344,96,1392,96L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: 20px;
    color: rgba(255,255,255,0.95);
    margin-bottom: 40px;
}

.hero-search-form {
    max-width: 600px;
    margin: 0 auto;
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 50px;
    padding: 8px 8px 8px 25px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.search-input-wrapper:focus-within {
    box-shadow: 0 15px 50px rgba(0,0,0,0.3);
    transform: translateY(-2px);
}

.search-input-wrapper i {
    color: #999;
    font-size: 18px;
    margin-right: 15px;
}

.hero-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    padding: 12px 0;
    color: #333;
}

.hero-search-input::placeholder {
    color: #999;
}

.hero-search-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 14px 35px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.hero-search-btn:hover {
    background: #5568d3;
    transform: scale(1.05);
}

/* Categories Section */
.categories-section {
    padding: 60px 20px;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 40px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.category-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 15px;
    background: #f8f9fa;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.category-box:hover {
    background: white;
    border-color: #667eea;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

.category-box.active {
    background: #667eea;
    border-color: #667eea;
}

.category-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.category-box.active .category-icon {
    background: rgba(255,255,255,0.9);
}

.category-icon i {
    font-size: 28px;
    color: #667eea;
}

.category-box.active .category-icon i {
    color: #667eea;
}

.category-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-align: center;
}

.category-box.active .category-name {
    color: white;
}

/* Search Info */
.search-info {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.search-info p {
    margin: 0;
    font-size: 16px;
    color: #555;
}

.filter-badge {
    display: inline-flex;
    align-items: center;
    background: #667eea;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    margin-left: 10px;
    font-size: 14px;
}

.remove-filter {
    color: white;
    margin-left: 8px;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.remove-filter:hover {
    opacity: 1;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.no-results h3 {
    color: #333;
    font-size: 24px;
    margin-bottom: 10px;
}

.no-results p {
    color: #777;
    font-size: 16px;
    margin-bottom: 25px;
}

/* Company Badge */
.company-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(102, 126, 234, 0.9);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-search-btn {
        padding: 12px 25px;
        font-size: 14px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 15px;
    }
    
    .category-box {
        padding: 20px 10px;
    }
    
    .category-icon {
        width: 50px;
        height: 50px;
    }
    
    .category-icon i {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 24px;
    }
}

/* Company Detail Page - Sidebar Yok, Tek Sütun, Dar ve Kompakt */
.company-detail-page {
    background: #f8f9fa;
    padding: 30px 20px;
    min-height: calc(100vh - 200px);
}

.company-detail-container {
    max-width: 700px;
    margin: 0 auto;
}

.company-header-photo {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.company-header-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.company-info-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.company-name {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.company-meta-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.meta-row {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
}

.meta-item i {
    color: #667eea;
}

.company-rating-display {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.stars-large {
    display: flex;
    gap: 4px;
}

.stars-large i {
    font-size: 20px;
    color: #ddd;
}

.stars-large i.active {
    color: #ffc107;
}

.rating-value {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.review-count-text {
    color: #777;
    font-size: 14px;
}

.company-description {
    margin-bottom: 30px;
}

.company-description h3,
.company-contact h3,
.company-reviews h3,
.add-review-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.company-description h3 i,
.company-contact h3 i,
.company-reviews h3 i,
.add-review-section h3 i {
    color: #667eea;
    font-size: 16px;
}

.company-description p {
    color: #555;
    line-height: 1.7;
    font-size: 15px;
}

.company-contact {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 15px;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item i {
    color: #667eea;
    width: 20px;
    text-align: center;
}

.contact-item .fa-instagram {
    color: #E1306C;
}

.contact-link {
    color: #667eea;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-link:hover {
    color: #5568d3;
    text-decoration: underline;
}

.company-reviews {
    margin-bottom: 30px;
}

.review-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.review-author {
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.review-author i {
    color: #667eea;
    font-size: 18px;
}

.review-rating {
    display: flex;
    gap: 3px;
}

.review-rating i {
    font-size: 14px;
    color: #ddd;
}

.review-rating i.active {
    color: #ffc107;
}

.review-text {
    color: #555;
    line-height: 1.6;
    margin-bottom: 10px;
    font-size: 14px;
}

.review-date {
    color: #999;
    font-size: 12px;
}

.add-review-section {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
}

.review-form .form-group {
    margin-bottom: 20px;
}

.review-form label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
}

.star-rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 8px;
}

.star-rating-input input[type="radio"] {
    display: none;
}

.star-rating-input label {
    cursor: pointer;
    font-size: 28px;
    color: #ddd;
    transition: color 0.2s;
}

.star-rating-input label:hover,
.star-rating-input label:hover ~ label,
.star-rating-input input[type="radio"]:checked ~ label {
    color: #ffc107;
}

.review-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
    resize: vertical;
    transition: border-color 0.2s;
}

.review-form textarea:focus {
    outline: none;
    border-color: #667eea;
}

.login-prompt {
    background: #e3f2fd;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin-top: 30px;
}

.login-prompt p {
    margin: 0;
    color: #555;
}

.login-prompt a {
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
}

.login-prompt a:hover {
    text-decoration: underline;
}

/* Company Working Hours */
.company-working-hours {
    margin-bottom: 30px;
}

.company-working-hours h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.company-working-hours h3 i {
    color: #667eea;
    font-size: 16px;
}

.working-hours-content {
    color: #555;
    line-height: 1.8;
    font-size: 15px;
}

.hours-item {
    margin-bottom: 8px;
    color: #555;
}

.hours-item strong {
    color: #333;
    font-weight: 700;
}

.hours-text {
    color: #555;
    line-height: 1.8;
    font-size: 15px;
    white-space: pre-line;
}

/* Company Map */
.company-map {
    margin-bottom: 30px;
}

.map-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.company-map h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.company-map h3 i {
    color: #667eea;
    font-size: 16px;
}

.map-container {
    width: 100%;
    height: 350px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.get-directions-btn {
    background: #1a73e8;
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(26,115,232,0.3);
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.get-directions-btn:hover {
    background: #1557b0;
    box-shadow: 0 3px 10px rgba(26,115,232,0.5);
    transform: translateY(-1px);
}

.get-directions-btn i {
    font-size: 14px;
}

/* Category Page */
.category-header {
    background: #f8f9fa;
    padding: 30px 20px;
    border-bottom: 1px solid #e0e0e0;
}

.category-header .container {
    max-width: 1200px;
    margin: 0 auto;
}

.category-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin: 0 0 8px 0;
}

.category-header p {
    font-size: 15px;
    color: #666;
    margin: 0;
}

/* Category Container - No horizontal padding */
.category-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

/* Companies Grid */
.companies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.company-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid #e0e0e0;
    margin: 0 !important;
    height: 100%;
}

.company-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.company-card .company-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #f5f5f5;
    margin: 0;
    padding: 0;
}

.company-card .company-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.company-card .company-content {
    padding: 10px !important;
    margin: 0 !important;
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
}

.company-card .company-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    margin: 0 0 6px 0 !important;
    padding: 0 !important;
    display: -webkit-box;
    line-height: 1.3;
    max-height: 42px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.company-card .company-title:hover {
    color: #667eea;
}

.company-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 8px 0 !important;
    padding: 0 !important;
    width: 100%;
    box-sizing: border-box;
}

.company-rating .stars {
    display: flex;
    gap: 2px;
}

.company-rating .stars i {
    color: #ddd;
    font-size: 13px;
}

.company-rating .stars i.active {
    color: #ffc107;
}

.company-rating .rating-text {
    font-weight: 600;
    color: #333;
    font-size: 13px;
}

.company-rating .review-count {
    color: #666;
    font-size: 12px;
}

.company-meta {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    margin: auto 0 0 0 !important;
    padding: 8px 0 0 0 !important;
    border-top: 1px solid #f0f0f0;
    width: 100%;
    box-sizing: border-box;
}

.company-location,
.company-phone {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #666;
    margin: 0 !important;
    padding: 0 !important;
    flex: 0 0 auto;
}

.company-location i,
.company-phone i {
    color: #667eea;
    width: 14px;
    font-size: 12px;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 80px 20px;
    color: #666;
}

.no-results h3 {
    font-size: 24px;
    margin: 0 0 10px 0;
    color: #333;
}

.no-results p {
    font-size: 16px;
    margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .companies-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .company-detail-page {
        padding: 20px 10px;
    }
    
    .company-info-card {
        padding: 20px;
    }
    
    .company-name {
        font-size: 24px;
    }
    
    .company-header-photo {
        height: 220px;
    }
    
    .company-meta-info {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .map-container {
        height: 250px;
    }
    
    .map-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .get-directions-btn {
        padding: 8px 12px;
        font-size: 12px;
        white-space: nowrap;
    }
    
    .get-directions-btn i {
        font-size: 13px;
    }
    
    .category-header {
        padding: 20px 10px;
    }
    
    .category-header h1 {
        font-size: 22px;
    }
    
    .category-header p {
        font-size: 14px;
    }
    
    .main-content {
        padding: 20px 0 !important;
    }
    
    .category-container {
        padding: 0;
        max-width: 100%;
    }
    
    .companies-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 10px;
        margin: 0;
    }
    
    .company-card {
        margin: 0;
    }
    
    .company-card .company-image {
        height: 160px;
    }
}