/* Product List View Styles */
.box-grid-tours .row.list-view .col-lg-4 {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 20px;
}

.box-grid-tours .row.list-view .card-journey-small {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 20px;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.box-grid-tours .row.list-view .card-journey-small:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.box-grid-tours .row.list-view .card-journey-small .card-image {
    flex: 0 0 200px;
    margin-right: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.box-grid-tours .row.list-view .card-journey-small .card-image img {
    width: 100%;
    height: auto;
    max-height: 150px;
    object-fit: contain;
}

.box-grid-tours .row.list-view .card-journey-small .card-info {
    flex: 1;
    padding: 0;
}

.box-grid-tours .row.list-view .card-journey-small .card-info h3 {
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 1.4;
}

.box-grid-tours .row.list-view .card-journey-small .card-info p {
    margin-bottom: 15px;
    color: #666;
    line-height: 1.5;
}

.box-grid-tours .row.list-view .card-journey-small .card-facitlities {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 15px 0;
}

.box-grid-tours .row.list-view .card-journey-small .card-facitlities p {
    margin: 0;
    font-size: 14px;
    padding: 5px 10px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid #e42528;
}

/* Product attribute icon + text (square icon) */
.attribute-icon-box,
.option-icon-wrapper {
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    border-radius: 8px;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.attribute-icon-box img,
.option-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Product detail tabs: allow long feature text + images without shrinking visuals */
.portfolio_single .pbmit-tabs-col {
    display: block !important;
}

/* Product options (detail page) */
.option-card {
    transition: transform .15s ease, box-shadow .15s ease;
    background: #ffffff;
}

.option-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.option-icon-wrapper {
    background: #eff6ff;
    color: #2563eb;
    display: inline-flex;
}

.option-icon-placeholder svg {
    opacity: 0.8;
    max-width: 22px;
    max-height: 22px;
}

/* Product cards: remove default icon background next to custom icons */
.card-journey-small .card-facitlities .card-miles {
    background-image: none !important;
    background: none !important;
    padding-left: 0 !important;
}

/* Product detail page styles (moved from detail.blade.php) */
.video-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.btn-video-play {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-video-play:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.gallery-car-thumb {
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.gallery-car-thumb.active {
    opacity: 1;
    border: 2px solid #007bff;
}

.gallery-car-thumb:hover {
    opacity: 1;
}

/* Share Modal Styles */
.share-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-product-preview {
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.share-product-preview:hover {
    border-color: #007bff;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.1);
}

.share-btn {
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

.share-btn-facebook {
    background: linear-gradient(135deg, #1877f2, #0d5bb8);
    color: white;
}

.share-btn-facebook:hover {
    background: linear-gradient(135deg, #0d5bb8, #1877f2);
    color: white;
}

.share-btn-twitter {
    background: linear-gradient(135deg, #1da1f2, #0d8bd9);
    color: white;
}

.share-btn-twitter:hover {
    background: linear-gradient(135deg, #0d8bd9, #1da1f2);
    color: white;
}

.share-btn-linkedin {
    background: linear-gradient(135deg, #0077b5, #005885);
    color: white;
}

.share-btn-linkedin:hover {
    background: linear-gradient(135deg, #005885, #0077b5);
    color: white;
}

.share-btn-whatsapp {
    background: linear-gradient(135deg, #25d366, #1ea952);
    color: white;
}

.share-btn-whatsapp:hover {
    background: linear-gradient(135deg, #1ea952, #25d366);
    color: white;
}

.copy-link-section .form-control {
    border-radius: 8px 0 0 8px;
    border-right: none;
}

.copy-link-section .btn {
    border-radius: 0 8px 8px 0;
    border-left: none;
}

.copy-link-section .input-group {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.copy-link-section .input-group:focus-within {
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}

/* Animation for copy button */
@keyframes copySuccess {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.copy-success {
    animation: copySuccess 0.3s ease;
}

/* Product detail rich text tables */
.product-detail-richtext {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
}

.product-detail-richtext table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    table-layout: auto;
}

.product-detail-richtext table th,
.product-detail-richtext table td {
    padding: 10px 12px;
    border: 1px solid #e1e4e8;
    text-align: left;
    vertical-align: top;
    word-wrap: break-word;
    white-space: normal;
}

.product-detail-richtext table th {
    font-weight: 600;
    color: #ffffff;
    background-color: #e42528; /* marka kırmızısı */
}

.product-detail-richtext table thead {
    background-color: #e42528;
}

.product-detail-richtext table tbody tr:nth-child(even) {
    background-color: #fafafa;
}

/* Product features - 3 items per row on desktop */
.box-feature-car .feature-item-col {
    width: 100%;
}

.box-feature-car .feature-image img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

@media (min-width: 768px) {
    .box-feature-car .feature-item-col {
        width: 50%;
    }
}

@media (min-width: 992px) {
    .box-feature-car .feature-item-col {
        width: 33.3333%;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .box-grid-tours .row.list-view .card-journey-small {
        flex-direction: column;
        padding: 15px;
    }
    
    .box-grid-tours .row.list-view .card-journey-small .card-image {
        flex: none;
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .box-grid-tours .row.list-view .card-journey-small .card-facitlities {
        gap: 10px;
    }
}

/* Sidebar Özel Stilleri */
.social-links-sidebar {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-link-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: #404040;
    transition: all 0.3s ease;
}

.social-link-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
    color: #e42528;
}

.social-link-item i {
    width: 20px;
    text-align: center;
    font-size: 16px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
}

.contact-item i {
    width: 20px;
    text-align: center;
    color: #e42528;
    margin-top: 2px;
}

.contact-item p {
    margin: 0;
    line-height: 1.4;
}

.contact-item a {
    color: #404040;
    text-decoration: none;
}

.contact-item a:hover {
    color: #e42528;
}

.box-quick-links {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.title-quick-links {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #404040;
}

.quick-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.quick-link-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 6px;
    text-decoration: none;
    color: #404040;
    transition: all 0.3s ease;
    font-size: 14px;
}

.quick-link-item:hover {
    background: #e9ecef;
    transform: translateX(3px);
    color: #e42528;
}

.quick-link-item i {
    width: 16px;
    text-align: center;
    font-size: 14px;
}

.box-author-profile .card-image img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 8px;
}

/* Product cards grid view - prevent image cropping */
.box-grid-tours .card-journey-small .card-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Product category cards - prevent image cropping */
.product-categories-page .card-news .card-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-categories-page .card-news .card-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.box-author-profile .card-info p:first-child {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.box-author-profile .card-info p:last-child {
    font-size: 12px;
    color: #404040;
    margin: 0;
}

/* Newsletter Form Stilleri */
.form-newsletter {
    display: flex !important;
    flex-direction: column !important;
    gap: 0;
    align-items: left !important;
    justify-content: center !important;
}

.newsletter-form {
    display: flex !important;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px !important;
    justify-content: center;
}

.newsletter-form .form-control {
    flex: 1;
    min-width: 250px !important;
    max-width: 400px !important;
}

.newsletter-kvkk {
    display: flex !important;
    align-items: flex-start;
    gap: 8px;
    margin-top: 8px !important;
    margin-bottom: 5px !important;
    align-self: flex-start;
    width: 100%;
}

.newsletter-kvkk .form-check-input {
    margin-top: 2px;
}

.newsletter-kvkk .form-check-label {
    font-size: 12px;
    line-height: 1.4;
    cursor: pointer;
}

.newsletter-kvkk-link {
    font-size: 11px;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    align-self: flex-start;
    width: 100%;
}

.newsletter-kvkk-link a {
    color: #fff !important;
    text-decoration: underline !important;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.newsletter-kvkk-link a:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .newsletter-form {
        flex-direction: column !important;
        gap: 10px;
    }
    
    .newsletter-form .form-control {
        width: 100%;
        min-width: auto;
    }
}
