/* Ürün Detay Sayfası Stilleri */
.breadcrumb {
    padding: 1rem 0;
    color: #666;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: var(--text-color);
}

.product-detail-section {
    padding: 2rem 0;
}

.product-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.product-detail-image-wrapper {
    width: 100%;
}

.product-detail-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 10px;
    background: var(--light-bg);
    position: relative;
}

.product-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-detail-image .placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    font-size: 1.5rem;
    border-radius: 10px;
}

.product-detail-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-title {
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin: 0;
    font-family: 'Dancing Script', 'Pacifico', 'Lobster', cursive;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.product-description-full {
    line-height: 1.8;
    color: #555;
    font-size: 1.1rem;
}

.product-actions {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-order {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--white);
    padding: 0.8rem 2rem;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.btn-order:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.btn-back {
    display: inline-block;
    background: #f5f5f5;
    color: var(--text-color);
    padding: 0.8rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s;
    font-weight: 500;
    border: 1px solid #ddd;
}

.btn-back:hover {
    background: #e0e0e0;
}

.related-products-section {
    margin-top: 4rem;
    padding: 2rem 0;
}

.error-message {
    text-align: center;
    padding: 3rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.error-message p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 1rem;
}

.error-message a {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--white);
    padding: 0.8rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s;
}

.error-message a:hover {
    background: var(--primary-color);
}

@media (max-width: 968px) {
    .product-detail-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-detail-image {
        height: 300px;
    }

    .product-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .breadcrumb {
        font-size: 0.85rem;
        padding: 0.8rem 0;
    }

    .product-detail-section {
        padding: 1.5rem 0;
    }

    .product-detail-content {
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .product-detail-image {
        height: 280px;
    }

    .product-title {
        font-size: 1.6rem;
        line-height: 1.3;
    }

    .product-description-full {
        font-size: 1rem;
    }

    .product-actions {
        flex-direction: column;
        gap: 0.8rem;
    }

    .btn-order,
    .btn-back {
        width: 100%;
        text-align: center;
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
        min-height: 48px; /* Touch-friendly */
    }

    .related-products-section {
        margin-top: 2.5rem;
        padding: 1.5rem 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Modal mobil */
    .order-modal-content {
        width: 95%;
        margin: 1rem;
    }

    .order-modal-body {
        padding: 2rem 1.5rem 1.5rem;
    }

    .order-modal-body h2 {
        font-size: 1.6rem;
    }

    .order-phone-link {
        font-size: 1.2rem;
    }

    .btn-call {
        width: 100%;
        padding: 1rem 2rem;
        min-height: 48px;
    }
}

@media (max-width: 480px) {
    .product-detail-content {
        padding: 1rem;
    }

    .product-detail-image {
        height: 250px;
    }

    .product-title {
        font-size: 1.4rem;
    }

    .product-description-full {
        font-size: 0.95rem;
    }

    .product-actions {
        flex-direction: column;
    }

    .btn-order,
    .btn-back {
        width: 100%;
        text-align: center;
    }
}

/* Sipariş Modal Stilleri */
.order-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.order-modal-content {
    background-color: var(--white);
    margin: auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideDown 0.3s;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.order-modal-close {
    position: absolute;
    right: 15px;
    top: 15px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.order-modal-close:hover,
.order-modal-close:focus {
    color: #000;
    background: rgba(0, 0, 0, 0.1);
    transform: rotate(90deg);
}

.order-modal-body {
    padding: 3rem 2rem 2rem;
    text-align: center;
}

.order-modal-body h2 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 2rem;
    font-family: 'Dancing Script', 'Pacifico', 'Lobster', cursive;
}

.order-modal-text {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.order-phone {
    margin: 2rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
}

.order-phone-link {
    display: inline-flex;
    align-items: center;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.3s;
}

.order-phone-link:hover {
    transform: scale(1.05);
    text-decoration: underline;
}

.order-modal-subtext {
    color: #888;
    font-size: 0.95rem;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.btn-call {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(124, 179, 66, 0.4);
    margin-top: 1rem;
}

.btn-call:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(124, 179, 66, 0.6);
}

@media (max-width: 768px) {
    .order-modal-content {
        width: 95%;
        margin: 1rem;
    }

    .order-modal-body {
        padding: 2.5rem 1.5rem 1.5rem;
    }

    .order-modal-body h2 {
        font-size: 1.6rem;
    }

    .order-phone-link {
        font-size: 1.2rem;
    }
}
