/* ===================================
   YaprakStyle - Mobil Uyumlu Tekstil Sitesi
   =================================== */

/* Genel Reset ve Temel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c5f2d;
    --primary-dark: #1e4620;
    --primary-light: #4a8a4d;
    --secondary-color: #f4a261;
    --accent-color: #e76f51;
    --text-dark: #2d3436;
    --text-light: #636e72;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --border-color: #dee2e6;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Butonlar */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 14px;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Sepet Butonu */
.cart-btn {
    position: relative;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.cart-count {
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.logo h1 {
    font-size: 24px;
    color: var(--primary-color);
    font-weight: 700;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    font-size: 16px;
}

.nav a:hover {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 80px 0;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,101.3C1248,85,1344,75,1392,69.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* Bölüm Başlıkları */
.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 18px;
    text-align: center;
    color: var(--text-light);
    margin-bottom: 50px;
}

/* Ürünler Bölümü */
.products {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background-color: var(--bg-light);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(44, 95, 45, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-info {
    padding: 20px;
}

.product-name {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.product-description {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.5;
}

.product-footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.product-actions-btns {
    display: flex;
    gap: 8px;
    width: 100%;
}

.product-actions-btns .btn {
    flex: 1;
    padding: 10px;
    font-size: 13px;
}

.product-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
}

/* Ürün Varyant Önizlemesi */
.product-variants-preview {
    margin: 15px 0;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

.variant-info {
    margin-bottom: 8px;
}

.variant-info:last-child {
    margin-bottom: 0;
}

.variant-label {
    font-size: 12px;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 6px;
}

.variant-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.variant-tag {
    display: inline-block;
    padding: 4px 10px;
    background: white;
    border: 1.5px solid #dee2e6;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 500;
    color: #495057;
    transition: all 0.2s ease;
}

.variant-tag.variant-selector {
    cursor: pointer;
}

.variant-tag.variant-selector:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-1px);
}

.variant-tag.variant-selector.selected {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.no-products {
    text-align: center;
    padding: 40px;
    font-size: 18px;
    color: var(--text-light);
}

/* Form Hata Stilleri */
.field-error {
    border-color: #dc3545 !important;
    border-width: 2.5px !important;
    background: #fff5f5 !important;
    animation: shake 0.3s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.field-error-message {
    color: #dc3545;
    font-size: 13px;
    font-weight: 500;
    margin-top: 6px;
    display: none;
    animation: fadeIn 0.3s ease;
}

.section-error {
    border: 2.5px solid #dc3545 !important;
    background: #fff5f5 !important;
    animation: shake 0.3s ease;
}

.section-error-message {
    background: #dc3545;
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    display: none;
    animation: fadeIn 0.3s ease;
}

/* Ürün Kartı Bildirimi */
.product-notification {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 8px;
    padding: 10px 15px;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 500;
    color: #856404;
    text-align: center;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.product-notification.show {
    opacity: 1;
    transform: translateY(0);
}

.product-notification.warning {
    background: linear-gradient(135deg, #fff9e6 0%, #fff3cd 100%);
    border-color: #ffc107;
}

/* Hakkımızda Bölümü */
.about {
    padding: 80px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    text-align: left;
    margin-bottom: 25px;
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 20px;
}

.features {
    list-style: none;
    margin-top: 30px;
}

.features li {
    font-size: 16px;
    padding: 12px 0;
    color: var(--text-dark);
    display: flex;
    align-items: center;
}

.feature-icon {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 20px;
    margin-right: 10px;
}

.about-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* İletişim Bölümü */
.contact {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.contact-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.contact-item p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 30px 0;
    text-align: center;
}

.footer p {
    margin: 5px 0;
}

.footer-admin a {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 14px;
}

.footer-admin a:hover {
    text-decoration: underline;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(3px);
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Modern Modal */
.modern-modal {
    background-color: var(--white);
    margin: 20px;
    max-width: 600px;
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.16);
    overflow: hidden;
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Modal Close Button */
.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    font-size: 24px;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--text-dark);
    transform: rotate(90deg);
}

/* Modal Header - Product Preview */
.modal-header {
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
    padding: 32px 24px 24px;
    position: relative;
}

.product-preview {
    display: flex;
    align-items: center;
    gap: 16px;
}

.preview-image {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.product-details {
    flex: 1;
}

.product-details h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.product-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

/* Minimal Form */
.minimal-form {
    max-height: 60vh;
    overflow-y: auto;
}

.form-section {
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
}

.form-section:last-child {
    border-bottom: none;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--text-dark);
    font-size: 16px;
    font-weight: 600;
}

.section-icon {
    font-size: 20px;
}

/* Form Rows */
.form-row {
    margin-bottom: 16px;
}

.form-row:last-child {
    margin-bottom: 0;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.form-row input,
.form-row textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-light);
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
    color: var(--text-dark);
}

.form-row input::placeholder,
.form-row textarea::placeholder {
    color: var(--text-light);
}

.form-row input:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.form-row textarea {
    resize: vertical;
    min-height: 80px;
}

/* Option Cards (Kargo ve Ödeme) */
.option-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
}

.payment-options {
    grid-template-columns: repeat(2, 1fr);
}

.option-card {
    position: relative;
    cursor: pointer;
    display: block;
}

.option-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.option-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 16px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-light);
    transition: all 0.3s ease;
}

.option-card:hover .option-content {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.option-card input:checked + .option-content {
    border-color: var(--primary-color);
    background: rgba(76, 175, 80, 0.08);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.option-icon {
    font-size: 32px;
}

.option-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
}

/* Search Select */
.search-select-wrapper {
    position: relative;
    width: 100%;
}

.search-select-wrapper input[type="text"] {
    width: 100%;
    padding: 14px 16px;
    padding-right: 40px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-light);
    font-size: 15px;
    transition: all 0.3s ease;
}

.search-select-wrapper input[type="text"]:focus {
    border-color: var(--primary-color);
    background: var(--white);
    outline: none;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.search-select-wrapper input[type="text"]:disabled {
    background: #e9ecef;
    cursor: not-allowed;
    opacity: 0.6;
}

.search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 200px;
    overflow-y: auto;
    background: var(--white);
    border: 2px solid #e3f2e4;
    border-radius: 12px;
    margin-top: 8px;
    z-index: 100;
    display: none;
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.15);
}

.search-dropdown.active {
    display: block;
}

.search-dropdown-item {
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.2s ease;
    border-bottom: 1px solid var(--border-color);
}

.search-dropdown-item:last-child {
    border-bottom: none;
}

.search-dropdown-item:hover {
    background: rgba(76, 175, 80, 0.08);
}

.search-dropdown-item.selected {
    background: rgba(76, 175, 80, 0.15);
    font-weight: 600;
    color: var(--primary-color);
}

.search-dropdown::-webkit-scrollbar {
    width: 8px;
}

.search-dropdown::-webkit-scrollbar-track {
    background: var(--bg-light);
}

.search-dropdown::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

.search-dropdown::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Varyant Seçimi */
.variant-group {
    margin-bottom: 20px;
}

.variant-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.variant-option {
    min-width: 80px;
    flex: 0 1 auto;
}

.variant-option .option-label {
    font-size: 13px;
}

#stockWarning {
    background: #fff3cd;
    color: #856404;
    padding: 12px;
    border-radius: 8px;
    margin: 10px 0;
    text-align: center;
    font-weight: 500;
    font-size: 14px;
}

/* Quantity Selector */
.quantity-label {
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 15px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.qty-btn {
    width: 44px;
    height: 44px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-light);
    font-size: 24px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

.quantity-selector input {
    width: 80px;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: var(--white);
}

/* Form Footer */
.form-footer {
    padding: 24px;
    background: linear-gradient(to top, #f8f9fa 0%, #ffffff 100%);
}

.total-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: var(--bg-light);
    border-radius: 12px;
    margin-bottom: 16px;
}

.total-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

.total-amount {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
}

/* Submit Button */
.btn-submit {
    width: 100%;
    padding: 18px 32px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.2);
}

.btn-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.3);
}

.btn-submit:active {
    transform: translateY(0);
}

.submit-arrow {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.btn-submit:hover .submit-arrow {
    transform: translateX(4px);
}

/* Message Cards */
.message-card {
    padding: 40px 24px;
    text-align: center;
    animation: fadeIn 0.4s ease;
}

.message-card h3 {
    font-size: 22px;
    margin: 16px 0 8px;
    color: var(--text-dark);
}

.message-card p {
    font-size: 15px;
    color: var(--text-light);
}

.message-card.success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
}

.message-card.error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
}

.message-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: bold;
}

.message-card.success .message-icon {
    background: #28a745;
    color: white;
}

.message-card.error .message-icon {
    background: #dc3545;
    color: white;
}

/* Mobil Responsive - Tablet */
@media (max-width: 968px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-text h2 {
        text-align: center;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 25px;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
}

/* Mobil Responsive - Telefon */
@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--white);
        flex-direction: column;
        padding: 30px;
        gap: 0;
        box-shadow: var(--shadow);
        transition: var(--transition);
    }
    
    .nav.active {
        left: 0;
    }
    
    .nav a {
        padding: 15px 0;
        border-bottom: 1px solid var(--border-color);
        font-size: 18px;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .hero {
        min-height: 400px;
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    .products {
        padding: 60px 0;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .about {
        padding: 60px 0;
    }
    
    .contact {
        padding: 60px 0;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .modern-modal {
        margin: 10px;
        max-height: calc(100vh - 20px);
    }
    
    .modal-header {
        padding: 24px 16px 16px;
    }
    
    .product-preview {
        flex-direction: column;
        text-align: center;
    }
    
    .preview-image {
        width: 100px;
        height: 100px;
    }
    
    .minimal-form {
        max-height: calc(100vh - 280px);
    }
    
    .form-section {
        padding: 16px;
    }
    
    .form-row-2 {
        grid-template-columns: 1fr;
    }
    
    .option-cards {
        grid-template-columns: 1fr;
    }
    
    .payment-options {
        grid-template-columns: 1fr;
    }
    
    .form-footer {
        padding: 16px;
    }
    
    .total-section {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .total-amount {
        font-size: 24px;
    }
    
    .btn-submit {
        padding: 16px 24px;
        font-size: 16px;
    }
    
    .message-card {
        padding: 32px 16px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .logo h1 {
        font-size: 20px;
    }
    
    .hero-title {
        font-size: 26px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .product-price {
        font-size: 20px;
    }
    
    .product-name {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .modern-modal {
        margin: 5px;
        max-height: calc(100vh - 10px);
        border-radius: 12px;
    }
    
    .modal-close {
        right: 12px;
        top: 12px;
        width: 32px;
        height: 32px;
        font-size: 20px;
    }
    
    .modal-header {
        padding: 20px 12px 12px;
    }
    
    .product-details h3 {
        font-size: 18px;
    }
    
    .product-price {
        font-size: 20px;
    }
    
    .minimal-form {
        max-height: calc(100vh - 250px);
    }
    
    .form-section {
        padding: 12px;
    }
    
    .section-title {
        font-size: 15px;
    }
    
    .section-icon {
        font-size: 18px;
    }
    
    .form-row input,
    .form-row textarea {
        padding: 12px 14px;
        font-size: 14px;
    }
    
    .option-content {
        padding: 16px 12px;
    }
    
    .option-icon {
        font-size: 28px;
    }
    
    .option-label {
        font-size: 13px;
    }
    
    .qty-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .quantity-selector input {
        width: 70px;
        font-size: 18px;
    }
    
    .form-footer {
        padding: 12px;
    }
    
    .total-label {
        font-size: 15px;
    }
    
    .total-amount {
        font-size: 22px;
    }
    
    .btn-submit {
        padding: 14px 20px;
        font-size: 15px;
    }
    
    .message-card h3 {
        font-size: 20px;
    }
    
    .message-icon {
        width: 56px;
        height: 56px;
        font-size: 28px;
    }
}

/* Sepet Modal Stilleri */
.cart-items {
    max-height: 450px;
    overflow-y: auto;
    padding: 0;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    background: white;
}

.cart-item:hover {
    background: #fafafa;
    transform: translateX(5px);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    min-width: 80px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cart-item-details {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 6px;
    color: var(--text-dark);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cart-item-variant {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 10px;
    display: inline-block;
    background: #f5f5f5;
    padding: 3px 8px;
    border-radius: 6px;
}

.cart-item-price {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary-color);
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.cart-qty-btn {
    width: 28px;
    height: 28px;
    border: 1.5px solid var(--border-color);
    border-radius: 6px;
    background: white;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-qty-btn:hover {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
}

.cart-item-qty {
    font-weight: 600;
    min-width: 25px;
    text-align: center;
    font-size: 14px;
}

.cart-item-remove {
    background: #fee;
    color: #dc3545;
    border: 1.5px solid #fdd;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s;
    align-self: flex-start;
    white-space: nowrap;
}

.cart-item-remove:hover {
    background: #dc3545;
    color: white;
    border-color: #dc3545;
    transform: translateY(-2px);
}

.cart-footer {
    padding: 24px;
    border-top: 2px solid #f0f0f0;
    background: linear-gradient(to top, #fafafa 0%, #ffffff 100%);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding: 16px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.cart-total .total-label {
    font-weight: 600;
    font-size: 16px;
    color: var(--text-dark);
}

.cart-total .total-amount {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

/* Tatlı Bildirim Modalı */
.custom-notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    background: white;
    padding: 25px 35px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    max-width: 400px;
    text-align: center;
    border: 3px solid transparent;
}

.custom-notification.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.custom-notification.warning {
    border-color: #ffc107;
    background: linear-gradient(135deg, #fff9e6 0%, #ffffff 100%);
}

.custom-notification.error {
    border-color: #dc3545;
    background: linear-gradient(135deg, #ffe6e9 0%, #ffffff 100%);
}

.custom-notification.success {
    border-color: #28a745;
    background: linear-gradient(135deg, #e6f7e9 0%, #ffffff 100%);
}

.custom-notification.info {
    border-color: #17a2b8;
    background: linear-gradient(135deg, #e6f7fb 0%, #ffffff 100%);
}

.notification-message {
    font-size: 17px;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.6;
}

/* Sepet Özeti */
.cart-summary-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cart-summary-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-light);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.summary-item-image {
    width: 60px;
    height: 60px;
    min-width: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.summary-item-details {
    flex: 1;
    min-width: 0;
}

.summary-item-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.summary-item-variant {
    font-size: 12px;
    color: var(--text-light);
    background: white;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 4px;
}

.summary-item-quantity {
    font-size: 12px;
    color: var(--text-light);
}

.summary-item-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.summary-qty-btn {
    width: 24px;
    height: 24px;
    border: 1.5px solid var(--border-color);
    border-radius: 6px;
    background: white;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.summary-qty-btn:hover {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
}

.summary-item-qty {
    font-weight: 600;
    font-size: 13px;
    min-width: 20px;
    text-align: center;
}

.summary-item-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.summary-item-price {
    font-weight: 700;
    font-size: 16px;
    color: var(--primary-color);
    white-space: nowrap;
}

.summary-item-remove {
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 6px;
    background: #fee;
    color: #dc3545;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.summary-item-remove:hover {
    background: #dc3545;
    color: white;
    transform: scale(1.1);
}

/* Başarı Ekranı */
.success-screen {
    padding: 60px 30px;
    text-align: center;
    background: linear-gradient(135deg, #e8f5e9 0%, #ffffff 100%);
    animation: fadeIn 0.5s ease;
}

.success-animation {
    margin-bottom: 30px;
}

.success-checkmark {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    position: relative;
}

.check-icon {
    width: 100px;
    height: 100px;
    position: relative;
    border-radius: 50%;
    box-sizing: content-box;
    border: 4px solid #28a745;
    animation: checkmark-pop 0.6s ease;
}

@keyframes checkmark-pop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.icon-line {
    height: 5px;
    background-color: #28a745;
    display: block;
    border-radius: 2px;
    position: absolute;
    z-index: 10;
}

.icon-line.line-tip {
    top: 46px;
    left: 14px;
    width: 25px;
    transform: rotate(45deg);
    animation: icon-line-tip 0.75s 0.3s ease-out forwards;
}

.icon-line.line-long {
    top: 38px;
    right: 8px;
    width: 47px;
    transform: rotate(-45deg);
    animation: icon-line-long 0.75s 0.5s ease-out forwards;
}

@keyframes icon-line-tip {
    0% {
        width: 0;
        left: 1px;
        top: 19px;
    }
    54% {
        width: 0;
        left: 1px;
        top: 19px;
    }
    70% {
        width: 50px;
        left: -8px;
        top: 37px;
    }
    84% {
        width: 17px;
        left: 21px;
        top: 48px;
    }
    100% {
        width: 25px;
        left: 14px;
        top: 46px;
    }
}

@keyframes icon-line-long {
    0% {
        width: 0;
        right: 46px;
        top: 54px;
    }
    65% {
        width: 0;
        right: 46px;
        top: 54px;
    }
    84% {
        width: 55px;
        right: 0;
        top: 35px;
    }
    100% {
        width: 47px;
        right: 8px;
        top: 38px;
    }
}

.icon-circle {
    top: -4px;
    left: -4px;
    z-index: 10;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    position: absolute;
    box-sizing: content-box;
    border: 4px solid rgba(40, 167, 69, 0.2);
}

.icon-fix {
    top: 8px;
    width: 5px;
    left: 26px;
    z-index: 1;
    height: 85px;
    position: absolute;
    transform: rotate(-45deg);
    background-color: #ffffff;
}

.success-title {
    font-size: 32px;
    font-weight: 700;
    color: #28a745;
    margin-bottom: 10px;
    animation: slideDown 0.5s 0.8s ease both;
}

.success-subtitle {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
    animation: slideDown 0.5s 0.9s ease both;
}

.success-message {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    animation: slideDown 0.5s 1s ease both;
}

.success-message strong {
    color: #28a745;
}

@keyframes slideDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Print Stilleri */
@media print {
    .header,
    .footer,
    .btn,
    .modal {
        display: none;
    }
}

