/**
 * Homepage Modern Override
 * Replaces AI-generated look with clean, professional design
 */

/* ==========================================================================
   0. Hero — Bold, warm, confident
   ========================================================================== */

.minimal-hero {
    padding: 80px 0 60px;
    min-height: auto;
    position: relative;
    overflow: hidden;
}

.minimal-hero::before,
.minimal-hero::after {
    display: none;
}

.minimal-hero .hero-title {
    font-size: 3.2rem;
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 16px;
    color: #0f172a;
    letter-spacing: -0.03em;
}

.minimal-hero .hero-description {
    font-size: 1.15rem;
    font-weight: 400;
    color: #64748b;
    max-width: 520px;
    margin: 0 auto 36px auto;
    line-height: 1.6;
}

/* Search bar */
.minimal-hero .search-wrapper {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 8px 8px 8px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.minimal-hero .search-wrapper:hover,
.minimal-hero .search-wrapper:focus-within {
    border-color: #dc2626;
    box-shadow: 0 4px 32px rgba(220, 38, 38, 0.08);
}

.minimal-hero .search-icon {
    display: none;
}

.minimal-hero .search-field {
    color: #0f172a;
    background: transparent;
    font-size: 1.05rem;
    font-weight: 400;
}

.minimal-hero .search-field::placeholder {
    color: #94a3b8;
}

.minimal-hero .search-submit {
    background: #c41e1e !important;
    color: #ffffff !important;
    border: none;
    padding: 14px 32px;
    height: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.5px;
}

.minimal-hero .search-submit:hover {
    background: #a51b1b !important;
}

/* Old popular searches — hidden, replaced by hero-popular-searches */
.minimal-hero .popular-searches {
    display: none !important;
}

.minimal-hero .popular-searches span,
.popular-searches span {
    border: none;
    padding-right: 0;
    margin-right: 8px;
}

.minimal-hero .popular-searches span::after,
.popular-searches span::after {
    display: none;
}

.minimal-hero .popular-searches span,
.popular-searches span {
    color: #94a3b8 !important;
    font-weight: 500 !important;
    font-size: 0.85rem !important;
}

.hero-section .popular-tags a,
.minimal-hero .popular-tags a,
.popular-searches .popular-tags a {
    color: #64748b !important;
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    transition: color 0.2s ease !important;
    text-decoration: none !important;
    transform: none !important;
}

.hero-section .popular-tags a:hover,
.minimal-hero .popular-tags a:hover,
.popular-searches .popular-tags a:hover {
    color: #0f172a !important;
    background: none !important;
    box-shadow: none !important;
    border: none !important;
    transform: none !important;
}

.hero-section .popular-tags,
.minimal-hero .popular-tags {
    gap: 8px !important;
}

/* Hero content width override */
.minimal-hero .hero-content {
    max-width: 100% !important;
}

.minimal-hero .hero-search-form {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Popular searches under search bar */
.hero-popular-searches {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 14px;
    font-size: 13px;
}

.hero-popular-searches span {
    color: #94a3b8;
    font-weight: 500;
}

.hero-popular-searches a {
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.hero-popular-searches a:hover {
    color: #0f172a;
}

/* Hero inline categories */
.hero-categories-grid {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 12px !important;
    margin-top: 40px;
    max-width: 100% !important;
    width: 100% !important;
}

.hero-category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    padding: 24px 12px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    transition: all 0.2s ease;
    min-height: 100px;
    justify-content: center;
}

.hero-category-item {
    box-shadow: inset 3px 3px 8px rgba(0, 0, 0, 0.03);
}

.hero-category-item:hover {
    border-color: #cbd5e1;
    box-shadow: inset 3px 3px 8px rgba(0, 0, 0, 0.03), 0 4px 12px rgba(0, 0, 0, 0.05);
}

.hero-category-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #334155;
    transition: all 0.2s ease;
}

.hero-category-item:hover .hero-category-icon {
    background: #e2e8f0;
    color: #0f172a;
}

.hero-category-icon svg {
    width: 22px;
    height: 22px;
    display: block;
}

.hero-category-name {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    text-align: center;
    line-height: 1.3;
}

.hero-category-item:hover .hero-category-name {
    color: #0f172a;
}

@media (max-width: 768px) {
    .hero-categories-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-categories-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 6px !important;
    }

    .hero-category-item {
        padding: 10px 4px;
    }

    .hero-category-name {
        font-size: 11px;
    }
}

/* Responsive hero */
@media (max-width: 768px) {
    .minimal-hero {
        padding: 60px 0 40px;
    }
    .minimal-hero .hero-title {
        font-size: 2.2rem;
    }
    .minimal-hero .hero-description {
        font-size: 1rem;
        margin-bottom: 28px;
    }
    .minimal-hero .search-wrapper {
        flex-direction: row;
    }
}

@media (max-width: 480px) {
    .minimal-hero {
        padding: 40px 0 30px;
    }
    .minimal-hero .hero-title {
        font-size: 1.8rem;
    }
    .minimal-hero .search-wrapper {
        flex-direction: column;
        padding: 12px;
    }
    .minimal-hero .search-icon {
        display: none;
    }
    .minimal-hero .search-field {
        width: 100%;
        text-align: center;
        margin-bottom: 8px;
        height: auto;
        padding: 10px 0;
    }
    .minimal-hero .search-submit {
        width: 100%;
        height: auto;
    }
}


/* Old category grid hidden — moved into hero */
.main-categories.section.closer-section {
    display: none;
}


/* ==========================================================================
   2. Service Cards — Clean professional style
   ========================================================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.service-card::before {
    display: none;
}

/* Service header */
.service-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.service-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: none;
    box-shadow: none;
}

.service-icon i {
    font-size: 18px;
    color: #2563eb;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
}

.service-header h3 {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    line-height: 1.3;
}

/* Service content */
.service-content {
    flex: 1;
    margin-bottom: 16px;
}

.service-content p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 14px 0;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.service-features li {
    font-size: 13px;
    color: #475569;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-features li i {
    font-size: 10px;
    color: #2563eb;
    width: 14px;
    text-align: center;
}

/* Service footer */
.service-footer {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

.service-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    background: #0f172a;
    color: #ffffff;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
}

.service-button:hover {
    background: #1e293b;
    color: #ffffff;
    transform: translateY(-1px);
}

.service-button i {
    font-size: 12px;
    order: 2;
    color: #ffffff;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
}

.service-coming-soon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 12px;
    background: #f8fafc;
    color: #94a3b8;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid #e2e8f0;
}

/* Highlights — simplified, no emojis feel */
.service-highlights {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.highlight-emoji {
    font-size: 16px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-radius: 8px;
    flex-shrink: 0;
}

.highlight-text strong {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    display: block;
    line-height: 1.3;
}

.highlight-text small {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-card {
        padding: 24px 20px;
    }
}


/* ==========================================================================
   3. Section Headers — Cleaner
   ========================================================================== */

.section .section-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.section-title--apple {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: #0f172a;
    line-height: 1.1;
}

.section .section-description {
    font-size: 15px;
    color: #64748b;
    font-weight: 500;
}


/* ==========================================================================
   4. Our Story
   ========================================================================== */

.our-story {
    padding: 80px 0;
}

.story-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #dc2626;
    margin-bottom: 16px;
}

.story-content .section-title--apple {
    margin-bottom: 20px;
}

.story-text {
    font-size: 16px;
    line-height: 1.7;
    color: #64748b;
    margin-bottom: 36px;
}

.story-stats {
    display: flex;
    gap: 40px;
}

.story-stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.03em;
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    font-weight: 500;
    color: #94a3b8;
    margin-top: 4px;
}

/* Story visual — stacked floating cards */
.story-visual {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.story-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px 24px;
    transition: transform 0.3s ease;
}

.story-card:hover {
    transform: translateX(6px);
}

.story-card svg {
    flex-shrink: 0;
}

.story-card strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
}

.story-card small {
    font-size: 13px;
    color: #94a3b8;
    font-weight: 500;
}

/* Stagger offset */
.story-card--2 {
    margin-left: 30px;
}

.story-card--3 {
    margin-left: 10px;
}

@media (max-width: 992px) {
    .story-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .story-content {
        text-align: center;
    }

    .story-content .section-title--apple {
        font-size: 2.2rem;
    }

    .story-content .section-title--apple br {
        display: none;
    }

    .story-text {
        max-width: 560px;
        margin-left: auto;
        margin-right: auto;
    }

    .story-stats {
        justify-content: center;
    }

    .story-card--2 {
        margin-left: 0;
    }

    .story-card--3 {
        margin-left: 0;
    }
}

@media (max-width: 576px) {
    .our-story {
        padding: 40px 0;
    }

    .story-label {
        font-size: 12px;
        letter-spacing: 1px;
    }

    .story-content .section-title--apple {
        font-size: 1.8rem;
    }

    .story-text {
        font-size: 15px;
        margin-bottom: 28px;
    }

    .story-stats {
        gap: 0;
        justify-content: space-between;
        background: #f8fafc;
        border-radius: 14px;
        padding: 20px;
    }

    .story-stat {
        align-items: center;
        text-align: center;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .stat-label {
        font-size: 11px;
    }

    .story-card {
        padding: 16px 18px;
        border-radius: 12px;
    }

    .story-card strong {
        font-size: 14px;
    }

    .story-card small {
        font-size: 12px;
    }
}


/* ==========================================================================
   5. Browse Categories
   ========================================================================== */

.browse-categories {
    padding: 60px 0;
}

.browse-categories .section-header {
    margin-bottom: 40px;
}

.browse-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.browse-category-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.browse-category-card:hover {
    background: radial-gradient(circle at top left, #f1f5f9 0%, #ffffff 60%);
    border-color: #cbd5e1;
}

.browse-category-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #475569;
}

.browse-category-icon svg {
    width: 20px;
    height: 20px;
    display: block;
}

.browse-category-name {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
}

.browse-category-count {
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .browse-categories-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .browse-category-card {
        padding: 14px 16px;
    }

    .browse-category-count {
        display: none;
    }
}

@media (max-width: 480px) {
    .browse-categories-grid {
        grid-template-columns: 1fr 1fr;
    }
}


/* ==========================================================================
   6. Featured Lists — Refinement
   ========================================================================== */

.featured-lists-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.featured-list-card {
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    display: block;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.featured-list-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.featured-list-card .list-image {
    border-radius: 14px;
}

.featured-list-card .list-name {
    font-size: 15px;
    font-weight: 700;
}

@media (max-width: 1200px) {
    .featured-lists-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .featured-lists-grid {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================================
   5. Cities — Refinement
   ========================================================================== */

.ana-sehir-card {
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ana-sehir-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.featured-cities.section {
    padding-top: 20px;
}

.ana-sehir-name {
    font-weight: 700;
}

.ana-sehir-card .ana-sehir-firma-count {
    background-color: rgba(220, 38, 38, 0.85) !important;
}

/* View all button */
.button.button-primary {
    background: #0f172a;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.button.button-primary:hover {
    background: #1e293b;
    transform: translateY(-1px);
    color: #ffffff;
}
