/* ==========================================
   DEDİCATED SERVER SAYFASI- VENTURES DC THEME
   ========================================== */

/* Theme Colors */
:root {
    --primary-color: #F87B3D;
    --primary-dark: #e56a2c;
    --primary-light: #FFF6F3;
}

/* Hero Banner */
.server-hero {
    background: linear-gradient(135deg, #F87B3D 0%, #e56a2c 100%);
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

.server-hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.server-hero-text {
    flex: 1;
    color: #fff;
}

.server-hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.server-hero h1 {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 16px 0;
    line-height: 1.3;
}

.server-hero p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 24px 0;
}

.server-hero .btn-hero {
    display: inline-block;
    background: #fff;
    color: #e56a2c !important;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.3s;
}

.server-hero .btn-hero:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

.server-hero-brands {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 30px;
}

.server-hero-brands img {
    height: 28px;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.server-hero-image {
    flex: 0 0 380px;
}

.server-hero-image img {
    width: 100%;
    height: auto;
}

.hero-placeholder {
    width: 100%;
    height: 250px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 30px;
}

.hero-placeholder i {
    font-size: 40px;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 50px;
    border-radius: 6px;
}

/* Package Tabs */
.package-section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 12px;
}

.section-title h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

body.dark-mode .section-title h2 {
    color: #fff;
}

.section-subtitle {
    text-align: center;
    color: #6c757d;
    margin-bottom: 30px;
}

body.dark-mode .section-subtitle {
    color: #94969C;
}

/* Tabs Navigation */
.package-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 24px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #495057;
    cursor: pointer;
    transition: all 0.2s;
}

.tab-btn:hover {
    background: #e9ecef;
}

.tab-btn.active {
    background: #F87B3D;
    border-color: #F87B3D;
    color: #fff;
}

body.dark-mode .tab-btn {
    background: #1a202c;
    border-color: #2d3748;
    color: #94969C;
}

body.dark-mode .tab-btn.active {
    background: #F87B3D;
    border-color: #F87B3D;
    color: #fff;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.package-table {
    width: 100%;
    background: #fff;
    border-radius: 12px;
    overflow: visible;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    table-layout: fixed;
}

body.dark-mode .package-table {
    background: #151A27;
    border-color: #2D3748;
}

.table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 30px;
}

.package-table thead th {
    background: #f8f9fa;
    padding: 14px 16px;
    font-size: 12px;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
    white-space: nowrap;
}


body.dark-mode .package-table thead th {
    background: #1a202c;
    color: #94969C;
    border-bottom-color: #2D3748;
}

.package-table tbody td {
    padding: 18px 16px;
    font-size: 14px;
    color: #495057;
    border-bottom: 1px solid #f1f3f4;
    vertical-align: middle;
    white-space: nowrap;
}

body.dark-mode .package-table tbody td {
    color: #cfd4dc;
    border-bottom-color: #2D3748;
}

.package-table tbody tr:last-child td {
    border-bottom: none;
}

.package-table tbody tr {
    transition: all 0.3s ease;
    position: relative;
}

.package-table tbody tr:hover {
    background: #fff;
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    z-index: 10;
    border-radius: 8px;
}

body.dark-mode .package-table tbody tr:hover {
    background: #1e2433;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.table-section-title {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 40px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

body.dark-mode .table-section-title {
    color: #fff;
    border-bottom-color: #2D3748;
}

.best-price-badge {
    display: inline-block;
    background: #F87B3D;
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.package-table .model-name {
    font-weight: 600;
    color: #1a1a2e;
}

body.dark-mode .package-table .model-name {
    color: #fff;
}

.package-table .price {
    font-size: 16px;
    font-weight: 700;
    color: #F87B3D;
}

.package-table .btn-order {
    display: inline-block;
    padding: 8px 20px;
    background: #F87B3D;
    color: #fff !important;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.package-table .btn-order:hover {
    background: #e56a2c;
}

.package-table .product-cell {
    padding: 12px 16px;
    width: 160px;
    text-align: center;
}

.package-table .product-cell img {
    width: 120px;
    height: 70px;
    object-fit: contain;
    display: block;
    margin: 0 auto 8px;
}

.package-table .product-cell .product-model {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #1a1a2e;
}

body.dark-mode .package-table .product-cell .product-model {
    color: #fff;
}

.package-table .price-cell {
    text-align: left;
}

.package-table .price-cell .price-value {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
}

body.dark-mode .package-table .price-cell .price-value {
    color: #fff;
}

.package-table .price-cell .price-period {
    display: block;
    font-size: 11px;
    color: #6c757d;
    line-height: 1.3;
}

body.dark-mode .package-table .price-cell .price-period {
    color: #94969C;
}

.stock-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.stock-badge.stock-var {
    background: #d4edda;
    color: #155724;
}

.stock-badge.stock-kritik {
    background: #fff3cd;
    color: #856404;
}

.stock-badge.stock-yok {
    background: #f8d7da;
    color: #721c24;
}

.stock-badge.stock-firsat {
    background: #28a745;
    color: #fff;
}

body.dark-mode .stock-badge.stock-var {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

body.dark-mode .stock-badge.stock-kritik {
    background: rgba(248, 123, 61, 0.2);
    color: #F87B3D;
}

body.dark-mode .stock-badge.stock-yok {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

body.dark-mode .stock-badge.stock-firsat {
    background: rgba(40, 167, 69, 0.3);
    color: #4ade80;
}

.package-table .btn-order:disabled,
.package-table .btn-order.disabled {
    background: #6c757d;
    cursor: not-allowed;
    opacity: 0.6;
}

.package-table .btn-order:disabled:hover,
.package-table .btn-order.disabled:hover {
    background: #6c757d;
    transform: none;
}

.features-section {
    padding: 50px 0;
    background: #f8f9fa;
}

body.dark-mode .features-section {
    background: #0f1219;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    text-align: center;
}

.feature-item {
    padding: 20px;
}

.feature-item i {
    font-size: 32px;
    color: #F87B3D;
    margin-bottom: 12px;
}

.feature-item h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 6px 0;
}

body.dark-mode .feature-item h4 {
    color: #fff;
}

.feature-item p {
    font-size: 13px;
    color: #6c757d;
    margin: 0;
}

body.dark-mode .feature-item p {
    color: #94969C;
}

.promo-banner {
    background: linear-gradient(135deg, #F87B3D 0%, #e56a2c 100%);
    padding: 30px 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 40px 0;
}

.promo-banner h3 {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.promo-banner p {
    color: rgba(255, 255, 255, 0.9);
    margin: 4px 0 0 0;
    font-size: 14px;
}

.promo-banner .btn-promo {
    display: inline-block;
    padding: 12px 28px;
    background: #fff;
    color: #e56a2c !important;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none !important;
    white-space: nowrap;
}

.network-banner {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 40px;
    border-radius: 12px;
    margin: 40px 0;
    display: flex;
    align-items: center;
    gap: 30px;
}

.network-banner-icon {
    width: 80px;
    height: 80px;
    background: rgba(232, 83, 60, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.network-banner-icon i {
    font-size: 32px;
    color: #F87B3D;
}

.network-banner h3 {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px 0;
}

.network-banner p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 15px;
}

.showcase-section {
    padding: 60px 0;
}

.showcase-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.showcase-image {
    flex: 0 0 45%;
}

.showcase-image img {
    width: 100%;
    border-radius: 12px;
}

.showcase-placeholder {
    width: 100%;
    height: 300px;
    background: #f1f3f4;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.dark-mode .showcase-placeholder {
    background: #1a202c;
}

.showcase-placeholder i {
    font-size: 60px;
    color: #cbd5e1;
}

.showcase-text h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 16px 0;
}

body.dark-mode .showcase-text h3 {
    color: #fff;
}

.showcase-text p {
    font-size: 15px;
    color: #6c757d;
    line-height: 1.7;
    margin: 0 0 20px 0;
}

body.dark-mode .showcase-text p {
    color: #94969C;
}

.partners-section {
    padding: 40px 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

body.dark-mode .partners-section {
    border-color: #2D3748;
}

.partners-section h5 {
    text-align: center;
    font-size: 13px;
    color: #6c757d;
    margin: 0 0 24px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

body.dark-mode .partners-section h5 {
    color: #94969C;
}

.partners-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.partners-logos img {
    height: 30px;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: all 0.3s;
}

.partners-logos img:hover {
    opacity: 1;
    filter: none;
}

body.dark-mode .partners-logos img {
    filter: grayscale(100%) brightness(0) invert(1);
    opacity: 0.6;
}

.partner-placeholder {
    font-size: 14px;
    font-weight: 600;
    color: #adb5bd;
}

.benefits-section {
    padding: 60px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.benefit-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s;
}

.benefit-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

body.dark-mode .benefit-card {
    background: #151A27;
    border-color: #2D3748;
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #fff5f3 0%, #ffe8e3 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

body.dark-mode .benefit-icon {
    background: rgba(232, 83, 60, 0.15);
}

.benefit-icon i {
    font-size: 22px;
    color: #F87B3D;
}

.benefit-card h4 {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 8px 0;
}

body.dark-mode .benefit-card h4 {
    color: #fff;
}

.benefit-card p {
    font-size: 13px;
    color: #6c757d;
    margin: 0;
    line-height: 1.5;
}

body.dark-mode .benefit-card p {
    color: #94969C;
}

.faq-section {
    padding: 60px 0;
    background: #f8f9fa;
}

body.dark-mode .faq-section {
    background: #0f1219;
}

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

.faq-item {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
}

body.dark-mode .faq-item {
    background: #151A27;
    border-color: #2D3748;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    cursor: pointer;
    transition: background 0.2s;
}

.faq-question:hover {
    background: #f8f9fa;
}

body.dark-mode .faq-question:hover {
    background: #1a202c;
}

.faq-question h4 {
    font-size: 15px;
    font-weight: 500;
    color: #1a1a2e;
    margin: 0;
}

body.dark-mode .faq-question h4 {
    color: #fff;
}

.faq-question i {
    color: #6c757d;
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px 18px;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-answer p {
    font-size: 14px;
    color: #6c757d;
    margin: 0;
    line-height: 1.6;
}

body.dark-mode .faq-answer p {
    color: #94969C;
}

.support-banner {
    background: linear-gradient(135deg, #F87B3D 0%, #e56a2c 100%);
    padding: 50px 0;
    text-align: center;
}

.support-banner h3 {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px 0;
}

.support-banner p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 24px 0;
}

.support-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.support-buttons a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff !important;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none !important;
    transition: all 0.2s;
}

.support-buttons a:hover {
    background: rgba(255, 255, 255, 0.3);
}

@media (max-width: 991px) {
    .server-hero-content {
        flex-direction: column;
        text-align: center;
    }

    .server-hero-image {
        flex: none;
        max-width: 320px;
    }

    .server-hero-brands {
        justify-content: center;
    }

    .server-hero h1 {
        font-size: 28px;
    }

    .showcase-content {
        flex-direction: column;
    }

    .showcase-image {
        flex: none;
        width: 100%;
    }

    .promo-banner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .network-banner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .server-hero {
        padding: 40px 0;
    }

    .package-tabs {
        gap: 6px;
    }

    .tab-btn {
        padding: 10px 16px;
        font-size: 13px;
    }

    .package-table {
        display: block;
        overflow-x: auto;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .partners-logos {
        gap: 30px;
    }
}

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

    .support-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Addons Table CSS */
.addons-table {
    border-collapse: collapse;
}

.addons-table tr {
    border-bottom: 1px solid #e9ecef;
}

.addons-table tr:last-child {
    border-bottom: none;
}

.addons-table .product-cell {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    width: auto !important;
    padding-left: 30px;
    border-bottom: none !important;
}

.addons-table td {
    border-bottom: none !important;
}

.addons-table .product-cell i {
    margin: 0 15px 0 0 !important;
    font-size: 24px;
    width: 30px;
    text-align: center;
    display: inline-block;
}

.addons-table .product-cell .product-model {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

.addons-table .price-cell {
    vertical-align: middle;
}

.addons-table .price-cell .price-value {
    display: inline-block;
    line-height: 1;
}

.addons-table td {
    padding: 12px 16px !important;
}

.addons-table th:first-child,
.addons-table td:first-child {
    width: auto !important;
}

@media (max-width: 992px) {
    .package-table {
        display: block;
        border: none;
        box-shadow: none;
        background: transparent;
    }

    .package-table thead {
        display: none;
    }

    .package-table tbody {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .package-table tbody tr {
        display: block;
        background: #fff;
        border-radius: 16px;
        padding: 20px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        border: 1px solid #e9ecef;
    }

    body.dark-mode .package-table tbody tr {
        background: #1a202c;
        border-color: #2D3748;
    }

    .package-table tbody tr:hover {
        transform: none;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    }

    .package-table tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 0;
        border-bottom: 1px solid #f1f3f4;
        white-space: normal;
        width: 100% !important;
    }

    body.dark-mode .package-table tbody td {
        border-bottom-color: #2D3748;
    }

    .package-table tbody td:last-child {
        border-bottom: none;
        padding-top: 20px;
    }

    .package-table tbody td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #6c757d;
        font-size: 13px;
        text-transform: uppercase;
        flex-shrink: 0;
        margin-right: 15px;
    }

    body.dark-mode .package-table tbody td::before {
        color: #94969C;
    }

    .package-table .product-cell {
        display: flex !important;
        flex-direction: row !important;
        align-items: center;
        justify-content: flex-start !important;
        gap: 15px;
        padding: 0 0 15px 0;
        margin-bottom: 5px;
        border-bottom: 2px solid #F87B3D !important;
    }

    .package-table .product-cell::before {
        display: none;
    }

    .package-table .product-cell img {
        width: 70px;
        height: 45px;
        margin: 0;
        object-fit: contain;
    }

    .package-table .product-cell .product-model {
        font-size: 18px;
        font-weight: 700;
    }

    .package-table .price-cell {
        flex-direction: column;
        align-items: flex-end;
    }

    .package-table .price-cell::before {
        align-self: flex-start;
    }

    .package-table .price-cell .price-value {
        font-size: 24px;
    }

    .package-table tbody td:last-child {
        justify-content: stretch;
    }

    .package-table tbody td:last-child::before {
        display: none;
    }

    .package-table .btn-order {
        width: 100%;
        padding: 16px 20px;
        font-size: 15px;
    }

    .table-section-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
}