/* ==========================================================================
   Homelli v2.0 - Home Page Dedicated Stylesheet
   High-performance modular stylesheet
   ========================================================================== */

/* ==========================================================================
   HOMELLI ANA SAYFA - LÜKS MİNİMALİST MONOKROM CSS (mevcut-ana-sayfa.html)
   ========================================================================== */
.hml-home-wrapper {
    display: block;
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    color: #222222;
    line-height: 1.6;
    padding: 30px 15px;
    box-sizing: border-box;
}

.hml-cat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 70px;
}

.hml-cat-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    text-decoration: none !important;
    display: block;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.35s ease;
}

.hml-cat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: #111111;
}

.hml-cat-img-wrapper {
    width: 100%;
    height: 270px;
    overflow: hidden;
    background: #f5f5f5;
    position: relative;
}

.hml-cat-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hml-cat-item:hover img {
    transform: scale(1.05);
}

.hml-cat-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.6) 65%, rgba(0, 0, 0, 0) 100%);
    padding: 35px 20px 20px;
    text-align: center;
    transition: padding-bottom 0.3s ease;
}

.hml-cat-title {
    color: #ffffff !important;
    font-size: 19px !important;
    margin: 0 0 4px 0 !important;
    font-weight: 600 !important;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    line-height: 1.3 !important;
}

.hml-cat-content p {
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 13.5px !important;
    margin: 0 0 10px 0 !important;
    font-weight: 400;
    line-height: 1.4;
}

.hml-cat-btn {
    display: inline-block;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(6px);
    transition: all 0.3s ease;
}

.hml-cat-item:hover .hml-cat-btn {
    opacity: 1;
    transform: translateY(0);
}

/* 2. BÖLÜM: DİNAMİK VİTRİN ÜRÜNLERİ (ÖNE ÇIKANLAR) */
.hml-cat-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 80px;
}

.hml-cat-products-grid.hml-grid-4 {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 1024px) {
    .hml-cat-products-grid.hml-grid-4 {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .hml-cat-products-grid,
    .hml-cat-products-grid.hml-grid-4 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
}

.hml-cat-product-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s ease;
    position: relative;
}

.hml-cat-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: #111111;
}

.hml-cat-card-thumb {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f7f7f7;
    position: relative;
}

.hml-cat-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hml-cat-product-card:hover .hml-cat-card-thumb img {
    transform: scale(1.05);
}

.hml-cat-card-info {
    padding: 16px 14px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hml-cat-card-title {
    font-size: 14.5px !important;
    font-weight: 700 !important;
    color: #111111 !important;
    margin: 0 0 6px 0 !important;
    line-height: 1.35 !important;
    letter-spacing: -0.2px !important;
    text-transform: none !important;
}

/* Sorun ve Çözüm Bölümü */
.hml-pain-section {
    margin-bottom: 75px;
}

.hml-pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.hml-pain-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.hml-pain-card:hover {
    border-color: #111111;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.hml-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.hml-tag-problem {
    background: #e8e8e8;
    color: #222222;
}

.hml-tag-solution {
    background: #111111;
    color: #ffffff;
}

.hml-pain-problem {
    padding: 24px 24px 20px;
    background: #fbfbfb;
    border-bottom: 1px solid #eeeeee;
}

.hml-pain-title {
    color: #111111 !important;
    font-size: 15px !important;
    margin: 0 0 10px 0 !important;
    font-weight: 600 !important;
    line-height: 1.4;
}

.hml-pain-problem p {
    color: #383838 !important;
    font-size: 14px !important;
    margin: 0 !important;
    line-height: 1.6;
}

.hml-pain-solution {
    padding: 22px 24px 24px;
    background: #ffffff;
    flex: 1;
}

.hml-solution-title {
    color: #111111 !important;
    font-size: 15px !important;
    margin: 0 0 8px 0 !important;
    font-weight: 700 !important;
    letter-spacing: 0.2px;
}

.hml-pain-solution p {
    color: #222222 !important;
    font-size: 14px !important;
    margin: 0 !important;
    line-height: 1.6;
}

.hml-pain-solution a {
    color: #111111;
    text-decoration: underline;
    font-weight: 600;
    transition: opacity 0.2s;
}

.hml-pain-solution a:hover {
    opacity: 0.7;
}

/* Neden Homelli Koyu Panel */
.hml-why-section {
    background: #111111;
    padding: 55px 40px;
    border-radius: 10px;
    margin-bottom: 75px;
    color: #ffffff;
    border: 1px solid #222222;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.hml-why-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 45px;
}

.hml-why-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #d1d1d1;
    margin-bottom: 10px;
}

.hml-why-main-title {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 0 0 16px 0 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hml-why-header p {
    font-size: 15.5px !important;
    color: #cccccc !important;
    margin: 0 !important;
    line-height: 1.7 !important;
}

.hml-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.hml-why-card {
    background: #191919;
    border: 1px solid #262626;
    padding: 26px 24px;
    border-radius: 6px;
    position: relative;
    transition: border-color 0.25s, transform 0.25s;
}

.hml-why-card:hover {
    border-color: #444444;
    transform: translateY(-2px);
}

.hml-why-num {
    display: block;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #b0b0b0;
    margin-bottom: 12px;
    font-family: monospace, sans-serif;
}

.hml-why-title {
    color: #ffffff !important;
    font-size: 16px !important;
    margin: 0 0 10px 0 !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px;
}

.hml-why-card p {
    color: #c0c0c0 !important;
    font-size: 14px !important;
    line-height: 1.65 !important;
    margin: 0 !important;
}

/* Lateks Vurgu Alanı */
.hml-latex-banner {
    background: #f7f7f7;
    border: 1px solid #e5e5e5;
    border-left: 4px solid #111111;
    border-radius: 6px;
    padding: 38px 42px;
    margin-bottom: 75px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.hml-latex-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #333333;
    margin-bottom: 8px;
}

.hml-latex-title {
    font-size: 22px !important;
    color: #111111 !important;
    margin: 0 0 10px 0 !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hml-latex-content p {
    font-size: 15px !important;
    color: #383838 !important;
    margin: 0 !important;
    line-height: 1.7;
    max-width: 680px;
}

.hml-latex-btn {
    white-space: nowrap;
    background: #111111;
    color: #ffffff !important;
    padding: 13px 26px;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px;
    border-radius: 4px;
    transition: all 0.25s ease;
    border: 1px solid #111111;
}

.hml-latex-btn:hover {
    background: #ffffff;
    color: #111111 !important;
}

/* Ana Sayfa SSS Akordiyonu */
.hml-home-faq {
    margin-bottom: 60px;
}

.hml-faq-list {
    max-width: 850px;
    margin: 0 auto;
}

.hml-faq-item {
    border: 1px solid #e5e5e5;
    margin-bottom: 10px;
    border-radius: 6px;
    overflow: hidden;
    background: #ffffff;
    transition: border-color 0.2s ease;
}

.hml-faq-item.aktif {
    border-color: #111111;
}

.hml-faq-q {
    width: 100%;
    padding: 18px 22px;
    background: #ffffff;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    font-weight: 600;
    color: #111111;
    text-align: left;
    transition: background-color 0.2s ease;
}

.hml-faq-q:hover {
    background: #fbfbfb;
}

.hml-faq-icon {
    position: relative;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    margin-left: 15px;
}

.hml-faq-icon::before,
.hml-faq-icon::after {
    content: '';
    position: absolute;
    background: #111111;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hml-faq-icon::before {
    top: 6px;
    left: 0;
    width: 14px;
    height: 2px;
}

.hml-faq-icon::after {
    top: 0;
    left: 6px;
    width: 2px;
    height: 14px;
}

.hml-faq-item.aktif .hml-faq-icon::after {
    transform: rotate(90deg);
    opacity: 0;
}

.hml-faq-item.aktif .hml-faq-icon::before {
    transform: rotate(180deg);
}

.hml-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    background: #fafafa;
}

.hml-faq-a p {
    padding: 18px 22px;
    margin: 0;
    font-size: 14.5px;
    border-top: 1px solid #f0f0f0;
    color: #383838;
    line-height: 1.7;
}

.hml-faq-item.aktif .hml-faq-a {
    max-height: 350px;
}

.hml-faq-footer {
    text-align: center;
    margin-top: 35px;
}

.hml-faq-all-btn {
    display: inline-block;
    color: #111111 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: opacity 0.2s;
}

.hml-faq-all-btn:hover {
    opacity: 0.7;
}

@media (max-width: 992px) {
    .hml-cat-grid,
    .hml-pain-grid,
    .hml-why-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .hml-why-section {
        padding: 40px 25px;
    }
}

@media (max-width: 768px) {
    .hml-cat-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        margin-bottom: 40px !important;
    }
    .hml-cat-img-wrapper {
        height: 185px !important;
    }
    .hml-cat-content {
        padding: 25px 8px 12px !important;
    }
    .hml-cat-title {
        font-size: 14px !important;
        margin-bottom: 2px !important;
    }
    .hml-cat-content p {
        font-size: 11px !important;
        margin-bottom: 4px !important;
    }
    .hml-cat-btn {
        font-size: 10px !important;
        opacity: 1 !important;
        transform: none !important;
    }
    .hml-pain-grid,
    .hml-why-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .hml-why-section {
        padding: 30px 18px;
    }
    .hml-latex-banner {
        flex-direction: column;
        text-align: center;
        padding: 24px 18px;
    }
    .hml-latex-btn {
        width: 100%;
        text-align: center;
    }
}
